/* ==========================================================
   Radha Madhav Aqua – responsive layout
   Loaded last. Breakpoints:
     ≤1080  small laptop / large tablet landscape
     ≤900   tablet  (hamburger menu, single-column hero)
     ≤600   phone
     ≤420   small phone (horizontal product cards)
   ========================================================== */

/* Global mobile hygiene */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
/* ≥16px stops iOS Safari zooming into form fields on focus */
.contact__form input, .contact__form select, .contact__form textarea { font-size: 1rem; }
.wa-float {
  right: calc(18px + env(safe-area-inset-right));
  bottom: calc(18px + env(safe-area-inset-bottom));
}

/* ---------- ≤1080 ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 1.3rem; }
}

/* ---------- ≤900 : tablet ---------- */
@media (max-width: 900px) {
  html { scroll-padding-top: 72px; }
  .header { background: rgba(10, 29, 71, .94); }
  .header__inner { height: 68px; }

  .nav {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - 68px); overflow-y: auto;
    background: var(--navy-deep); padding: .5rem 6% 1.6rem;
    transform: translateY(-130%); visibility: hidden;
    transition: transform .35s ease, visibility 0s .35s;
    box-shadow: 0 20px 30px rgba(0,0,0,.25);
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .35s ease; }
  .nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1.2rem; padding: .9em; }
  .nav-toggle { display: block; width: 44px; height: 44px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero { padding: 110px 0 130px; }
  .hero__inner { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .hero__copy .eyebrow { justify-content: center; letter-spacing: .14em; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__stats { justify-content: center; }
  .hero__visual { min-height: 340px; }
  .hero__bottle { height: 330px; }
  .hero__glow { width: 260px; height: 260px; }
  @keyframes drip {
    0% { transform: translateY(0) scale(.6); opacity: 0; }
    10% { opacity: 1; }
    70% { transform: translateY(300px) scale(1); opacity: 1; }
    74%, 100% { transform: translateY(300px) scale(1.8, .2); opacity: 0; }
  }

  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__media { max-width: 340px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .bulk { flex-direction: column; align-items: flex-start; padding: 2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- ≤700 ---------- */
@media (max-width: 700px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* ---------- ≤600 : phone ---------- */
@media (max-width: 600px) {
  .section { padding: 68px 0; }
  .section__head { margin-bottom: 2.4rem; }
  h2 { font-size: 1.85rem; }

  .brand__logo { width: 42px; height: 42px; }
  .brand__text strong { font-size: 1.08rem; }

  .hero { padding: 96px 0 110px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions { flex-direction: column; gap: .75rem; margin: 1.6rem 0 2rem; }
  .hero__actions .btn { width: 100%; padding: 1em; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .hero__stats li { border-left: 0; padding: .7rem .3rem; background: rgba(255,255,255,.07); border-radius: 12px; align-items: center; }
  .hero__stats strong { font-size: .95rem; }
  .hero__stats span { font-size: .72rem; }
  .hero__visual { min-height: 290px; }
  .hero__bottle { height: 280px; }
  .hero__glow { width: 210px; height: 210px; }
  .ripple { width: 170px; height: 34px; margin-left: -85px; }
  .drip { display: none; }
  .hero__waves { height: 70px; }

  .ribbon { padding: .7rem 0; margin-top: -6px; }
  .ribbon__track { gap: 1.3rem; }
  .ribbon span { font-size: 1.05rem; }

  .about__media { padding: 1.2rem; max-width: 270px; }
  .about__media::before { inset: -10px 10px 10px -10px; }

  .product { padding: 1.2rem .9rem; }
  .product p { font-size: .85rem; }

  .steps, .form-row { grid-template-columns: 1fr; }
  .step { padding: 1.4rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .why-card { padding: 1.5rem .8rem 1.3rem; }
  .why-card__icon { width: 64px; height: 64px; margin-bottom: .9rem; border-radius: 20px; }
  .why-card__icon svg { width: 30px; height: 30px; }
  .why-card h3 { font-size: 1rem; }

  .bulk { padding: 1.6rem; border-radius: 20px; }
  .bulk h3 { font-size: 1.35rem; }
  .bulk .btn { width: 100%; }

  .contact__list a, .contact__list address { font-size: 1rem; }
  .contact__list a { display: inline-block; padding: .5rem 0; word-break: break-word; }
  .contact__form { padding: 1.4rem; border-radius: 20px; }
  .map { margin-top: 2.5rem; border-radius: 18px; }
  .map iframe { height: 280px; }

  .footer { padding-top: 50px; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 36px; }
  .footer ul { gap: 0; }
  .footer ul a { display: inline-block; padding: .55rem 0; }
  .footer__bottom { padding-bottom: calc(1.3rem + 70px); } /* room for WhatsApp button */

  .wa-float { width: 54px; height: 54px; }
  .wa-float svg { width: 28px; height: 28px; }
}

/* ---------- ≤420 : small phone – horizontal product cards ---------- */
@media (max-width: 420px) {
  .hero__copy .eyebrow::before { display: none; }
  .hero__copy .eyebrow { letter-spacing: .1em; }
  .product-grid { grid-template-columns: 1fr; gap: .8rem; }
  .product {
    display: grid; grid-template-columns: 76px 1fr; column-gap: 1rem;
    align-items: center; text-align: left; padding: 1rem 1.1rem;
  }
  .product__img { grid-row: 1 / span 2; height: 110px; align-items: center; }
  .product h3 { margin: 0 0 .35rem; align-self: end; font-size: 1.2rem; }
  .product__tag { justify-self: start; align-self: start; }
  .mini-bottle { width: calc(40px * (0.7 + var(--h, 1) * .3)); height: calc(112px * var(--h, 1)); }
  .mini-bottle::after { font-size: .62rem; }
  .mini-jar { width: 70px; height: 92px; border-radius: 16px 16px 12px 12px; }
  .mini-jar::before { width: 24px; height: 16px; top: -15px; }
  .mini-jar::after { font-size: .75rem; }
  .hero__stats strong { font-size: .85rem; }
}

/* Landscape phones: keep hero compact */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 900px) {
  .hero__inner { grid-template-columns: 1.3fr .7fr; text-align: left; }
  .hero__copy .eyebrow, .hero__actions, .hero__stats { justify-content: flex-start; }
  .hero__visual { min-height: 240px; }
  .hero__bottle { height: 230px; }
}
