.hero {
  min-height: 80dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5% 6rem;
  position: relative;
  background: url(../../assets/images/pexels-anna-nekrashevich-8532616.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /* background:
    radial-gradient(ellipse 80% 60% at 15% 25%, rgba(198, 95, 74, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 75%, rgba(154, 171, 149, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(198, 95, 74, 0.08) 0%, transparent 50%),
    linear-gradient(170deg, #faf6f0 0%, #f0ece4 50%, #eae4da 100%);*/
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 35% at 80% 20%, rgba(154, 171, 149, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 30% 25% at 20% 80%, rgba(198, 95, 74, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  /*color: var(--espresso);*/
  color: white;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--warm-gray);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.offers-section {
  padding: 6rem 5%;
  background: var(--bg);
  text-align: center;
}

.offers-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-top: 0.75rem;
  margin-bottom: 3rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.offer-shell {
  background: rgba(44, 36, 32, 0.03);
  padding: 0.5rem;
  border-radius: calc(var(--radius-xl) + 0.5rem);
  border: 1px solid rgba(44, 36, 32, 0.04);
  transition: var(--transition);
  animation: fadeInUp 0.7s cubic-bezier(0.32, 0.72, 0, 1) both;
  display: flex;
  flex-direction: column;
}

.offer-shell:hover {
  background: rgba(44, 36, 32, 0.05);
  transform: translateY(-4px);
}

.offer-card {
  background: linear-gradient(135deg, var(--accent), #a85442);
  color: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-ambient);
  position: relative;
  overflow: hidden;
  flex: 1;
  width: 100%;
}

.offer-card.accent {
  background: linear-gradient(135deg, var(--espresso), var(--espresso-muted));
}

.offer-badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.offer-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

.offer-card h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1rem;
  text-shadow: none;
}

.offer-card p {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.85;
  line-height: 1.5;
}

.eyebrow {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--sage-light);
  color: var(--sage);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(154, 171, 149, 0.2);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  color: var(--espresso);
  border: none;
  padding: 0.75rem 1.5rem 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.pill-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(44, 36, 32, 0.1);
}

.pill-btn:active {
  transform: scale(0.98);
}

.pill-btn .btn-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(44, 36, 32, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.pill-btn:hover .btn-icon {
  transform: translateX(2px) scale(1.05);
  background: rgba(44, 36, 32, 0.1);
}

.offer-card .pill-btn {
  background: var(--white);
  color: var(--espresso);
}

.offer-card .pill-btn .btn-icon {
  background: rgba(44, 36, 32, 0.06);
}

.offer-card .pill-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 16px rgba(44, 36, 32, 0.15);
}

.offer-card.accent .pill-btn {
  background: var(--accent);
  color: var(--white);
}

.offer-card.accent .pill-btn .btn-icon {
  background: rgba(255, 255, 255, 0.2);
}

.offer-card.accent .pill-btn:hover {
  background: var(--accent-hover);
}



/* 1. The Fixed Background Div */

.fixed-bg-div {
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.pexels.com/photos/26563051/pexels-photo-26563051.jpeg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

@media (max-width:720px) {
  .fixed-bg-div {
    height: 35vh;
  }
}

/* 2. The Animation Container */
.reveal-container {
  text-align: center;
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: bold;
  letter-spacing: 4px;
}

/* 3. The Line */
.line {
  width: 350px;
  height: 4px;
  background-color: #00ffcc;
  /* Cyan line */
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
  z-index: 2;
  /* Keeps the line above the text */
}

/* 4. The Mask (hides text when it is below the line) */
.text-mask {
  height: 90px;
  width: 350px;
  overflow: hidden;
  /* This is what hides the text before it slides up */
  position: relative;
  margin-top: 30px;
}

/* 5. The Names */
.name {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  transform: translateY(100%);
  /* Start hidden below the box */
  opacity: 0;
}

/* 6. Applying the animations with delays */
/* Total animation is 9 seconds. Each name waits for its turn. */
.name1 {
  animation: slideUpReveal 9s infinite 0s;
}

.name2 {
  animation: slideUpReveal 9s infinite 3s;
}

.name3 {
  animation: slideUpReveal 9s infinite 6s;
}

/* The Animation Keyframes */
@keyframes slideUpReveal {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }

  10% {
    transform: translateY(0);
    /* Text slides up to visible area */
    opacity: 1;
  }

  25% {
    transform: translateY(0);
    /* Text stays visible for a moment */
    opacity: 1;
  }

  35% {
    transform: translateY(-100%);
    /* Text slides up and fades away */
    opacity: 0;
  }

  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

.pillars-section {
  padding: 6rem 5%;
  background: var(--bg-alt);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1050px;
  margin: 0 auto;
}

.pillar-shell {
  background: rgba(44, 36, 32, 0.03);
  padding: 0.5rem;
  border-radius: calc(var(--radius-xl) + 0.5rem);
  border: 1px solid rgba(44, 36, 32, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pillar-shell:hover {
  background: rgba(44, 36, 32, 0.05);
  transform: translateY(-4px);
}

.pillar-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  flex: 1;
  width: 100%;
}

.pillar-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.pillar-shell:hover .pillar-icon {
  background: var(--sage);
  color: var(--white);
}

.pillar-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

.testimonials-section {
  padding: 6rem 5%;
  background: var(--bg);
  text-align: center;
}

.testimonials-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-top: 0.75rem;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1050px;
  margin: 0 auto;
}

.testimonial-shell {
  background: rgba(44, 36, 32, 0.03);
  padding: 0.5rem;
  border-radius: calc(var(--radius-xl) + 0.5rem);
  border: 1px solid rgba(44, 36, 32, 0.04);
  transition: var(--transition);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.testimonial-shell:hover {
  background: rgba(44, 36, 32, 0.05);
  transform: translateY(-4px);
}

.testimonial-card {
  background: var(--cream);
  padding: 2rem;
  border-radius: var(--radius-xl);
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card>p {
  flex: 1;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #d4a853;
  font-size: 0.9rem;
}

.testimonial-card>p {
  font-size: 0.9rem;
  color: var(--espresso-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--warm-gray);
}

.newsletter-section {
  padding: 6rem 5%;
  background: var(--bg-alt);
}

.newsletter-shell {
  background: rgba(44, 36, 32, 0.03);
  padding: 0.5rem;
  border-radius: calc(var(--radius-xl) + 0.5rem);
  border: 1px solid rgba(44, 36, 32, 0.04);
  max-width: 1000px;
  margin: 0 auto;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.newsletter-shell:hover {
  background: rgba(44, 36, 32, 0.05);
}

.newsletter-card {
  display: flex;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--espresso), #1a1512);
  flex: 1;
  width: 100%;
}

.newsletter-content {
  flex: 1;
  padding: 3.5rem 3rem;
  color: var(--white);
}

.newsletter-content h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.newsletter-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 400px;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 440px;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  font-size: 0.875rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--white);
  transition: var(--transition-fast);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.newsletter-form input:focus {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-form .pill-btn {
  background: var(--white);
  color: var(--espresso);
  white-space: nowrap;
}

.newsletter-form .pill-btn:hover {
  background: rgba(255, 255, 255, 0.85);
}

.newsletter-image {
  width: 300px;
  min-height: 280px;
  flex-shrink: 0;
  overflow: hidden;
}

.newsletter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.32, 0.72, 0, 1);
}

.newsletter-shell:hover .newsletter-image img {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .hero {
    padding: 6rem 5% 4rem;
    min-height: 70dvh;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-card {
    flex-direction: column;
  }

  .newsletter-image {
    width: 100%;
    min-height: 200px;
  }

  .newsletter-content {
    padding: 2.5rem 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}