:root {
  --navy: #162a41;
  --steel: #588194;
  --ice: #d6e4e7;
  --lime: #b9c965;
  --paper: #f7f9f8;
  --white: #ffffff;
  --ink-soft: #496171;
  --line: rgba(22, 42, 65, .14);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 118px; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Manrope, Inter, Aptos, "Segoe UI", Arial, sans-serif; }
.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; left: 1rem; top: -5rem; z-index: 1000; background: white; padding: .75rem 1rem; border-radius: 4px; }
.skip-link:focus { top: 1rem; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Persistent brand frame */
.site-header {
  width: min(calc(100% - 48px), var(--max));
  height: 128px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 248, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 34px rgba(22, 42, 65, .04);
  transition: height .28s ease, box-shadow .28s ease;
}
.header-branding { display: flex; align-items: center; gap: 28px; min-width: 0; }
.brand { width: 387px; height: 82px; display: flex; align-items: center; transition: width .28s ease, height .28s ease; }
.brand img { width: 100%; }
.header-tagline { margin: 0; padding-left: 25px; border-left: 1px solid var(--line); color: var(--steel); font-family: Manrope, Inter, sans-serif; font-size: .68rem; font-weight: 800; line-height: 1.45; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: font-size .28s ease, opacity .28s ease, padding .28s ease; }
.site-header.is-compact { height: 72px; box-shadow: 0 12px 34px rgba(22, 42, 65, .09); }
.site-header.is-compact .brand { width: 215px; height: 52px; }
.site-header.is-compact .header-tagline { padding-left: 18px; font-size: .56rem; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .84rem; font-weight: 600; }
.site-nav a { text-decoration: none; padding: 10px 0; }
.site-nav a:not(.nav-cta):hover { color: var(--steel); }
.language-switcher { display: inline-flex; align-items: center; gap: 6px; color: var(--steel); font-size: .72rem; font-weight: 750; letter-spacing: .08em; }
.language-switcher a { min-width: 26px; text-align: center; }
.language-switcher a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.nav-cta { background: var(--lime); padding: 11px 22px !important; border-radius: 100px; transition: transform .2s ease, background .2s ease; }
.nav-cta:hover { transform: translateY(-2px); background: #c6d46f; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--navy); }

.hero {
  width: min(calc(100% - 48px), var(--max));
  min-height: calc(100vh - 128px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  grid-template-rows: 1fr auto;
  column-gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  padding: clamp(42px, 6vw, 76px) 0 32px;
}
.hero-copy { padding-bottom: 40px; }
.eyebrow, .section-number { text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 800; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 30px; padding: 10px 14px; background: #edf4f5; border: 1px solid rgba(88, 129, 148, .18); font-size: clamp(.86rem, 1vw, 1rem); letter-spacing: .09em; }
.eyebrow span { width: 11px; height: 11px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 7px rgba(185, 201, 101, .18); flex: 0 0 auto; }
.hero h1 { font-size: clamp(2.85rem, 4.35vw, 4.8rem); line-height: .98; letter-spacing: -.05em; margin-bottom: 28px; font-weight: 600; }
.hero h1 em { color: var(--steel); font-style: normal; }
.hero-lede { max-width: 560px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.45vw, 1.35rem); line-height: 1.45; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 0 24px; border-radius: 2px; text-decoration: none; font-size: .9rem; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--navy); }
.button-primary:hover { background: #203d5d; }
.button-light { color: var(--navy); background: var(--lime); margin-top: 20px; }
.text-link { font-weight: 700; text-decoration: none; font-size: .9rem; }
.text-link span { margin-left: 8px; color: var(--steel); }
.hero-visual { border: 1px solid var(--line); background: white; box-shadow: 0 24px 70px rgba(22, 42, 65, .12); overflow: hidden; }
.visual-topline, .visual-legend { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.visual-topline { border-bottom: 1px solid var(--line); }
.visual-legend { justify-content: flex-start; gap: 22px; border-top: 1px solid var(--line); text-transform: none; letter-spacing: 0; color: var(--ink-soft); }
.status { display: flex; align-items: center; gap: 7px; color: var(--steel); }
.status i { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 4px rgba(185, 201, 101, .2); }
.tech-mosaic { display: grid; grid-template-columns: 1fr 1fr; }
.tech-tile { min-height: 238px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; overflow: hidden; border-right: 1px solid rgba(22,42,65,.12); border-bottom: 1px solid rgba(22,42,65,.12); }
.tech-tile:nth-child(2n) { border-right: 0; }
.tech-tile:nth-child(n+3) { border-bottom: 0; }
.tech-tile::after { content: ""; position: absolute; border-radius: 50%; width: 155px; height: 155px; right: -48px; top: -54px; background: rgba(255,255,255,.28); }
.tech-tile svg { position: absolute; width: 116px; height: 116px; right: 17px; top: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.tech-tile h2 { position: relative; z-index: 1; margin: 0 0 1px; font-size: clamp(1.25rem, 2vw, 1.85rem); letter-spacing: -.03em; }
.tech-tile p { position: relative; z-index: 1; margin: 0; font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; opacity: .68; }
.tech-index { position: absolute; left: 25px; top: 21px; font-size: .64rem; font-weight: 800; letter-spacing: .12em; opacity: .65; }
.tech-solar { background: #e8f1f3; color: var(--navy); }
.tech-wind { background: var(--navy); color: white; }
.tech-bess { background: #dfe9b7; color: var(--navy); }
.tech-grid { background: var(--steel); color: white; }
.brand-caption { min-height: 54px; justify-content: space-between; gap: 18px; color: var(--navy); }
.brand-caption strong { font-family: Manrope, Inter, sans-serif; font-size: .68rem; }
.hero-index { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-index a { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 15px; padding: 24px 6%; text-decoration: none; }
.hero-index a:not(:last-child) { border-right: 1px solid var(--line); }
.hero-index span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; background: var(--steel); color: white; border-radius: 50%; font-size: .66rem; }
.hero-index a:nth-child(2) span { background: var(--ice); color: var(--navy); }.hero-index a:nth-child(3) span { background: var(--lime); color: var(--navy); }
.hero-index strong { font-size: .86rem; }.hero-index small { color: var(--ink-soft); }

.section { padding: clamp(84px, 11vw, 150px) max(24px, calc((100vw - var(--max)) / 2)); }
.section-number { color: var(--steel); margin-bottom: 32px; }
.section-number.light { color: var(--ice); }
.section-heading { max-width: 830px; margin-bottom: 64px; }
.section-heading h2, .approach h2, .projects h2, .contact h2 { font-size: clamp(2.25rem, 4vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; margin-bottom: 28px; }
.section-heading > p:last-child { max-width: 650px; color: var(--ink-soft); font-size: 1.08rem; }
.services { background: white; }
.technology-ribbon { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 34px; border: 1px solid var(--line); }
.technology-item { min-height: 128px; display: flex; align-items: center; gap: 18px; padding: 24px; border-right: 1px solid rgba(22,42,65,.14); }
.technology-item:last-child { border-right: 0; }
.technology-item svg { width: 54px; height: 54px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.technology-item span { font-size: .76rem; font-weight: 800; letter-spacing: .07em; line-height: 1.35; text-transform: uppercase; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 360px; padding: clamp(28px, 3.3vw, 48px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:nth-child(1) { background: #e8f1f3; color: var(--navy); }
.service-card:nth-child(2) { background: var(--navy); color: white; }
.service-card:nth-child(3) { background: #dfe9b7; color: var(--navy); }
.service-card:nth-child(2) .card-mark { color: var(--ice); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(22, 42, 65, .16); z-index: 2; }
.card-mark { width: 68px; height: 34px; margin-bottom: 42px; color: var(--navy); background: currentColor; -webkit-mask: url("assets/andrada-symbol.svg") center / contain no-repeat; mask: url("assets/andrada-symbol.svg") center / contain no-repeat; transition: color .25s ease; }
.service-card h3 { font-size: clamp(1.5rem, 2.2vw, 2.25rem); margin-bottom: 18px; }
.service-card p { max-width: 470px; color: var(--ink-soft); }
.service-card:nth-child(2) p { color: var(--ice); }
.service-card ul { list-style: none; padding: 22px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service-card li { font-size: .76rem; padding: 6px 10px; border: 1px solid currentColor; border-radius: 100px; opacity: .8; }
.service-card.facultative ul { flex-direction: column; align-items: flex-start; }

.approach { background: var(--navy); color: white; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 140px); align-items: center; }
.approach-copy p:not(.section-number) { color: var(--ice); max-width: 530px; font-size: 1.08rem; }
.process { border-top: 1px solid rgba(255,255,255,.2); }
.process article { display: grid; grid-template-columns: 78px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.process-dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--steel); font-size: .72rem; font-weight: 800; }
.process-dot.green { background: var(--lime); color: var(--navy); }
.process h3 { font-size: 1.45rem; margin-bottom: 5px; }.process p { color: var(--ice); margin: 0; }

.sectors { background: var(--paper); }
.section-heading.split { max-width: none; display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; }
.section-heading.split > p { padding-bottom: 12px; }
.sector-list { border-top: 1px solid var(--line); }
.sector-list article { display: grid; grid-template-columns: 90px 1fr 1fr 36px; gap: 30px; align-items: center; min-height: 138px; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }
.sector-list article:hover { background: white; padding: 0 22px; }
.sector-icon { width: 70px; height: 88px; display: grid; place-items: center; align-content: center; gap: 3px; }
.sector-icon svg { width: 43px; height: 43px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sector-icon small { font-size: .57rem; font-weight: 800; letter-spacing: .14em; }
.sector-list h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 2rem); }.sector-list p { margin: 0; color: var(--ink-soft); }
.sector-list i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); font-style: normal; }

.projects { background: var(--steel); color: white; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(70px, 10vw, 140px); }
.projects-intro > p:not(.section-number) { color: #e5eef0; max-width: 560px; }
.project-scenarios article { padding: 34px 0 38px; border-top: 1px solid rgba(255,255,255,.34); }
.project-scenarios article:last-child { border-bottom: 1px solid rgba(255,255,255,.34); }
.project-scenarios span { font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--lime); }
.project-scenarios h3 { margin: 14px 0 12px; font-size: clamp(1.35rem, 2vw, 2rem); }.project-scenarios p { color: #e4edef; margin: 0; }

.contact { min-height: 650px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .65fr; gap: clamp(50px, 9vw, 130px); align-items: center; padding: clamp(100px, 13vw, 180px) max(24px, calc((100vw - var(--max)) / 2)); background: linear-gradient(180deg, #f2f7f7 0%, #ffffff 100%); border-top: 1px solid var(--line); }
.contact h2 { max-width: 760px; }.contact-copy > p:not(.section-number):not(.contact-note) { color: var(--ink-soft); max-width: 660px; font-size: 1.1rem; }
.contact-note { display: inline-block; background: var(--ice); padding: 8px 12px; font-size: .74rem; font-weight: 700; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 34px; position: relative; z-index: 2; }
.contact-prompt { border-left: 1px solid var(--line); padding-left: 44px; position: relative; z-index: 2; }
.contact-prompt > span { text-transform: uppercase; font-size: .7rem; font-weight: 800; letter-spacing: .12em; color: var(--steel); }
.contact-prompt ul { list-style: none; padding: 20px 0 28px; margin: 0; }
.contact-prompt li { border-top: 1px solid var(--line); padding: 12px 0; }.contact-prompt li:last-child { border-bottom: 1px solid var(--line); }
.contact-detail { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.contact-detail + .contact-detail { margin-top: 18px; }
.contact-detail span { color: var(--steel); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-detail a { width: fit-content; color: var(--navy); font-weight: 700; text-underline-offset: 4px; }
.button-call { color: var(--navy); background: var(--lime); }
.button-call:hover { background: #c6d46f; }
.button-call [data-phone-label] { font-weight: 650; }
.contact-symbol { position: absolute; right: -90px; bottom: -145px; display: flex; align-items: center; gap: 22px; opacity: .23; }
.contact-symbol span { display: block; border-radius: 50%; background: var(--steel); width: 380px; height: 380px; }.contact-symbol span:nth-child(2) { width: 235px; height: 235px; background: var(--ice); }.contact-symbol span:nth-child(3) { width: 106px; height: 106px; background: var(--lime); }

footer { min-height: 128px; padding: 28px max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; gap: 34px; background: var(--navy); color: white; font-size: .74rem; }
footer img { width: 180px; } footer p:nth-of-type(1) { color: var(--ice); } footer p:last-child { margin-left: auto; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } [data-reveal] { opacity: 1; transform: none; transition: none; } }

@media (max-width: 920px) {
  html { scroll-padding-top: 88px; }
  .site-header { height: 96px; width: min(calc(100% - 32px), var(--max)); }
  .brand { width: 255px; height: 62px; }
  .header-branding { gap: 16px; }
  .header-tagline { padding-left: 16px; font-size: .57rem; }
  .site-header.is-compact { height: 68px; }
  .site-header.is-compact .brand { width: 185px; height: 46px; }
  .site-header.is-compact .header-tagline { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 30; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 22px; background: white; border: 1px solid var(--line); box-shadow: 0 18px 38px rgba(22,42,65,.12); flex-direction: column; align-items: stretch; gap: 5px; }
  .site-nav.is-open { display: flex; }.site-nav a { min-height: 44px; padding: 10px; }.nav-cta { text-align: center; margin-top: 8px; }
  .language-switcher { min-height: 44px; justify-content: center; align-self: stretch; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .language-switcher a { display: grid; place-items: center; min-width: 48px; min-height: 44px; }
  .hero { width: min(calc(100% - 32px), var(--max)); grid-template-columns: 1fr; padding-top: 70px; }
  .hero-visual { margin-bottom: 54px; }.hero-index { grid-column: auto; }
  .technology-ribbon { grid-template-columns: repeat(2, 1fr); }
  .technology-item:nth-child(2) { border-right: 0; }.technology-item:nth-child(-n+2) { border-bottom: 1px solid rgba(22,42,65,.14); }
  .service-grid { grid-template-columns: 1fr; }
  .approach, .projects { grid-template-columns: 1fr; }
  .section-heading.split { grid-template-columns: 1fr; gap: 0; }
  .sector-list article { grid-template-columns: 60px 1fr 36px; padding: 24px 0; }.sector-list p { grid-column: 2 / 4; }.sector-list i { grid-column: 3; grid-row: 1; }
  .contact { grid-template-columns: 1fr; }.contact-prompt { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 72px; }
  .site-header { width: calc(100% - 24px); height: 78px; }
  .brand { width: min(205px, 63vw); height: 50px; }
  .header-tagline { display: none; }
  .site-header.is-compact { height: 64px; }
  .site-header.is-compact .brand { width: min(174px, 56vw); }
  .hero { width: calc(100% - 32px); min-height: auto; padding: 48px 0 24px; }
  .hero-copy { padding-bottom: 34px; }
  .eyebrow { margin-bottom: 24px; padding: 9px 11px; font-size: .72rem; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); line-height: 1; margin-bottom: 22px; }
  .hero-lede { font-size: 1rem; }
  .hero-actions, .contact-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .hero-actions .button, .contact-actions .button { width: 100%; }
  .hero-actions .text-link { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .hero-index { grid-template-columns: 1fr; }.hero-index a:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); }
  .tech-tile { min-height: 196px; padding: 18px; }.tech-tile svg { width: 82px; height: 82px; right: 12px; top: 34px; }.tech-index { left: 18px; top: 15px; }
  .tech-tile h2 { font-size: clamp(1.05rem, 6vw, 1.35rem); }
  .visual-legend { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; gap: 8px 16px; }
  .brand-caption strong { display: none; }
  .technology-ribbon { grid-template-columns: 1fr; }
  .technology-item { min-height: 96px; border-right: 0; border-bottom: 1px solid rgba(22,42,65,.14); }.technology-item:last-child { border-bottom: 0; }
  .section { padding: 76px 20px; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .contact h2 { font-size: clamp(2.15rem, 10vw, 3rem); }
  .service-grid { grid-template-columns: 1fr; }.service-card { min-height: 0; padding: 34px 26px; }.card-mark { margin-bottom: 30px; }
  .process article { grid-template-columns: 58px 1fr; gap: 18px; }.process-dot { width: 48px; height: 48px; }
  .sector-list article { grid-template-columns: 48px 1fr 34px; gap: 16px; }
  .contact { min-height: 0; padding: 82px 20px; gap: 48px; }
  .contact-prompt { padding-top: 28px; }
  .contact-symbol { right: -165px; bottom: -170px; transform: scale(.7); }
  footer { flex-wrap: wrap; gap: 14px 24px; padding: 28px 20px; } footer img { width: 155px; } footer p:last-child { margin-left: 0; width: 100%; }
}

@media (hover: none) {
  .service-card:hover, .button:hover, .nav-cta:hover { transform: none; }
}
