/* ==========================================================================
   Masafa Quench — site stylesheet
   Brand palette carried over from the original site.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("../assets/fonts/roboto-var.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --blue: #0095D7;          /* brand blue */
  --blue-600: #0083BE;
  --blue-400: #1EA1D4;
  --blue-50: #EAF6FC;
  --green: #A6CE3D;         /* brand green */
  --green-600: #8DB52A;
  --green-50: #F3F9E4;
  --navy: #001C31;          /* brand navy */
  --navy-800: #0A2A44;
  --coral: #FF7F50;         /* accent */
  --ink: #0F2233;
  --body: #4A5B6B;
  --muted: #7B8A98;
  --line: #E3EAF0;
  --bg: #FFFFFF;
  --bg-soft: #F6F9FB;

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(0, 28, 49, .06), 0 2px 8px rgba(0, 28, 49, .05);
  --shadow: 0 10px 30px -12px rgba(0, 28, 49, .18);
  --shadow-lg: 0 24px 60px -20px rgba(0, 28, 49, .28);
  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--body);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; 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(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--green); }
.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head .eyebrow::after { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--green); }
.section-head p { font-size: 1.075rem; color: var(--muted); margin: 0; }
.lead { font-size: 1.125rem; color: var(--body); }

/* ---------- Icons ---------- */
.i { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--blue); --b-h: var(--blue-600); --t: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border: 2px solid var(--b); border-radius: 999px;
  background: var(--b); color: var(--t); font-family: var(--font-head); font-weight: 600; font-size: .975rem;
  line-height: 1; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s;
  box-shadow: 0 8px 20px -10px var(--b);
}
.btn:hover { background: var(--b-h); border-color: var(--b-h); color: var(--t); transform: translateY(-2px); box-shadow: 0 14px 26px -12px var(--b); }
.btn:active { transform: translateY(0); }
.btn--green { --b: var(--green); --b-h: var(--green-600); --t: var(--navy); }
.btn--whatsapp { --b: #25D366; --b-h: #1EB257; --t: #fff; }
.btn--ghost { background: transparent; color: var(--t); --t: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--outline { background: transparent; --t: var(--blue); color: var(--blue); box-shadow: none; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.82); font-size: .875rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: rgba(255,255,255,.82); display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__promo { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 500; }
.topbar__social { display: flex; gap: 14px; }
.topbar .i { width: 1rem; height: 1rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
/* blur lives on a pseudo-element: backdrop-filter on .header itself would trap the fixed mobile drawer */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
}
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(0,28,49,.35); border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 66px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 16px; border-radius: 999px; color: var(--ink);
  font-family: var(--font-head); font-weight: 500; font-size: .975rem;
}
.nav a:hover { color: var(--blue); background: var(--blue-50); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--green);
}
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.header__phone span.ico {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-50); color: var(--blue);
}
.header__phone small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .75rem; color: var(--muted); line-height: 1; margin-bottom: 4px; }
.header__phone strong { display: block; line-height: 1; font-weight: 600; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; place-items: center; color: var(--ink);
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,28,49,.45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 98; }
.nav-open .drawer-backdrop { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--navy); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(0,28,49,.94) 0%, rgba(0,28,49,.82) 38%, rgba(0,60,100,.45) 70%, rgba(0,149,215,.25) 100%);
}
.hero .container { position: relative; padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(140px, 16vw, 200px); }
.hero__content { max-width: 680px; }
.hero .eyebrow { color: var(--green); }
.hero .eyebrow::before { background: var(--green); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--blue-400); background: linear-gradient(90deg, #4FC3F7, var(--green)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__rotator { position: relative; min-height: 5.6em; margin-bottom: 30px; }
.hero__slide { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.hero__slide.is-active { opacity: 1; transform: none; position: relative; }
.hero__slide strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: #fff; margin-bottom: 4px; }
.hero__slide p { margin: 0; font-size: 1.075rem; color: rgba(255,255,255,.8); }
.hero__dots { display: flex; gap: 8px; margin: -10px 0 30px; }
.hero__dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.hero__dots button[aria-selected="true"] { width: 30px; background: var(--green); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: .925rem; color: rgba(255,255,255,.85); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .i { color: var(--green); }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 8vw, 120px); color: var(--bg); }

/* Inner page hero */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--navy); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0,28,49,.95), rgba(0,28,49,.75) 55%, rgba(0,149,215,.45)); }
.page-hero .container { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(96px, 11vw, 140px); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 620px; font-size: 1.1rem; margin: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .875rem; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Feature cards (overlapping hero) ---------- */
.features { position: relative; z-index: 2; margin-top: clamp(-150px, -11vw, -90px); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(227,234,240,.7); transition: transform .3s var(--ease), box-shadow .3s;
}
.feature:hover { transform: translateY(-6px); }
.feature__icon { width: 72px; height: 72px; border-radius: 20px; background: var(--blue-50); display: grid; place-items: center; margin-bottom: 20px; }
.feature__icon img { width: 46px; height: 46px; }
.feature:nth-child(2) .feature__icon { background: var(--green-50); }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media .photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.split__media .photo img { width: 100%; height: 100%; object-fit: cover; }
.split__media .photo--tall { aspect-ratio: 4 / 4.6; }
.badge-float {
  position: absolute; right: -14px; bottom: -22px; display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg);
}
.badge-float img { width: 72px; height: auto; }
.badge-float strong { display: block; font-family: var(--font-head); color: var(--ink); line-height: 1.25; font-size: .95rem; }
.badge-float span { font-size: .825rem; color: var(--muted); }
.dots-deco { position: absolute; left: -26px; top: -26px; width: 120px; height: 120px; z-index: -1;
  background-image: radial-gradient(var(--green) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .55; }
.checklist { display: grid; gap: 12px; margin: 24px 0 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checklist .tick { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-50); color: var(--green-600); margin-top: 1px; }
.checklist .tick .i { width: 14px; height: 14px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.stat { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.stat img { width: 50px; height: 50px; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem); color: var(--blue); line-height: 1; }
.stat__label { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product__top { position: relative; display: grid; place-items: center; padding: 36px 24px 26px;
  background: radial-gradient(120% 90% at 50% 0%, var(--blue-50) 0%, #fff 72%); }
.product__top img { width: 110px; height: 110px; transition: transform .4s var(--ease); }
.product:hover .product__top img { transform: translateY(-4px) scale(1.04); }
.product__size { position: absolute; top: 18px; left: 18px; padding: 6px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .8rem; }
.product__tag { position: absolute; top: 18px; right: 18px; padding: 6px 12px; border-radius: 999px; background: var(--green); color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: .75rem; }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 6px 26px 26px; }
.product h3 { font-size: 1.25rem; margin-bottom: 6px; }
.product p { color: var(--muted); font-size: .95rem; }
.prices { display: flex; gap: 10px; margin: 6px 0 22px; }
.price { flex: 1; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); }
.price small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.price strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }
.price strong span { font-size: .8rem; font-weight: 500; color: var(--muted); margin-right: 3px; }
.price--hl { background: var(--blue-50); border-color: rgba(0,149,215,.25); }
.price--hl strong { color: var(--blue); }
.product .btn { margin-top: auto; }
.note { text-align: center; color: var(--muted); font-size: .875rem; margin-top: 24px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service {
  position: relative; padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden;
}
.service::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service img { width: 56px; height: 56px; margin-bottom: 22px; }
.service h3 { margin-bottom: 8px; font-size: 1.1rem; }
.service p { margin: 0; color: var(--muted); font-size: .95rem; }

.service-rows { display: grid; gap: clamp(56px, 7vw, 96px); }

/* ---------- Certifications band ---------- */
.certs { background: linear-gradient(135deg, var(--green-50), #fff 60%, var(--blue-50)); border-block: 1px solid var(--line); }
.certs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255,255,255,.75); border: 1px solid var(--line); }
.cert img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.cert--wbak img { width: 72px; }
.cert strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .975rem; line-height: 1.3; }

/* ---------- Values (mission/vision) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 34px 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.value__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--blue); color: #fff; margin-bottom: 22px; }
.value:nth-child(2) .value__icon { background: var(--green); color: var(--navy); }
.value:nth-child(3) .value__icon { background: var(--navy); }
.value__icon .i { width: 26px; height: 26px; }
.value p { margin: 0; }

/* ---------- Order section ---------- */
.order { position: relative; background: var(--navy); color: rgba(255,255,255,.85); overflow: hidden; isolation: isolate; }
.order::before { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(0,149,215,.45), transparent 65%); }
.order::after { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -260px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(166,206,61,.22), transparent 65%); }
.order__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.order h2 { color: #fff; }
.order .eyebrow { color: var(--green); }
.order__phone { display: inline-flex; align-items: center; gap: 14px; margin: 10px 0 26px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.order__phone:hover { color: var(--green); }
.order__phone .ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 0 0 8px rgba(0,149,215,.18); }
.order__phone .ico .i { width: 26px; height: 26px; }
.order__perks { display: grid; gap: 14px; margin: 26px 0 32px; }
.order__perks li { display: flex; gap: 12px; align-items: center; }
.order__perks .i { color: var(--green); }
.order__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.card-form { background: #fff; color: var(--body); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.card-form h3 { font-size: 1.4rem; margin-bottom: 6px; }
.card-form > p { color: var(--muted); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--font-head); font-weight: 500; font-size: .875rem; color: var(--ink); padding: 0; }
.field label .opt { font-weight: 400; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s; outline: none; font-size: 1rem;
}
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237B8A98' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.input:hover, .select:hover, .textarea:hover { border-color: #CFDAE3; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0,149,215,.14); }
.input::placeholder, .textarea::placeholder { color: #A3B0BB; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.field__error { font-size: .8rem; color: #D93036; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg-soft); cursor: pointer; font-family: var(--font-head); font-weight: 500; color: var(--body); transition: all .2s;
}
.segmented label:hover { border-color: #CFDAE3; }
.segmented input:checked + label { border-color: var(--blue); background: var(--blue-50); color: var(--blue); box-shadow: 0 0 0 3px rgba(0,149,215,.12); }
.segmented input:focus-visible + label { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); overflow: hidden; min-height: 50px; }
.qty button { width: 46px; align-self: stretch; border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; color: var(--ink); }
.qty button:hover { background: var(--blue-50); color: var(--blue); }
.qty input { flex: 1; width: 100%; text-align: center; border: 0; background: transparent; outline: none; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,149,215,.14); background: #fff; }
.form-foot { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.form-foot small { color: var(--muted); text-align: center; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; margin-top: 16px; }
.form-msg.is-visible { display: flex; }
.form-msg--ok { background: var(--green-50); color: #3E5A0C; border: 1px solid rgba(141,181,42,.4); }
.form-msg--err { background: #FDECEC; color: #A1262A; border: 1px solid rgba(229,72,77,.3); }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.is-sending .btn .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Callback band (inner pages) */
.callback { background: linear-gradient(110deg, var(--blue) 0%, var(--blue-600) 55%, #006E9E 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; isolation: isolate; }
.callback::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.08); z-index: -1; }
.callback h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-bottom: 8px; }
.callback p { margin: 0; color: rgba(255,255,255,.88); }
.callback .tag { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.16); font-family: var(--font-head); font-weight: 600; font-size: .8rem; margin-bottom: 14px; }
.callback a.phone { color: #fff; font-family: var(--font-head); font-weight: 700; }
.callback form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; }
.callback .input { background: #fff; border-color: transparent; }
.callback .btn { --b: var(--navy); --b-h: #000F1C; }
.callback .form-msg { grid-column: 1 / -1; margin-top: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); color: var(--body); }
a.contact-card:hover { border-color: rgba(0,149,215,.4); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--body); }
.contact-card .ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--blue-50); color: var(--blue); flex: none; }
.contact-card .ico--wa { background: #E7F9EE; color: #1EB257; }
.contact-card .ico--green { background: var(--green-50); color: var(--green-600); }
.contact-card small { display: block; font-size: .8rem; color: var(--muted); }
.contact-card strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); word-break: break-word; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--bg-soft); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue-50); color: var(--blue); transition: background .2s, color .2s, transform .2s var(--ease); }
.socials a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.socials .i { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--navy); color: rgba(255,255,255,.72); font-size: .95rem; }
.footer__wave { display: block; width: 100%; height: 60px; color: var(--navy); margin-bottom: -1px; }
.footer__top { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.2fr; gap: 40px; padding-block: 40px 56px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: #fff; }
.footer__brand img { height: 74px; width: auto; margin-bottom: 18px; background: #fff; border-radius: 14px; padding: 8px 10px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; }
.footer__links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); opacity: .8; }
.footer address { font-style: normal; display: grid; gap: 10px; }
.footer address div { display: flex; gap: 10px; align-items: flex-start; }
.footer address .i { color: var(--green); margin-top: 4px; width: 1rem; height: 1rem; }
.footer .socials a { background: rgba(255,255,255,.08); color: #fff; }
.footer .socials a:hover { background: var(--blue); }
.footer__map { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.footer__map iframe { display: block; width: 100%; height: 180px; border: 0; filter: grayscale(.2); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px; font-size: .875rem; color: rgba(255,255,255,.55); }

/* ---------- Floating buttons ---------- */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 20px 0 16px; border-radius: 999px; background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7);
  font-family: var(--font-head); font-weight: 600; transition: transform .25s var(--ease), box-shadow .25s;
}
.fab-wa:hover { color: #fff; transform: translateY(-3px); }
.fab-wa .i { width: 28px; height: 28px; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
.to-top {
  position: fixed; right: 20px; bottom: 92px; z-index: 89; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: #fff; color: var(--navy); box-shadow: var(--shadow); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease), background .2s, color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); color: #fff; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .header__phone { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .certs__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 54px; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 99; width: min(320px, 86vw); flex-direction: column; align-items: stretch; gap: 4px;
    padding: calc(var(--header-h) + 20px) 20px 28px; background: #fff; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav a { padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
  .nav a[aria-current="page"] { background: var(--blue-50); }
  .nav a[aria-current="page"]::after { left: auto; right: 16px; top: 50%; bottom: auto; width: 8px; height: 8px; margin: -4px 0 0; border-radius: 50%; }
  .nav .nav__extra { display: grid; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
  .header__cta .btn { display: none; }
  .header .container { gap: 12px; }
  .nav-toggle { position: relative; z-index: 101; }

  .split, .order__grid, .contact-grid, .callback { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .features__grid, .products, .values { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .features__grid { grid-template-columns: 1fr; }
  .callback form { grid-template-columns: 1fr 1fr; }
  .callback form .btn { grid-column: 1 / -1; }
  .badge-float { right: 12px; }
}
@media (min-width: 961px) { .nav .nav__extra { display: none; } }

@media (max-width: 720px) {
  .topbar__info .hide-sm, .topbar__social { display: none; }
  .topbar .container { justify-content: center; }
  .hero__actions .btn { flex: 1 1 auto; }
  .services, .certs__grid { grid-template-columns: 1fr; }
  .features__grid { gap: 14px; }
  .feature { display: grid; grid-template-columns: 56px 1fr; gap: 2px 16px; align-items: start; padding: 20px; border-radius: var(--radius); }
  .feature__icon { width: 56px; height: 56px; border-radius: 16px; margin: 0; grid-row: span 2; }
  .feature__icon img { width: 36px; height: 36px; }
  .feature h3 { font-size: 1.05rem; margin-bottom: 4px; }
  .feature p { font-size: .925rem; }
  .service { padding: 22px; display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; }
  .service img { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .callback form { grid-template-columns: 1fr; }
  .fab-wa { padding: 0; width: 58px; justify-content: center; }
  .fab-wa span { display: none; }
  .to-top { bottom: 90px; }
  .map iframe { height: 320px; }
}

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

/* Developer credit */
.footer__credit { color: rgba(255,255,255,.85); font-weight: 500; border-bottom: 1px solid rgba(166,206,61,.6); }
.footer__credit:hover { color: var(--green); border-color: var(--green); }
