/* Hero Section */
.hero {
  background-image: url("/static/home/hero-background.jpg");
  background-size: cover;
  background-position: center;
  min-height: 75vh;
  display: flex;
  align-items: center;
  position: relative;
  color: #ffffff;
}

@media (min-width: 1024px) {
  .hero {
    min-height: 80vh;
  }
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

@media (max-width: 768px) {
  .hero {
    background-image: url("/static/home/hero-background-mobile.jpg");
  }
}

@media (max-width: 1275px) {
  .hero {
    padding-top: 6.5rem;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 0.5rem 3.5rem 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: fadeInDown 0.8s ease-out;
  position: relative;
}

.ribbon-wrap {
  position: absolute;
  right: 25px;
  top: -3px;
  bottom: -3px;
  width: 15px;
  background: #d63031;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
  transform: skewX(-15deg);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-family: "Freight", serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  max-width: 900px;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 64px;
  }
}

@media (max-width: 880px) {
  .hero h1 {
    font-size: 52px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 38px;
  }

  .hero h1 br {
    display: none;
  }
}

@media (min-width: 1280px) {
  .hero h1 {
    font-size: 64px;
  }
}

.hero .subheadline {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 3rem;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 700px;
}

@media (min-width: 768px) {
  .hero .subheadline {
    font-size: 1.4rem;
  }
}

.highlight-text {
  font-weight: 700;
  color: #00d4aa;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

/* Testimonial Highlight */
.testimonial-highlight {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 2rem 2.5rem;
  border-radius: 16px;
  border-left: 4px solid #00d4aa;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.testimonial-highlight p {
  font-size: 1.15rem;
  font-style: normal;
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.testimonial-highlight p .highlight-box {
  background-color: #078f8b;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  color: #ffffff;
}

.testimonial-highlight cite {
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.95;
  font-weight: 400;
}

.testimonial-highlight cite img {
  height: 16px;
  width: auto;
  vertical-align: -4px;
  margin-left: 4px;
}

@media (min-width: 768px) {
  .testimonial-highlight p {
    font-size: 1.25rem;
  }
}

/* Client Logos Section Padding */
@media (min-width: 1050px) {
  .client-logos-section {
    padding: 2.875rem 0;
  }
}

@media (max-width: 1049px) {
  .client-logos-section {
    padding: 3rem 0 1rem 0;
  }
}

/* Use Case Sections - Alternating Image/Content Layout */
.use-case-section {
  padding: 2rem 0;
  background-color: #fafafa;
}

#use-case-team {
  padding-top: 5rem;
}

#use-case-gifting {
  padding-bottom: 5rem;
}

.use-case-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.use-case-image-wrapper {
  position: relative;
  width: 100%;
}

.use-case-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.use-case-content {
  position: relative;
}

.use-case-content h2 {
  font-family: "Freight", serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.1;
  color: #2d2d2d;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.use-case-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 1.25rem;
}

.use-case-content p:last-of-type {
  margin-bottom: 0;
}

.use-case-cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.9rem 2.5rem;
  background-color: #078f8b;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(7, 143, 139, 0.2);
}

.use-case-cta:hover {
  background-color: #006a80;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(7, 143, 139, 0.35);
}

/* Reverse layout for alternating sections */
.use-case-section.reverse .use-case-container {
  grid-template-columns: 1fr 1fr;
}

.use-case-section.reverse .use-case-image-wrapper {
  order: 2;
}

.use-case-section.reverse .use-case-content {
  order: 1;
}

@media (max-width: 968px) {
  .use-case-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .use-case-section.reverse .use-case-container {
    grid-template-columns: 1fr;
  }

  .use-case-section.reverse .use-case-image-wrapper {
    order: 1;
  }

  .use-case-section.reverse .use-case-content {
    order: 2;
  }

  .use-case-content h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  .use-case-content h2 {
    font-size: 1.85rem;
  }
}

/* Client Logos */
.client-logos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 1rem 0 2rem;
}

.logo-figure {
  flex-grow: 1;
  width: 110px;
  margin: 0 10px;
  padding: 7px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 75px;
}

.client-logos img {
  max-width: 100px;
  height: auto;
}

@media (max-width: 300px) {
  .logo-figure {
    width: 90px;
  }
}

@media (min-width: 700px) {
  .logo-figure {
    width: 140px;
  }
}

@media (min-width: 800px) {
  .logo-figure {
    width: 170px;
  }
}

@media (min-width: 960px) {
  .logo-figure {
    width: 190px;
  }
}

@media (min-width: 1050px) {
  .logo-figure {
    width: 145px;
  }
}

@media (min-width: 1220px) {
  .logo-figure {
    width: 170px;
  }
}

/* Image-based Experience Cards (Homepage Style) */
.experiences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .experiences-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .experiences-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .experiences-grid {
    gap: 1.5rem;
  }
}

.experience-card {
  position: relative;
  transition: transform 0.15s 0.05s;
  transform-style: preserve-3d;
}

.experience-card:hover {
  transform: scale(1.02);
}

.experience-card-inner {
  position: relative;
  height: 100%;
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 15px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

.experience-card:hover .experience-card-image {
  translate: calc((var(--ratio-x, 0.5) - 0.5) * 15%)
    calc((var(--ratio-y, 0.5) - 0.5) * 3.5%);
  scale: 1.2;
}

.experience-card:hover .experience-card-inner {
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
  transform: rotateX(calc((var(--ratio-y, 0.5) - 0.5) * 20deg))
    rotateY(calc((var(--ratio-x, 0.5) - 0.5) * -35deg));
}

.experience-card:not(:hover) .experience-card-inner {
  transform: rotateX(0deg) rotateY(0deg);
}

.experience-card-image-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.experience-card:hover .experience-card-image-wrapper:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at calc(var(--ratio-x, 0.5) * 100%)
        calc(var(--ratio-y, 0.5) * 100%),
      hsl(0 0% 100% / 0.15),
      transparent 50%
    ),
    linear-gradient(
        115deg,
        transparent 20%,
        #2f9e44 30%,
        transparent 48% 52%,
        #3b5bdb 70%,
        transparent
      )
      80% 80% / 300% 300%;
  filter: brightness(1) contrast(1.5);
  background-blend-mode: overlay;
  mix-blend-mode: color-dodge;
  z-index: 5;
  pointer-events: none;
  transition: none;

  background-position:
    calc(var(--ratio-x, 0.5) * 100%) calc(var(--ratio-y, 0.5) * 100%),
    calc(80% + (var(--ratio-x, 0.5) * -50%))
      calc(80% + (var(--ratio-y, 0.5) * -50%));
  opacity: 1;
}

.experience-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.1;
  transition:
    scale 0.15s,
    translate 0.15s;
}

.experience-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.experience-card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.experience-card-tag {
  padding: 4px 14px;
  border-radius: 33px;
  background-color: rgba(0, 0, 0, 0.65);
  font-size: 12px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  transition: background-color 0.3s;
}

.experience-card:hover .experience-card-tag {
  background-color: rgba(0, 0, 0, 0.9);
}

.experience-card-content {
  padding: 14px 15px 15px 15px;
}

@media (max-width: 768px) {
  .experiences-grid {
    justify-items: center;
  }

  .experience-card {
    transition: none;
    transform: none !important;
    max-width: 350px;
  }

  .experience-card-inner {
    transition: none;
    transform: none !important;
  }

  .experience-card-image-wrapper {
    height: 400px;
  }

  .experience-card-image {
    scale: 1;
    transition: none;
  }

  .experience-card:hover .experience-card-image {
    scale: 1;
    translate: 0 0;
  }

  .experience-card:hover .experience-card-image-wrapper:before {
    display: none;
  }

  .experience-card-content p {
    min-height: auto;
  }

  .experience-card-tag {
    font-size: 13px;
  }
}

.experience-card-content h3 {
  font-family: "Freight", serif;
  font-size: 24px;
  font-weight: 400;
  color: #2e2e2e;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.experience-card-content p {
  font-size: 14px;
  line-height: 1.5;
  color: #707070;
  margin: 0;
}

@media (min-width: 570px) {
  .experience-card-content p {
    min-height: 60px;
  }
}

@media (max-width: 768px) {
  .experience-card-content p {
    font-size: 16px;
  }
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
}

.step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #078f8b;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 60px;
  margin-bottom: 1.5rem;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #2d2d2d;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* Testimonial Section */
.testimonial-box {
  background-color: #ffffff;
  padding: 3rem 3.5rem;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  max-width: 900px;
  margin: 0 auto;
  border-left: 4px solid #078f8b;
}

.testimonial-box p {
  font-size: 1.2rem;
  font-style: normal;
  color: #2d2d2d;
  margin-bottom: 1.25rem;
  line-height: 1.7;
  font-weight: 400;
}

.testimonial-box p .highlight-box {
  background-color: #078f8b;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  color: #ffffff;
}

.testimonial-box cite {
  font-style: italic;
  font-size: 0.95rem;
  color: #666;
}

.testimonial-box cite img {
  height: 16px;
  width: auto;
  vertical-align: -4px;
  margin-left: 4px;
}

@media (min-width: 768px) {
  .testimonial-box p {
    font-size: 1.35rem;
  }
}

/* FAQ */
.faq-list {
  max-width: 900px;
  margin: 3rem auto 0;
}

.faq-item {
  margin-bottom: 0.5rem;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: #2d2d2d;
  background-color: transparent;
  border: none;
  width: 100%;
  text-align: left;
  padding: 1.25rem 3rem 1.25rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  position: relative;
  border-radius: 8px;
}

.faq-question:hover {
  background-color: rgba(7, 143, 139, 0.04);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: #078f8b;
  position: absolute;
  right: 1rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  padding: 0 1rem;
}

.faq-answer.active {
  max-height: 500px;
  padding: 0 1rem 1.25rem 1rem;
}

.faq-answer p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #078f8b 0%, #006a80 100%);
  color: #ffffff;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 2rem;
}

.cta-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: stretch;
  margin: 3rem auto;
  max-width: 1100px;
}

.cta-option {
  background: #078f8b;
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 12px;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

.cta-option h3 {
  font-family: "Freight", serif;
  font-size: 1.9rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.cta-option p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-option-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.meetings-embed-wide {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 12px;
  margin: 3rem auto;
  max-width: 1100px;
}

.meetings-embed-wide h3 {
  font-family: "Freight", serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-align: center;
  letter-spacing: -0.01em;
}

.meetings-iframe-container {
  min-height: 600px;
  background: transparent;
  border-radius: 8px;
}

.meetings-iframe-container iframe {
  min-width: 340px !important;
  min-height: 780px !important;
}

@media (min-width: 768px) {
  .cta-options {
    flex-direction: row;
  }

  .cta-option {
    flex: 1;
  }
}

/* HubSpot Form Container */
#hubspot-meetings-embed {
  margin: 3rem auto;
  max-width: 800px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subheadline {
    font-size: 1.2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .subheadline {
    font-size: 1.1rem;
  }

  .experiences-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}

.meetings-iframe-container {
  background-color: transparent;
}

/* Sticky Bottom CTA */
.sticky-bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #078f8b 0%, #006a80 100%);
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-bottom-cta.visible {
  transform: translateY(0);
}

.sticky-bottom-cta-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sticky-bottom-cta a {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background-color: #ffffff;
  color: #078f8b;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sticky-bottom-cta a:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .sticky-bottom-cta {
    padding: 0.85rem 1rem;
  }

  .sticky-bottom-cta a {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
  }
}

/* Hide specific experience cards on mobile */
@media (max-width: 899px) {
  .experience-card.hide-on-mobile {
    display: none;
  }
}
