/* Just Water Solution: site styles */

:root {
  --ink: #0b2238;
  --deep: #0c3446;
  --deep-2: #08202d;
  --teal: #087f8e;
  --teal-d: #066b78;
  --aqua: #3ccfd9;
  --aqua-l: #d6f3f5;
  --text: #2a3b4c;
  --muted: #5e6e7e;
  --line: #e3e8ec;
  --mist: #eef6f7;
  --sand: #f7f2ea;
  --sand-d: #e9dfcf;
  --white: #ffffff;
  --r-lg: 24px;
  --r: 16px;
  --shadow: 0 26px 60px -30px rgba(11, 34, 56, 0.45);
  --shadow-sm: 0 12px 28px -18px rgba(11, 34, 56, 0.35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 16.5px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
svg.i { width: 20px; height: 20px; flex: none; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; }
.bg-sand { background: var(--sand); }
.bg-mist { background: var(--mist); }
.hl { color: var(--teal); }

/* ---------- Labels and headings ---------- */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 0.78rem/1 var(--font); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.label::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.lead { margin-top: 18px; font-size: 1.1rem; color: var(--muted); max-width: 620px; }
.head { max-width: 760px; margin-bottom: 60px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .label { justify-content: center; }
.head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 12px; border: 1.5px solid transparent;
  font: 700 0.98rem/1 var(--font); white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-d); }
.btn--glass { color: var(--white); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.2); border-color: var(--white); }
.btn--line { color: var(--ink); border-color: var(--line); background: var(--white); }
.btn--line:hover { border-color: var(--teal); color: var(--teal); }
.btn--sm { padding: 12px 18px; font-size: .92rem; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal); }
.text-link svg { width: 17px; height: 17px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Utility bar ---------- */
.utility { background: var(--deep-2); color: rgba(255,255,255,.72); font-size: .85rem; }
.utility .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.utility span, .utility a { display: inline-flex; align-items: center; gap: 8px; }
.utility svg { width: 15px; height: 15px; color: var(--aqua); }
.utility a:hover { color: var(--white); }
.utility-links { display: flex; gap: 24px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo svg { width: 36px; height: 42px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font: 800 1.22rem/1 var(--font); color: var(--ink); letter-spacing: -0.03em; }
.logo-text small { font: 700 .62rem/1 var(--font); letter-spacing: .34em; color: var(--teal); margin-top: 6px; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-weight: 600; font-size: .95rem; color: var(--ink); padding: 8px 0; white-space: nowrap; transition: color .2s; }
.nav a:hover { color: var(--teal); }
.menu-btn {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; }
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); flex: none; }
.lang a { font: 700 .76rem/1 var(--font); letter-spacing: .08em; padding: 8px 11px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.lang a:hover { color: var(--teal); }
.lang a.is-active { background: var(--teal); color: var(--white); }
.lang + .header-cta { margin-left: -18px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px 28px 24px; background: var(--white); }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.mobile-nav .btn { display: flex; margin-top: 18px; border-bottom: 0; color: var(--white); }
.header.is-open .mobile-nav { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(580px, 84vh, 780px); display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--deep-2); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6,24,36,.92) 0%, rgba(6,24,36,.78) 38%, rgba(6,24,36,.25) 70%, rgba(6,24,36,.05) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 112px; }
.hero-copy { max-width: 620px; }
.hero .label { color: var(--aqua); }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 5.6vw, 4.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
.hero h1 span { color: var(--aqua); }
.hero-lead { margin-top: 24px; font-size: 1.15rem; color: rgba(255,255,255,.84); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-facts li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.92); }
.hero-facts svg { width: 20px; height: 20px; color: var(--aqua); }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; width: 100%; height: 56px; display: block; }

/* ---------- Feature rows (services) ---------- */
.features { display: grid; gap: 96px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-lg);
  border: 2px solid var(--aqua-l); transform: translate(18px, 18px); z-index: 0;
}
.feature:nth-child(even) .feature-media::before { transform: translate(-18px, 18px); }
.feature-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.feature-num { font: 800 .9rem/1 var(--font); color: var(--teal); letter-spacing: .1em; }
.feature h3 { margin-top: 12px; font-size: clamp(1.7rem, 2.8vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; }
.feature p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.feature .ticks { margin-top: 24px; }
.feature .text-link { margin-top: 26px; }

.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--text); font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px;
  background: var(--aqua-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.also { margin-top: 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.also-tile { background: var(--mist); border-radius: var(--r); padding: 26px; display: flex; gap: 18px; align-items: flex-start; }
.also-tile i { width: 48px; height: 48px; border-radius: 14px; background: var(--white); color: var(--teal); display: grid; place-items: center; flex: none; box-shadow: var(--shadow-sm); }
.also-tile svg { width: 23px; height: 23px; }
.also-tile h3 { font-size: 1.08rem; font-weight: 700; }
.also-tile p { margin-top: 4px; color: var(--muted); font-size: .95rem; }

/* ---------- Symptoms ---------- */
.symptoms { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.symptoms-intro { position: sticky; top: 120px; }
.symptoms-intro .lead { font-size: 1.06rem; }
.symptoms-note { margin-top: 30px; padding: 22px 24px; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.symptoms-note p { font-weight: 600; color: var(--ink); }
.symptoms-note .btn { margin-top: 16px; }
.symptom-list { border-top: 1px solid var(--sand-d); }
.symptom {
  display: grid; grid-template-columns: 54px 1fr auto; gap: 20px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--sand-d);
}
.symptom i { width: 54px; height: 54px; border-radius: 16px; background: var(--white); color: var(--teal); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.symptom i svg { width: 24px; height: 24px; }
.symptom h3 { font-size: 1.15rem; font-weight: 700; }
.symptom p { margin-top: 4px; color: var(--muted); font-size: .97rem; }
.fix-tag {
  justify-self: end; white-space: nowrap; font-size: .82rem; font-weight: 700; color: var(--teal);
  background: var(--white); border: 1px solid var(--sand-d); border-radius: 10px; padding: 8px 12px;
}

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.diagram { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.diagram img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pin {
  position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  background: var(--teal); color: var(--white); border: 3px solid var(--white); padding: 0;
  font: 800 .92rem/30px var(--font); text-align: center;
  box-shadow: 0 6px 18px -4px rgba(6,24,36,.6); transition: transform .2s, background .2s;
}
.pin::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(255,255,255,.75); animation: ping 2.4s ease-out infinite; }
.pin.is-active { background: var(--ink); transform: scale(1.12); }
@keyframes ping { 0% { transform: scale(.7); opacity: 1; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.steps { display: grid; gap: 4px; margin-top: 26px; }
.step { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 15px 16px; border-radius: 14px; cursor: default; transition: background .2s; }
.step:hover, .step.is-active { background: var(--mist); }
.step-num { width: 34px; height: 34px; border-radius: 10px; background: var(--aqua-l); color: var(--teal); font: 800 .9rem/34px var(--font); text-align: center; }
.step.is-active .step-num { background: var(--teal); color: var(--white); }
.step h3 { font-size: 1.04rem; font-weight: 700; margin-top: 5px; }
.step p { color: var(--muted); font-size: .94rem; margin-top: 3px; }
.opt { display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 3px 8px; border-radius: 999px; background: var(--sand); color: var(--muted); font: 700 .66rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Process ---------- */
.process { background: var(--deep); color: rgba(255,255,255,.75); position: relative; overflow: hidden; }
.process::after {
  content: ""; position: absolute; right: -180px; top: -220px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(60,207,217,.18), transparent); pointer-events: none;
}
.process .label { color: var(--aqua); }
.process .h2 { color: var(--white); }
.process .h2 .hl { color: var(--aqua); }
.process .lead { color: rgba(255,255,255,.7); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 28px; left: 28px; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(60,207,217,.55) 0 8px, transparent 8px 16px);
}
.tl { position: relative; }
.tl-dot {
  width: 56px; height: 56px; border-radius: 50%; background: var(--deep); border: 2px solid var(--aqua);
  color: var(--aqua); display: grid; place-items: center; position: relative; z-index: 1;
}
.tl-dot svg { width: 24px; height: 24px; }
.tl small { display: block; margin-top: 24px; font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); }
.tl h3 { color: var(--white); font-size: 1.25rem; font-weight: 700; margin-top: 8px; }
.tl p { margin-top: 8px; font-size: .97rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shot {
  position: relative; display: block; padding: 0; border: 0; background: var(--mist);
  border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; cursor: zoom-in;
}
.shot:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.shot::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,24,36,.45));
  opacity: 0; transition: opacity .3s;
}
.shot:hover img { transform: scale(1.05); }
.shot:hover::after { opacity: 1; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(4, 14, 22, .93); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; width: auto; height: auto; border-radius: 12px; }
.lb-btn { position: fixed; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--white); display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: fixed; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: .9rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 3.5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.about-media img.about-inset { position: absolute; right: -24px; top: -28px; width: 40%; aspect-ratio: 4 / 3; border-radius: 16px; border: 5px solid var(--white); box-shadow: var(--shadow); z-index: 2; }
.est {
  position: absolute; left: -20px; bottom: -20px; width: 128px; height: 128px; border-radius: 22px;
  background: var(--teal); color: var(--white); display: grid; place-content: center; text-align: center; box-shadow: var(--shadow);
}
.est small { font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.est b { font: 800 2.1rem/1.1 var(--font); }
.about-copy p { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
.about-copy .ticks { margin-top: 26px; }
.about-copy .hero-actions { margin-top: 34px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-side .lead a { color: var(--teal); font-weight: 700; white-space: nowrap; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--r); border: 1px solid var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; position: relative; font-weight: 700; font-size: 1.04rem; color: var(--ink); line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 9px;
  background: var(--aqua-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f8e' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(135deg, var(--deep-2) 0%, var(--deep) 55%, #0b4b5c 100%); color: rgba(255,255,255,.78); }
.contact .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contact .label { color: var(--aqua); }
.contact .h2 { color: var(--white); }
.contact-lead { margin-top: 18px; font-size: 1.08rem; }
.contact-list { margin-top: 36px; display: grid; gap: 12px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .2s;
}
.contact-list a:hover { background: rgba(255,255,255,.1); }
.contact-list i { width: 46px; height: 46px; border-radius: 12px; background: rgba(60,207,217,.16); color: var(--aqua); display: grid; place-items: center; flex: none; }
.contact-list svg { width: 21px; height: 21px; }
.contact-list small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.contact-list b { color: var(--white); font-weight: 700; font-size: 1.05rem; word-break: break-word; }

.form-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 34px 80px -34px rgba(0,0,0,.7); }
.form-head { padding: 26px 30px 0; }
.form-head h3 { font-size: 1.4rem; font-weight: 800; }
.form-head p { margin-top: 4px; color: var(--muted); font-size: .95rem; }
.form { padding: 22px 30px 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field label em { color: #c9483f; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem/1.4 var(--font); color: var(--ink);
  border: 1.5px solid var(--line); background: #f8fafb; border-radius: 12px; padding: 13px 14px;
  transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e6e7e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.form .btn { grid-column: 1 / -1; width: 100%; padding: 17px; font-size: 1.02rem; }
.form-status { grid-column: 1 / -1; text-align: center; font-weight: 700; font-size: .92rem; color: var(--teal); }
.form-status:empty { display: none; }
.form-note { grid-column: 1 / -1; text-align: center; font-size: .84rem; color: var(--muted); }
.form-note a { color: var(--teal); font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: var(--deep-2); color: rgba(255,255,255,.6); padding: 70px 0 30px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer .logo-text b { color: var(--white); }
.footer .logo-text small { color: var(--aqua); }
.footer-blurb { margin-top: 18px; max-width: 320px; }
.footer h4 { color: var(--white); font-size: .95rem; font-weight: 700; margin-bottom: 16px; }
.footer li + li { margin-top: 10px; }
.footer a:hover { color: var(--white); }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }

/* ---------- Mobile action bar ---------- */
.mbar { display: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pin::after { animation: none; }
  .shot img, .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav { gap: 22px; }
}

@media (max-width: 1080px) {
  /* the header folds into the menu button here: Spanish labels need about 1,050px next to the EN | ES switch */
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .lang { margin-left: auto; }
  .lang ~ .menu-btn { margin-left: -20px; }
  .feature { gap: 48px; }
  .also { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .utility .hide-md { display: none; }
  .feature, .how, .about, .contact .container, .symptoms, .faq-wrap { grid-template-columns: 1fr; gap: 44px; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .features { gap: 72px; }
  .symptoms-intro { position: static; }
  .head { margin-bottom: 44px; }
  .est { left: 14px; bottom: 14px; width: 104px; height: 104px; }
  .est b { font-size: 1.7rem; }
  .about-media img.about-inset { right: 12px; top: -18px; width: 44%; border-width: 4px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 76px; font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 68px 0; }
  .utility .container { justify-content: center; }
  .header .container { min-height: 68px; }
  .mobile-nav { padding: 8px 16px 22px; }
  .hero { min-height: 640px; align-items: flex-end; }
  .hero::before { background: linear-gradient(180deg, rgba(6,24,36,.35) 0%, rgba(6,24,36,.72) 26%, rgba(6,24,36,.93) 60%); }
  .hero-bg { object-position: 74% 50%; }
  .hero .container { padding-top: 180px; padding-bottom: 76px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { flex-direction: column; gap: 12px; margin-top: 32px; padding-top: 22px; }
  .hero-wave { height: 32px; }
  .feature-media::before { transform: translate(10px, 10px); }
  .feature:nth-child(even) .feature-media::before { transform: translate(10px, 10px); }
  .symptom { grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
  .symptom i { width: 48px; height: 48px; }
  .fix-tag { grid-column: 2; justify-self: start; margin-top: -6px; }
  .timeline { grid-template-columns: 1fr; gap: 34px; }
  .tl { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .tl-dot { grid-row: span 3; }
  .tl small { margin-top: 2px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shot { border-radius: 12px; }
  .shot:first-child { grid-row: span 1; aspect-ratio: 4 / 3; }
  .pin { width: 30px; height: 30px; margin: -15px 0 0 -15px; line-height: 24px; font-size: .82rem; }
  .form { grid-template-columns: 1fr; padding: 20px 20px 24px; }
  .form-head { padding: 22px 20px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-count { bottom: 30px; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .mbar .btn { padding: 13px 8px; font-size: .92rem; }
}
