/* ===== Design tokens ===== */
:root {
  --color-teal: #0EA5A6;
  --color-teal-dark: #087274;
  --color-coral: #FF6F61;
  --color-coral-dark: #E8543E;
  --color-mango: #FFC145;
  --color-mango-dark: #E8A61F;
  --color-bg: #FFF8EE;
  --color-surface: #FFFFFF;
  --color-ink: #1F3A3D;
  --color-ink-soft: #4B6367;
  --color-muted: #F1ECDD;
  --color-border: #E7DFC9;

  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(31, 58, 61, .08);
  --shadow-md: 0 12px 30px rgba(31, 58, 61, .12);
  --shadow-lg: 0 20px 46px rgba(31, 58, 61, .16);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--color-ink);
}

p { margin: 0 0 1em; color: var(--color-ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-coral-dark);
  background: #FFE7E4;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.eyebrow-light {
  color: var(--color-mango);
  background: rgba(255,255,255,.12);
}

.text-coral { color: var(--color-coral); }
.text-mango { color: var(--color-mango-dark); }
.text-teal { color: var(--color-teal); }

.section { padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-sub { color: var(--color-ink-soft); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.96); }
.btn-primary {
  background: var(--color-coral);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-coral-dark); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
}
.btn-outline:hover { background: var(--color-ink); color: #fff; }
.btn-light {
  background: #fff;
  color: var(--color-teal-dark);
}
.btn-light:hover { background: var(--color-mango); color: var(--color-ink); }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1eb856; }
.btn-sm { padding: 10px 20px; font-size: 15px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-muted);
  color: var(--color-ink);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.icon-btn:hover { background: var(--color-teal); color: #fff; transform: translateY(-2px); }

/* ===== Announcement bar ===== */
.announce-bar {
  background: var(--color-ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 0;
  letter-spacing: .01em;
  overflow: hidden;
  white-space: nowrap;
}
.announce-track { display: inline-flex; width: max-content; }
.announce-set { display: inline-flex; align-items: center; }
.announce-set span:not(.announce-dot) { padding: 0 14px; }
.announce-dot { color: var(--color-mango); font-size: 9px; opacity: .8; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 238, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo-img { height: 42px; width: auto; }
.logo-link { display: flex; align-items: center; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 600;
  font-size: 15px;
}
.main-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--color-ink);
  transition: color .2s var(--ease);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-coral);
  transition: width .25s var(--ease);
}
.main-nav a:hover { color: var(--color-coral-dark); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.whatsapp-icon-btn:hover { background: #25D366; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-ink);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: .35em;
}
.hero-sub { font-size: 17px; max-width: 46ch; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 40px; }
.hero-stats {
  display: flex;
  gap: 36px;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 22px; color: var(--color-teal-dark); }
.hero-stats span { font-size: 13px; color: var(--color-ink-soft); }
.star-inline { color: var(--color-mango-dark); font-size: 16px; }

.hero-media { position: relative; will-change: transform; padding: 36px 8px; }
#heroHeadline { opacity: 0; }
#heroHeadline .split-word { display: inline-block; will-change: transform, opacity; }
.hero-anim { opacity: 0; will-change: transform, opacity; }
.hero-media-shape {
  position: absolute;
  inset: 4% -8% 4% -8%;
  background: var(--color-mango);
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  z-index: 0;
  opacity: 0;
}
.hero-gallery {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.hero-photo {
  flex: 1 1 0;
  aspect-ratio: 3/4.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 5px solid var(--color-surface);
  box-shadow: var(--shadow-lg);
  will-change: transform, opacity;
  opacity: 0;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-1 { background: var(--color-mango); }
.hero-photo-2 { background: var(--color-coral); }
.hero-photo-3 { background: var(--color-teal); }
.hero-photo-4 { background: #FFD9CF; }
/* Resting wave offset (translateY) is applied via JS/inline style, since GSAP owns
   `transform` on these cards once the entrance tween runs — see script.js waveOffsets. */
.hero-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink);
  opacity: 0;
}
.hero-badge svg { color: var(--color-teal); flex-shrink: 0; }
.hero-badge-1 { top: 8%; right: -6%; }
.hero-badge-2 { bottom: 10%; left: -8%; }

/* ===== Secondary tagline ===== */
.tagline-strip {
  padding: 8px 0 44px;
  text-align: center;
}
.tagline-strip-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--color-ink);
  margin: 0;
}

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 36px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-item svg { color: var(--color-teal); flex-shrink: 0; transition: transform .35s var(--ease); }
.trust-item:hover svg { animation: wiggle .5s var(--ease); }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 15px; }
.trust-item span { display: block; font-size: 13px; color: var(--color-ink-soft); }

/* ===== Collections ===== */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  perspective: 900px;
}
.collection-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease);
  will-change: transform;
}
.collection-card:hover { box-shadow: var(--shadow-md); }
.collection-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.collection-card:hover img { transform: scale(1.06); }
.collection-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31,58,61,.75) 0%, rgba(31,58,61,.05) 55%);
}
.collection-name {
  position: absolute;
  left: 18px; bottom: 16px;
  z-index: 1;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

/* ===== Promo triple ===== */
.promo-triple { padding-top: 0; }
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.promo-tile {
  border-radius: var(--radius-md);
  padding: 30px;
  color: #fff;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.promo-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.promo-tile svg { margin-bottom: 8px; transition: transform .35s var(--ease); }
.promo-tile:hover svg { transform: scale(1.15) rotate(-6deg); }
.promo-tile h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.promo-tile p { color: rgba(255,255,255,.88); margin: 0; font-size: 14px; }
.promo-teal { background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark)); }
.promo-coral { background: linear-gradient(135deg, var(--color-coral), var(--color-coral-dark)); }
.promo-mango { background: linear-gradient(135deg, var(--color-mango), var(--color-mango-dark)); color: var(--color-ink); }
.promo-mango h3, .promo-mango p { color: var(--color-ink); }
.promo-mango p { opacity: .75; }

/* ===== Offer banner ===== */
.offer-banner {
  background: var(--color-ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.offer-banner h3 { color: #fff; margin: 4px 0 0; font-size: clamp(20px, 3vw, 26px); }
.offer-tag {
  display: inline-block;
  background: var(--color-coral);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* ===== Product grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  perspective: 900px;
}
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease);
  will-change: transform;
}
.product-card:hover { box-shadow: var(--shadow-md); }
.product-media { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.07); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--color-mango);
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  z-index: 1;
  animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.product-badge-bogo { background: var(--color-coral); color: #fff; }
.wishlist-btn {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 1;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.wishlist-btn:hover { transform: scale(1.08); }
.wishlist-btn.active { color: var(--color-coral); }
.wishlist-btn.active svg { fill: var(--color-coral); }
.wishlist-btn.pop { animation: heartPop .45s var(--ease); }
@keyframes heartPop {
  0% { transform: scale(1); }
  35% { transform: scale(1.35); }
  60% { transform: scale(.9); }
  100% { transform: scale(1); }
}
.product-info { padding: 18px 18px 20px; }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 13px; }
.product-rating .stars { color: var(--color-mango-dark); letter-spacing: 1px; font-size: 13px; }
.rating-count { color: var(--color-ink-soft); font-weight: 700; }
.product-info h4 { font-size: 16px; margin-bottom: 4px; }
.product-tag { display: block; font-size: 12.5px; color: var(--color-ink-soft); margin-bottom: 10px; }
.product-price-row { display: flex; align-items: baseline; gap: 10px; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--color-coral-dark); }
.price-old { font-size: 13px; color: var(--color-ink-soft); text-decoration: line-through; }

/* ===== Why us ===== */
.why-us { background: var(--color-ink); color: #fff; }
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.why-us-media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.why-us-copy h2 { color: #fff; }
.why-us-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.why-us-list li { display: flex; gap: 16px; align-items: flex-start; }
.why-us-list svg { color: var(--color-mango); flex-shrink: 0; margin-top: 2px; }
.why-us-list li:hover svg { animation: wiggle .5s var(--ease); }
.why-us-list strong { display: block; font-family: var(--font-display); font-size: 16.5px; margin-bottom: 2px; }
.why-us-list p { color: rgba(255,255,255,.72); margin: 0; font-size: 14.5px; }

/* ===== Size guide ===== */
.size-table-wrap { overflow-x: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.size-table { width: 100%; border-collapse: collapse; background: var(--color-surface); min-width: 480px; }
.size-table th, .size-table td { padding: 14px 20px; text-align: left; font-size: 15px; }
.size-table thead th {
  background: var(--color-teal);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  position: sticky; top: 0;
}
.size-table tbody tr:nth-child(even) { background: var(--color-muted); }
.size-table td:last-child { font-weight: 700; color: var(--color-coral-dark); }
.size-note { text-align: center; margin-top: 22px; color: var(--color-ink-soft); }
.size-note a { color: var(--color-teal-dark); font-weight: 700; text-decoration: underline; }

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin: 0;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testimonial-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-md); }
.testimonial-card .stars { color: var(--color-mango-dark); letter-spacing: 2px; margin-bottom: 12px; transition: letter-spacing .3s var(--ease); }
.testimonial-card:hover .stars { letter-spacing: 4px; }
.testimonial-card blockquote { margin: 0 0 20px; font-size: 15.5px; color: var(--color-ink); line-height: 1.6; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--avatar-bg, var(--color-teal));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial-card figcaption strong { display: block; font-size: 14.5px; }
.testimonial-card figcaption span { font-size: 13px; color: var(--color-ink-soft); }

/* ===== Delivery ===== */
.delivery-section { background: var(--color-teal); color: #fff; }
.delivery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}
.delivery-copy h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); }
.delivery-list { list-style: none; margin: 24px 0 32px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.delivery-list li {
  background: rgba(255,255,255,.12);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
}
.delivery-list strong { font-family: var(--font-display); }
.delivery-media { display: flex; justify-content: center; }

/* ===== Newsletter ===== */
.newsletter { background: var(--color-mango); }
.newsletter-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.newsletter-inner h2 { font-size: clamp(24px, 3.4vw, 32px); }
.newsletter-inner p { color: var(--color-ink); opacity: .8; }
.newsletter-form { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; justify-content: center; }
.newsletter-form input {
  flex: 1 1 260px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-ink);
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
  color: var(--color-ink);
}
.newsletter-form input:focus { outline: 3px solid var(--color-teal); outline-offset: 2px; }
.newsletter-note { margin-top: 14px; font-weight: 700; color: var(--color-teal-dark); min-height: 1.4em; }

/* ===== Footer ===== */
.site-footer { background: var(--color-ink); color: rgba(255,255,255,.85); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { color: rgba(255,255,255,.65); font-size: 14.5px; margin-top: 16px; max-width: 32ch; }
.logo-img-footer { filter: brightness(0) invert(1); }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.65); font-size: 14.5px; margin: 0 0 10px; }
.footer-col a:hover { color: var(--color-mango); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.footer-placeholder-note { font-style: italic; }

/* ===== Floating WhatsApp + scroll top ===== */
.float-whatsapp {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .2s var(--ease);
}
.float-whatsapp:hover { transform: scale(1.08); }
.float-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .float-whatsapp::before { animation: none; }
}

.scroll-top {
  position: fixed;
  bottom: 24px; right: 90px;
  z-index: 90;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-ink);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ===== Reveal animation (baseline hidden state — GSAP ScrollTrigger animates to visible) ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  will-change: transform, opacity;
}

/* ===== Page-load frame intro =====
   Baseline mirrors the JS "from" state so there's no flash of full-size content
   before GSAP settles it to normal on load. Deliberately NOT setting overflow:hidden
   here — it's applied inline via JS only for the intro's duration, because a static
   overflow:hidden on this wrapper would break the sticky header's positioning
   permanently (a non-visible-overflow ancestor changes what a sticky descendant
   sticks relative to). JS clears the inline overflow when the intro completes,
   and the no-JS/GSAP-failure fallbacks never set it in the first place. */
#pageFrame {
  transform-origin: 50% 0%;
  transform: scale(0.94);
  border-radius: 32px;
  box-shadow: 0 40px 90px rgba(31, 58, 61, .35);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  #pageFrame { transform: none; border-radius: 0; box-shadow: none; }
}

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-coral), var(--color-mango), var(--color-teal));
  z-index: 200;
  transition: width .1s linear;
}

/* ===== Decorative floating shapes ===== */
.hero { position: relative; }
.hero-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.why-us { position: relative; overflow: hidden; }
.why-us .hero-decor { z-index: 0; }
.why-us .container { position: relative; z-index: 1; }
.hero .container { position: relative; z-index: 1; }

.float-shape {
  position: absolute;
  display: block;
  animation: floatY 6s ease-in-out infinite;
}
.shape-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-coral);
  opacity: .35;
}
.shape-dot.shape-mango { background: var(--color-mango); opacity: .5; }
.shape-ring {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 4px solid var(--color-teal);
  opacity: .3;
}
.shape-ring.shape-light { border-color: var(--color-mango); opacity: .25; }
.shape-star {
  width: 26px; height: 26px;
  color: var(--color-mango-dark);
  opacity: .55;
  animation-name: floatSpin;
}
.shape-1 { top: 12%; left: 4%; animation-duration: 7s; }
.shape-2 { top: 68%; left: 10%; animation-duration: 9s; animation-delay: -2s; }
.shape-3 { top: 20%; right: 8%; animation-duration: 6.5s; animation-delay: -1s; }
.shape-4 { top: 80%; right: 16%; animation-duration: 8s; animation-delay: -3s; }
.shape-5 { top: 46%; left: 48%; animation-duration: 7.5s; animation-delay: -4s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(6deg); }
}
@keyframes floatSpin {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(20deg); }
}

/* Blob shape gently morphs behind hero image */
.hero-media-shape {
  animation: blobMorph 10s ease-in-out infinite;
}
@keyframes blobMorph {
  0%, 100% { border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; transform: rotate(0deg); }
  33% { border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%; transform: rotate(4deg); }
  66% { border-radius: 45% 55% 60% 40% / 55% 40% 60% 45%; transform: rotate(-3deg); }
}

/* Idle bounce for the delivery mascot icon */
.mascot-bounce { animation: mascotBounce 3.2s ease-in-out infinite; transform-origin: center bottom; }
@keyframes mascotBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-2deg); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-12deg) scale(1.1); }
  75% { transform: rotate(12deg) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .float-shape, .hero-media-shape, .mascot-bounce { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; margin: 0 auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid { grid-template-columns: 1fr; }
  .why-us-media { order: -1; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .delivery-grid { grid-template-columns: 1fr; text-align: center; }
  .delivery-list { align-items: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(300px, 80vw);
    background: var(--color-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 22px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    font-size: 18px;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .offer-banner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .collections-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-badge { display: none; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .scroll-top { right: 24px; bottom: 90px; }
  .hero-media { padding: 24px 0; }
  .hero-gallery { gap: 8px; }
  .hero-photo { border-width: 3px; }
}
