/* Nando General Construction Inc — palette from the logo: royal blue, navy, gray, a brick-red touch. */
:root {
  --blue: #1d3fd8;
  --blue-700: #1631b0;
  --blue-50: #eef2ff;
  --blue-on-dark: #9db4ff;
  --navy: #0b1a55;
  --night: #081131;
  --night-2: #0e1a45;
  --ink: #111a33;
  --text: #3e4659;
  --muted: #5c6477;
  --line: #e1e5ee;
  --line-dark: rgba(255, 255, 255, .14);
  --soft: #f2f4f8;
  --white: #fff;
  --brick: #c23a1c;
  --wa: #0f7a3b;
  --wa-700: #0b6530;

  --font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --radius: 28px;
  --radius-sm: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 24px 60px -24px rgba(8, 17, 49, .28);
  --bar-h: 72px;
}

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--text);
  background: var(--white); padding-bottom: var(--bar-h); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: rgba(29, 63, 216, .12); }
select { background-color: #fff; color: var(--ink); }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, .h2 { font-family: var(--font-head); color: var(--ink); margin: 0; text-wrap: balance; }
h2, .h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; display: block; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
h1 em, h2 em, h3 em, .h2 em { font-style: normal; color: var(--blue); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .hero :focus-visible, .winter :focus-visible, .site-footer :focus-visible { outline-color: var(--blue-on-dark); }
html { scrollbar-color: #b7c0d6 var(--soft); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
svg { flex-shrink: 0; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(29, 63, 216, .8); }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -12px rgba(15, 122, 59, .8); }
.btn-wa:hover { background: var(--wa-700); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 16px; }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; padding-bottom: 4px; border-bottom: 1.5px solid currentColor; }
.text-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.text-link:hover { color: var(--blue); }
.text-link:hover svg { transform: translate(2px, -2px); }

/* ---------- season bar + header */
.season-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 9px var(--gutter); background: var(--navy); color: #e6ebff; font-size: 14.5px; text-decoration: none; text-align: center;
}
.season-bar[hidden] { display: none; }
.season-bar svg { width: 16px; height: 16px; color: var(--blue-on-dark); }
.season-bar strong { color: #fff; }
.season-cta { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.season-cta svg { width: 14px; height: 14px; color: #fff; }
.season-bar:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -20px rgba(8, 17, 49, .35); }
.nav { display: flex; align-items: center; gap: 24px; height: 80px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand .logo-svg, .brand .logo-img { height: 54px; width: auto; }
.main-nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a, .nav-drop {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; border: 0; background: none;
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer;
}
.nav-links > li > a:hover, .nav-drop:hover { color: var(--blue); }
.nav-links [aria-current="page"] { color: var(--blue); }
.nav-drop svg { width: 16px; height: 16px; transition: transform .25s; }
.has-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -12px; width: 320px; padding: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .nav-drop svg, .has-drop.open .nav-drop svg { transform: rotate(180deg); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--blue-50); color: var(--blue); }
.dropdown .ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--soft); color: var(--blue); }
.dropdown .ico svg { width: 18px; height: 18px; }
.mobile-menu-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; }
.lang a, .lang span { padding: 5px 9px; border-radius: 999px; text-decoration: none; color: var(--muted); line-height: 1; min-width: 32px; text-align: center; }
.lang span[aria-current] { background: var(--navy); color: #fff; }
.lang a:hover { color: var(--blue); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; color: var(--blue); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; }

html[lang="es"] .nav-phone span { display: none; }
html[lang="es"] .nav-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
.nav-links > li > a, .nav-drop { white-space: nowrap; }
@media (max-width: 1280px) { .nav-phone span { display: none; } .nav-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 50%; } }
@media (max-width: 1240px) {
  .menu-toggle { display: grid; }
  .main-nav { margin-left: 0; }
  .nav-actions { margin-left: auto; }
  .nav-links {
    position: fixed; inset: var(--menu-top, 80px) 0 0 0; z-index: 99; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 120px;
    background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
  }
  body.nav-open .nav-links { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav-links > li > a, .nav-drop { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .dropdown { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px; display: none; }
  .has-drop.open .dropdown { display: block; }
  .mobile-menu-cta { display: grid; gap: 10px; margin-top: 20px; }
  .nav-links > li.mobile-menu-cta > a.btn { justify-content: center; gap: 10px; padding: 15px 24px; font-size: 16px; border: 0; border-radius: 999px; color: #fff; }
  .nav-links > li.mobile-menu-cta > a.btn-primary { background: var(--blue); }
  .nav-links > li.mobile-menu-cta > a.btn-wa { background: var(--wa); }
}
@media (max-width: 640px) {
  .nav { height: 68px; gap: 12px; }
  .brand .logo-svg, .brand .logo-img { height: 42px; }
  .nav-cta, .nav-phone { display: none !important; }
}

/* ---------- hero */
.hero { position: relative; color: #dfe5f7; background: var(--night); isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-home .hero-bg img { object-position: 50% 26%; }
@media (min-width: 900px) {
  .hero-home .hero-bg { background: #0a0f1d; }
  .hero-home .hero-bg img { position: absolute; top: 0; right: 0; width: 60%; object-position: 50% 30%; }
  .hero-home .hero-bg::after { background: linear-gradient(90deg, #0a0f1d 40%, rgba(10, 15, 29, .6) 50%, rgba(10, 15, 29, 0) 68%), linear-gradient(0deg, rgba(10, 15, 29, .75) 0%, rgba(10, 15, 29, 0) 32%); }
}
.hero h1, .hero-lead, .winter h2, .winter p { text-shadow: 0 2px 24px rgba(6, 11, 26, .45); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 11, 26, .78) 0%, rgba(6, 11, 26, .52) 42%, rgba(6, 11, 26, .06) 78%),
              linear-gradient(0deg, rgba(6, 11, 26, .72) 0%, rgba(6, 11, 26, 0) 34%);
}
.hero-in { padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(64px, 8vw, 96px); }
.hero h1 { color: #fff; font-size: clamp(2.75rem, 7.2vw, 6rem); font-weight: 800; line-height: .98; letter-spacing: -.04em; max-width: 13ch; }
.hero h1 em { color: var(--blue-on-dark); }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 56ch; margin: 28px 0 36px; color: #d5dcf0; }
.hero-home .hero-in { padding-bottom: 200px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: clamp(56px, 8vw, 96px) 0 0; }
.stats div { border-top: 1px solid rgba(255, 255, 255, .28); padding-top: 18px; }
.stats dt { font-family: var(--font-head); font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.stats dd { margin: 6px 0 0; font-size: 15px; color: #c1cae4; line-height: 1.45; max-width: 22ch; }
.hero-page h1 { font-size: clamp(2.5rem, 5.6vw, 4.75rem); max-width: 17ch; }
.hero-page .hero-in { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(140px, 14vw, 180px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 24px; color: #b9c3e3; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: 15px; color: #d5dcf0; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks svg { width: 18px; height: 18px; color: var(--blue-on-dark); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; } }
@media (max-width: 640px) {
  .hero-bg::after { background: linear-gradient(180deg, rgba(6, 11, 26, .35) 0%, rgba(6, 11, 26, .62) 45%, rgba(6, 11, 26, .85) 100%); }
  .hero .btn-row .btn { width: 100%; white-space: normal; text-align: center; }
  .hero-home .hero-in { padding-bottom: 140px; }
}

/* ---------- sections */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.soft { background: var(--soft); }
.dark { background: var(--night); color: #c8d0e8; }
.dark h2, .dark h3 { color: #fff; }
.dark h2 em { color: var(--blue-on-dark); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 72px); }
.sec-head p { margin: 0; color: var(--muted); font-size: 1.08rem; max-width: 46ch; }
.dark .sec-head p { color: #b9c2de; }
.sec-head:has(> h2:only-child) { grid-template-columns: 1fr; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* system panel ("what") */
.what { padding-top: 0; }
.what:not(.what-overlap) { padding-top: clamp(80px, 10vw, 136px); }
.what-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 72px; align-items: start;
  position: relative; z-index: 2;
}
.what-overlap { overflow-x: clip; }
.what-overlap .what-panel { margin-top: -110px; }
.what-overlap .what-panel::before {
  content: ""; position: absolute; z-index: -1; inset: 0 calc(var(--gutter) - 56px); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); top: -56px; bottom: -56px;
}
.what-copy .lede { font-size: 1.15rem; color: var(--ink); }
.what-copy .lede strong { font-weight: 700; }
.what-copy p:last-child { margin-bottom: 0; }
.mini-h { margin-top: 28px; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
.what-details { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 72px; align-items: center; margin-top: clamp(104px, 11vw, 140px); }
.media-frame { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.media-frame img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-frame:hover img { transform: scale(1.03); }
.media-frame.wide img { aspect-ratio: 16 / 10; }
.media-frame figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; width: fit-content; padding: 8px 14px; border-radius: 999px; background: rgba(8, 17, 49, .78); color: #fff; font-size: 13.5px; backdrop-filter: blur(6px); }
.layers li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.layers li:first-child { padding-top: 0; }
.layers .n { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--blue); letter-spacing: .06em; padding-top: 3px; }
.layers p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.layers strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.06rem; margin-bottom: 2px; }
@media (max-width: 900px) {
  .what-panel, .what-details { grid-template-columns: 1fr; }
  .what-overlap .what-panel { margin-top: -96px; }
  .what-overlap .what-panel::before { inset: -32px calc(var(--gutter) - 32px); }
  .what-details { margin-top: 96px; }
}
@media (max-width: 640px) {
  .what-overlap .what-panel::before { inset: -28px 4px; border-radius: 22px; }
  .what-overlap .what-panel { padding: 0 8px; }
}

/* features: lines, not cards */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.feat { border-top: 1px solid #d4d9e5; padding: 32px 0 44px; }
.feat .ico { display: block; color: var(--blue); margin-bottom: 22px; }
.feat .ico svg { width: 26px; height: 26px; }
.feat h3 { margin-bottom: 10px; }
.feat p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 36ch; }
.feat .feat-strong { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.feat-strong a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.feat-strong a:hover { color: var(--blue); }
@media (max-width: 900px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } .feat { padding: 26px 0 30px; } }

/* winter band */
.winter { position: relative; isolation: isolate; color: #d5dcf0; background: var(--night); padding: clamp(88px, 11vw, 144px) 0; overflow: hidden; }
.winter .hero-bg::after { background: linear-gradient(90deg, rgba(6, 11, 26, .8) 0%, rgba(6, 11, 26, .55) 50%, rgba(6, 11, 26, .25) 100%); }
.winter-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px 80px; align-items: center; }
.winter h2 { color: #fff; max-width: 14ch; }
.winter h2 em { color: var(--blue-on-dark); }
.winter p { max-width: 54ch; margin: 24px 0 32px; font-size: 1.08rem; }
.winter-list { display: grid; gap: 14px; }
.winter-list li { display: flex; gap: 16px; padding: 22px 24px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); backdrop-filter: blur(8px); }
.winter-list svg { width: 26px; height: 26px; color: var(--blue-on-dark); margin-top: 2px; }
.winter-list strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.08rem; }
.winter-list span { font-size: 15px; line-height: 1.5; color: #c4cce6; }
@media (max-width: 900px) { .winter-in { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .winter .btn-row .btn { width: 100%; } }

/* portfolio: hover-expand panels */
.portfolio.dark { background: var(--night); }
.port-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(44px, 5vw, 64px); }
.port-head p { color: #b9c2de; max-width: 44ch; margin-bottom: 24px; }
.portfolio:not(.dark) .port-head p { color: var(--muted); }
.panels { display: flex; height: clamp(440px, 44vw, 580px); padding-right: 44px; isolation: isolate; }
.panel { position: relative; z-index: calc(10 - var(--i, 1)); flex: 1 1 0; min-width: 0; margin-left: -44px; border-radius: var(--radius); box-shadow: -20px 18px 42px rgba(0, 0, 0, .38); transition: flex-grow .8s var(--ease), filter .45s ease; }
.panel:first-child { margin-left: 0; }
.panel.is-active { z-index: 30; flex-grow: 4.4; }
.panels:hover .panel:not(.is-active) { filter: brightness(.7) saturate(.8); }
.panels .work { border: 1px solid rgba(255, 255, 255, .2); }
.work { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--night-2); cursor: zoom-in; text-align: left; color: #fff; }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85) brightness(.82); }
.panel.is-active .work img { filter: none; }
.work:hover img { transform: scale(1.04); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 17, 49, .88) 0%, rgba(8, 17, 49, 0) 55%); opacity: 0; transition: opacity .5s; }
.panel.is-active .work::after { opacity: 1; }
.panel-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px 32px; display: grid; gap: 6px; }
.panels .panel-copy { opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .6s var(--ease); max-width: 520px; }
.panels .panel.is-active .panel-copy { opacity: 1; transform: none; transition-delay: .25s; }
.panel-copy .tag { font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-on-dark); }
.panel-copy .title { font-family: var(--font-head); font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.panel-copy .desc { font-size: 15px; color: #d2d9ee; }
.port-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 24px; font-size: 14px; color: #a9b3d3; }
.port-foot p { margin: 0; }
.hint { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.hint svg { width: 18px; height: 18px; color: var(--blue-on-dark); }
@media (max-width: 860px) { .port-head { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .panels { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 0 0 8px; scrollbar-width: none; }
  .panels::-webkit-scrollbar { display: none; }
  .panel, .panel.is-active { flex: 0 0 84%; height: 440px; margin-left: 0; box-shadow: none; filter: none !important; scroll-snap-align: center; }
  .panels .panel-copy { opacity: 1; transform: none; padding: 22px; }
  .work::after { opacity: 1; }
  .work img { filter: none; }
}

/* compare: before/after + table */
.compare-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 64px; align-items: start; }
.ba { position: relative; aspect-ratio: 4 / 4.2; border-radius: var(--radius); overflow: hidden; background: var(--soft); touch-action: pan-y; user-select: none; }
.ba img, .ba-over { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba img { object-fit: cover; }
.ba-over { clip-path: inset(0 0 0 var(--pos)); }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: var(--pos); z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(8, 17, 49, .35); pointer-events: none; }
.ba-handle svg { width: 22px; height: 22px; }
.ba-label { position: absolute; top: 18px; z-index: 2; padding: 8px 14px; border-radius: 12px; background: rgba(8, 17, 49, .78); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); pointer-events: none; }
.ba-label.l { left: 18px; }
.ba-label.r { right: 18px; }
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-range:focus-visible + * , .ba:has(.ba-range:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.ba-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.ba-foot strong { color: var(--ink); }
.cmp h3 { font-size: 1.35rem; margin-bottom: 16px; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 16px; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.cmp-table thead th { font-family: var(--font-head); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); padding-top: 0; }
.cmp-table tbody th { font-family: var(--font-head); font-weight: 700; color: var(--ink); width: 26%; font-size: 14px; }
.cmp-table td:nth-child(2) { color: var(--ink); font-weight: 600; }
.cmp-table td:nth-child(3) { color: var(--muted); }
.cmp-note { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
@media (max-width: 900px) { .compare-grid { grid-template-columns: 1fr; } .ba { aspect-ratio: 4 / 3.6; } }
@media (max-width: 520px) {
  .cmp-table thead { display: none; }
  .cmp-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .cmp-table th, .cmp-table td { border: 0; padding: 0; }
  .cmp-table tbody th { grid-column: 1 / -1; width: auto; margin-bottom: 4px; }
  .cmp-table td::before { display: block; font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
  .cmp-table td::before { content: attr(data-l); }
}

/* numbered services */
.svcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.svcs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc { position: relative; display: flex; flex-direction: column; border-top: 1px solid #d4d9e5; padding-top: 22px; }
.svc .n { font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--blue); margin-bottom: 40px; }
.svc h3 { font-size: 1.45rem; margin-bottom: 12px; }
.svc p { color: var(--muted); font-size: 15.5px; margin-bottom: 28px; }
.svc-link { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid #d4d9e5; font-weight: 700; color: var(--ink); text-decoration: none; }
.svc-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.svc-link::after { content: ""; position: absolute; inset: 0; }
.svc:hover .svc-link { color: var(--blue); }
.svc:hover .svc-link svg { transform: translate(3px, -3px); }
.svc-hot { border-top: 3px solid var(--blue); padding-top: 20px; }
.badge { position: absolute; top: 18px; right: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: 12.5px; font-weight: 700; }
.badge svg { width: 14px; height: 14px; }
.serve { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 48px; }
.serve-label { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink); }
.chips svg { width: 17px; height: 17px; color: var(--blue); }
@media (max-width: 1000px) { .svcs, .svcs-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; } }
@media (max-width: 560px) { .svcs, .svcs-3 { grid-template-columns: 1fr; } .svc .n { margin-bottom: 20px; } }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.steps li { position: relative; padding-top: 28px; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 3px; background: var(--brick); border-radius: 2px; }
.steps .n { display: block; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--blue); letter-spacing: .06em; margin-bottom: 36px; }
.steps h3 { margin-bottom: 10px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.practice { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 72px; align-items: center; }
.process .practice { margin-top: clamp(72px, 9vw, 112px); padding-top: clamp(64px, 8vw, 96px); position: relative; }
.process .practice::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
.practice-copy h3, .practice-copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 18px; }
.practice-copy p { color: var(--muted); margin-bottom: 26px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .practice { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps .n { margin-bottom: 16px; } }

/* service area */
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 72px; align-items: start; }
.area-copy > p { color: var(--muted); }
.area-copy strong { color: var(--ink); }
.area-base { margin-top: 20px; color: var(--muted); }
.towns { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 28px; margin-top: 28px; }
.towns li { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: 15.5px; }
.towns svg { width: 17px; height: 17px; color: var(--blue); }
.towns li.main { color: var(--blue); }
.area-copy .btn-row { margin-top: 24px; }
@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; } }

/* faq */
.faq-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px 80px; align-items: start; }
.faq-side { position: sticky; top: 112px; display: grid; gap: 20px; justify-items: start; }
.faq-side p { margin: 0; color: var(--muted); max-width: 40ch; }
.faq details { border-bottom: 1px solid #d4d9e5; }
.faq details:first-child { border-top: 1px solid #d4d9e5; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #c9d0de; color: var(--ink); flex-shrink: 0; transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s; }
.faq-ico svg { width: 16px; height: 16px; }
.faq details[open] .faq-ico { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.answer p { margin: 0 0 24px; color: var(--muted); max-width: 64ch; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group-h { font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 16px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* contact / quote */
.contact-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: center; padding: clamp(32px, 5vw, 72px); border-radius: 36px; background: var(--soft); }
.soft .contact-panel { background: #fff; }
.contact-copy h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); margin-bottom: 20px; }
.contact-copy > p { color: var(--muted); max-width: 44ch; }
.big-phone { display: inline-block; margin: 12px 0 8px; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.4rem); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.big-phone:hover { color: var(--blue); }
.contact-meta { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 14.5px; color: var(--muted); }
.contact-meta svg { width: 16px; height: 16px; color: var(--blue); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 60px -40px rgba(8, 17, 49, .35); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; color: var(--ink); }
.req { color: var(--brick); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #d3d8e3; border-radius: 12px; background: #fff; font-size: 16px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; caret-color: var(--blue);
}
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: #626a7d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 63, 216, .14); }
.err { display: none; font-size: 13.5px; color: var(--brick); font-weight: 600; }
.field.invalid input, .field.invalid select { border-color: var(--brick); }
.field.invalid .err { display: block; }
.form-note { display: block; margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .contact-panel { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } .contact-panel { border-radius: 26px; padding: 28px 18px; } .form-card { padding: 20px 16px; } .form-card .btn { white-space: normal; } }

/* gallery page */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { min-height: 44px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14.5px; color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery li:has(.work[hidden]) { display: none; }
.gallery .work { aspect-ratio: 4 / 4.6; height: auto; border-radius: 22px; }
.gallery .work img { filter: none; }
.gallery .work::after { opacity: 1; }
.gallery .panel-copy { padding: 20px; }
.gallery .panel-copy .title { font-size: 1.1rem; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* about */
.about-photos { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-top: clamp(104px, 11vw, 140px); }
@media (max-width: 640px) { .about-photos { grid-template-columns: 1fr; } }

/* placeholders (only with SHOW_PH = True) */
.ph { display: inline-block; padding: 1px 8px; border: 1.5px dashed var(--blue); border-radius: 6px; background: var(--blue-50); color: var(--navy); font-size: .85em; font-weight: 700; }
.note-box { margin-top: 24px; padding: 16px 20px; border: 1.5px dashed var(--blue); border-radius: 14px; background: var(--blue-50); font-size: 14.5px; color: var(--navy); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { margin: 0; padding: 28px; border-radius: 20px; background: #fff; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 64px 72px; background: rgba(5, 10, 30, .94); overscroll-behavior: contain; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1100px; max-height: 100%; display: grid; gap: 12px; }
.lightbox img { max-height: calc(100vh - 160px); width: auto; margin: 0 auto; border-radius: 16px; }
.lightbox figcaption { color: #dfe5f7; text-align: center; font-size: 15px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; margin-top: -24px; }
.lb-next { right: 16px; top: 50%; margin-top: -24px; }
@media (max-width: 640px) { .lightbox { padding: 72px 12px; } .lb-prev, .lb-next { top: auto; bottom: 16px; margin: 0; } }

/* footer */
.site-footer { position: relative; overflow: hidden; background: var(--night); color: #b9c2de; padding: clamp(72px, 8vw, 96px) 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px 48px; }
.footer-logo { display: inline-block; padding: 12px 16px; border-radius: 16px; background: #fff; margin-bottom: 20px; }
.footer-logo .logo-svg, .footer-logo .logo-img { height: 52px; width: auto; }
.footer-brand p { max-width: 38ch; margin: 0; }
.foot-h { font-size: 1rem; letter-spacing: 0; color: #fff; margin-bottom: 18px; line-height: 1.3; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: #b9c2de; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue-on-dark); margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: #98a3c6; }
.footer-bottom { padding-bottom: 28px; }
.credit { display: inline-flex; align-items: center; gap: 10px; color: #98a3c6; text-decoration: none; }
.credit img { height: 18px; width: auto; opacity: .85; transition: opacity .2s; }
.credit:hover { color: #fff; }
.credit:hover img { opacity: 1; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* sticky contact bar + WhatsApp float */
.contact-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(8, 17, 49, .35); backdrop-filter: blur(10px); }
.contact-bar-in { display: flex; align-items: center; gap: 12px; height: var(--bar-h); }
.contact-bar { padding-bottom: env(safe-area-inset-bottom); }
.cb-text { margin-right: auto; display: grid; line-height: 1.3; }
.cb-text strong { font-family: var(--font-head); color: var(--ink); font-size: 15.5px; }
.cb-text span { font-size: 13.5px; color: var(--muted); }
.cb-short { display: none; }
.wa-float { position: fixed; right: 20px; bottom: calc(var(--bar-h) + 16px); z-index: 91; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(15, 122, 59, .7); transition: transform .25s var(--ease), background-color .25s; }
.wa-float:hover { transform: scale(1.06); background: var(--wa-700); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 720px) {
  :root { --bar-h: 68px; }
  .cb-text { display: none; }
  .contact-bar-in { padding: 0 12px; gap: 10px; }
  .contact-bar .btn { flex: 1; }
  .cb-call { background: var(--blue); color: #fff; border-color: var(--blue); }
  .cb-call:hover { background: var(--blue-700); color: #fff; }
  .cb-long { display: none; }
  .cb-short { display: inline; }
  .wa-float { width: 52px; height: 52px; right: 14px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
}
@media print { .contact-bar, .wa-float, .season-bar { display: none; } }
@media (max-width: 360px) {
  .nav, .nav-actions { gap: 8px; }
  .brand .logo-svg, .brand .logo-img { height: 36px; }
  .menu-toggle { width: 42px; height: 42px; }
}
