/* ==========================================================
   WaterheatX Solutions Ltd — shared stylesheet
   Mobile-first. Brand colours taken from the company logo.
   ========================================================== */

:root {
  --navy: #1f2b7a;
  --navy-900: #0d1440;
  --navy-800: #151d57;
  --blue: #1f8fcf;
  --blue-light: #29abe2;
  --purple: #5b3a9e;
  --red: #c1272d;
  --red-dark: #9e1f24;
  --whatsapp: #1c9e52;
  --whatsapp-dark: #16813f;

  --ink: #141a33;
  --text: #3a4260;
  --muted: #5e6680;
  --line: #dfe4ee;
  --soft: #f3f6fb;
  --soft-2: #e9eef8;
  --white: #ffffff;

  --grad: linear-gradient(90deg, var(--blue-light), var(--purple) 55%, var(--red));

  --font-head: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(13, 20, 64, .06), 0 6px 20px rgba(13, 20, 64, .08);
  --shadow-lg: 0 10px 40px rgba(13, 20, 64, .16);
  --wrap: 1200px;
  --header-h: 68px;
  --bar-h: 64px;
}

/* ---------- Language visibility ---------- */
html[lang="el"] [data-l="en"],
html[lang="en"] [data-l="el"] { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  padding-bottom: var(--bar-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }

/* Placeholder marker — content awaiting client confirmation */
.tbc { background: #fff6cc; border-bottom: 2px dashed #d7a800; padding: 0 4px; border-radius: 3px; color: #5c4700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.3em;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; letter-spacing: .02em;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  text-decoration: none; line-height: 1.1; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(193, 39, 45, .28); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; }
.btn-wa { background: var(--whatsapp); color: #fff; }
.btn-wa:hover { background: var(--whatsapp-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Top bar ---------- */
.topbar { display: none; background: var(--navy-900); color: #cfd6f2; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--blue-light); }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; }
@media (min-width: 1024px) { .topbar { display: block; } }

/* ---------- Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 18px rgba(13, 20, 64, .1); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--grad); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; margin-right: auto; }
.brand img { width: 168px; height: auto; }
@media (min-width: 1200px) { .brand img { width: 200px; } }

.lang-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; flex: none; }
.lang-switch button { font: 700 .82rem/1 var(--font-body); border: 0; background: transparent; color: var(--muted); padding: 8px 10px; min-width: 40px; min-height: 36px; border-radius: 999px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.header-call { display: none; }
@media (min-width: 1100px) { .header-call { display: inline-flex; min-height: 44px; padding: .55em 1.1em; font-size: 1rem; } }

.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 11px; border: 0; border-radius: 10px; background: var(--soft); cursor: pointer; flex: none; }
.nav-toggle span { display: block; height: 2.5px; width: 100%; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.main-nav { position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0; background: #fff; overflow-y: auto; padding: 12px 16px 120px; transform: translateY(-10px); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility .25s; }
.main-nav.open { transform: none; opacity: 1; visibility: visible; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-list a { display: flex; align-items: center; min-height: 52px; padding: 0 8px; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.nav-list a:hover { color: var(--red); }
.nav-list a.active, .nav-list a[aria-current="page"] { color: var(--red); }
.nav-list a.active::before { content: ""; width: 4px; height: 22px; background: var(--red); border-radius: 2px; margin-right: 10px; }
.has-sub { display: flex; flex-wrap: wrap; align-items: center; }
.has-sub > a { flex: 1; }
.sub-toggle { width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
.sub-toggle svg { width: 20px; height: 20px; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-menu { display: none; flex-basis: 100%; padding: 0 0 10px 18px !important; }
.sub-menu.open { display: block; }
.sub-menu a { min-height: 44px; font-size: 1.05rem; font-weight: 600; color: var(--text); }
.nav-mobile-cta { display: grid; gap: 10px; margin-top: 20px; }
body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
  .nav-toggle, .nav-mobile-cta { display: none; }
  .brand { margin-right: 0; }
  .main-nav { position: static; transform: none; opacity: 1; visibility: visible; padding: 0; background: transparent; overflow: visible; margin-left: auto; }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-list > li { border: 0; position: relative; }
  .nav-list a { min-height: 44px; padding: 0 11px; font-size: 1.02rem; border-radius: 8px; position: relative; }
  .nav-list > li > a.active::before { display: none; }
  .nav-list > li > a.active::after, .nav-list > li > a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--red); }
  .has-sub { flex-wrap: nowrap; }
  .has-sub > a { padding-right: 2px; }
  .sub-toggle { width: 26px; height: 40px; }
  .sub-toggle svg { width: 16px; height: 16px; }
  .sub-menu { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px !important; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; display: block; }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .sub-menu.open { opacity: 1; visibility: visible; transform: none; }
  .sub-menu a { min-height: 42px; padding: 0 12px; font-size: 1rem; }
  .sub-menu a:hover { background: var(--soft); }
  .sub-menu a.active { background: var(--soft); }
  .sub-menu a.active::before { display: none; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .nav-list a { padding: 0 8px; font-size: .98rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13, 20, 64, .78) 0%, rgba(13, 20, 64, .92) 70%); }
@media (min-width: 900px) { .hero::before { background: linear-gradient(90deg, rgba(13, 20, 64, .96) 0%, rgba(13, 20, 64, .86) 42%, rgba(13, 20, 64, .25) 100%); } }
.hero .wrap { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 900px) { .hero .wrap { padding-top: 110px; padding-bottom: 110px; } }
.hero-content { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 .accent { background: linear-gradient(90deg, #6cc9f0, #f07a7f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.12rem; color: #dfe4f7; max-width: 560px; margin-bottom: 1.6em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.eyebrow::before { content: ""; flex: none; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%2329abe2'/%3E%3Cstop offset='.5' stop-color='%235b3a9e'/%3E%3Cstop offset='1' stop-color='%23c1272d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M6 4h16l36 56H42z' fill='url(%23g)'/%3E%3Cpath d='M58 4H42L6 60h16z' fill='url(%23g)'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero .eyebrow::before, .page-hero .eyebrow::before, .dark .eyebrow::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%236cc9f0'/%3E%3Cstop offset='.5' stop-color='%23a98be0'/%3E%3Cstop offset='1' stop-color='%23f07a7f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M6 4h16l36 56H42z' fill='url(%23g)'/%3E%3Cpath d='M58 4H42L6 60h16z' fill='url(%23g)'/%3E%3C/svg%3E"); }
.hero .eyebrow, .page-hero .eyebrow, .dark .eyebrow { color: var(--blue-light); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .95rem; color: #dfe4f7; }
.hero-tags li { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags svg { width: 18px; height: 18px; color: var(--blue-light); flex: none; }

/* Inner page hero */
.page-hero { position: relative; background: var(--navy-900); color: #dfe4f7; overflow: hidden; }
.page-hero .hero-bg img { opacity: .35; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13, 20, 64, .97) 20%, rgba(13, 20, 64, .7)); }
.page-hero .wrap { position: relative; z-index: 2; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 900px) { .page-hero .wrap { padding-top: 76px; padding-bottom: 76px; } }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); max-width: 820px; }
.page-hero p { max-width: 680px; font-size: 1.08rem; }
.breadcrumb { font-size: .88rem; margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-soft { background: var(--soft); }
.dark { background: var(--navy-900); color: #cfd6f2; }
.dark h2, .dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.dark .section-head p { color: #b9c1e0; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.service-card .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft-2); }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .media img { transform: scale(1.05); }
.service-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: .4em; }
.service-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; color: var(--red); letter-spacing: .02em; }
.more svg { width: 18px; height: 18px; transition: transform .2s; }
.service-card:hover .more svg { transform: translateX(4px); }

/* ---------- Feature list ---------- */
.feature-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.feature { background: #fff; border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--line); }
.dark .feature { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.feature .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--soft-2); color: var(--navy); margin-bottom: 16px; }
.dark .feature .icon { background: rgba(41, 171, 226, .15); color: var(--blue-light); }
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.2rem; margin-bottom: .35em; }
.feature p { margin: 0; font-size: .96rem; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.reverse .split-media { order: 2; } }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; }
.split-media .tall { aspect-ratio: 4 / 5; }
.split-media .wide { aspect-ratio: 4 / 3; }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.media-pair img { aspect-ratio: 3 / 4; }
.media-pair img:last-child { margin-top: 36px; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.dark .check-list li::before { background-color: var(--blue); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 12px; }
.steps h3 { font-size: 1.15rem; margin-bottom: .3em; }
.steps p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- Project strip on home ---------- */
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } .mosaic .big { grid-column: span 2; grid-row: span 2; } }
.mosaic a { display: block; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 1; background: var(--soft-2); }
@media (min-width: 900px) { .mosaic a { aspect-ratio: auto; } }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic a:hover img { transform: scale(1.06); }
.mosaic .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: #fff; background: linear-gradient(transparent, rgba(13, 20, 64, .85)); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy); color: #dfe4f7; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(193, 39, 45, .35), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgba(41, 171, 226, .3), transparent 70%); }
.cta-band .wrap { position: relative; padding-top: 56px; padding-bottom: 56px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.3fr 1fr; padding-top: 72px; padding-bottom: 72px; } .cta-band .btn-row { justify-content: flex-end; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.08rem; }

/* ---------- Content blocks on service pages ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.2em; }
.prose h3 { margin-top: 1.4em; }
.layout-aside { display: grid; gap: 40px; }
@media (min-width: 1024px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } }
.aside-card { background: var(--navy-900); color: #cfd6f2; border-radius: var(--radius-lg); padding: 28px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card h3 { color: #fff; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card .small { font-size: .88rem; color: #9aa4cc; margin-top: 14px; margin-bottom: 0; }
.sub-services { display: grid; gap: 16px; margin: 28px 0; }
@media (min-width: 640px) { .sub-services { grid-template-columns: repeat(2, 1fr); } }
.sub-service { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; border-top: 4px solid var(--navy); }
.sub-service:nth-child(2n) { border-top-color: var(--red); }
.sub-service h3 { font-size: 1.12rem; margin: 0 0 .35em; }
.sub-service p { margin: 0; font-size: .95rem; }
.photo-row { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin: 28px 0; }
@media (min-width: 768px) { .photo-row { grid-template-columns: repeat(3, 1fr); } }
.photo-row img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.note { background: var(--soft); border-left: 4px solid var(--blue); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .96rem; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: 700 .95rem/1 var(--font-head); letter-spacing: .02em; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { margin: 0; }
.gallery-item[hidden] { display: none; }
.gallery-item button { display: block; width: 100%; padding: 0; border: 0; background: var(--soft-2); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; position: relative; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery-item button:hover img { transform: scale(1.06); }
.gallery-item figcaption { font-size: .88rem; color: var(--muted); padding: 8px 2px 0; line-height: 1.4; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 12, 36, .94); display: flex; align-items: center; justify-content: center; padding: 60px 12px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1000px; width: 100%; text-align: center; }
.lightbox img { max-height: calc(100vh - 170px); width: auto; max-width: 100%; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #dfe4f7; margin-top: 12px; font-size: .95rem; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .28); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 40px; }
.faq-group > h2 { font-size: 1.5rem; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-list details[open] { box-shadow: var(--shadow); border-color: #c9d2e6; }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); position: relative; min-height: 48px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--soft-2); color: var(--navy); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; }
.faq-list details[open] summary::after { content: "–"; background: var(--navy); color: #fff; }
.faq-list .answer { padding: 0 20px 18px; }
.faq-list .answer p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: start; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); transition: box-shadow .2s, border-color .2s; }
a.contact-card:hover { box-shadow: var(--shadow); border-color: #c9d2e6; color: var(--text); }
.contact-card .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--soft-2); color: var(--navy); }
.contact-card .icon.wa { background: #e3f6ea; color: var(--whatsapp); }
.contact-card .icon.red { background: #fbe6e7; color: var(--red); }
.contact-card .icon svg { width: 24px; height: 24px; }
.contact-card strong { display: block; font-family: var(--font-head); font-size: 1.12rem; color: var(--ink); }
.contact-card span { font-size: .95rem; word-break: break-word; }
.contact-card strong span { font-size: inherit; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 36px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: .95rem; padding: 0; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #c9d0de; border-radius: 10px; padding: 12px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2b7a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 42px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(41, 171, 226, .2); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); background-color: #fff7f7; }
.field .error { display: none; color: var(--red-dark); font-size: .88rem; margin-top: 6px; font-weight: 600; }
.field.invalid .error { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border: 1.5px solid #c9d0de; border-radius: 999px; padding: 10px 16px; cursor: pointer; margin: 0; min-height: 46px; }
.radio-row input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--navy); }
.radio-row label:has(input:checked) { border-color: var(--navy); background: var(--soft); }
.hp-field { position: absolute; left: -9999px; }
.form-note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
.form-summary { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius); font-weight: 600; }
.form-summary[hidden] { display: none; }
.form-summary.error { background: #fdecec; color: var(--red-dark); border: 1px solid #f3c2c4; }
.form-summary.ready { background: #eaf7ef; color: #14532d; border: 1px solid #b9e2c8; font-weight: 400; }
.form-summary.ready strong { display: block; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 4px; }
.form-summary .btn-row { margin-top: 14px; }

.map-box { border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); border: 1px solid var(--line); padding: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c1e0; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.footer-grid { display: grid; gap: 36px; padding: 60px 0 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; }
.footer-logo img { width: 190px; }
.site-footer h2 { font-size: 1.1rem; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #dfe4f7; text-decoration: none; }
.site-footer a:hover { color: var(--blue-light); text-decoration: underline; }
.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(--blue-light); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.social a:hover { background: var(--blue); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .86rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- Mobile action bar ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(13, 20, 64, .12); padding-bottom: env(safe-area-inset-bottom, 0); }
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: var(--bar-h); font-family: var(--font-head); font-weight: 700; font-size: .92rem; text-decoration: none; color: #fff; }
.action-bar svg { width: 22px; height: 22px; }
.action-bar .ab-call { background: var(--red); }
.action-bar .ab-wa { background: var(--whatsapp); }
.action-bar .ab-quote { background: var(--navy); }
@media (min-width: 1024px) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* Floating WhatsApp (desktop) */
.wa-float { display: none; }
@media (min-width: 1024px) {
  .wa-float { display: grid; place-items: center; position: fixed; right: 24px; bottom: 96px; z-index: 89; width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); color: #fff; box-shadow: 0 8px 24px rgba(28, 158, 82, .4); transition: transform .2s; }
  .wa-float:hover { transform: scale(1.07); color: #fff; }
  .wa-float svg { width: 30px; height: 30px; }
}

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 16px; bottom: calc(var(--bar-h) + 16px + env(safe-area-inset-bottom, 0px)); z-index: 95; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background-color .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }
.to-top svg { width: 24px; height: 24px; }
@media (min-width: 1024px) { .to-top { right: 28px; bottom: 28px; } }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.lead { font-size: 1.12rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2em; padding: 0; list-style: none; }
.badge-row li { background: var(--soft-2); color: var(--navy); font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
.error-page { text-align: center; padding: 100px 0; }
.error-page .code { font-family: var(--font-head); font-size: 6rem; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page .btn-row { justify-content: center; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .88rem; }

/* ---------- Common problems (plumbing page) ---------- */
.problems { margin: 8px 0 12px; }
.problem-grid { display: grid; gap: 14px; margin: 20px 0; }
@media (min-width: 640px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
.problem { display: flex; flex-direction: column; gap: 8px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.problem h3 { font-size: 1.15rem; margin: 0; }
.problem p { margin: 0; font-size: .95rem; }
.problem-sym { color: var(--muted); }
.problem strong { color: var(--ink); }
.problem-link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--font-head); font-weight: 700; color: var(--whatsapp-dark); text-decoration: none; }
.problem-link:hover { color: var(--whatsapp); text-decoration: underline; }
.problem-link svg { width: 20px; height: 20px; flex: none; }

/* ---------- Videos ---------- */
.video-card { margin: 28px 0; min-width: 0; }
.video-card video { display: block; width: 100%; height: auto; max-width: 100%; background: var(--navy-900); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.prose .video-card.portrait { max-width: 420px; }
.video-card figcaption { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .92rem; color: var(--muted); }
.video-card figcaption svg { width: 18px; height: 18px; flex: none; color: var(--red); }
.video-grid { display: grid; gap: 20px; align-items: start; }
.video-grid .video-card { margin: 0; }
@media (min-width: 768px) { .video-grid { grid-template-columns: 0.75fr 1.348fr; gap: 28px; } }
