@font-face {
  font-family: Manrope;
  src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url('/fonts/fraunces-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url('/fonts/fraunces-latin-wght-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #132b3e;
  --navy-dark: #102537;
  --green: #496654;
  --green-deep: #385542;
  --sage: #bfcdbd;
  --gold: #d2b57d;
  --gold-dark: #786037;
  --paper: #fbfaf6;
  --white: #fff;
  --ink: #182e3d;
  --muted: #4d5d60;
  --line: #dcded4;
  --serif: Fraunces, Georgia, serif;
  --sans: Manrope, 'Segoe UI', sans-serif;
  --header-height: 79px;
  --gutter: clamp(21px, 5.6vw, 90px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 18px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }

.shell { width: min(100% - var(--gutter) * 2, 1296px); margin-inline: auto; }
.icon-library, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; z-index: 3; inset: 0 auto auto 0; padding: 12px 20px; background: var(--paper); transform: translateY(-120%); }
.skip:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 2; background: var(--navy-dark); color: var(--white); border-bottom: 1px solid #ffffff1c; }
.header-inner { min-height: calc(var(--header-height) - 1px); display: flex; justify-content: space-between; align-items: center; gap: clamp(18px, 3vw, 42px); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; line-height: 1.25; }
.brand img { width: 62px; height: 43px; object-fit: contain; object-position: center; padding: 5px; background: #fdfdfd; border-radius: 3px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; font-weight: 800; letter-spacing: .075em; }
.brand small { margin-top: 5px; color: var(--sage); font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.main-nav, .header-actions { display: flex; align-items: center; }
.main-nav { gap: clamp(12px, 2vw, 32px); }
.main-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .82rem; font-weight: 700; white-space: nowrap; color: #e4eae8; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--gold); }
.header-actions { gap: 12px; }
.language select { cursor: pointer; color: var(--white); background-color: var(--navy-dark); min-height: 40px; padding: 4px 7px; border: 1px solid #ffffff40; border-radius: 3px; font-size: .75rem; font-weight: 800; }

.button { display: inline-flex; min-height: 52px; width: fit-content; justify-content: center; align-items: center; gap: 13px; padding: 12px 19px; border: 1px solid transparent; border-radius: 3px; background: var(--green); color: var(--white); cursor: pointer; font-size: .87rem; font-weight: 800; line-height: 1.35; transition: background .2s, border-color .2s; }
.button:hover { background: var(--green-deep); }
.button:focus-visible { outline-color: var(--green-deep); }
.site-header .button:focus-visible, .hero .button:focus-visible { outline-color: var(--gold); }
.button .icon { width: 17px; height: 17px; }
.button-small { min-height: 40px; padding: 9px 13px; font-size: .76rem; white-space: nowrap; }
.button-outline { background: transparent; border-color: #b5c5b79c; }
.button-outline:hover { background: #ffffff18; border-color: var(--sage); }
.button:disabled { opacity: .72; cursor: wait; }

.hero { min-height: 550px; min-height: clamp(520px, 41vw, 620px); position: relative; display: grid; align-items: stretch; background: linear-gradient(120deg, var(--navy-dark), #1a384b); color: var(--white); }
.hero-inner { display: flex; align-items: center; }
.hero-copy { padding-block: 66px; width: 52%; padding-right: clamp(36px, 5vw, 78px); }
.eyebrow { color: var(--gold-dark); font-size: .71rem; font-weight: 800; letter-spacing: .18em; line-height: 1.6; text-transform: uppercase; }
.eyebrow-rule { display: flex; align-items: center; gap: 12px; }
.eyebrow-rule::before { content: ''; background: currentColor; flex: 0 0 24px; height: 1px; }
.hero .eyebrow { color: #e5ca98; }
.hero h1 { margin: 27px 0 20px; font: 400 clamp(3rem, 5.18vw, 5.6rem)/.99 var(--serif); letter-spacing: -.055em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--sage); }
.hero-intro { max-width: 39ch; color: #e2e8e8; font-size: clamp(.97rem, 1.16vw, 1.06rem); }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 34px; }
.hero-visual { position: absolute; inset: 0 0 0 48%; overflow: hidden; min-width: 0; background: #666b5b; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
.hero-visual::after { content: ''; position: absolute; inset: 54% 0 0; background: linear-gradient(transparent, #0e201db0); pointer-events: none; }
.hero-visual figcaption { position: absolute; z-index: 1; bottom: 27px; left: clamp(20px, 3vw, 45px); display: flex; align-items: center; gap: 13px; color: #fff; font-size: .69rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.visual-index { color: #f0ddb4; padding-right: 13px; border-right: 1px solid #ffffff80; }

.fact-bar { background: #edf0e8; border-bottom: 1px solid #dfe2d8; }
.facts { margin-block: 0; min-height: 82px; padding: 0; display: grid; align-items: center; grid-template-columns: repeat(3, 1fr); list-style: none; }
.facts li { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 9px 15px; font-size: .84rem; font-weight: 800; }
.facts li + li { border-left: 1px solid #cbd3c7; }
.facts .icon { color: var(--green); width: 21px; height: 21px; }

.section { padding: clamp(57px, 7.4vw, 110px) 0; }
.section h2, .confirmation h1 { font: 400 clamp(2.55rem, 5vw, 4.75rem)/1.04 var(--serif); letter-spacing: -.055em; text-wrap: balance; }
.section h2 span { display: block; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px 56px; margin: 15px 0 32px; }
.section-heading p, .about-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { color: var(--muted); max-width: 43ch; }
.section-heading > p { padding-bottom: 4px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(18px, 2vw, 31px); border: 1px solid var(--line); border-radius: 3px; background: #f8f9f3; transition: background .2s, border-color .2s; }
.service-card:nth-child(even) { background: #f3f5ed; }
.service-card:hover, .service-card:focus-visible { background: #e9eee2; border-color: #adbba8; }
.service-top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 30px; color: var(--green); }
.service-top .icon { width: 29px; height: 29px; }
.service-top span { font-size: .68rem; font-weight: 800; letter-spacing: .16em; color: var(--gold-dark); }
.service-card h3 { margin-bottom: 9px; font: 500 clamp(1.26rem, 1.8vw, 1.62rem)/1.15 var(--serif); letter-spacing: -.026em; }
.service-card p { margin-bottom: 20px; color: var(--muted); font-size: .88rem; }
.service-arrow { margin-top: auto; color: var(--green); transition: transform .2s; }
.service-card:hover .service-arrow { transform: translateX(4px); }

.work { background: var(--navy); color: var(--white); }
.work-layout { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.6fr); align-items: start; gap: clamp(24px, 4vw, 64px); }
.work-copy .eyebrow, .work-index { color: var(--gold); }
.work-copy h2 { margin-block: 17px 20px; font-size: clamp(2.55rem, 4vw, 4.25rem); }
.work-copy > p:not(.eyebrow) { max-width: 32ch; color: var(--sage); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.work-card { display: flex; flex-direction: column; border: 1px solid var(--muted); border-radius: 3px; background: var(--navy-dark); }
.work-card img { width: 100%; height: auto; border-radius: 2px 2px 0 0; }
.work-card figcaption { display: grid; flex: 1; }
.work-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px clamp(12px, 1.4vw, 20px); }
.work-link:hover .work-action, .work-link:focus-visible .work-action { text-decoration: underline; text-underline-offset: 4px; }
.work-link:focus-visible { outline-color: var(--gold); outline-offset: -3px; }
.work-index { align-self: start; padding-top: 3px; font-size: .67rem; font-weight: 800; letter-spacing: .12em; }
.work-name, .work-action { display: block; }
.work-name { font: 500 clamp(1.13rem, 1.7vw, 1.5rem)/1.2 var(--serif); }
.work-action { margin-top: 4px; color: var(--sage); font-size: .75rem; }
.work-link .icon { color: var(--gold); transform: rotate(-45deg); }

.about { background: #e9ede3; border-block: 1px solid #dde3d7; }
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 8vw, 120px); }
.about-mark { display: grid; place-items: center; padding: 14px; border: 1px solid #c9d2c3; border-radius: 3px; background: #fdfdfd; }
.about-mark img { width: 100%; height: auto; }
.about-copy h2, .contact-copy h2 { margin-block: 17px 20px; }
.about-copy h2 em { color: var(--green); }
.text-link { display: inline-flex; width: fit-content; align-items: center; gap: 12px; color: var(--green-deep); font-size: .85rem; font-weight: 800; text-underline-offset: 4px; }
.text-link:hover { text-decoration: underline; }
.about-copy .text-link { margin-top: 23px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 82px); align-items: start; }
.contact-copy { padding-top: 16px; }
.contact-copy .contact-location { display: flex; gap: 10px; align-items: center; margin-top: 28px; font-size: .87rem; font-weight: 800; }
.contact-location .icon { color: var(--green); }
.contact-whatsapp { margin-top: 18px; }
.quote-form { padding: clamp(20px, 3vw, 38px); border: 1px solid var(--line); border-radius: 3px; background: #f0f2eb; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; align-content: start; gap: 6px; min-width: 0; font-size: .85rem; font-weight: 800; }
.field small { color: var(--muted); font-size: .76rem; font-weight: 500; }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 46px; padding: 10px 9px; color: var(--ink); background: var(--white); border: 1px solid #bac5b9; border-radius: 3px; font-size: 1rem; font-weight: 500; }
.field textarea { resize: vertical; }
.field :focus-visible { outline-color: var(--green); outline-offset: 1px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px 17px; align-items: center; margin-top: 18px; }
.form-note { max-width: 30ch; color: var(--muted); font-size: .75rem; }
.form-status:not(:empty) { margin-top: 15px; padding: 11px 14px; background: #dce9d9; border-radius: 3px; color: #234132; font-size: .86rem; font-weight: 700; }
.form-status.is-error { background: #f5ddd7; color: #7b332a; }

.site-footer { padding: 30px 0; background: var(--navy-dark); color: var(--white); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px 32px; }
.footer-inner strong { display: block; font-size: .84rem; letter-spacing: .075em; }
.footer-inner div span, .footer-inner p, .footer-inner .text-link { color: #d8e0db; font-size: .79rem; }
.confirmation { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.confirmation-card { width: min(100%, 650px); padding: clamp(22px, 6vw, 57px); background: #eef1e9; border: 1px solid var(--line); }
.confirmation h1 { text-wrap: wrap; margin-block: 14px 16px; }
.confirmation .button { margin-top: 24px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (max-width: 1060px) {
  .site-header .button-small .icon { display: none; }
  .header-inner { gap: 12px; }
  .hero-copy { padding-right: 32px; }
}

@media (max-width: 850px) {
  :root { --header-height: 107px; }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; }
  .brand { min-height: 62px; width: fit-content; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 6px; border-top: 1px solid #ffffff24; padding-inline: 2px; }
  .hero { min-height: auto; }
  .hero-copy { width: 100%; padding: 54px 0; }
  .hero h1 { font-size: clamp(2.75rem, 9.9vw, 5.25rem); }
  .hero-visual { position: relative; inset: auto; aspect-ratio: 2 / 1; }
  .hero-visual figcaption { bottom: 16px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-layout { grid-template-columns: 1fr; }
}

@media (max-width: 570px) {
  .header-actions .button { display: none; }
  .facts { grid-template-columns: 1fr; padding: 8px 0; }
  .facts li { justify-content: flex-start; padding: 9px 0; }
  .facts li + li { border: 0; border-top: 1px solid #cbd3c7; }
  .hero-visual { aspect-ratio: 4 / 3; }
  .section-heading { display: grid; }
  .section-heading p { padding: 0; }
  .work-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-mark { order: 1; }
  .contact-copy { padding-top: 0; }
}

@media (max-width: 410px) {
  .main-nav a { font-size: .75rem; }
  .service-grid, .form-grid { grid-template-columns: 1fr; }
  .service-top { margin-bottom: 19px; }
}
