@font-face {
  font-family: Manrope;
  src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #091522;
  --surface: #122337;
  --surface-muted: #0d1c2c;
  --navy: #173a5b;
  --navy-deep: #050e18;
  --ink: #edf3f8;
  --muted: #bdc9d4;
  --line: #60768b;
  --blue: #83b2db;
  --blue-dark: #a9cceb;
  --button-blue: #28547a;
  --button-blue-hover: #356990;
  --button-ink: #f4f8fc;
  --edge: #344b61;
  --content: 1200px;
  --gutter: clamp(20px, 5vw, 76px);
  --section-y: clamp(32px, 4vw, 60px);
  --font: Manrope, Arial, sans-serif;
  --consent-offset: 0px;
  --z-nav: 40;
  --z-cookie: 70;
  --z-whatsapp: 30;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { min-width: 320px; margin: 0; padding-top: 76px; background: var(--paper); font-size: 16px; line-height: 1.6; }
body, button, input, select, textarea { font-family: var(--font); }
img { display: block; max-width: 100%; height: auto; }
picture.responsive-picture { display: block; width: 100%; }
a { color: var(--blue-dark); text-decoration-thickness: .07em; text-underline-offset: .2em; }
button { color: inherit; font: inherit; }
button, select { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 3.2vw, 2.75rem); }
h2 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h3 { font-size: clamp(1.125rem, 1.5vw, 1.375rem); }
p { color: var(--muted); }
strong { color: var(--ink); }
::selection { color: var(--button-ink); background: var(--button-blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
site-header, site-footer, location-band, cookie-consent, whatsapp-float, briefing-widget { display: block; }

.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;
}
.skip-link {
  position: fixed; z-index: 100; top: 8px; left: 8px; padding: 12px 16px;
  transform: translateY(-150%); color: #fff; background: var(--navy);
}
.skip-link:focus { transform: translateY(0); }
.eyebrow {
  margin-bottom: 14px; color: var(--blue-dark); font-size: .88rem; font-weight: 750;
  letter-spacing: .03em; line-height: 1.45;
}

.site-header {
  width: min(1240px, calc(100% - 32px)); min-height: 64px; padding: 4px 14px 4px 18px;
  position: fixed; z-index: var(--z-nav); top: 10px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  border: 1px solid rgb(169 204 235 / 24%); border-radius: 999px;
  background: rgb(18 35 55 / 72%); box-shadow: 0 8px 26px rgb(0 0 0 / 32%);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.brand { width: 56px; height: 54px; flex: 0 0 auto; display: flex; align-items: center; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.main-nav a, .site-footer nav a { color: var(--ink); font-size: .95rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"], .site-footer nav a:hover { color: var(--blue-dark); }
.main-nav .nav-home { display: none; }
.location-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.location-summary .location-heading { margin: 0; }
.location-summary address { color: var(--muted); font-style: normal; }
.header-contact {
  min-height: 38px; padding: 0 16px; display: inline-flex; align-items: center;
  border: 1px solid rgb(169 204 235 / 48%); border-radius: 999px; color: var(--ink);
  background: rgb(131 178 219 / 20%); box-shadow: inset 0 1px rgb(255 255 255 / 8%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .92rem; font-weight: 750; text-decoration: none; white-space: nowrap;
}
.header-contact:hover { border-color: rgb(169 204 235 / 72%); color: #fff; background: rgb(131 178 219 / 34%); }
.button:hover { color: var(--button-ink); background: var(--button-blue-hover); }
.menu-toggle { display: none; }

.hero {
  width: calc(100% - clamp(32px, 10vw, 144px)); max-width: 1500px;
  min-height: min(680px, calc(100svh - 120px)); margin: 8px auto 0;
  position: relative; isolation: isolate; overflow: hidden; border-radius: 24px;
  display: flex; align-items: center; background: var(--surface);
}
.hero::before { position: absolute; z-index: 0; inset: 0; content: ""; background: linear-gradient(90deg, rgb(5 14 24 / 84%) 0%, rgb(5 14 24 / 66%) 52%, rgb(5 14 24 / 38%) 100%), linear-gradient(0deg, rgb(5 14 24 / 34%), rgb(5 14 24 / 34%)); }
.hero-background { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero-copy { position: relative; z-index: 1; width: 100%; max-width: 1000px; padding: clamp(48px, 7vw, 96px) clamp(28px, 7vw, 96px); align-self: center; }
.hero h1 { max-width: 700px; }
.hero h1 { color: #fff; text-shadow: 0 2px 14px rgb(0 0 0 / 45%); }
.hero h1 em { color: var(--blue-dark); font-style: normal; }
.hero .eyebrow { color: #d7eaff; text-shadow: 0 1px 8px rgb(0 0 0 / 55%); }
.hero-lede { max-width: 700px; margin-top: 22px; color: #f0f4f8; text-shadow: 0 1px 8px rgb(0 0 0 / 55%); font-size: clamp(1.1rem, 1.3vw, 1.25rem); }
.hero-actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.button {
  min-height: 50px; padding: 11px 20px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--blue); border-radius: 8px; color: var(--button-ink); background: var(--button-blue);
  font-size: 1rem; font-weight: 750; text-align: center; text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}
.button-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.button-outline:hover { border-color: var(--button-blue); color: var(--button-ink); background: var(--button-blue); }
.quiet-link, .text-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--blue-dark); font-weight: 700; text-decoration: none; }
.quiet-link:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-photo { min-height: 460px; position: relative; overflow: hidden; background: var(--surface-muted); }
.hero-photo > .responsive-picture, .hero-photo img { width: 100%; height: 100%; }
.hero-photo img { min-height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; }
.hero-photo figcaption, .image-caption {
  position: absolute; bottom: 18px; left: 20px; padding: 8px 12px; border-radius: 6px;
  color: #fff; background: rgb(10 25 41 / 84%); font-size: .9rem; font-weight: 700;
}
.hero-index { display: none; }

.intro-band {
  margin: 0; padding: 10px var(--gutter);
  border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge);
  background: linear-gradient(115deg, var(--surface-muted), var(--surface));
}
.intro-carousel { max-width: var(--content); margin: 0 auto; }
.intro-track {
  display: flex; gap: 28px; overflow-x: auto; overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth;
}
.intro-track[data-loop-active] { scroll-behavior: auto; scroll-snap-type: none; }
.intro-track::-webkit-scrollbar { display: none; }
.intro-band p[data-carousel-item] {
  min-width: 0; min-height: 64px; flex: 0 0 calc((100% - 56px) / 3); position: relative;
  padding: 6px 26px 6px 8px;
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  scroll-snap-align: start;
}
.intro-band p[data-carousel-item]:not(:last-child)::after {
  width: 22px; height: 14px; position: absolute; top: 50%; right: -14px;
  border: 1px solid rgb(160 185 207 / 70%); border-radius: 2px; content: ""; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 32%, rgb(5 14 24 / 72%) 33% 37%, transparent 38% 66%, rgb(5 14 24 / 72%) 67% 71%, transparent 72%) 0 0 / 100% 50%,
    linear-gradient(90deg, rgb(5 14 24 / 72%) 0 4%, transparent 5% 66%, rgb(5 14 24 / 72%) 67% 71%, transparent 72%) 0 100% / 100% 50%,
    linear-gradient(0deg, transparent 0 44%, rgb(5 14 24 / 72%) 45% 55%, transparent 56%),
    linear-gradient(135deg, #afc2d2, #657f95);
  background-repeat: no-repeat;
  box-shadow: inset 0 1px rgb(255 255 255 / 26%), 0 0 5px rgb(131 178 219 / 16%);
}
.intro-carousel-controls {
  margin-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.intro-carousel-controls p { font-size: .8rem; }
.intro-carousel-controls > div { display: flex; gap: 8px; }
.intro-band .carousel-control {
  width: 32px; height: 32px; border-color: rgb(169 204 235 / 28%); background: rgb(18 35 55 / 72%);
}
.intro-band strong { color: var(--ink); font-size: 1rem; line-height: 1.2; }
.intro-band span { color: var(--muted); font-size: .78rem; line-height: 1.3; }

.section { padding: var(--section-y) var(--gutter); }
.section-heading {
  max-width: var(--content); margin: 0 auto 34px; display: flex; align-items: end;
  justify-content: space-between; gap: clamp(24px, 5vw, 72px);
}
.section-heading h2 { max-width: 720px; }
.section-heading > p { max-width: 470px; font-size: 1rem; }
.section-services { max-width: calc(var(--content) + 2 * var(--gutter)); margin: auto; }
.highlight-note {
  padding: 18px 20px; border-left: 4px solid var(--blue); border-radius: 4px;
  color: var(--ink); background: var(--surface-muted);
}
.service-list { display: grid; gap: 4px; }
.service-list > a {
  min-height: 0; padding: 15px 4px 18px; display: flex; align-items: stretch; flex-direction: column;
  gap: 0; text-decoration: none;
}
.service-list > a > span:first-child, .arrow { display: none; }
.service-list h3 { font-size: 1.25rem; }
.service-tag { color: var(--blue-dark); font-size: .82em; font-weight: 600; }
.service-desc strong { color: var(--ink); font-weight: 750; }
.service-list h3::after {
  width: min(100%, 260px); height: 1px; margin-top: 10px; display: block; content: "";
  background: linear-gradient(90deg, rgb(255 255 255 / 92%), rgb(210 231 248 / 48%), transparent);
  box-shadow: 0 0 7px rgb(255 255 255 / 42%);
}
.service-desc {
  position: relative; padding-bottom: 16px; margin-top: 10px;
  color: var(--muted); font-size: .95rem;
}
.service-desc::after {
  height: 1px; position: absolute; right: 0; bottom: 0; left: 0; content: "";
  background: linear-gradient(90deg, rgb(255 255 255 / 80%), rgb(210 231 248 / 35%), transparent);
  box-shadow: 0 0 7px rgb(255 255 255 / 32%);
}
.service-list > a:hover h3 { color: var(--blue-dark); }
.section-services > .text-link { margin-top: 20px; }

.home-portfolio { background: var(--surface-muted); }
.home-project-grid, .project-grid {
  max-width: var(--content); margin: 0 auto; display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 14px;
}
.home-project-carousel { max-width: var(--content); margin: 0 auto; }
.home-project-grid {
  display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; scroll-behavior: smooth;
}
.home-project-grid::-webkit-scrollbar { display: none; }
.home-project { flex: 0 0 calc((100% - 28px) / 3); }
.home-project, .project-tile {
  min-width: 0; min-height: 220px; position: relative; display: block; overflow: hidden;
  padding: 0; border: 0; border-radius: 8px; background: var(--navy); text-align: left; cursor: pointer;
}
.home-project { scroll-snap-align: start; }
.home-project img, .project-tile img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .25s ease; }
.home-project:hover img, .project-tile:hover img { transform: scale(1.035); }
.tile-caption {
  position: absolute; right: 0; bottom: 0; left: 0; padding: 16px;
  color: #fff; background: linear-gradient(transparent, rgb(7 20 34 / 90%));
}
.tile-caption small, .tile-caption strong { display: block; color: #fff; }
.tile-caption small { font-size: .8125rem; }
.tile-caption strong { margin-top: 3px; font-size: 1rem; }
.home-project-carousel-controls { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.home-project-carousel-controls p { font-size: .9rem; }
.home-project-carousel-controls > div { display: flex; gap: 8px; }
.carousel-control {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface);
  font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.carousel-control:hover:not(:disabled) { border-color: var(--blue); background: var(--button-blue); }
.carousel-control:disabled { opacity: .4; cursor: not-allowed; }
.home-portfolio-link { max-width: var(--content); margin: 18px auto 0; display: flex; justify-content: flex-end; }
.project-grid { grid-auto-rows: clamp(190px, 20vw, 260px); }
.project-tile[hidden] { display: none; }
.filter-bar { max-width: var(--content); margin: 0 auto 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.filter-button {
  min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 6px;
  color: var(--ink); background: var(--surface); font-weight: 700;
}
.filter-button:hover, .filter-button.is-active { border-color: var(--blue); color: var(--button-ink); background: var(--button-blue); }
.technical-note { max-width: var(--content); margin: 18px auto 0; font-size: .875rem; }

.work-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--navy); }
.work-image { min-height: 460px; position: relative; overflow: hidden; }
.work-comparison { height: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--navy-deep); }
.work-comparison figure { min-width: 0; min-height: 0; position: relative; overflow: hidden; background: var(--surface-muted); }
.work-comparison img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.work-comparison .image-caption { right: 12px; bottom: 12px; left: 12px; width: fit-content; }
.work-copy { max-width: 700px; padding: clamp(36px, 6vw, 78px); align-self: center; }
.work-copy h2 { max-width: 580px; color: #fff; }
.work-copy > p:not(.eyebrow) { max-width: 500px; margin-top: 22px; color: #e4e9ed; font-size: 1.08rem; }
.work-copy strong { color: #fff; }
.work-copy .eyebrow { color: #d8e5f1; }
.work-copy .button { margin-top: 26px; }

.process-section { background: var(--surface); }
.process-list { max-width: var(--content); margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--edge); }
.process-list li { padding: 20px 0; display: grid; grid-template-columns: 54px 1fr; gap: 18px; border-bottom: 1px solid var(--edge); }
.process-list li > span { color: var(--blue-dark); font-weight: 800; }
.process-list h3 { margin-bottom: 5px; }
.process-list p { max-width: 760px; }
.process-list small { display: block; margin-top: 8px; color: var(--muted); font-size: .875rem; }

.cta-strip, .contact-band {
  padding: 32px var(--gutter); display: flex; align-items: center; justify-content: space-between;
  gap: 28px; color: #fff; background: var(--navy);
}
.cta-strip p, .contact-band h2 { max-width: 820px; color: #fff; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.25; }
.cta-strip small, .contact-band p:not(.eyebrow) { display: block; margin-top: 9px; color: #d8e0e7; font-size: 1.05rem; }
.cta-strip .button, .contact-band .button { flex: 0 0 auto; }
.contact-band { padding: clamp(38px, 6vw, 70px) var(--gutter); }

.faq-section { background: var(--paper); }
.faq-list { max-width: var(--content); margin: auto; border-top: 1px solid var(--edge); }
.faq-list details { padding: 16px 2px; border-bottom: 1px solid var(--edge); }
.faq-list summary { color: var(--ink); font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.faq-list details p { max-width: 880px; margin-top: 12px; }
.faq-section .section-heading > .button { flex: 0 0 auto; }

.page-intro { padding: 34px var(--gutter) 42px; background: var(--surface); }
.page-intro > * { max-width: var(--content); margin-right: auto; margin-left: auto; }
.page-intro h1 { max-width: var(--content); }
.page-intro h1 em, .not-found h1 em { color: inherit; font-style: normal; }
.page-intro > p:last-child { max-width: 760px; margin-top: 15px; margin-left: max(var(--gutter), calc((100% - var(--content)) / 2)); font-size: 1rem; }
.service-page-intro > p:last-child { max-width: var(--content); margin-right: auto; margin-left: auto; text-align: left; }
.page-intro > p.about-intro-lede {
  max-width: 900px; margin-top: 24px; padding: 20px 24px;
  border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0;
  color: var(--ink); background: linear-gradient(110deg, var(--surface-muted), rgb(18 35 55 / 55%));
  font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7;
}
.breadcrumbs { max-width: var(--content); margin: 16px auto 0; padding: 0 var(--gutter); }
.breadcrumbs ol { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; list-style: none; color: var(--muted); font-size: .92rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 9px; color: #71808e; }
.breadcrumbs a { color: var(--blue-dark); }

.portfolio-section { padding-top: 36px; }

.lightbox {
  width: min(1000px, calc(100% - 32px)); max-width: none; max-height: 90dvh; padding: 64px 56px 24px;
  border: 1px solid var(--edge); border-radius: 12px; color: var(--ink); background: var(--surface);
}
.lightbox::backdrop { background: rgb(7 20 34 / 84%); }
.lightbox figure { display: grid; justify-items: center; gap: 12px; }
.lightbox-image { max-width: 100%; max-height: 72dvh; object-fit: contain; }
.lightbox figcaption { width: 100%; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  width: 44px; height: 44px; position: absolute; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface); font-size: 1.25rem;
}
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { top: 50%; left: 8px; }
.lightbox-next { top: 50%; right: 8px; }

.service-detail-section { max-width: calc(var(--content) + 2 * var(--gutter)); margin: auto; padding-top: 30px; }
.service-detail {
  min-height: 250px; padding: 28px 0; display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(210px, .7fr);
  align-items: center; gap: clamp(22px, 4vw, 54px); border-bottom: 1px solid var(--edge);
}
.service-detail > span { display: none; }
.service-detail > div { max-width: 680px; }
.service-detail h2 {
  margin-bottom: 10px; display: flex; align-items: flex-start; gap: 12px;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}
.service-detail h2::before {
  width: 2px; min-width: 2px; height: 1.15em; margin-top: .08em; border-radius: 2px;
  content: ""; background: #8ea6bb; box-shadow: 0 0 5px rgb(169 204 235 / 18%);
}
.service-detail p { margin-bottom: 12px; }
.service-detail a { color: var(--blue-dark); font-weight: 700; text-decoration: none; }
.service-detail a:hover { text-decoration: underline; }
.service-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.service-detail img { width: 100%; max-height: 250px; object-fit: cover; border-radius: 6px; }
.materials-section { background: var(--surface-muted); }
.materials-list { max-width: var(--content); margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.materials-list > div { padding: 18px; border: 1px solid var(--edge); border-radius: 8px; background: var(--surface); }
.materials-list dt { margin-bottom: 5px; color: var(--ink); font-size: 1.12rem; font-weight: 750; }
.materials-list dd { margin: 0; color: var(--muted); }

.about-feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-muted); }
.about-photo { min-height: 420px; position: relative; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.about-copy { max-width: 760px; padding: clamp(36px, 6vw, 78px); align-self: center; }
.about-copy h2 { margin-bottom: 18px; }
.about-copy p:not(.eyebrow) { margin-bottom: 14px; }
.about-copy .button { margin-top: 10px; }
.values-section { max-width: calc(var(--content) + 2 * var(--gutter)); margin: auto; }

.contact-layout { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(350px, 1.3fr); align-items: start; gap: clamp(32px, 7vw, 96px); }
.contact-details { max-width: 440px; }
.contact-details h2 { margin-bottom: 15px; font-size: 1.7rem; }
.contact-details p, .contact-details address { margin-bottom: 14px; color: var(--muted); font-style: normal; }
.contact-details a { color: var(--blue-dark); font-weight: 700; }
.contact-map-note { margin-top: 22px; padding: 16px; border: 1px solid var(--edge); border-radius: 6px; background: var(--surface-muted); }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-form label { display: grid; gap: 7px; color: var(--ink); font-weight: 700; }
.quote-form input, .quote-form select, .quote-form textarea, .assistant-form textarea {
  width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 5px; color: var(--ink); background: var(--surface); font-size: 1rem;
}
.quote-form textarea { min-height: 130px; resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus, .assistant-form textarea:focus { border-color: var(--blue-dark); outline-color: var(--blue-dark); }
.quote-form [aria-invalid="true"] { border-color: #b42318; }
.quote-form .form-privacy, .form-fallback, .form-status { font-size: .95rem; }
.form-privacy a { color: var(--blue-dark); }
.form-status { min-height: 1.5em; color: var(--blue-dark); font-weight: 700; }
.form-hint { color: var(--muted); font-size: .95rem; }
.field-error { min-height: 1.25em; color: #a32118; font-size: .9rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-wide { grid-column: 1 / -1; }
.quote-form button { justify-self: start; }
.quote-form .form-whatsapp { width: fit-content; }

.legal-page .legal-copy { max-width: 900px; padding: 40px var(--gutter) 80px; }
.legal-copy h2 { margin: 22px 0 8px; font-size: clamp(1.25rem, 1.7vw, 1.5rem); }
.legal-copy p { margin-bottom: 15px; }
.legal-copy a, .text-button { color: var(--blue-dark); }
.legal-copy address { color: var(--muted); font-style: normal; line-height: 1.8; }
.text-button { padding: 0; border: 0; background: transparent; text-decoration: underline; }
.cookie-table-wrap { overflow-x: auto; }
.cookie-table { width: 100%; border-collapse: collapse; text-align: left; }
.cookie-table th, .cookie-table td { padding: 12px; border: 1px solid var(--line); vertical-align: top; }
.cookie-table thead { color: #fff; background: var(--navy); }
.not-found { min-height: 58vh; padding: 90px var(--gutter); }
.not-found h1 { max-width: 800px; }
.not-found > p:not(.eyebrow) { max-width: 560px; margin: 22px 0; }
.not-found .text-link { margin-left: 18px; }

.location-band {
  padding: clamp(42px, 6vw, 72px) var(--gutter); border-top: 1px solid var(--edge); background: var(--navy);
}
.location-band .location-heading h2 { color: #fff; }
.location-band .location-heading .eyebrow { color: #b8d5e9; }
.location-band .location-heading > p:not(.eyebrow) { color: #e0e6eb; }
.location-summary address { color: #e0e6eb; }
.location-summary .text-link { color: #b8d5e9; }
.location-heading, .location-layout { max-width: var(--content); margin: 0 auto; }
.location-heading { margin-bottom: 24px; }
.location-heading h2 { margin-bottom: 8px; }
.location-layout { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(320px, 1.25fr); gap: 28px; }
.location-details { padding: 22px; border: 1px solid var(--edge); border-radius: 8px; background: var(--surface); }
.location-details address { margin-bottom: 14px; color: var(--ink); font-style: normal; }
.location-details p { margin-bottom: 10px; }
.location-details a { color: var(--blue-dark); }
.location-actions { margin: 16px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.location-actions .button { min-height: 44px; }
.location-instagram, .map-external-link { min-height: 40px; margin-right: 12px; display: inline-flex; align-items: center; }
.location-map { min-height: 280px; overflow: hidden; border: 1px solid var(--edge); border-radius: 8px; background: var(--surface); }
.location-map-frame { width: 100%; height: 100%; min-height: 280px; border: 0; }
.map-placeholder { min-height: 280px; padding: 22px; display: grid; align-content: center; justify-items: center; gap: 14px; text-align: center; background: var(--surface); }
.map-placeholder p { color: var(--ink); }
.map-mark { width: 100%; height: 70px; position: relative; overflow: hidden; border-radius: 6px; background: var(--surface-muted); }
.map-mark::before, .map-mark::after { content: ""; position: absolute; width: 120%; height: 2px; top: 34px; left: -8%; background: var(--line); transform: rotate(-12deg); }
.map-mark::after { transform: rotate(22deg); }
.map-mark span { width: 16px; height: 16px; position: absolute; z-index: 1; top: 27px; left: 50%; border: 3px solid var(--surface); border-radius: 50% 50% 50% 0; background: var(--button-blue); transform: rotate(-45deg); }

.site-footer {
  padding: 32px var(--gutter) 20px; display: grid; grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center; gap: 16px 36px; color: #fff; background: var(--navy-deep);
}
.footer-brand { width: 60px; height: 60px; grid-row: span 2; }
.footer-brand img { width: 100%; height: 100%; object-fit: contain; }
.footer-summary p, .footer-contact a, .site-footer small { color: #e0e6eb; }
.footer-contact { display: grid; gap: 7px; }
.footer-contact a { text-decoration: none; }
.footer-settings { min-height: 40px; padding: 0; border: 0; color: #e0e6eb; background: transparent; text-align: left; text-decoration: underline; }
.site-footer nav { grid-column: 2 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.site-footer nav a { min-height: 40px; display: inline-flex; align-items: center; color: #e0e6eb; }
.site-footer small { grid-column: 2 / -1; font-size: .8125rem; }

.assistant-panel {
  width: min(440px, calc(100vw - 32px)); max-height: min(680px, calc(100dvh - 100px));
  padding: 22px; position: fixed; z-index: 60; right: 22px; bottom: 22px;
  display: flex; flex-direction: column; border: 1px solid var(--edge); border-radius: 12px;
  color: var(--ink); background: var(--surface); box-shadow: 0 12px 44px rgb(0 0 0 / 42%);
}
.assistant-panel[hidden] { display: none; }
.assistant-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.assistant-head .eyebrow { margin-bottom: 5px; }
.assistant-head h2 { max-width: 310px; font-size: 1.5rem; }
.assistant-close { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface); font-size: 1.4rem; }
.assistant-intro { margin-top: 10px; font-size: .95rem; }
.assistant-messages { min-height: 120px; max-height: 300px; margin: 15px 0; padding: 12px; overflow-y: auto; border: 1px solid var(--edge); border-radius: 6px; background: var(--surface-muted); }
.assistant-message { width: fit-content; max-width: 92%; margin: 0 0 10px; padding: 9px 11px; border-radius: 8px; color: var(--ink); background: var(--navy); }
.assistant-message:last-child { margin-bottom: 0; }
.assistant-message-user { margin-left: auto; color: var(--button-ink); background: var(--button-blue); }
.assistant-typing { color: var(--muted); font-style: italic; }
.assistant-status { min-height: 1.4em; margin-bottom: 8px; color: #ffb4a9; font-size: .95rem; }
.assistant-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.assistant-form textarea { min-height: 52px; resize: vertical; }
.assistant-form button, .assistant-summary {
  min-height: 46px; padding: 9px 15px; border: 1px solid var(--blue);
  border-radius: 6px; color: var(--button-ink); background: var(--button-blue); font-weight: 750;
}
.assistant-form button:disabled { opacity: .6; cursor: wait; }
.assistant-summary { width: 100%; margin-top: 9px; color: var(--ink); border-color: var(--line); background: transparent; }
.assistant-summary:hover { color: var(--button-ink); border-color: var(--button-blue); background: var(--button-blue); }
.assistant-launcher { display: none !important; }

.whatsapp-float {
  width: 58px; height: 58px; position: fixed; z-index: var(--z-whatsapp);
  right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom) + var(--consent-offset));
  display: grid; place-items: center; border: 2px solid var(--surface); border-radius: 50%;
  color: var(--button-ink); background: var(--button-blue); box-shadow: 0 5px 18px rgb(0 0 0 / 42%);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }
.whatsapp-float:hover { background: var(--button-blue-hover); }
whatsapp-float.is-obstructed { visibility: hidden; pointer-events: none; }

.consent-banner {
  width: min(920px, calc(100vw - 32px)); padding: 18px; position: fixed; z-index: var(--z-cookie);
  right: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(50%);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 20px;
  border: 1px solid var(--edge); border-radius: 10px; color: var(--ink); background: var(--surface);
  box-shadow: 0 8px 32px rgb(0 0 0 / 42%);
}
.consent-banner[hidden] { display: none; }
.consent-copy h2 { margin-bottom: 5px; font-size: 1.15rem; }
.consent-copy p { font-size: .95rem; }
.consent-copy a { color: var(--blue-dark); }
.consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.consent-button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: var(--surface); font-size: .9rem; font-weight: 700; }
.consent-button:hover { color: var(--button-ink); border-color: var(--button-blue); background: var(--button-blue); }
.consent-settings { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid var(--edge); }
.consent-settings h3 { margin-bottom: 10px; font-size: 1.05rem; }
.consent-option { min-height: 52px; display: flex; align-items: center; gap: 12px; }
.consent-option input { width: 20px; height: 20px; accent-color: var(--blue-dark); }
.consent-option small { display: block; color: var(--muted); }
.consent-settings .consent-actions { margin-top: 12px; }
.consent-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
html.has-consent-banner { --consent-offset: 0px; }

@media (max-width: 980px) {
  .site-header { gap: 14px; }
  .brand { width: 52px; height: 48px; }
  .main-nav { gap: 12px; }
  .main-nav a { font-size: .88rem; }
  .header-contact { padding: 0 13px; }
  .intro-band p[data-carousel-item] { flex-basis: calc((100% - 28px) / 2); }
  .home-project { flex-basis: calc((100% - 14px) / 2); }
  .hero { min-height: min(680px, calc(100svh - 120px)); }
  .hero-copy { padding-right: 28px; }
  .hero-photo { min-height: 400px; }
  .home-project { flex-basis: calc((100% - 14px) / 2); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
  .site-footer { grid-template-columns: auto 1fr; }
  .footer-contact { grid-column: 2; }
  .site-footer nav, .site-footer small { grid-column: 2; }
}

@media (max-width: 760px) {
  body { padding-top: 64px; padding-bottom: 0; }
  .site-header { width: calc(100% - 20px); min-height: 52px; top: 6px; padding: 3px 7px 3px 10px; gap: 8px; border-radius: 999px; }
  .brand { width: 44px; height: 40px; }
  .menu-toggle { width: 40px; height: 40px; margin-left: auto; display: grid; align-content: center; justify-items: center; gap: 5px; border: 1px solid rgb(169 204 235 / 30%); border-radius: 50%; color: var(--ink); background: rgb(40 84 122 / 52%); transition: background-color .16s ease, border-color .16s ease; }
  .menu-toggle:hover, .menu-toggle[aria-expanded="true"] { border-color: var(--blue); background: rgb(40 84 122 / 82%); }
  .menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: absolute; top: calc(100% + 10px); right: 0; left: 0; padding: 10px 16px 14px; display: flex; align-items: stretch; flex-direction: column; gap: 0; border: 1px solid rgb(169 204 235 / 24%); border-radius: 20px; background: rgb(18 35 55 / 90%); box-shadow: 0 10px 25px rgb(0 0 0 / 32%); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; }
  .menu-toggle { display: none; }
  .js .menu-toggle { display: grid; }
  .main-nav a { min-height: 46px; padding: 11px 4px; display: flex; align-items: center; border-bottom: 1px solid var(--edge); font-size: 1rem; }
  .main-nav .nav-home { display: flex; }
  .header-contact { min-height: 34px; padding: 0 11px; font-size: .82rem; }
  .hero { width: calc(100% - 32px); min-height: max(500px, min(700px, calc(100svh - 92px))); border-radius: 18px; }
  .hero-copy { padding: 34px 22px 42px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .hero-lede { margin-top: 16px; }
  .hero-actions { margin-top: 22px; }
  .intro-band { padding: 18px 22px; }
  .intro-band p[data-carousel-item] { min-height: 68px; padding: 8px 22px 8px 4px; }
  .section { padding: 52px 22px; }
  .section-heading { margin-bottom: 24px; display: block; }
  .section-heading > p { margin-top: 14px; }
  .service-list > a { padding: 13px 2px 16px; }
  .service-list h3 { font-size: 1.22rem; }
  .service-desc { font-size: .96rem; }
  .home-project-grid { gap: 9px; }
  .home-project { flex-basis: 82%; min-height: 58vw; }
  .project-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 9px; }
  .home-project, .project-tile { min-height: 150px; }
  .tile-caption { padding: 11px; }
  .tile-caption small { font-size: .78rem; }
  .tile-caption strong { font-size: .98rem; }
  .work-feature, .about-feature { grid-template-columns: 1fr; }
  .work-image { min-height: 0; height: 62vw; max-height: 360px; }
  .work-copy, .about-copy { padding: 36px 22px; }
  .process-list li { grid-template-columns: 40px 1fr; gap: 10px; }
  .cta-strip, .contact-band { align-items: stretch; flex-direction: column; padding: 28px 22px; }
  .cta-strip .button, .contact-band .button { width: 100%; }
  .faq-section .section-heading > .button { margin-top: 12px; }
  .page-intro { padding: 22px 22px 32px; }
  .page-intro > p:last-child { margin-left: 0; }
  .page-intro > p.about-intro-lede { margin-top: 20px; padding: 16px 18px; font-size: 1rem; }
  .breadcrumbs { padding: 0 22px; }
  .portfolio-section { padding-top: 28px; }
  .filter-bar { flex-wrap: nowrap; margin-right: -22px; padding-right: 22px; overflow-x: auto; }
  .filter-button { flex: 0 0 auto; }
  .service-detail { padding: 22px 0; grid-template-columns: 1fr; gap: 14px; }
  .service-detail img { max-height: 230px; }
  .materials-list { grid-template-columns: 1fr; }
  .about-photo { min-height: 0; height: 58vw; max-height: 360px; }
  .contact-layout { padding-top: 30px; grid-template-columns: 1fr; gap: 30px; }
  .quote-form { grid-template-columns: 1fr; gap: 12px; }
  .quote-form > * { grid-column: 1; }
  .quote-form .button { width: 100%; }
  .location-layout { grid-template-columns: 1fr; }
  .location-summary { align-items: flex-start; flex-direction: column; }
  .location-map, .location-map-frame, .map-placeholder { min-height: 230px; }
  .lightbox { padding: 60px 40px 20px; }
  .lightbox-image { max-height: 64dvh; }
  .lightbox figcaption { display: grid; gap: 5px; }
  .legal-page .legal-copy { padding: 28px 22px 54px; }
  .cookie-table { min-width: 680px; }
  .not-found { min-height: 52vh; padding: 64px 22px; }
  .not-found .text-link { margin-left: 12px; }
  .site-footer { padding: 26px 22px 18px; grid-template-columns: 56px 1fr; gap: 12px 16px; }
  .footer-brand { width: 48px; height: 48px; }
  .footer-contact, .site-footer nav, .site-footer small { grid-column: 1 / -1; }
  .site-footer nav { gap: 4px 14px; }
  .whatsapp-float { width: 54px; height: 54px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .consent-banner { grid-template-columns: 1fr; padding: 15px; bottom: calc(10px + env(safe-area-inset-bottom)); }
  .consent-actions { justify-content: stretch; }
  .consent-button { flex: 1 1 45%; }
}

@media (max-width: 480px) {
  .intro-band { padding-top: 8px; padding-bottom: 8px; }
  .intro-band p[data-carousel-item] { min-height: 56px; flex-basis: 84%; padding-top: 4px; padding-bottom: 4px; }
  .intro-band strong { font-size: .94rem; }
  .intro-band span { font-size: .72rem; line-height: 1.2; }
  .intro-carousel-controls { margin-top: 0; justify-content: flex-end; }
  .intro-carousel-controls p { display: none; }
  .intro-band .carousel-control { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .whatsapp-float, .assistant-launcher, .assistant-panel, .consent-banner { display: none !important; }
  body { padding-top: 0; color: #000; background: #fff; }
}
