:root {
  --green-950: #062b22;
  --green-900: #0b4435;
  --green-800: #145d49;
  --ivory: #f4f0e6;
  --ivory-deep: #e9e3d7;
  --paper: #fffdf8;
  --graphite: #1d2521;
  --steel: #65726b;
  --line: #ccd3ce;
  --solar: #d9a62e;
  --white: #fff;
  --shadow: 0 22px 55px rgba(6, 43, 34, .13);
  --container: 1180px;
}

/* Identidad cromática por tipo de proyecto. La estructura visual se conserva;
   cambian los tonos principales, superficies y acentos de cada portafolio. */
body.theme-industrial {
  --green-950: #102a36;
  --green-900: #193f4d;
  --green-800: #2f6572;
  --ivory: #edf1f2;
  --ivory-deep: #dde5e7;
  --paper: #fbfcfc;
  --graphite: #182329;
  --steel: #617079;
  --line: #c6d1d5;
  --solar: #c67a3c;
  --shadow: 0 22px 55px rgba(16, 42, 54, .15);
}

body.theme-building {
  --green-950: #2b2431;
  --green-900: #45384b;
  --green-800: #725d76;
  --ivory: #f1ece7;
  --ivory-deep: #e4d9cf;
  --paper: #fcfaf7;
  --graphite: #27242a;
  --steel: #716b73;
  --line: #d6ccc4;
  --solar: #b77a4e;
  --shadow: 0 22px 55px rgba(43, 36, 49, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; color: var(--graphite); background: var(--paper); font-family: "Source Sans 3", Arial, sans-serif; font-size: 18px; line-height: 1.6; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.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; top: 12px; left: 12px; z-index: 100; transform: translateY(-160%); padding: 10px 14px; background: var(--white); color: var(--green-900); border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 108px 0; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", Arial, sans-serif; font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
h1 { margin-bottom: 24px; font-size: clamp(2.7rem, 5.25vw, 5.15rem); }
h2 { margin-bottom: 22px; font-size: clamp(2rem, 3.55vw, 3.5rem); }
h3 { margin-bottom: 12px; font-size: 1.25rem; }
p { color: var(--steel); }
.eyebrow { margin-bottom: 18px; color: var(--green-800); font-size: .82rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-light { color: #b7dfcf; }
.section-heading { max-width: 760px; }
.section-heading.narrow { max-width: 730px; margin-bottom: 56px; }
.section-heading > p:last-child { max-width: 650px; }
.split-intro { display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: end; margin-bottom: 64px; }
.section-intro { margin-bottom: 10px; font-size: 1.12rem; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,248,.95); border-bottom: 1px solid rgba(204,211,206,.78); backdrop-filter: blur(14px); }
body.theme-industrial .site-header { background: rgba(251,252,252,.95); border-bottom-color: rgba(198,209,213,.82); }
body.theme-building .site-header { background: rgba(252,250,247,.95); border-bottom-color: rgba(214,204,196,.82); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; text-decoration: none; }
.brand-image img { width: 145px; height: 64px; object-fit: contain; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a:not(.button), .nav-dropdown-toggle { color: var(--graphite); font-size: .92rem; text-decoration: none; }
.nav > a:not(.button):hover, .nav-dropdown-toggle:hover { color: var(--green-800); }
.nav-group { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 12px 0; border: 0; background: transparent; cursor: pointer; }
.nav-dropdown-toggle span { font-size: .72rem; transition: transform .2s ease; }
.nav-dropdown-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.nav-dropdown { position: absolute; top: calc(100% - 2px); left: -20px; display: none; min-width: 250px; padding: 10px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown, .nav-dropdown.is-open { display: grid; }
.nav-dropdown a { padding: 10px 12px; color: var(--graphite); font-size: .9rem; text-decoration: none; }
.nav-dropdown a:hover, .nav-dropdown a[aria-current="page"] { color: var(--green-800); background: var(--ivory); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 6px auto; background: var(--graphite); transition: transform .2s ease; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 21px; border: 1px solid var(--green-900); border-radius: 4px; background: var(--green-900); color: var(--white); font-weight: 600; line-height: 1.2; text-decoration: none; transition: background .2s ease, transform .2s ease, color .2s ease; }
.button:hover { background: var(--green-800); transform: translateY(-1px); }
.button:focus-visible, .nav a:focus-visible, .nav button:focus-visible, .text-link:focus-visible, .carousel-dot:focus-visible { outline: 3px solid var(--solar); outline-offset: 4px; }
.button-small { min-height: 42px; padding: 9px 16px; font-size: .9rem; }
.button-ghost { background: transparent; color: var(--green-900); }
.button-ghost:hover { color: var(--white); }
.button-light { border-color: var(--white); background: var(--white); color: var(--green-950); }
.button-light:hover { background: var(--ivory); color: var(--green-950); }

.hero { position: relative; overflow: hidden; padding: 66px 0 78px; background: var(--ivory); }
.hero-grid { position: absolute; inset: 0; opacity: .27; background-image: linear-gradient(rgba(11,68,53,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(11,68,53,.13) 1px,transparent 1px); background-size: 84px 84px; mask-image: linear-gradient(to right, black, transparent 72%); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; gap: 52px; align-items: center; }
.hero-copy { padding: 26px 0; }
.hero-lead { max-width: 670px; margin-bottom: 32px; font-size: 1.24rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-detail { display: flex; gap: 16px 24px; flex-wrap: wrap; margin-top: 36px; color: var(--green-900); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero-detail span { display: inline-flex; align-items: center; gap: 10px; }
.hero-detail span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--solar); }
.hero-carousel { position: relative; min-width: 0; }
.carousel-stage { position: relative; min-height: 610px; overflow: hidden; background: var(--green-950); box-shadow: var(--shadow); }
.carousel-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s ease; }
.carousel-slide.is-active { opacity: 1; }
.carousel-slide img { width: 100%; height: 610px; object-fit: cover; }
.carousel-slide img.carousel-image-institutional { transform: scale(1.18); transform-origin: center 42%; }
.carousel-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(6,43,34,.03),rgba(6,43,34,.82)); }
.carousel-slide figcaption { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 28px; color: var(--white); }
.carousel-slide figcaption span { display: block; margin-bottom: 5px; color: #d0e6dd; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.carousel-slide figcaption strong { display: block; font-family: "Manrope", Arial, sans-serif; font-size: 1.18rem; font-weight: 500; }
.carousel-controls { position: absolute; z-index: 3; right: 20px; bottom: 20px; display: flex; gap: 7px; padding: 8px; background: rgba(6,43,34,.78); }
.carousel-dot { width: 10px; height: 10px; padding: 0; border: 1px solid var(--white); border-radius: 50%; background: transparent; cursor: pointer; }
.carousel-dot.is-active { background: var(--white); }

.metrics { background: var(--green-950); color: var(--white); }
.metrics-grid, .summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metrics-grid > div, .summary-grid > div { padding: 34px 28px; border-right: 1px solid rgba(255,255,255,.14); }
.metrics-grid > div:last-child, .summary-grid > div:last-child { border-right: 0; }
.metrics strong, .summary-grid strong { display: block; margin-bottom: 7px; font-family: "Manrope", Arial, sans-serif; font-size: clamp(1.65rem,3vw,2.55rem); font-weight: 500; }
.metrics span { color: #bed2c9; font-size: .9rem; }

.problem-section, .projects-section, .reasons-section { background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; }
.feature { padding-top: 22px; border-top: 2px solid var(--line); }
.feature-number { display: block; margin-bottom: 36px; color: var(--green-800); font-family: "Manrope", Arial, sans-serif; font-size: .85rem; font-weight: 600; }
.services-section, .deliverables-section, .about-section, .category-alt { background: var(--ivory); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 31px 30px 31px 0; border-bottom: 1px solid var(--line); }
.service:nth-child(odd) { padding-right: 50px; border-right: 1px solid var(--line); }
.service:nth-child(even) { padding-left: 50px; }
.service > span { color: var(--green-800); font-family: "Manrope",Arial,sans-serif; font-size: .84rem; font-weight: 600; }
.service p { margin-bottom: 0; }

.process-section { background: var(--green-950); color: var(--white); }
.process-section .section-heading { margin-bottom: 58px; }
.process-list { display: grid; grid-template-columns: repeat(5,1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.25); }
.process-list li { position: relative; padding: 28px 26px 0 0; }
.process-list li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--solar); }
.process-list span { color: #b7dfcf; font-size: .78rem; font-weight: 600; }
.process-list h3 { margin-top: 26px; color: var(--white); }
.process-list p { color: #b7c9c1; font-size: .96rem; }

.sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.sector-card { position: relative; min-height: 360px; overflow: hidden; background: var(--green-950); color: var(--white); text-decoration: none; }
.sector-card-wide { grid-column: 1 / -1; min-height: 480px; }
.sector-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(6,43,34,.05),rgba(6,43,34,.87)); }
.sector-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .45s ease; }
.sector-card:hover img { transform: scale(1.025); }
.sector-card > span { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 28px; }
.sector-card small { display: block; margin-bottom: 6px; color: #c9e1d7; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.sector-card strong { display: block; max-width: 680px; font-family: "Manrope",Arial,sans-serif; font-size: clamp(1.25rem,2.5vw,2rem); font-weight: 500; }
.sector-card em { display: block; margin-top: 16px; color: #fff4ce; font-size: .9rem; font-style: normal; font-weight: 600; }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.project-card { display: grid; background: var(--ivory); border: 1px solid var(--line); overflow: hidden; }
.project-card-large { grid-column: 1 / -1; grid-template-columns: 1.25fr .75fr; }
.project-card img { width: 100%; height: 280px; object-fit: cover; background: var(--ivory-deep); }
.project-card-large img { height: 100%; min-height: 430px; }
.project-card img.technical-render { object-fit: contain; padding: 18px; background: var(--ivory-deep); }
.project-copy { padding: 34px; }
.project-type { margin-bottom: 13px; color: var(--green-800); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.project-card h3 { font-size: 1.55rem; }
.project-card ul { padding-left: 18px; color: var(--steel); }

.deliverables-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.deliverables-media { margin: 0; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.deliverables-collage { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr 1fr; gap: 8px; min-height: 430px; padding: 12px; background: var(--white); }
.deliverable-shot { position: relative; min-width: 0; overflow: hidden; background: var(--ivory-deep); }
.deliverable-shot-bim { grid-row: 1 / -1; }
.deliverable-shot img { width: 100%; height: 100%; object-fit: cover; }
.deliverable-shot-analysis img { object-fit: contain; padding: 10px; background: var(--white); }
.deliverable-shot span { position: absolute; left: 10px; bottom: 10px; padding: 6px 9px; background: rgba(18, 27, 24, .84); color: var(--white); font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.deliverables-media figcaption { padding: 18px 24px; border-top: 1px solid var(--line); color: var(--steel); font-size: .86rem; }
.deliverables-copy > p:not(.eyebrow) { font-size: 1.08rem; }
.check-list { display: grid; gap: 12px; margin: 30px 0; padding: 0; color: var(--graphite); list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-800); font-weight: 600; }
.text-link { color: var(--green-800); font-weight: 600; text-underline-offset: 5px; }
.reasons-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.reason { padding: 30px 0; border-top: 3px solid var(--green-900); }
.about-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 82px; align-items: center; }
.portrait { margin: 0; }
.portrait-frame { aspect-ratio: 1; overflow: hidden; background: var(--ivory-deep); border-radius: 50%; border: 1px solid var(--line); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait figcaption { margin-top: 18px; text-align: center; color: var(--steel); font-size: .86rem; }
.about-lead { color: var(--graphite); font-size: 1.25rem; }

.contact-section { background: var(--green-950); color: var(--white); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 82px; align-items: start; }
.contact-copy > p:not(.eyebrow) { color: #bdd0c7; font-size: 1.12rem; }
.contact-copy .response-time { margin-top: 24px; padding-left: 15px; border-left: 2px solid var(--gold); color: var(--white); font-size: 1rem; }
.contact-details { display: grid; gap: 20px; margin-top: 48px; }
.contact-details div { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-details dt { color: #9cb9ac; font-size: .77rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-details dd { margin: 4px 0 0; }
.contact-details a { text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }
.contact-form { display: grid; gap: 20px; padding: 42px; background: var(--paper); color: var(--graphite); box-shadow: 0 25px 60px rgba(0,0,0,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label:not(.consent) { display: grid; gap: 7px; color: var(--graphite); font-size: .9rem; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #aeb8b2; border-radius: 3px; background: var(--white); color: var(--graphite); }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(217,166,46,.42); border-color: var(--green-800); }
.contact-form [aria-invalid="true"] { border-color: #a43625; }
.consent { display: flex; gap: 11px; align-items: flex-start; color: var(--steel); font-size: .84rem; line-height: 1.4; }
.consent input { width: 20px; min-height: 20px; margin-top: 1px; }
.privacy-summary { padding: 16px 18px; border-left: 3px solid var(--green-800); background: var(--ivory-deep); color: var(--steel); font-size: .84rem; line-height: 1.5; }
.privacy-summary strong { display: block; margin-bottom: 4px; color: var(--graphite); }
.privacy-summary p { margin: 0; }
.privacy-summary a { color: var(--green-800); font-weight: 600; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-submit { width: 100%; cursor: pointer; }
.form-submit:disabled { cursor: wait; opacity: .68; transform: none; }
.form-note { margin: -4px 0 0; font-size: .8rem; line-height: 1.4; }
.form-status { min-height: 24px; margin: -6px 0 0; color: var(--green-800); font-weight: 600; }
.form-status.success { padding: 12px 14px; border-left: 3px solid var(--green-800); background: #e8f2ed; }
.form-status.error { color: #a43625; }

.page-hero { position: relative; padding: 84px 0 92px; overflow: hidden; background: var(--green-950); color: var(--white); }
.page-hero::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 48%; opacity: .23; background-position: center; background-size: cover; mask-image: linear-gradient(to right,transparent,black); }
.page-hero-industrial::after { background-image: url("assets/industrial/nl-03.png"); }
.page-hero-solar::after { background-image: url("assets/fotovoltaico/cubiertas-con-modulos.jpeg"); }
.page-hero-building::after { background-image: url("assets/edificacion/torres.jpg"); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.7rem,5vw,4.8rem); }
.page-hero p:last-child { max-width: 760px; margin-bottom: 0; color: #c2d5cd; font-size: 1.2rem; }
body.theme-industrial .page-hero p:last-child { color: #c7d8df; }
body.theme-building .page-hero p:last-child { color: #ddd1df; }
body.theme-industrial .eyebrow-light { color: #bad9df; }
body.theme-building .eyebrow-light { color: #e2cbd7; }
.breadcrumbs { display: flex; gap: 9px; margin-bottom: 52px; color: #a8c4b8; font-size: .85rem; }
body.theme-industrial .breadcrumbs { color: #a9c3cc; }
body.theme-building .breadcrumbs { color: #c9b9cb; }
.breadcrumbs a { text-underline-offset: 4px; }
.portfolio-summary { background: var(--ivory); border-bottom: 1px solid var(--line); }
.summary-grid > div { border-color: var(--line); }
.summary-grid strong { color: var(--green-900); }
.summary-grid span { color: var(--steel); font-size: .9rem; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.case-grid-featured { grid-template-columns: repeat(3,1fr); }
.case-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.case-card > img { width: 100%; height: 300px; object-fit: cover; background: var(--ivory); }
.industrial-cases .case-card > img { object-fit: contain; padding: 12px; background: var(--white); }
.industrial-cases .case-card > img[src$="la-comer-aviacion.png"] { object-fit: cover; object-position: center 65%; padding: 0; }
.case-card > div { padding: 30px; }
.case-card h3 { font-size: 1.45rem; }
.case-card p:last-child { margin-bottom: 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 26px 0; border-top: 1px solid var(--line); }
.facts div { padding: 13px 10px 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--steel); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.facts dd { margin: 2px 0 0; color: var(--graphite); font-weight: 600; }
.section-nav { position: sticky; top: 82px; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.section-nav .container { display: flex; justify-content: center; gap: 42px; }
.section-nav a { padding: 17px 0; color: var(--green-900); font-size: .9rem; font-weight: 600; text-decoration: none; }
.section-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.solar-focus-section { background: var(--green-900); color: var(--white); }
.solar-focus-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.solar-focus-layout h2 { margin-bottom: 0; }
.solar-focus-copy > p { color: #c5d8d0; font-size: 1.08rem; }
.solar-points { display: grid; gap: 13px; margin: 30px 0 0; padding: 0; list-style: none; }
.solar-points li { position: relative; padding: 14px 0 14px 29px; border-top: 1px solid rgba(255,255,255,.18); }
.solar-points li::before { content: ""; position: absolute; left: 0; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: var(--solar); }
.field-section { background: var(--ivory); }
.field-gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.field-card { position: relative; min-height: 340px; margin: 0; overflow: hidden; background: var(--green-950); }
.field-card-wide { grid-column: 1 / -1; min-height: 470px; }
.field-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(6,43,34,.02),rgba(6,43,34,.82)); pointer-events: none; }
.field-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.field-card figcaption { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 24px; color: var(--white); }
.field-card figcaption strong { display: block; margin-bottom: 4px; font-family: "Manrope",Arial,sans-serif; font-size: 1.18rem; font-weight: 500; }
.field-card figcaption span { display: block; color: #c8dbd3; font-size: .92rem; }
.site-survey-section { background: var(--paper); }
.site-survey-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 52px; align-items: stretch; }
.site-survey-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.site-survey-photo { position: relative; min-height: 590px; margin: 0; overflow: hidden; background: var(--green-950); }
.site-survey-photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg,transparent,rgba(6,43,34,.88)); pointer-events: none; }
.site-survey-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-survey-photo figcaption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; color: var(--white); }
.site-survey-photo figcaption strong { display: block; margin-bottom: 4px; font-family: "Manrope",Arial,sans-serif; font-size: 1.08rem; font-weight: 500; }
.site-survey-photo figcaption span { display: block; color: #d3e3dc; font-size: .88rem; }
.site-survey-copy { padding: 42px 38px; background: var(--ivory); border-top: 4px solid var(--solar); }
.site-survey-copy h3 { margin-bottom: 20px; font-size: clamp(1.65rem,2.8vw,2.35rem); }
.survey-deliverables-title { margin: 30px 0 14px; color: var(--graphite); font-weight: 600; }
.survey-deliverables { margin-bottom: 0; }
.cta-band { background: var(--green-900); color: var(--white); }
.cta-layout { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.cta-layout h2 { max-width: 780px; margin-bottom: 0; }

.site-footer { padding: 68px 0 26px; background: #041e18; color: var(--white); }
body.theme-industrial .site-footer { background: #0c2029; }
body.theme-building .site-footer { background: #211b26; }
body.theme-industrial .footer-grid p,
body.theme-industrial .footer-grid a,
body.theme-industrial .footer-grid span,
body.theme-industrial .footer-bottom { color: #a8bec7; }
body.theme-building .footer-grid p,
body.theme-building .footer-grid a,
body.theme-building .footer-grid span,
body.theme-building .footer-bottom { color: #c5b8c7; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 50px; }
.brand-footer img { filter: invert(1); mix-blend-mode: screen; opacity: .9; }
.footer-grid p { max-width: 340px; margin-top: 22px; color: #9eb4aa; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid strong { margin-bottom: 7px; font-family: "Manrope",Arial,sans-serif; font-weight: 500; }
.footer-grid a { color: #b7c9c1; text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-grid span { color: #b7c9c1; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #89a096; font-size: .8rem; }
.footer-bottom a { color: #b7c9c1; text-underline-offset: 4px; }
.footer-bottom a:hover { color: var(--white); }
.footer-preferences { padding: 0; border: 0; background: transparent; color: #b7c9c1; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.footer-preferences:hover { color: var(--white); }
.footer-preferences:focus-visible { outline: 3px solid var(--solar); outline-offset: 4px; }

.consent-banner { position: fixed; z-index: 100; right: 24px; bottom: 24px; left: 24px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: center; width: min(calc(100% - 48px), 980px); margin-inline: auto; padding: 24px 26px; border: 1px solid rgba(255,255,255,.18); background: var(--green-950); color: var(--white); box-shadow: 0 24px 70px rgba(0,0,0,.34); }
.consent-banner[hidden] { display: none; }
.consent-banner-copy strong { display: block; margin-bottom: 5px; font-family: "Manrope",Arial,sans-serif; font-size: 1.05rem; font-weight: 600; }
.consent-banner-copy p { max-width: 680px; margin-bottom: 6px; color: #c5d8d0; font-size: .9rem; line-height: 1.45; }
.consent-banner-copy a { color: var(--white); font-size: .84rem; text-underline-offset: 4px; }
.consent-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.consent-banner .button { min-height: 44px; padding: 10px 15px; border-color: var(--white); font-size: .86rem; }
.consent-banner .button:not(.button-ghost) { background: var(--white); color: var(--green-950); }
.consent-banner .button:not(.button-ghost):hover { background: var(--ivory); }
.consent-banner .button-ghost { color: var(--white); }

.legal-hero::after { opacity: .12; background-image: linear-gradient(rgba(255,255,255,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.2) 1px,transparent 1px); background-size: 64px 64px; }
.legal-section { background: var(--ivory); }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); justify-content: center; gap: 74px; align-items: start; }
.legal-index { position: sticky; top: 118px; display: grid; gap: 7px; padding: 24px; border-top: 3px solid var(--green-800); background: var(--paper); box-shadow: var(--shadow); }
.legal-index strong { margin-bottom: 7px; font-family: "Manrope",Arial,sans-serif; font-weight: 600; }
.legal-index a { color: var(--steel); font-size: .88rem; text-decoration: none; }
.legal-index a:hover { color: var(--green-800); text-decoration: underline; text-underline-offset: 4px; }
.legal-content { padding: 50px 56px; background: var(--paper); border: 1px solid var(--line); }
.legal-content section { scroll-margin-top: 110px; padding-top: 8px; }
.legal-content section + section { margin-top: 46px; padding-top: 42px; border-top: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 20px; font-size: clamp(1.55rem,2.7vw,2.15rem); }
.legal-content p, .legal-content li { color: var(--steel); }
.legal-content ul { margin: 0 0 22px; padding-left: 22px; }
.legal-content li + li { margin-top: 7px; }
.legal-content a { color: var(--green-800); font-weight: 600; text-underline-offset: 4px; }
.legal-content address { margin: 20px 0; padding: 16px 18px; border-left: 3px solid var(--green-800); background: var(--ivory); color: var(--graphite); font-style: normal; }
.legal-updated { margin-bottom: 42px; color: var(--green-800); font-size: .86rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .nav { gap: 20px; }
  .hero-layout, .deliverables-layout, .about-layout, .contact-layout, .solar-focus-layout { grid-template-columns: 1fr; }
  .hero-carousel, .carousel-stage, .carousel-slide img { min-height: 500px; height: 500px; }
  .deliverables-layout, .about-layout, .contact-layout, .solar-focus-layout { gap: 52px; }
  .about-layout { grid-template-columns: minmax(240px,420px) 1fr; }
  .process-list { grid-template-columns: repeat(3,1fr); row-gap: 34px; }
  .project-card-large { grid-template-columns: 1fr; }
  .project-card-large img { min-height: 330px; }
  .case-grid-featured { grid-template-columns: 1fr 1fr; }
  .site-survey-layout { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  body { font-size: 17px; }
  .container { width: min(calc(100% - 34px),var(--container)); }
  .section { padding: 72px 0; }
  .header-inner { min-height: 72px; }
  .brand-image img { width: 122px; height: 55px; }
  .menu-toggle { display: block; }
  .nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; align-items: stretch; padding: 20px 17px 26px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; flex-direction: column; gap: 14px; }
  .nav .button { width: 100%; }
  .nav-group { width: 100%; }
  .nav-dropdown-toggle { width: 100%; min-height: 44px; justify-content: space-between; padding: 0; }
  .nav-dropdown, .nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown { position: static; display: none; margin-top: 10px; padding: 6px; border: 0; border-left: 2px solid var(--line); box-shadow: none; }
  .nav-dropdown.is-open,
  .nav-group:focus-within .nav-dropdown.is-open,
  .nav-group:hover .nav-dropdown.is-open { display: grid; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .hero { padding: 42px 0 54px; }
  .hero-layout { gap: 34px; }
  .hero-copy { padding: 8px 0; }
  .hero-lead { font-size: 1.1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-carousel, .carousel-stage, .carousel-slide img { min-height: 390px; height: 390px; }
  .carousel-slide figcaption { left: 22px; right: 22px; bottom: 54px; }
  .carousel-controls { right: 14px; bottom: 14px; }
  .site-survey-gallery { grid-template-columns: 1fr; }
  .site-survey-photo { min-height: 520px; }
  .site-survey-copy { padding: 32px 26px; }
  .metrics-grid, .summary-grid { grid-template-columns: 1fr 1fr; }
  .metrics-grid > div, .summary-grid > div { padding: 25px 16px; }
  .metrics-grid > div:nth-child(2), .summary-grid > div:nth-child(2) { border-right: 0; }
  .metrics-grid > div:nth-child(-n+2), .summary-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .summary-grid > div:nth-child(-n+2) { border-bottom-color: var(--line); }
  .split-intro { grid-template-columns: 1fr; gap: 14px; margin-bottom: 42px; }
  .feature-grid, .services-grid, .sector-grid, .project-grid, .reasons-grid, .case-grid, .case-grid-featured, .field-gallery { grid-template-columns: 1fr; }
  .feature-grid { gap: 28px; }
  .feature-number { margin-bottom: 22px; }
  .services-grid { border-top: 0; }
  .service, .service:nth-child(odd), .service:nth-child(even) { padding: 25px 0; border-right: 0; border-top: 1px solid var(--line); }
  .process-list { grid-template-columns: 1fr; border-top: 0; gap: 0; }
  .process-list li { padding: 0 0 32px 52px; border-left: 1px solid rgba(255,255,255,.25); }
  .process-list li::before { top: 4px; left: -5px; }
  .process-list li:last-child { border-left-color: transparent; }
  .process-list h3 { margin-top: 6px; }
  .sector-card, .sector-card-wide { grid-column: auto; min-height: 350px; }
  .project-card-large { grid-column: auto; }
  .project-card img, .project-card-large img { height: 260px; min-height: 0; }
  .project-copy { padding: 25px; }
  .deliverables-collage { min-height: 320px; padding: 10px; }
  .about-layout { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; margin-inline: auto; }
  .contact-form { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 0 66px; }
  .page-hero::after { width: 100%; opacity: .12; }
  .breadcrumbs { margin-bottom: 38px; }
  .section-nav { top: 72px; overflow-x: auto; }
  .section-nav .container { width: max-content; min-width: 100%; justify-content: flex-start; gap: 28px; padding-inline: 17px; }
  .case-card > img { height: 250px; }
  .field-card, .field-card-wide { grid-column: auto; min-height: 320px; }
  .cta-layout { display: grid; }
  .cta-layout .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .consent-banner { right: 14px; bottom: 14px; left: 14px; grid-template-columns: 1fr; gap: 18px; width: calc(100% - 28px); padding: 20px; }
  .consent-banner-actions { display: grid; grid-template-columns: 1fr; }
  .consent-banner .button { width: 100%; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-index { position: static; }
  .legal-content { padding: 32px 24px; }
}

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