/*
  GRAMYRA Premium Theme - Mobile-First Responsive Design
  Shared styles for all pages.
*/

:root {
  --bg: #f7f3eb;
  --primary: #2f5d50;
  --accent: #c9a96e;
  --text: #2b2b2b;
  --text-soft: #5b5b5b;
  --surface: #fcf9f2;
  --line: #ddd4c3;
  --section-space: 1.5rem;
  --radius: 14px;
  --radius-sm: 10px;
  --container-max: 1140px;
  --font-size-base: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.65;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding-block: var(--section-space);
}



.grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

p {
  color: var(--text-soft);
}

.section-intro {
  max-width: 58ch;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.btn:hover {
  transform: scale(1.02);
}

.btn-primary {
  background: var(--primary);
  color: #f7f3eb;
}

.btn-primary:hover {
  background: #254c42;
}

.btn-secondary {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-secondary:hover {
  border-color: #254c42;
  color: #254c42;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, white 8%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(3px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 80px;
  width: auto;
  display: block;
}

.nav-links {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 260px;
  height: 100dvh;
  background: var(--bg);
  flex-direction: column;
  align-items: flex-start;
  padding: 5rem 1.8rem 2rem;
  gap: 1.2rem;
  border-left: 1px solid var(--line);
  box-shadow: -4px 0 20px rgba(0,0,0,0.06);
  transition: right 0.35s ease;
  z-index: 15;
}

.nav-links.is-open {
  display: flex;
  right: 0;
}

.nav-links a {
  font-size: 1.1rem;
  padding: 0.4rem 0;
  width: 100%;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--primary);
  border-color: var(--accent);
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url("images/index mob.png") center center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(247, 243, 235, 0.9) 0%,
    rgba(247, 243, 235, 0.7) 50%,
    rgba(247, 243, 235, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0.8rem;
}

.hero-subtext {
  display: none;
}

.hero-text {
  max-width: 100%;
}

.hero-title-nowrap {
  white-space: normal;
  display: inline-block;
  max-width: 8ch;
  word-spacing: 9999px;
}

.hero--about {
  background-image: url("images/about mob.png");
  background-size: cover;
}

.hero--products {
  background-image: url("images/products mob.png");
  background-size: cover;
}

.hero--contact {
  background-image: url("images/contacts mob.png");
  background-size: cover;
}



.hero--about .tag {
  font-size: 18px;
  letter-spacing: 3px;
  margin-top: clamp(1.5rem, 4vh, 3rem);
  color: var(--text);

}

.hero--title-only {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero__top-title {
  margin-top: clamp(1.5rem, 4vh, 3rem);
  text-align: center;
  font-family: var(--ff-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--primary);
  letter-spacing: 0.02em;
}

.tag {
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 15px;
  font-weight: 600;
}

.hero-text h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.subtext {
  font-size: clamp(14px, 3vw, 16px);
  color: #3a3a3a;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex-wrap: wrap;
  width: 50%;
}

.hero .btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(47, 93, 80, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.hero .btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(47, 93, 80, 0.24);
  background: #254c42;
}

.hero .btn.secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(47, 93, 80, 0.5);
}

.hero .btn.secondary:hover {
  background: rgba(47, 93, 80, 0.08);
  transform: translateY(-2px);
}

.hero-wrap {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}

.hero-copy p {
  margin: 1rem 0 1.6rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-media {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: var(--radius);
}

/* ========== Announcement Strip ========== */
.announce-strip {
  overflow: hidden;
  background: var(--primary);
  padding: 10px 0;
  white-space: nowrap;
}

.announce-track {
  display: inline-block;
  animation: announceScroll 35s linear infinite;
}

.announce-track span {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bg);
  letter-spacing: 0.5px;
}

@keyframes announceScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
}

/* ==========================================================================
   Trust Strip
   ========================================================================== */
.trust-strip {
  padding: 36px 0;
  border-top: 1px solid var(--border, #E2DAC8);
  border-bottom: 1px solid var(--border, #E2DAC8);
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  justify-items: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs, 8px);
  text-align: center;
  transition: transform 0.2s ease;
}

.trust-item:hover {
  transform: translateY(-3px);
}

.trust-item__icon {
  font-size: 1.5rem;
}

.trust-item__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary, #2F5D50);
}

.trust-item__sub {
  font-size: 0.78rem;
  color: var(--text-light, #6B6B6B);
}

/* Trust strip — mobile */
@media (max-width: 768px) {
  .trust-strip__inner {
    gap: var(--space-lg, 40px);
  }
}

.split {
  display: grid;
  gap: 1.3rem;
  align-items: center;
}

.preview-grid,
.features-grid,
.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.5rem;
}

/* ── Illustration Divider ── */
.illus-divider {
  padding: 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.illus-svg {
  width: min(90%, 700px);
  height: auto;
  opacity: .85;
}

/* SECTION BASE */
.product-preview {
  background: #f5efe6;
  padding: 80px 20px;
  text-align: left;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

/* TYPOGRAPHY */
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: #b89c6a;
  margin-bottom: 12px;
}

.product-preview h2 {
  font-size: 44px;
  font-weight: 500;
  margin-bottom: 16px;
  color: #2b2b2b;
}

.section-intro {
  font-size: 16px;
  color: #6b6b6b;
  max-width: 100%;
  margin: 0 0 60px;
  line-height: 1.6;
  white-space: nowrap;
}

/* GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 120px;
  align-items: start;
}

/* PRODUCT BLOCK */
.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-intro,
.product-intro__inner {
  text-align: center;
}

/* "Tradition in every drop" — golden italic */
.product-intro h2 em {
  color: var(--accent);        /* #C9A96E */
  font-style: italic;
}

/* pill badges */
.product-intro__highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.product-intro__pill {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(47, 93, 80, 0.35);
  background: rgba(47, 93, 80, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.4px;
}

/* IMAGE */
.product img {
  width: 340px;
  height: auto;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 18px 25px rgba(0,0,0,0.08));
  transition: transform 0.4s ease;
}

.product:hover img {
  transform: scale(1.05);
}

/* TITLE */
.product h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #2b2b2b;
}

/* META TEXT */
.product .meta {
  font-size: 14px;
  color: #6b6b6b;
  margin-bottom: 18px;
}

/* CTA STRIP */
.cta-strip {
  background: #2f5d50;
  color: #f5efe6;
  text-decoration: none;
  padding: 10px 26px;
  font-size: 14px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.cta-strip:hover {
  background: #254a40;
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .product-preview h2 {
    font-size: 32px;
  }

  .product img {
    width: 200px;
  }
}

.link-cta {
  font-size: 14px;
  text-decoration: none;
  color: #2f5d50;
  position: relative;
  transition: all 0.3s ease;
}

.link-cta::after {
  content: "";
  display: block;
  width: 0%;
  height: 1px;
  background: #2f5d50;
  transition: width 0.3s ease;
  margin: 4px auto 0;
}

.link-cta:hover::after {
  width: 60%;
}

.product-preview .container {
  max-width: 1000px;
}

.price {
  color: var(--primary);
  font-weight: 700;
  margin: 0.45rem 0;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline-horizontal {
  position: relative;
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 80%);
  gap: 0.7rem;
  overflow-x: auto;
  padding: 0.3rem 0.2rem 0.9rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.1rem;
}

.timeline-horizontal::before {
  display: none;
}

.timeline-step {
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
}

.timeline-step-animated {
  position: relative;
  border-left: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.45rem 1rem 1.05rem;
  z-index: 1;
  animation: processFloat 4s ease-in-out infinite;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
  overflow: hidden;
}

.timeline-step-animated::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 45%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.timeline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  margin-bottom: 0.45rem;
  font-size: 1rem;
  line-height: 1;
  background: color-mix(in srgb, var(--accent) 14%, white 86%);
  border: 1px solid color-mix(in srgb, var(--accent) 36%, white 64%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 15%, transparent);
  transition: transform 220ms ease, background-color 220ms ease;
}

.timeline-step-animated:nth-child(2) {
  animation-delay: 0.45s;
}

.timeline-step-animated:nth-child(3) {
  animation-delay: 0.9s;
}

.timeline-step-animated:nth-child(4) {
  animation-delay: 1.35s;
}

.timeline-step-animated:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
}

.timeline-step-animated:hover .timeline-icon {
  transform: scale(1.06);
  background: color-mix(in srgb, var(--accent) 20%, white 80%);
}

.timeline-step-animated:hover::after {
  opacity: 1;
}

@keyframes processLine {
  from {
    transform: scaleX(0.1);
    transform-origin: left;
    opacity: 0;
  }

  to {
    transform: scaleX(1);
    transform-origin: left;
    opacity: 0.55;
  }
}

@keyframes processFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.timeline-step span {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
}

.timeline-mobile-hint {
  display: none;
  margin-top: -0.25rem;
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: color-mix(in srgb, var(--primary) 72%, var(--text-soft));
}

.cta-panel {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f3eee1;
  padding: clamp(1.5rem, 4vw, 2.5rem) 1rem;
}

.cta-panel p {
  margin: 0.8rem auto 1.4rem;
  max-width: 52ch;
}

.story-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--surface);
}

/* Bilona / story image sizing */
.split .reveal img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  display: block;
  margin-inline: auto;
}

.form-wrap {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .form-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

.form {
  display: grid;
  gap: 0.9rem;
}

label {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf8;
  color: var(--text);
  padding: 0.75rem 0.85rem;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 60%, white 40%);
  border-color: var(--accent);
}

.contact-list {
  display: grid;
  gap: 0.8rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 1.4rem;
  padding: 0 0 1.8rem;
  background: color-mix(in srgb, var(--surface) 82%, white 18%);
}

.footer-cta {}
/* ===== FOOTER WITH IMAGE BACKGROUND ===== */
.footer {
  position: relative;
  background: url("images/footer.png") center / cover no-repeat;
  color: #F7F3EB;
  overflow: hidden;
}

/* dark overlay via pseudo-element — no overlay div needed in HTML */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 12, 0.90) 0%,
    rgba(20, 18, 12, 0.84) 50%,
    rgba(20, 18, 12, 0.93) 100%
  );
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
  padding-block: clamp(2rem, 5vw, 4rem);
  padding-inline: clamp(1rem, 3vw, 2rem);
}

/* Top CTA block */
.footer-top {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(201, 169, 110, 0.35);
}

.footer-top h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #F7F3EB;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.footer-sub {
  font-size: 0.95rem;
  color: rgba(247, 243, 235, 0.65);
  margin-bottom: 1.5rem;
}

/* WhatsApp CTA button inside footer */
a.footer-cta {
  display: inline-block;
  background: var(--accent);
  color: #1a1a1a;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}

a.footer-cta:hover {
  background: #b8934f;
  color: #fff;
  transform: translateY(-2px);
}

/* 4-column links grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Brand column */
.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(247, 243, 235, 0.60);
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 0.5rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0;
}

.badges span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(201, 169, 110, 0.45);
  border-radius: 999px;
  padding: 3px 10px;
}

.availability,
.orders {
  font-size: 0.8rem;
  color: rgba(247, 243, 235, 0.50);
  margin-top: 0.3rem;
}

/* Column headings */
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Column link lists */
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-grid ul li,
.footer-grid ul li a {
  font-size: 0.875rem;
  color: rgba(247, 243, 235, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-grid ul li a:hover {
  color: var(--accent);
}

.footer-grid > div > p {
  font-size: 0.875rem;
  color: rgba(247, 243, 235, 0.65);
  line-height: 1.7;
}

/* Social links */
.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.socials a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid rgba(201, 169, 110, 0.45);
  border-radius: 999px;
  padding: 4px 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.socials a:hover {
  background: var(--accent);
  color: #1a1a1a;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(247, 243, 235, 0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(247, 243, 235, 0.35);
}

.footer-bottom p { margin: 0; }

/* Tablet */
@media (max-width: 1068px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}

.btn-accent {
  background-color: var(--accent);
  color: #1a1a1a;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--accent);
  transition: transform var(--transition), background-color var(--transition);
  cursor: pointer;
}

.btn-accent:hover {
  background-color: #b8934f;
  border-color: #b8934f;
  color: #fff;
  transform: translateY(-2px);
}

@keyframes iconSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}



.reveal {
  opacity: 0;
  transform: translateY(16px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  .reveal {
    animation: fadeUp both ease-out;
    animation-timeline: view();
    animation-range: entry 12% cover 28%;
    animation-duration: 0.7s;
  }
}

@supports not (animation-timeline: view()) {
  .reveal {
    animation: fadeUp 0.7s ease-out forwards;
  }
}

/* ==========================================================================
   HAMBURGER TOGGLE (shown on mobile)
   ========================================================================== */
.nav-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 20;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle__bar {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animate to X when open */
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}







/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* Pulse ring animation */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.25);
  animation: whatsappPulse 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0; }
}

@media (max-width: 620px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before {
    animation: none;
  }

  .timeline-step-animated {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .nav-links {
    transition: none;
  }
}

/* ==========================================================================
   MOBILE-FIRST RESPONSIVE DESIGN
   ========================================================================== */

/* Small tablets and up */
@media (max-width: 768px) {

  .hero-title span,
  .about-title span,
  .contact-title span {
    display: block;
    white-space: nowrap;
  }

  .hero-title,
  .about-title,
  .contact-title {
    line-height: 1.2;
  }

  /* Optional: control width for better wrapping */
  .hero-title {
    max-width: 260px;
  }

  .about-title {
    max-width: 280px;
  }

  .contact-title {
    max-width: 240px;
  }
}

@media (min-width: 480px) {
  :root {
    --section-space: 2.5rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    height: 70vh;
    min-height: 400px;
  }

  .hero-content {
    padding: 2rem;
  }

  .hero-text {
    max-width: 500px;
  }
}

/* Tablets and up */
@media (min-width: 768px) {
  :root {
    --section-space: 3rem;
  }

  .container {
    padding: 0 2rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .hero {
    height: calc(100vh - 72px - 42px);
    min-height: 480px;
    background-position: 92% center;
    background-size: cover;
    background-image: url("images/ghee-poster.png");
  }

  .hero::before {
    background: linear-gradient(
      to right,
      rgba(247, 243, 235, 0.7) 0%,
      rgba(247, 243, 235, 0.5) 25%,
      rgba(247, 243, 235, 0.25) 45%,
      rgba(247, 243, 235, 0.08) 60%,
      rgba(247, 243, 235, 0) 70%
    );
  }

  .hero-content {
    padding-left: 6%;
    padding-right: 0;
  }

  .hero-text {
    max-width: 460px;
  }

  .hero-subtext {
    display: block;
  }

  .hero-title-nowrap {
    white-space: nowrap;
    display: inline;
    max-width: none;
    word-spacing: normal;
  }

  .hero-buttons {
    flex-direction: row;
    width: auto;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }

  .hero--about,
  .hero--products,
  .hero--contact {
    background-position: 42% center;
    background-size: cover;
  }

  .hero--about {
    background-image: url("images/about.png");
  }

  .hero--products {
    background-image: url("images/Products.png");
  }

  .hero--contact {
    background-image: url("images/contact.png");
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    width: auto;
    height: auto;
    padding: 0;
    gap: clamp(0.7rem, 2vw, 1.4rem);
    box-shadow: none;
  }

  .nav-links a {
    padding: 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
  }

  .nav-links a:hover,
  .nav-links a.is-active {
    border-color: var(--accent);
    color: var(--primary);
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-horizontal {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    overflow-x: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .timeline-horizontal::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 36px;
    height: 2px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 40%, white 60%), var(--accent), color-mix(in srgb, var(--accent) 40%, white 60%));
    opacity: 0.55;
    animation: processLine 1.2s ease-out;
    display: block;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
  }

  .product img {
    width: 240px;
  }
}

/* Desktop and up */
@media (min-width: 1024px) {
  :root {
    --section-space: clamp(3rem, 4.5vw, 4rem);
  }

  h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
  }

  h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
  }

  .hero {
    height: calc(100vh - 72px - 42px);
    min-height: 500px;
  }

  .hero-content {
    padding-left: 8%;
  }

  .hero-text {
    max-width: 500px;
  }

  .product-grid {
    gap: 120px;
  }

  .product img {
    width: 280px;
  }

  .trust-strip__inner {
    display: flex;
    justify-content: center;
    gap: var(--space-xl, 88px);
    flex-wrap: wrap;
  }
}

/* Large desktop */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }

  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero-text {
    max-width: 600px;
  }
}
