* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --forest: #1f3b2c;
  --forest-dark: #142720;
  --sage: #7c9473;
  --sand: #f1ecdf;
  --clay: #c98a3d;
  --ink: #1b1b16;
  --white: #ffffff;
}

body {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--ink);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-sm {
  font-size: 0.9rem;
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 59, 44, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  padding: 10px 20px;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.35);
}

.btn-block {
  display: block;
  width: 100%;
  justify-content: center;
}

/* Section heading */
.section-heading {
  max-width: 600px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading .eyebrow {
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: 2.1rem;
  margin-bottom: 14px;
}

.section-text {
  color: #4b4b42;
}

/* Navbar */
.navbar {
  padding: 20px 0;
  background: var(--white);
  position: relative;
  z-index: 50;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest);
}

.logo i {
  color: var(--clay);
}

.main-menu ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar ul li a {
  padding: 10px 16px;
  display: block;
  font-weight: 600;
  transition: color 0.3s;
}

.navbar .main-menu ul li a:hover {
  color: var(--clay);
}

.hamburger-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.hamburger-button .hamburger-line {
  width: 26px;
  height: 3px;
  background: var(--forest);
  margin: 5px 0;
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100%;
  z-index: 100;
  background: var(--sand);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transition: right 0.35s ease-in-out;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  margin-top: 100px;
  padding: 0 24px;
}

.mobile-menu ul li {
  margin: 14px 0;
}

.mobile-menu ul li a {
  font-size: 1.1rem;
}

/* Hero */
.hero {
  position: relative;
  background: var(--sand);
  padding-top: 40px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 80px;
}

.hero-eyebrow {
  color: var(--clay);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.hero-heading {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.hero-heading .reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: reveal-word 0.7s ease forwards;
}

.hero-heading .reveal-word:nth-child(1) {
  animation-delay: 0.1s;
}

.hero-heading .reveal-word:nth-child(2) {
  animation-delay: 0.25s;
  color: var(--forest);
}

.hero-heading .reveal-word:nth-child(3) {
  animation-delay: 0.4s;
  color: var(--clay);
}

@keyframes reveal-word {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text {
  max-width: 480px;
  color: #3f4a3a;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-stat i {
  color: var(--clay);
}

.hero-visual {
  position: relative;
}

.hero-image {
  border-radius: 28px 90px 28px 28px;
  box-shadow: 0 30px 60px rgba(20, 39, 32, 0.25);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.hero-badge i {
  color: var(--clay);
  font-size: 1.3rem;
}

.hero-badge strong {
  display: block;
  font-size: 0.9rem;
}

.hero-badge span {
  font-size: 0.8rem;
  color: #6b6b60;
}

.wave-divider {
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

.wave-divider path {
  fill: var(--white);
}

/* Why Choose Olylife Grid Section */
.why-choose {
  padding: 90px 0;
  background: var(--sand);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.feature-card {
  text-align: center;
  padding: 10px;
}

.feature-icon {
  font-size: 2.8rem;
  color: var(--forest);
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--forest);
}

.feature-card p {
  font-size: 0.925rem;
  line-height: 1.6;
  color: #4b4b42;
}

/* Video */
.video {
  padding: 90px 0 70px;
  background: var(--forest);
  color: var(--white);
}

.video .eyebrow {
  color: var(--clay);
}

.video .section-text {
  color: #cfd9cd;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.video-card {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: var(--forest-dark);
}

.video-card img {
  transition: transform 0.5s ease;
}

.video-card:hover img {
  transform: scale(1.06);
}

.video-card,
.about-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.1s ease-out, transform 1.1s ease-out;
}

.video-card.in-view,
.about-content.in-view {
  opacity: 1;
  transform: translateY(0);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.play-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: play-pulse 2.2s ease-out infinite;
}

@keyframes play-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.video-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
  padding: 90px 0 60px;
  background: var(--white);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 24px 30px;
  scroll-snap-type: x mandatory;
}

.testimonial-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(20, 39, 32, 0.15);
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1.1s ease-out, transform 1.1s ease-out;
}

.testimonials-track .testimonial-card:nth-child(1) { transition-delay: 0s; }
.testimonials-track .testimonial-card:nth-child(2) { transition-delay: 0.15s; }
.testimonials-track .testimonial-card:nth-child(3) { transition-delay: 0.3s; }
.testimonials-track .testimonial-card:nth-child(4) { transition-delay: 0.45s; }

.testimonial-card.in-view {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.testimonials-more {
  text-align: center;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s ease-out, transform 1.1s ease-out;
  transition-delay: 0.6s;
}

.testimonials-more.in-view {
  opacity: 1;
  transform: translateY(0);
}

.testimonials-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest, #1f3b2c);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1.5px solid var(--clay, #c98a3d);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.testimonials-more-link i {
  color: #229ed9;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.testimonials-more-link:hover {
  color: var(--clay, #c98a3d);
  border-color: var(--forest, #1f3b2c);
  transform: translateY(-2px);
}

.testimonials-more-link:hover i {
  transform: translateX(4px);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox.open {
  display: flex;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #ffffff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  font-weight: 300;
}

/* Machines */
.machines {
  padding: 90px 0;
  background: var(--sand);
}

.machine-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1.1s ease-out, transform 1.1s ease-out;
}

.machine-row.reverse {
  grid-template-columns: 1.1fr 0.9fr;
  transform: translateX(40px);
}

.machine-row.reverse .machine-image {
  order: 2;
}

.machine-row.in-view {
  opacity: 1;
  transform: translateX(0);
}

.machine-image {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(20, 39, 32, 0.15);
}

.machine-details h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: var(--forest);
}

.machine-details p {
  color: #3f4a3a;
  margin-bottom: 16px;
}

.machine-price {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: 22px !important;
}

.machines-footer {
  text-align: center;
  color: #6b6b60;
  font-size: 0.9rem;
}

/* FAQ */
.faq {
  padding: 90px 0;
  background: var(--white);
}

.faq-group {
  border-bottom: 1px solid #e2ddd0;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.faq-group-header {
  padding: 14px 0;
  position: relative;
  cursor: pointer;
}

.faq-group-header h4 {
  font-size: 1.05rem;
  font-weight: 600;
  width: 92%;
  color: var(--ink);
}

.faq-group-header i {
  position: absolute;
  right: 0;
  top: 24px;
  font-size: 1.1rem;
  color: var(--clay);
}

.faq-group-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-group-body p {
  overflow: hidden;
  color: #4b4b42;
}

.faq-group-body.open {
  display: grid;
  grid-template-rows: 1fr;
}

.faq-group-body:not(.open) p {
  padding: 0;
}

.faq-group-body.open p {
  padding-top: 4px;
}

.faq-group-body > p {
  min-height: 0;
}

/* Footer */
.footer {
  padding: 70px 0 30px;
  background: var(--forest-dark);
  color: #cfd9cd;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.logo-light {
  color: var(--white);
}

.footer h4 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer a {
  color: #cfd9cd;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--clay);
}

.footer-newsletter {
  margin: 24px 0;
}

.footer-newsletter form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.footer-newsletter input[type='email'] {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #345544;
  background: #1d3529;
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 16px;
  font-size: 1.3rem;
  margin-top: 20px;
}

.footer-bottom {
  border-top: 1px solid #2b4a3a;
  padding-top: 24px;
  color: #93a591;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  z-index: 200;
}

.whatsapp-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: whatsapp-ping 2.4s ease-out infinite;
}

.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--forest, #1f3b2c);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 10px 24px rgba(31, 59, 44, 0.45);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@keyframes whatsapp-ping {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-heading .reveal-word,
  .testimonial-card,
  .machine-row,
  .play-button::before,
  .whatsapp-ping {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Media Queries */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .hero-stat {
    justify-content: center;
  }

  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .machine-row,
  .machine-row.reverse {
    grid-template-columns: 1fr;
    transform: translateY(30px);
  }

  .machine-row.reverse .machine-image {
    order: 0;
  }

  .machine-row.in-view {
    transform: translateY(0);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 670px) {
  .navbar .main-menu {
    display: none;
  }

  .navbar .hamburger-button {
    display: block;
  }

  .hero-heading {
    font-size: 2.3rem;
  }

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