/* =========================================================
   New Junior Plumbers & Hardware — shared site styles
   ========================================================= */

:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --blue-600: #1565c0;
  --blue-500: #1e88e5;
  --blue-50:  #eef5fd;
  --orange-500: #f28c28;
  --orange-600: #dd7414;
  --orange-50: #fff4e8;
  --green-500: #22a55a;
  --red-500: #e0464b;
  --ink: #142033;
  --muted: #5b6b80;
  --line: #e3e9f1;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, .06);
  --shadow: 0 10px 30px rgba(11, 37, 69, .10);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, .18);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy-800); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-800); color: #dce6f3; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: #b9c8db; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange-500); color: #fff; box-shadow: 0 8px 22px rgba(242, 140, 40, .35); }
.btn--primary:hover { background: var(--orange-600); box-shadow: 0 12px 28px rgba(242, 140, 40, .45); }
.btn--whatsapp { background: #25d366; color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .3); }
.btn--whatsapp:hover { background: #1fb457; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--navy-800); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #b9c8db; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.topbar a { color: #dce6f3; }
.topbar a:hover { color: var(--orange-500); }
.topbar__info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }

/* ---------- Open/closed status badge ---------- */
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); position: relative; }
.status.is-open .status__dot { background: var(--green-500); }
.status.is-open .status__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--green-500); animation: ping 1.8s var(--ease) infinite;
}
.status.is-closed .status__dot { background: var(--red-500); }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy-800); }
.brand img { height: 46px; width: auto; transition: height .3s; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; }
.brand__tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; color: var(--ink);
  transition: color .2s, background .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--orange-500); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--blue-600); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--navy-800); font-weight: 600; }
.nav__cta { margin-left: 10px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 12px; width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s; content: "";
}
.menu-toggle span { top: 22px; }
.menu-toggle span::before { left: 0; top: -6px; }
.menu-toggle span::after { left: 0; top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: min(88vh, 820px); display: flex; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate; background: var(--navy-900);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(7,26,51,.94) 0%, rgba(7,26,51,.78) 42%, rgba(7,26,51,.25) 100%),
    linear-gradient(0deg, rgba(7,26,51,.6), transparent 40%);
}
.hero__content { max-width: 680px; padding: 80px 0 120px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; margin-bottom: 20px; }
.hero h1 .accent { color: var(--orange-500); display: inline-block; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d3deec; max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 8px 16px 8px 12px; border-radius: 999px; font-size: .9rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px);
}
.hero__points { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; padding: 0; margin: 0; color: #d3deec; font-size: .95rem; }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points svg { width: 20px; height: 20px; color: var(--orange-500); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px;
}
.hero__scroll::after {
  content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: scrollcue 1.8s infinite;
}
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Typewriter word rotator */
.rotator { color: var(--orange-500); border-right: 3px solid var(--orange-500); padding-right: 4px; white-space: nowrap; }
.rotator.is-paused { animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 96px); background: var(--navy-800);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(7,26,51,.95) 10%, rgba(11,37,69,.72) 60%, rgba(11,37,69,.45)); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero p { color: #cfdbea; font-size: 1.15rem; max-width: 620px; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: .9rem; color: #9fb3cc; margin-bottom: 14px; }
.crumbs a { color: #dce6f3; }
.crumbs a:hover { color: var(--orange-500); }

/* ---------- Brand marquee ---------- */
.brands { border-bottom: 1px solid var(--line); background: #fff; padding: 26px 0; overflow: hidden; }
.brands__label { text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.marquee { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; letter-spacing: .04em;
  color: #b6c2d2; padding: 0 38px; text-transform: uppercase; transition: color .2s;
}
.marquee span:hover { color: var(--navy-800); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats strip ---------- */
.stats { position: relative; margin-top: -64px; z-index: 5; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 28px 24px; display: flex; gap: 16px; align-items: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__icon {
  width: 52px; height: 52px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: var(--orange-50); color: var(--orange-600);
}
.stat__icon svg { width: 26px; height: 26px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy-800); line-height: 1.2; }
.stat span { font-size: .9rem; color: var(--muted); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.cat-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5;
  color: #fff; isolation: isolate; box-shadow: var(--shadow-sm);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(7,26,51,.92)); transition: background .4s; }
.cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.cat-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 4px; }
.cat-card p { color: #cfdbea; font-size: .92rem; margin: 0; }
.cat-card__go {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--orange-500); display: grid; place-items: center; transform: scale(0) rotate(-45deg);
  transition: transform .4s var(--ease);
}
.cat-card__go svg { width: 20px; height: 20px; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card:hover .cat-card__go { transform: scale(1) rotate(0); }

.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-700)); color: #fff;
  transition: transform .35s var(--ease);
}
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.06); }
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--muted); margin: 0; }
.feature__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-family: var(--font-head); }
.feature__link svg { width: 16px; height: 16px; transition: transform .25s; }
.feature__link:hover svg { transform: translateX(4px); }

.section--navy .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section--navy .feature p { color: #b9c8db; }
.section--navy .feature__icon { background: var(--orange-500); }

/* Split layout */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.split__media .float-card {
  position: absolute; right: -18px; bottom: -26px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px 22px; display: flex; gap: 14px; align-items: center; max-width: 290px;
}
.float-card .stat__icon { width: 46px; height: 46px; }
.float-card strong { font-family: var(--font-head); color: var(--navy-800); display: block; line-height: 1.2; }
.float-card span { font-size: .85rem; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; width: 24px; height: 24px; color: var(--green-500); margin-top: 1px; }
.checklist strong { color: var(--navy-800); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--orange-500); display: block; margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; border: 0; padding: 0; background: var(--line); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.gallery__item:hover img { transform: scale(1.07); filter: brightness(.85); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(70px, 10vw, 120px) 0; text-align: center; background: var(--navy-800); }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media video, .cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(7,26,51,.92), rgba(19,49,92,.78)); }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.cta-band p { color: #cfdbea; font-size: 1.15rem; max-width: 600px; margin: 0 auto 32px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Catalogue ---------- */
.catalog-tools {
  position: sticky; top: var(--header-h); z-index: 20; background: rgba(246,248,251,.94); backdrop-filter: blur(10px);
  padding: 16px 0; margin-bottom: 30px; border-bottom: 1px solid var(--line);
}
.catalog-tools .container { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 16px;
  font-size: .9rem; font-weight: 500; cursor: pointer; transition: all .2s;
}
.chip:hover { border-color: var(--blue-500); color: var(--blue-600); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip .count { opacity: .6; margin-left: 4px; font-size: .8rem; }
.search { position: relative; flex: 1 1 260px; max-width: 340px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search input {
  width: 100%; padding: 11px 16px 11px 42px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30,136,229,.15); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  animation: pop .45s var(--ease) both;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.product__img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); cursor: zoom-in; border: 0; padding: 0; width: 100%; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product__img img { transform: scale(1.06); }
.product__tag {
  position: absolute; top: 12px; left: 12px; background: rgba(7,26,51,.82); color: #fff; backdrop-filter: blur(4px);
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
}
.product__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 1.08rem; margin-bottom: 6px; }
.product p { color: var(--muted); font-size: .92rem; flex: 1; margin-bottom: 16px; }
.product .btn { width: 100%; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); grid-column: 1 / -1; }

/* Video showcase */
.video-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000; aspect-ratio: 9 / 14; max-height: 640px; box-shadow: var(--shadow-lg); }
.video-card video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hours ---------- */
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 12px 16px; border-radius: 10px; transition: background .2s; }
.hours li:nth-child(odd) { background: var(--bg-soft); }
.hours li.is-today { background: var(--orange-50); color: var(--navy-800); font-weight: 600; box-shadow: inset 3px 0 0 var(--orange-500); }
.hours li.is-today::after { content: none; }
.hours .closed { color: var(--red-500); }

/* ---------- Info cards / contact ---------- */
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; gap: 18px; align-items: flex-start; transition: box-shadow .3s, transform .3s var(--ease);
}
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.info-card .stat__icon { background: var(--blue-50); color: var(--blue-600); }
.info-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.info-card p { margin: 0; color: var(--muted); }
.info-card a { font-weight: 600; }

.panel { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy-800); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30,136,229,.15); }
.form__note { font-size: .85rem; color: var(--muted); margin: 0; }

.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; height: 100%; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--navy-800); display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--orange-500); transition: transform .3s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9fb3cc; padding-top: 80px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer a { color: #c9d6e6; transition: color .2s; }
.footer a:hover { color: var(--orange-500); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__brand img { height: 54px; background: #fff; border-radius: 12px; padding: 6px 10px; margin-bottom: 18px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--orange-500); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--orange-500); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .85rem; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Floating actions ---------- */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform .3s var(--ease);
}
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.2s var(--ease) infinite; }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 32px; height: 32px; }
.fab-wa__label {
  position: absolute; right: 72px; white-space: nowrap; background: #fff; color: var(--ink); font-size: .85rem; font-weight: 600;
  padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.fab-wa:hover .fab-wa__label { opacity: 1; transform: none; }
.to-top {
  position: fixed; right: 30px; bottom: 96px; z-index: 89; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--navy-800); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange-500); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(7,26,51,.94); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .3s; padding: 60px 16px;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 82vh; max-width: min(1100px, 100%); border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: scale(.95); transition: transform .35s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__caption { color: #dce6f3; text-align: center; margin-top: 14px; font-family: var(--font-head); }
.lightbox__btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background .2s;
}
.lightbox__btn:hover { background: var(--orange-500); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 210; transform: translate(-50%, 30px); opacity: 0;
  background: var(--navy-800); color: #fff; padding: 14px 22px; border-radius: 12px; box-shadow: var(--shadow-lg);
  transition: opacity .3s, transform .3s var(--ease); pointer-events: none; font-weight: 500;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-36px); }
.reveal--right { transform: translateX(36px); }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 18vw, 11rem); line-height: 1; background: linear-gradient(135deg, var(--blue-600), var(--orange-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .topbar__hide-sm { display: none !important; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 16px; box-shadow: var(--shadow-lg); border-top: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 14px 16px; border-radius: 10px; }
  .nav__link::after { display: none; }
  .nav__link.is-active { background: var(--blue-50); }
  .nav__cta { margin: 8px 0 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__media .float-card { right: 12px; }
  .catalog-tools { position: static; }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .brand__text { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__item--wide { grid-column: span 2; }
  .hero__actions .btn { flex: 1 1 100%; }
  .cat-card { aspect-ratio: 4 / 3; }
  .topbar .container { justify-content: center; }
  .products { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product__body { padding: 14px; }
  .product h3 { font-size: .98rem; }
  .product p { font-size: .85rem; }
  .product .btn { padding: 10px 12px; font-size: .82rem; }
}

@media (max-width: 380px) {
  .products { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--orange-500); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
