/* =========================================================
   Godrock Contractors · site.css
   Brand: approved logo palette + Montserrat (see brand spec, Oct 2026)
   Layout idea: full-bleed video/photo heroes under a transparent header,
   sharp "isometric-cut" corners taken from the 30° logo construction.
   ========================================================= */
:root {
  --navy: #0C2230;          /* icon navy (primary) */
  --navy-2: #12303F;        /* raised surface on navy */
  --slate: #2B4350;         /* wordmark slate */
  --sky: #16A5E6;           /* inner face */
  --light: #4FC6F5;         /* base */
  --sky-ink: #0A78AC;       /* sky darkened for small text on white (AA) */
  --paper: #F1F5F7;         /* cool neutral, navy-biased */
  --line: #DAE3E8;
  --muted: #546874;
  --white: #FFFFFF;
  --wa: #1FA855;

  --font: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 84px;
  --cut: 14px;              /* isometric corner cut */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 40px -18px rgba(12, 34, 48, .35);
  color-scheme: light;
}

/* ---------- 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; background: var(--white); color: var(--navy); font-family: var(--font); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { max-width: 100%; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { line-height: 1.08; text-wrap: balance; font-weight: 700; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--light); outline-offset: 3px; }
::selection { background: var(--light); color: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 200; background: var(--sky); color: var(--white); padding: 12px 18px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--white); }

/* ---------- Type ---------- */
.h1 { font-size: clamp(2.5rem, 5.6vw, 4.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -0.01em; }
.accent { color: var(--sky); }
.section--navy .accent, .on-dark .accent { color: var(--light); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.65; color: var(--muted); max-width: 60ch; }
.on-dark .lead, .section--navy .lead { color: rgba(255,255,255,.8); }
.prose p { color: var(--muted); max-width: 66ch; }
.prose p + p { margin-top: 1.1em; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--sky-ink); }
.eyebrow::before { content: ""; width: 9px; height: 9px; flex: none; background: var(--sky); transform: rotate(45deg) skew(-8deg, -8deg); }
.on-dark .eyebrow, .section--navy .eyebrow { color: var(--light); }
.stack { display: grid; gap: 22px; align-content: start; }
.stack--tight { gap: 14px; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--sky); --fg: var(--white); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 26px; background: var(--bg); color: var(--fg); border: 0; font-weight: 600; font-size: .95rem; letter-spacing: .01em; line-height: 1.2; text-align: center; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg.arrow { transform: translate(3px, -3px); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--navy), inset 0 0 0 5px var(--light); }
.btn--sky:hover { --bg: var(--light); --fg: var(--navy); }
.btn--navy { --bg: var(--navy); }
.btn--navy:hover { --bg: var(--slate); }
.btn--white { --bg: var(--white); --fg: var(--navy); }
.btn--white:hover { --bg: var(--light); }
.btn--ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.65); clip-path: none; }
.btn--ghost:hover { --bg: var(--white); --fg: var(--navy); }
.btn--outline { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); clip-path: none; }
.btn--outline:hover { --bg: var(--navy); --fg: var(--white); }
.btn--wa { --bg: var(--wa); }
.btn--wa:hover { --bg: #24BD60; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); padding-bottom: 6px; border-bottom: 2px solid var(--sky); transition: color .2s, gap .25s var(--ease); }
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { color: var(--sky-ink); gap: 14px; }
.on-dark .link-arrow, .section--navy .link-arrow { color: var(--white); }
.on-dark .link-arrow:hover, .section--navy .link-arrow:hover { color: var(--light); }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 101; background: var(--navy); }
.site-header { position: fixed; z-index: 100; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: var(--header-h); background: var(--white); box-shadow: 0 1px 0 var(--line); transition: background-color .35s, box-shadow .35s, transform .35s var(--ease); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.brand .logo-light { display: none; }
.has-overlay .site-header:not(.is-solid) { background: transparent; box-shadow: none; }
.has-overlay .site-header:not(.is-solid) .logo-dark { display: none; }
.has-overlay .site-header:not(.is-solid) .logo-light { display: block; }
.has-overlay .site-header:not(.is-solid)::after { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; background: linear-gradient(180deg, rgba(8,24,34,.55), rgba(8,24,34,0)); pointer-events: none; }
.site-header.is-hidden { transform: translateY(-110%); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav > a, .nav-services > button { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; font-size: .92rem; font-weight: 600; color: var(--navy); background: none; border: 0; }
.has-overlay .site-header:not(.is-solid) .nav > a, .has-overlay .site-header:not(.is-solid) .nav-services > button { color: var(--white); }
.nav > a::after, .nav-services > button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--sky); transition: right .3s var(--ease); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after, .nav-services > button:hover::after, .nav-services.is-current > button::after { right: 0; }
.nav-services { position: relative; }
.nav-services > button svg { width: 11px; height: 11px; transition: transform .25s; }
.nav-services > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 18px); left: 50%; width: min(620px, 80vw); transform: translate(-50%, 8px); background: var(--white); box-shadow: var(--shadow), 0 0 0 1px var(--line); padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav-services.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 10px; color: var(--navy); transition: background-color .2s; }
.mega a:hover { background: var(--paper); }
.mega a img { width: 40px; height: 40px; object-fit: cover; }
.mega a b { display: block; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.mega a small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; }
.mega .mega-all { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 8px; padding: 14px 10px 4px; border-top: 1px solid var(--line); font-weight: 600; font-size: .88rem; color: var(--sky-ink); }
.mega .mega-all:hover { background: none; color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; white-space: nowrap; color: var(--navy); }
.header-phone svg { width: 16px; height: 16px; color: var(--sky); }
.has-overlay .site-header:not(.is-solid) .header-phone { color: var(--white); }
.header-actions .btn { min-height: 46px; padding: 0 20px; font-size: .88rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: none; padding: 11px; color: var(--navy); }
.has-overlay .site-header:not(.is-solid) .menu-toggle { color: var(--white); }
.menu-toggle span { display: block; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span + span { margin-top: 7px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1180px) { .header-phone { display: none; } }
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .brand img { height: 40px; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .nav { position: fixed; z-index: -1; top: 0; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .site-header { background: var(--navy); box-shadow: none; }
  .menu-open .site-header .logo-dark { display: none; }
  .menu-open .site-header .logo-light { display: block; }
  .menu-open .site-header .menu-toggle { color: var(--white); }
  .nav > a, .nav-services > button, .has-overlay .site-header:not(.is-solid) .nav > a, .has-overlay .site-header:not(.is-solid) .nav-services > button { width: 100%; justify-content: space-between; padding: 18px 0; font-size: 1.35rem; font-weight: 700; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav > a::after, .nav-services > button::after { display: none; }
  .nav-services > button svg { width: 14px; height: 14px; }
  .mega { position: static; width: auto; transform: none; box-shadow: none; background: transparent; padding: 6px 0 12px; grid-template-columns: 1fr; opacity: 1; visibility: visible; display: none; }
  .nav-services.is-open .mega { display: grid; transform: none; }
  .mega::before { display: none; }
  .mega a { color: var(--white); grid-template-columns: 36px 1fr; padding: 8px 0; }
  .mega a:hover { background: none; color: var(--light); }
  .mega a img { width: 36px; height: 36px; }
  .mega a small { color: rgba(255,255,255,.6); }
  .mega .mega-all { color: var(--light); border-color: rgba(255,255,255,.12); padding-inline: 0; }
  .nav-mobile-cta { display: grid !important; gap: 12px; margin-top: 28px; }
}
.nav-mobile-cta { display: none !important; }
.menu-open { overflow: hidden; }

/* ---------- Home hero (video) ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: max(640px, min(100svh, 940px)); color: var(--white); background: var(--navy); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 1.2s ease; }
.hero.is-playing .hero-media video { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,24,34,.88) 0%, rgba(8,24,34,.6) 42%, rgba(8,24,34,.12) 100%), linear-gradient(0deg, rgba(8,24,34,.85) 0%, rgba(8,24,34,0) 50%); }
.hero-inner { width: 100%; padding-top: calc(var(--header-h) + 64px); }
.hero-copy { max-width: 760px; display: grid; gap: 26px; }
.hero-copy .lead { color: rgba(255,255,255,.86); max-width: 54ch; }
.hero-copy .btn-row { margin-top: 6px; }
.hero-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; margin-top: clamp(48px, 8vh, 96px); padding-block: 22px 26px; border-top: 1px solid rgba(255,255,255,.22); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.hero-scroll { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--white); }
.hero-scroll i { position: relative; width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 12px; }
.hero-scroll i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--light); animation: scrollcue 1.8s infinite var(--ease); }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
.hero-services { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.hero-services span { display: inline-flex; align-items: center; gap: 10px; }
.hero-services span + span::before { content: ""; width: 5px; height: 5px; background: var(--sky); transform: rotate(45deg); margin-right: 12px; }
.video-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid rgba(255,255,255,.45); color: var(--white); padding: 10px 14px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; transition: background-color .2s; }
.video-toggle:hover { background: rgba(255,255,255,.12); }
.video-toggle svg { width: 12px; height: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 1s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .1s; }
  .hero-copy > :nth-child(3) { animation-delay: .2s; }
  .hero-copy > :nth-child(4) { animation-delay: .3s; }
}
@keyframes rise { from { opacity: .001; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .hero-bar { grid-template-columns: 1fr auto; }
  .hero-services { display: none; }
}
@media (max-width: 560px) {
  .hero-copy .btn-row .btn { flex: 1 1 100%; }
  .hero-scroll span { display: none; }
}

/* ---------- Proof strip ---------- */
.proof { background: var(--navy); color: var(--white); border-top: 1px solid rgba(255,255,255,.08); }
.proof .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 30px 28px 32px 0; min-width: 0; }
.proof-item + .proof-item { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
.proof-item svg { width: 40px; height: 40px; }
.proof-item b { display: block; font-size: 1.02rem; line-height: 1.35; }
.proof-item span { display: block; margin-top: 4px; font-size: .88rem; color: rgba(255,255,255,.66); line-height: 1.5; }
@media (max-width: 860px) {
  .proof .wrap { grid-template-columns: 1fr; }
  .proof-item, .proof-item + .proof-item { padding: 22px 0; border-left: 0; }
  .proof-item + .proof-item { border-top: 1px solid rgba(255,255,255,.12); }
}

/* ---------- Split / intro ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--top { align-items: start; }
.split > * { min-width: 0; }
.photo { position: relative; overflow: hidden; background: var(--paper); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 11; }
.photo-tag { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: var(--white); padding: 12px 18px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.photo-tag::before { content: ""; width: 7px; height: 7px; background: var(--light); transform: rotate(45deg); }
.photo-frame { position: relative; }
.photo-frame::before { content: ""; position: absolute; z-index: -1; right: -18px; top: -18px; width: 55%; height: 55%; background: linear-gradient(30deg, transparent 49%, var(--light) 49% 51%, transparent 51%) 0 0 / 22px 13px, linear-gradient(150deg, transparent 49%, var(--light) 49% 51%, transparent 51%) 0 0 / 22px 13px; opacity: .5; }
.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--navy); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; background: var(--sky); transform: rotate(45deg); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .photo-frame::before { display: none; } }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > div { display: grid; gap: 18px; max-width: 720px; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 400px; padding: 28px; color: var(--white); overflow: hidden; background: var(--navy); min-width: 0; }
.card .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,24,34,.92) 0%, rgba(8,24,34,.45) 50%, rgba(8,24,34,.05) 100%); transition: background-color .4s; }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--sky); transition: width .5s var(--ease); }
.card:hover .bg { transform: scale(1.06); }
.card:hover::after { width: 100%; }
.card .card-kicker { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--light); }
.card h3 { margin-top: 10px; font-size: 1.45rem; }
.card p { margin-top: 10px; font-size: .94rem; line-height: 1.55; color: rgba(255,255,255,.8); max-width: 34ch; }
.card .card-go { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); transition: background-color .3s; }
.card .card-go svg { width: 18px; height: 18px; }
.card:hover .card-go { background: var(--sky); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .card { min-height: 320px; } }

/* ---------- Feature band (image + panel) ---------- */
.feature { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; min-height: 560px; background: var(--navy); color: var(--white); }
.feature-media { position: relative; overflow: hidden; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-panel { display: grid; align-content: center; gap: 24px; padding: clamp(48px, 7vw, 96px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(48px, 7vw, 96px) clamp(32px, 6vw, 88px); position: relative; }
.feature-panel::before { content: ""; position: absolute; left: -60px; top: 0; bottom: 0; width: 61px; background: var(--navy); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.feature-panel p { color: rgba(255,255,255,.78); max-width: 46ch; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature-media { min-height: 300px; }
  .feature-panel { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); }
  .feature-panel::before { display: none; }
}

/* ---------- Project mosaic ---------- */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 14px; }
.mosaic > :first-child { grid-row: span 2; }
.mosaic > :nth-child(4) { grid-column: span 2; }
.tile { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; background: var(--navy); color: var(--white); text-align: left; cursor: zoom-in; min-width: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; }
.tile:hover img { transform: scale(1.05); }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 48px 20px 18px; background: linear-gradient(0deg, rgba(8,24,34,.88), rgba(8,24,34,0)); }
.tile-cap b { display: block; font-size: 1rem; }
.tile-cap small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--light); font-weight: 600; }
.tile-cap svg { width: 20px; height: 20px; flex: none; opacity: .85; }
@media (max-width: 860px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .mosaic > :first-child { grid-row: auto; grid-column: span 2; }
  .mosaic > :nth-child(4) { grid-column: auto; }
}
@media (max-width: 560px) { .mosaic { grid-template-columns: 1fr; } .mosaic > :first-child { grid-column: auto; } }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { counter-increment: step; position: relative; display: grid; gap: 12px; align-content: start; padding: 34px 32px 6px 0; border-top: 2px solid var(--line); min-width: 0; }
.section--navy .steps li { border-color: rgba(79,198,245,.3); }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: .82rem; font-weight: 700; letter-spacing: .16em; color: var(--sky-ink); }
.section--navy .steps li::before { color: var(--light); }
.steps li::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--sky); transform: rotate(45deg); }
.steps h3 { font-size: 1.2rem; }
.steps p { font-size: .95rem; color: var(--muted); }
.section--navy .steps p { color: rgba(255,255,255,.72); }
@media (max-width: 980px) { .steps, .steps.steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 560px) { .steps, .steps.steps--3 { grid-template-columns: 1fr; } .steps li { padding-right: 0; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.cta::before { content: ""; position: absolute; inset: 0; opacity: .07; background: linear-gradient(30deg, transparent 49.5%, var(--light) 49.5% 50.5%, transparent 50.5%) 0 0 / 64px 37px, linear-gradient(150deg, transparent 49.5%, var(--light) 49.5% 50.5%, transparent 50.5%) 0 0 / 64px 37px; pointer-events: none; }
.cta .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(72px, 9vw, 120px); }
.cta p { color: rgba(255,255,255,.78); max-width: 52ch; }
.contact-tiles { display: grid; gap: 12px; }
.contact-tile { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); transition: background-color .25s, border-color .25s, transform .25s var(--ease); min-width: 0; }
.contact-tile:hover { background: #163a4c; border-color: rgba(79,198,245,.45); transform: translateX(4px); }
.contact-tile .ct-ic { width: 48px; height: 48px; display: grid; place-items: center; background: var(--sky); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.contact-tile .ct-ic.wa { background: var(--wa); }
.contact-tile .ct-ic svg { width: 22px; height: 22px; color: var(--white); }
.contact-tile small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--light); font-weight: 600; }
.contact-tile b { display: block; font-size: 1.02rem; overflow-wrap: anywhere; }
.contact-tile > svg { width: 18px; height: 18px; color: rgba(255,255,255,.5); }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(460px, 62vh, 620px); color: var(--white); background: var(--navy); overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,24,34,.9) 0%, rgba(8,24,34,.65) 50%, rgba(8,24,34,.25) 100%), linear-gradient(0deg, rgba(8,24,34,.6), rgba(8,24,34,0) 60%); }
.page-hero .wrap { padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(48px, 7vw, 84px); display: grid; gap: 22px; }
.page-hero .wrap > * { max-width: 760px; }
.page-hero .lead { color: rgba(255,255,255,.84); }
.page-hero--plain { min-height: 0; background: var(--paper); color: var(--navy); }
.page-hero--plain::after { display: none; }
.page-hero--plain .lead { color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.7); }
.crumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.crumbs svg { width: 12px; height: 12px; opacity: .6; }
.crumbs [aria-current] { color: var(--white); }
.page-hero--plain .crumbs { color: var(--muted); }
.page-hero--plain .crumbs [aria-current], .page-hero--plain .crumbs a:hover { color: var(--navy); }
.photo-credit { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 12px; font-size: .68rem; color: rgba(255,255,255,.6); }

/* ---------- Service detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.detail article { display: grid; gap: 22px; }
.detail article h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 18px; }
.detail article h2:first-of-type { margin-top: 0; }
.detail article p { color: var(--muted); max-width: 66ch; }
.panel { position: sticky; top: calc(var(--header-h) + 24px); background: var(--paper); padding: 32px 28px; display: grid; gap: 22px; border-top: 4px solid var(--sky); }
.panel h3 { font-size: 1.05rem; }
.panel ul { list-style: none; padding: 0; display: grid; gap: 0; }
.panel li { position: relative; padding: 11px 0 11px 24px; border-bottom: 1px solid var(--line); font-size: .92rem; line-height: 1.5; color: var(--slate); }
.panel li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 8px; height: 8px; background: var(--sky); transform: rotate(45deg); }
.panel .note { font-size: .82rem; color: var(--muted); }
@media (max-width: 980px) { .detail { grid-template-columns: 1fr; } .panel { position: static; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 32px; height: 32px; flex: none; background: var(--white); border: 1px solid var(--line); transition: background-color .25s, border-color .25s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--sky); border-color: var(--sky); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--white); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 52px 26px 0; color: var(--muted); }
.faq summary:hover { color: var(--sky-ink); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq details p { padding-right: 0; } }

/* ---------- Service index list (services page) ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { padding: 10px 16px; font-size: .85rem; font-weight: 600; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: var(--white); transition: background-color .2s, color .2s; }
.jump a:hover { background: var(--white); color: var(--navy); }
.service-rows { display: grid; gap: clamp(56px, 8vw, 100px); }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.service-row:nth-child(even) .photo { order: 2; }
.service-row .photo { aspect-ratio: 4 / 3; }
.service-row .num { font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: var(--sky-ink); }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; } .service-row:nth-child(even) .photo { order: 0; } }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filters button { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; background: var(--white); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--navy); transition: background-color .2s, border-color .2s, color .2s; }
.filters button:hover { border-color: var(--sky); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filters button span { font-size: .72rem; color: var(--sky-ink); }
.filters button[aria-pressed="true"] span { color: var(--light); }
.masonry { columns: 3 300px; column-gap: 14px; }
.masonry .tile { margin-bottom: 14px; break-inside: avoid; height: auto; }
.masonry .tile img { height: auto; }
.gallery-status { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.gallery-note { margin-top: 40px; font-size: .85rem; color: var(--muted); max-width: 70ch; }
.gallery-note a { color: var(--sky-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6,18,26,.96); color: var(--white); }
.lightbox::backdrop { background: rgba(6,18,26,.9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: calc(14px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px)); font-size: .82rem; letter-spacing: .14em; color: rgba(255,255,255,.7); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-cap { padding: 16px max(16px, env(safe-area-inset-left, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: .95rem; }
.lb-btn { width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 0; color: var(--white); transition: background-color .2s; }
.lb-btn:hover { background: var(--sky); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: max(8px, env(safe-area-inset-left, 0px)); }
.lb-next { right: max(8px, env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { .lb-stage { padding: 0 8px; } .lb-prev, .lb-next { top: auto; bottom: -58px; transform: none; } }

/* ---------- Contact ---------- */
.methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.method { display: grid; gap: 14px; align-content: start; padding: 30px 28px; background: var(--white); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; min-width: 0; }
.method:hover { border-color: var(--sky); transform: translateY(-3px); box-shadow: var(--shadow); }
.method .ct-ic { width: 52px; height: 52px; display: grid; place-items: center; background: var(--sky); color: var(--white); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.method .ct-ic.wa { background: var(--wa); }
.method .ct-ic svg { width: 24px; height: 24px; }
.method h2 { font-size: 1.3rem; }
.method p { color: var(--muted); font-size: .95rem; }
.method b { font-size: 1.02rem; overflow-wrap: anywhere; color: var(--navy); }
@media (max-width: 860px) { .methods { grid-template-columns: 1fr; } }

.form-card { background: var(--white); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label { font-size: .84rem; font-weight: 600; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; background: var(--paper); border: 1.5px solid transparent; border-radius: 0; font-size: 1rem; color: var(--navy); transition: border-color .2s, background-color .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--sky); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #C2410C; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .86rem; color: var(--muted); line-height: 1.55; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sky); }
.consent a { color: var(--sky-ink); text-decoration: underline; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .92rem; padding: 14px 16px; border-left: 4px solid var(--sky); background: var(--paper); }
.form-status.is-ok { border-color: var(--wa); }
.form-status.is-error { border-color: #C2410C; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.map-wrap { position: relative; min-height: 460px; background: var(--paper); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map-card { position: relative; z-index: 1; width: min(420px, calc(100% - 32px)); margin: 40px 0 40px max(var(--gutter), env(safe-area-inset-left, 0px)); padding: 32px; background: var(--navy); color: var(--white); display: grid; gap: 16px; box-shadow: var(--shadow); }
.map-card address { font-style: normal; font-size: 1.2rem; font-weight: 600; line-height: 1.45; }
.map-card p { color: rgba(255,255,255,.75); font-size: .92rem; }
@media (max-width: 700px) { .map-wrap { min-height: 0; display: flex; flex-direction: column-reverse; } .map-wrap iframe { position: relative; height: 320px; } .map-card { width: auto; margin: 0; } }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.legal aside { position: sticky; top: calc(var(--header-h) + 24px); background: var(--paper); padding: 26px 24px; display: grid; gap: 14px; }
.legal aside ol { padding-left: 18px; display: grid; gap: 8px; font-size: .88rem; color: var(--slate); }
.legal aside a:hover { color: var(--sky-ink); }
.legal aside .more { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--sky-ink); }
.legal article { display: grid; gap: 40px; max-width: 760px; }
.legal article section { display: grid; gap: 14px; }
.legal article h2 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
.legal article p, .legal article li { color: var(--muted); }
.legal article a { color: var(--sky-ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.updated { font-size: .82rem; color: var(--muted); }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal aside { position: static; } }

/* ---------- Footer ---------- */
.site-footer { background: #081A24; color: rgba(255,255,255,.72); font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 40px; padding-block: 72px 48px; }
.footer-top > div { display: grid; gap: 12px; align-content: start; min-width: 0; }
.footer-top img { height: 52px; width: auto; margin-bottom: 8px; }
.footer-top h2 { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--light); margin-bottom: 6px; }
.footer-top a { transition: color .2s; overflow-wrap: anywhere; }
.footer-top a:hover { color: var(--white); }
.footer-top p { max-width: 36ch; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.footer-base nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-base a:hover { color: var(--white); }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } .footer-base { padding-right: 76px; } }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; z-index: 90; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px; background: var(--wa); color: var(--white); font-weight: 600; font-size: .92rem; box-shadow: 0 12px 28px -8px rgba(8,24,34,.5); transition: transform .25s var(--ease), box-shadow .25s; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -8px rgba(8,24,34,.55); }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 15px; } }

/* ---------- 404 ---------- */
.not-found { min-height: 70svh; display: grid; align-content: center; gap: 24px; padding-top: calc(var(--header-h) + 60px); }

/* ---------- Reveal (progressive; content is visible without JS) ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

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

/* ---------- Additions ---------- */
.steps--plain li::before { display: none; }
.steps--plain li { padding-top: 30px; }
.detail article .photo { margin-block: 10px; }
.checks a { border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.checks a:hover { color: var(--sky-ink); border-color: var(--sky); }
.page-hero .jump { margin-top: 6px; }
.map-card .h3 { color: var(--white); }
/* Floating WhatsApp waits until the visitor scrolls past the video hero (the hero has its own WhatsApp CTA) */
.has-hero .wa-float { opacity: 0; pointer-events: none; transform: translateY(16px); transition: opacity .3s, transform .3s var(--ease), box-shadow .25s; }
.has-hero.past-hero .wa-float { opacity: 1; pointer-events: auto; transform: none; }
@media (max-width: 1240px) { .hero-services { display: none; } .hero-bar { grid-template-columns: 1fr auto; } }
.hero-services { gap: 6px 16px; letter-spacing: .12em; }
.hero .eyebrow, .page-hero:not(.page-hero--plain) .eyebrow, .feature .eyebrow, .cta .eyebrow, .map-card .eyebrow { color: var(--light); }

/* =========================================================
   v3 additions: 8 services, two countries, offices, PT page
   ========================================================= */
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--4 .card { min-height: 360px; padding: 24px; }
.cards--4 .card h3 { font-size: 1.25rem; }
@media (max-width: 1180px) { .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards--4 { grid-template-columns: 1fr; } .cards--4 .card { min-height: 300px; } }
.mega { width: min(660px, 82vw); }

/* Header language link */
.header-lang { display: inline-grid; place-items: center; min-width: 38px; height: 34px; padding: 0 8px; border: 1.5px solid var(--line); font-size: .76rem; font-weight: 700; letter-spacing: .08em; color: var(--navy); transition: border-color .2s, color .2s; }
.header-lang:hover { border-color: var(--sky); color: var(--sky-ink); }
.has-overlay .site-header:not(.is-solid) .header-lang { color: var(--white); border-color: rgba(255,255,255,.45); }
.nav-lang { display: inline-flex; align-items: center; gap: 10px; justify-content: center; padding: 12px 0; color: rgba(255,255,255,.8); font-weight: 600; }
.nav-lang svg { width: 18px; height: 18px; }
@media (max-width: 980px) { .header-lang { display: none; } }

/* Country panels */
.countries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.country { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 14px; align-content: start; min-height: 340px; padding: clamp(28px, 4vw, 44px); background: var(--navy); color: var(--white); min-width: 0; transition: transform .3s var(--ease), box-shadow .3s; }
.country::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .09; background: linear-gradient(30deg, transparent 49.5%, var(--light) 49.5% 50.5%, transparent 50.5%) 0 0 / 52px 30px, linear-gradient(150deg, transparent 49.5%, var(--light) 49.5% 50.5%, transparent 50.5%) 0 0 / 52px 30px; }
.country:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.country-code { position: absolute; right: clamp(20px, 3vw, 36px); top: clamp(10px, 2vw, 18px); z-index: -1; font-size: clamp(5rem, 11vw, 8.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(79,198,245,.35); }
.country .eyebrow { color: var(--light); }
.country h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.country p { color: rgba(255,255,255,.75); max-width: 44ch; }
.country-office { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .95rem; }
.country-office svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--light); }
.country-go { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--light); }
.country-go svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.country:hover .country-go svg { transform: translate(3px, -3px); }
.countries .country:nth-child(2) { background: var(--slate); }
@media (max-width: 760px) { .countries { grid-template-columns: 1fr; } }

/* Office cards */
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.office { display: grid; grid-template-rows: auto 1fr; background: var(--white); box-shadow: 0 0 0 1px var(--line); min-width: 0; }
.office-map { position: relative; aspect-ratio: 16 / 9; background: var(--paper); max-width: 100%; }
.office-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.office-body { display: grid; gap: 16px; align-content: start; padding: clamp(24px, 3vw, 36px); }
.office-body address { font-style: normal; font-size: 1.15rem; font-weight: 600; line-height: 1.45; }
.office-dl { margin: 0; display: grid; gap: 8px; }
.office-dl div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; font-size: .95rem; }
.office-dl dt { color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.office-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.office-dl a:hover { color: var(--sky-ink); }
.office .btn-row .btn { min-height: 46px; padding: 0 18px; font-size: .88rem; }
@media (max-width: 860px) { .offices { grid-template-columns: 1fr; } }

.email-strip { display: grid; grid-template-columns: 52px auto 1fr auto; gap: 18px; align-items: center; margin-top: 18px; padding: 20px 24px; background: var(--navy); color: var(--white); transition: background-color .25s; }
.email-strip:hover { background: var(--navy-2); }
.email-strip .ct-ic { width: 52px; height: 52px; display: grid; place-items: center; background: var(--sky); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.email-strip .ct-ic svg { width: 22px; height: 22px; }
.email-strip small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--light); font-weight: 600; }
.email-strip b { font-size: 1.1rem; overflow-wrap: anywhere; }
.email-note { color: rgba(255,255,255,.65); font-size: .9rem; }
.email-strip > svg { width: 18px; height: 18px; color: rgba(255,255,255,.6); }
@media (max-width: 760px) { .email-strip { grid-template-columns: 52px 1fr; } .email-note, .email-strip > svg { display: none; } }

/* Service link list */
.svc-links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line); }
.svc-links li { border-bottom: 1px solid var(--line); min-width: 0; }
.svc-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font-weight: 600; transition: color .2s, padding .25s var(--ease); }
.svc-links a svg { width: 16px; height: 16px; flex: none; color: var(--sky); }
.svc-links a:hover { color: var(--sky-ink); padding-left: 6px; }
@media (max-width: 560px) { .svc-links { grid-template-columns: 1fr; } }

.served { margin-top: 10px; padding: 24px 26px; background: var(--paper); border-left: 4px solid var(--sky); display: grid; gap: 10px; }
.served h2 { margin: 0 !important; font-size: 1.15rem !important; }
.detail article a, .served a { color: var(--sky-ink); text-decoration: underline; text-underline-offset: 3px; }
.note-small { font-size: .85rem; color: var(--muted); }

/* Footer: five columns, tagline */
.footer-top { grid-template-columns: 1.35fr .8fr 1fr 1fr 1fr; }
.footer-tagline { font-size: 1.05rem; font-weight: 700; color: var(--white); letter-spacing: .02em; }
.footer-brand a { color: var(--light); }
@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-top { grid-template-columns: 1fr; } }
.contact-tiles .contact-tile { padding: 16px 18px; }

/* =========================================================
   v4 refinements
   ========================================================= */
/* Office lines (Call + WhatsApp) on dark surfaces */
.line-tile { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); }
.line-flag { width: 44px; height: 44px; display: grid; place-items: center; font-size: .8rem; font-weight: 800; letter-spacing: .06em; color: var(--navy); background: var(--light); clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%); }
.line-tile:nth-child(2) .line-flag { background: var(--white); }
.line-txt { min-width: 0; }
.line-txt small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--light); font-weight: 600; }
.line-txt b { display: block; font-size: 1.05rem; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-actions { display: flex; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; font-size: .82rem; font-weight: 600; color: var(--white); background: rgba(255,255,255,.1); transition: background-color .2s; }
.pill svg { width: 16px; height: 16px; }
.pill:hover { background: var(--sky); }
.pill--wa { background: var(--wa); }
.pill--wa:hover { background: #24BD60; }
@media (max-width: 460px) { .pill span { display: none; } .pill { padding: 0 12px; } }
.nav-mobile-cta .line-tile { border-color: rgba(255,255,255,.12); }
.contact-tiles { gap: 10px; }

/* Country panels with photography */
.country { min-height: 380px; background: var(--navy); }
.country .country-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.country::before { opacity: 1; background: linear-gradient(0deg, rgba(8,24,34,.94) 0%, rgba(8,24,34,.72) 45%, rgba(8,24,34,.35) 100%); }
.country:hover .country-bg { transform: scale(1.05); }
.countries .country:nth-child(2) { background: var(--navy); }
.country-code { -webkit-text-stroke: 1.5px rgba(255,255,255,.4); }
.country h3, .country p, .country-office { text-shadow: 0 1px 12px rgba(8,24,34,.35); }

/* Floating WhatsApp with country chooser */
.wa-float { position: fixed; z-index: 90; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: end; gap: 10px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.wa-float:hover { transform: none; box-shadow: none; }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px; background: var(--wa); color: var(--white); font-weight: 600; font-size: .92rem; box-shadow: 0 12px 28px -8px rgba(8,24,34,.5); transition: transform .25s var(--ease); }
.wa-btn:hover { transform: translateY(-3px); }
.wa-btn svg { width: 26px; height: 26px; }
.wa-menu { width: 280px; max-width: calc(100vw - 40px); background: var(--white); color: var(--navy); box-shadow: var(--shadow), 0 0 0 1px var(--line); padding: 8px; display: grid; gap: 4px; transform-origin: bottom right; animation: pop .22s var(--ease); }
.wa-menu p { padding: 8px 10px 6px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.wa-menu a { display: grid; grid-template-columns: 40px 1fr 16px; gap: 12px; align-items: center; padding: 8px 10px; transition: background-color .2s; }
.wa-menu a:hover { background: var(--paper); }
.wa-menu .line-flag { width: 40px; height: 40px; background: var(--wa); color: var(--white); }
.wa-menu b { display: block; font-size: .95rem; }
.wa-menu small { display: block; color: var(--muted); font-size: .82rem; }
.wa-menu a > svg { width: 16px; height: 16px; color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .wa-btn span { display: none; } .wa-btn { padding: 15px; } .wa-float span.line-flag { display: grid; } }

/* Hero bar: keep the service list on one line */
.hero-services { flex-wrap: nowrap; white-space: nowrap; }
@media (max-width: 1320px) { .hero-services { display: none; } .hero-bar { grid-template-columns: 1fr auto; } }

/* Consistent photo caption tags and figure spacing */
.photo-tag { font-size: .7rem; }
.detail article .photo { aspect-ratio: 16 / 10; }
.detail article .photo img { position: absolute; inset: 0; }
.photo--wide img, .photo--tall img, .service-row .photo img { position: absolute; inset: 0; }

/* Gallery filters scroll on small screens instead of wrapping into many rows */
@media (max-width: 700px) { .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; } .filters button { flex: none; } }

/* Light process section (steps on white) */
.section:not(.section--navy) .steps li::after { background: var(--sky); }
/* Legibility of captions over photography */
.card::before { background: linear-gradient(0deg, rgba(8,24,34,.95) 0%, rgba(8,24,34,.7) 42%, rgba(8,24,34,.15) 78%, rgba(8,24,34,.05) 100%); }
.card .card-kicker, .tile-cap small { text-shadow: 0 1px 8px rgba(8,24,34,.6); color: var(--light); }
.card .card-go { background: rgba(8,24,34,.45); }
.tile-cap { padding-top: 64px; background: linear-gradient(0deg, rgba(8,24,34,.94) 0%, rgba(8,24,34,.6) 55%, rgba(8,24,34,0) 100%); }
.panel-lines { margin: 0; display: grid; gap: 6px; padding-top: 4px; border-top: 1px solid var(--line); }
.panel-lines div { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; font-size: .9rem; }
.panel-lines dt { color: var(--muted); }
.panel-lines dd { margin: 0; font-weight: 600; }
.panel-lines a:hover { color: var(--sky-ink); }
@media (max-width: 560px) {
  .office-dl div { grid-template-columns: 1fr; gap: 2px; }
  .email-strip b { font-size: .95rem; }
  .contact-tile b { font-size: .95rem; }
}
