:root {
  --ink: #062e57;
  --green: #06396a;
  --green-2: #0879c6;
  --mint: #dcebfa;
  --cream: #f2f7fb;
  --paper: #f8fbfe;
  --sun: #ff7900;
  --line: rgba(6, 57, 106, .16);
  --muted: #60758a;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(6, 46, 87, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", sans-serif; color: var(--ink); background: var(--paper); line-height: 1.5; }
body::selection { background: var(--sun); color: var(--ink); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -60px; background: white; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { height: 82px; padding: 0 clamp(20px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 32px; position: absolute; z-index: 20; width: 100%; color: white; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand-logo { display: block; width: 126px; height: 68px; object-fit: contain; background: white; border-radius: 10px; padding: 4px 10px; box-shadow: 0 8px 24px rgba(0,0,0,.13); }
.desktop-nav { display: flex; gap: 28px; margin-left: auto; }
.desktop-nav a { color: rgba(255,255,255,.82); font-size: 14px; font-weight: 600; text-decoration: none; }
.desktop-nav a:hover { color: white; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.language-switcher { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; }
.lang-button { border: 0; background: transparent; padding: 4px 1px; color: rgba(255,255,255,.45); cursor: pointer; font-weight: 800; }
.lang-button.active { color: var(--sun); }
.header-cta { color: var(--ink); background: var(--sun); text-decoration: none; font-weight: 800; font-size: 13px; padding: 11px 17px; border-radius: 10px; }

.hero { background: var(--green); color: white; overflow: hidden; padding-bottom: 72px; }
.hero-inner { max-width: 1440px; margin: 0 auto; min-height: 690px; padding: 145px clamp(24px, 7vw, 112px) 74px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(40px, 7vw, 110px); }
.hero-copy { max-width: 650px; position: relative; z-index: 2; }
.eyebrow, .section-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
.eyebrow { display: flex; gap: 12px; align-items: center; color: #bfd9ef; margin: 0 0 24px; }
.eyebrow > span:first-child { height: 2px; width: 32px; background: var(--sun); }
.hero h1 { font: 700 clamp(43px, 5.5vw, 78px)/1.01 Manrope, sans-serif; letter-spacing: -.045em; margin: 0; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero-lead { color: #d1e1ef; font-size: clamp(17px, 1.5vw, 20px); max-width: 620px; margin: 28px 0 32px; }
.hero-actions { display: flex; align-items: center; gap: 27px; flex-wrap: wrap; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border: 0; border-radius: 12px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--sun); color: white; box-shadow: 0 10px 30px rgba(255,121,0,.22); }
.text-link { color: white; font-weight: 700; text-decoration: none; display: inline-flex; gap: 10px; }
.trust-list { list-style: none; padding: 0; margin: 37px 0 0; display: flex; flex-wrap: wrap; gap: 17px 25px; color: #c4d9ea; font-size: 13px; }
.trust-list li { display: flex; align-items: center; gap: 7px; }
.trust-list li span:first-child { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: rgba(216,233,226,.14); color: var(--sun); font-size: 11px; }

.hero-visual { position: relative; min-height: 455px; border-radius: 70px 8px 70px 8px; background: #e6f1fa; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.21); }
.hero-brand { display: grid; place-items: center; isolation: isolate; background: radial-gradient(circle at 50% 44%, #fff 0 31%, #edf6fc 66%, #d8eaf6 100%); }
.hero-brand::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(5,57,106,.12); border-radius: 54px 7px 54px 7px; z-index: -1; }
.hero-logo-wrap { width: min(72%, 390px); padding: 22px 28px; background: rgba(255,255,255,.92); border-radius: 28px 6px 28px 6px; box-shadow: 0 22px 60px rgba(5,57,106,.16); transform: translateY(-8px); }
.hero-logo-wrap img { display: block; width: 100%; height: auto; }
.brand-orbit { position: absolute; border: 2px solid rgba(255,123,0,.24); border-radius: 50%; z-index: -1; }
.brand-orbit-one { width: 440px; height: 440px; right: -180px; top: -170px; }
.brand-orbit-two { width: 260px; height: 260px; left: -110px; bottom: -95px; border-color: rgba(5,57,106,.18); }
.visual-label { position: absolute; left: 0; bottom: 38px; background: var(--sun); color: white; padding: 14px 20px 14px 16px; border-radius: 0 11px 11px 0; display: flex; gap: 12px; align-items: center; box-shadow: 0 12px 35px rgba(0,0,0,.16); }
.visual-label strong { font: 800 21px Manrope,sans-serif; }
.visual-label span { padding-left: 12px; border-left: 1px solid rgba(16,41,39,.25); font-size: 11px; font-weight: 700; line-height: 1.25; }

.services-wrap { max-width: 1300px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 70px); }
.section-kicker { color: var(--green-2); margin: 0 0 17px; }
.hero .services-wrap .section-kicker { color: #b8d6ec; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; }
.service-card { min-height: 235px; padding: 24px 22px; position: relative; border-right: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.025); }
.service-card:last-child { border-right: 0; }
.service-card svg { width: 39px; height: 39px; margin: 36px 0 17px; fill: none; stroke: var(--sun); stroke-width: 1.7; }
.service-number { position: absolute; top: 16px; right: 17px; color: rgba(255,255,255,.36); font: 700 10px Manrope,sans-serif; }
.service-card h2 { font: 700 18px Manrope,sans-serif; margin: 0 0 9px; }
.service-card p { font-size: 13px; color: #b6cde0; margin: 0; }
.service-card-accent { background: var(--sun); color: white; }
.service-card-accent svg { stroke: var(--green); }
.service-card-accent p, .service-card-accent .service-number { color: rgba(255,255,255,.82); }

.section-shell { max-width: 1300px; margin: 0 auto; padding: 110px clamp(24px, 5vw, 70px); }
.section-heading { display: grid; grid-template-columns: 1.15fr .65fr; align-items: end; gap: 80px; margin-bottom: 48px; }
.section-heading h2, .quote-intro h2 { font: 700 clamp(36px, 4vw, 56px)/1.08 Manrope,sans-serif; letter-spacing: -.04em; margin: 0; }
.section-heading > p { color: var(--muted); margin: 0 0 4px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 34px); max-width: 1100px; margin: 0 auto; }
.project-card { margin: 0; }
.project-art { aspect-ratio: 3/4; border-radius: 18px; overflow: hidden; position: relative; background: #dbe2dd; box-shadow: 0 18px 45px rgba(12, 35, 46, .12); }
.project-art-wide { aspect-ratio: 4/3; }
.project-art img, .project-art video { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-art img { transform: scale(1.018); }
.project-art-video { aspect-ratio: 9/16; max-width: 360px; width: 100%; justify-self: center; margin-inline: auto; background: #071d2f; }
.photo-placeholder { position: absolute; bottom: 14px; left: 14px; border-radius: 999px; background: rgba(16,41,39,.82); color: white; padding: 7px 11px; font-size: 10px; font-weight: 700; backdrop-filter: blur(7px); }
.project-meta { padding: 17px 3px 0; display: grid; gap: 5px; }
.project-meta span { text-transform: uppercase; color: var(--green-2); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.project-meta strong { font: 700 17px Manrope,sans-serif; }

.quote-section { background: var(--green); color: white; padding: 100px clamp(20px, 5vw, 70px); }
.quote-shell { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.section-kicker.light { color: #b8d6ec; }
.quote-intro { position: sticky; top: 40px; }
.quote-intro > p:not(.section-kicker) { color: #c5d9e9; font-size: 17px; }
.contact-card { margin-top: 43px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); display: grid; gap: 7px; }
.contact-card span { color: #aac9df; font-size: 12px; }
.contact-card a { color: white; font-weight: 700; text-decoration: none; }
.form-card { background: var(--paper); color: var(--ink); border-radius: 26px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); min-height: 630px; }
.progress-head { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 32px; }
.progress-track { height: 5px; background: #e3e6df; border-radius: 4px; flex: 1; overflow: hidden; }
.progress-track span { display: block; width: 25%; height: 100%; background: var(--green-2); border-radius: inherit; transition: width .3s ease; }
.form-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step.active { display: block; animation: stepIn .35s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.form-step legend { font: 700 clamp(25px, 3vw, 34px)/1.15 Manrope,sans-serif; letter-spacing: -.03em; padding: 0; margin-bottom: 7px; }
.step-help { color: var(--muted); margin: 0 0 23px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.choice-card { min-height: 95px; border: 1px solid #dce1da; border-radius: 13px; padding: 15px 15px 14px 17px; display: grid; grid-template-columns: 1fr auto; align-content: center; cursor: pointer; position: relative; transition: border-color .2s, background .2s, transform .2s; }
.choice-card:hover { border-color: #94afa9; transform: translateY(-1px); }
.choice-card:has(input:checked) { border-color: var(--green-2); background: #e8f4fc; box-shadow: inset 0 0 0 1px var(--green-2); }
.choice-card input { position: absolute; opacity: 0; }
.choice-card strong { font: 700 15px Manrope,sans-serif; }
.choice-card small { color: var(--muted); grid-column: 1; font-size: 11px; margin-top: 3px; }
.choice-check { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #ced6ce; display: grid; place-items: center; font-size: 11px; color: transparent; grid-column: 2; grid-row: 1/3; align-self: center; }
.choice-card:has(input:checked) .choice-check { background: var(--green); color: white; border-color: var(--green); }
.field-error { color: #a13731; min-height: 20px; font-size: 12px; font-weight: 600; }
.form-step > label, .field-row label { display: grid; gap: 7px; color: var(--ink); font-size: 12px; font-weight: 700; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea { width: 100%; border: 1px solid #d6dcd5; background: white; border-radius: 11px; color: var(--ink); padding: 13px 14px; outline: none; transition: border .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(27,81,78,.1); }
input.invalid, textarea.invalid, select.invalid { border-color: #b24f47 !important; }
textarea { resize: vertical; min-height: 128px; }
.char-count { text-align: right; color: var(--muted); font-weight: 500; margin-top: -2px; }
.radio-group { display: grid; gap: 9px; margin-top: 4px; }
.group-label { font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.radio-group label { border: 1px solid #dce1da; padding: 12px 14px; border-radius: 10px; display: flex; align-items: center; gap: 9px; font-size: 13px; cursor: pointer; }
.radio-group label:has(input:checked) { border-color: var(--green-2); background: #eaf5fc; }
.radio-group input { accent-color: var(--green-2); }
.upload-box { border: 1px dashed #aab9b2; border-radius: 12px; min-height: 79px; display: flex !important; grid-template-columns: none !important; flex-direction: row; align-items: center; gap: 13px !important; padding: 12px 15px; cursor: pointer; background: #f5f6f1; }
.upload-box input { position: absolute; opacity: 0; pointer-events: none; }
.upload-box .upload-icon { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--mint); color: var(--green); font-size: 20px; }
.upload-box > span:last-child { display: grid; }
.upload-box small { color: var(--muted); font-weight: 500; }
.file-list { font-size: 11px; color: var(--green-2); margin-top: -9px; }
.message-preview { background: #eef2ed; border-radius: 13px; padding: 15px; margin-top: 4px; }
.preview-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.preview-head button { border: 0; background: transparent; text-decoration: underline; color: var(--green-2); font-size: 11px; cursor: pointer; }
.message-preview pre { font: 11px/1.5 "DM Sans",sans-serif; white-space: pre-wrap; max-height: 170px; overflow: auto; color: #40514e; margin: 12px 0 0; }
.send-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.button-whatsapp { background: #1d9b5a; color: white; }
.button-email { background: var(--green); color: white; }
.privacy-note { color: var(--muted); font-size: 10px; margin: 12px 0 0; }
.form-navigation { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; border-top: 1px solid #e2e6df; padding-top: 22px; }
.back-button { border: 0; background: transparent; font-weight: 700; color: var(--muted); cursor: pointer; display: inline-flex; gap: 8px; }
.back-button[hidden], #next-step[hidden] { display: none; }
.form-navigation .button { min-width: 130px; }

footer { min-height: 135px; padding: 35px clamp(24px,5vw,70px); display: flex; align-items: center; gap: 35px; justify-content: space-between; background: #03294d; color: white; }
.brand-footer .brand-logo { width: 112px; height: 62px; }
footer > p { color: #a9c3d8; font-size: 12px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { font-size: 12px; color: #c1d1ce; text-decoration: none; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 22px; transform: translate(-50%, 30px); background: var(--ink); color: white; padding: 11px 17px; border-radius: 10px; font-size: 12px; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 38px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { border-bottom: 1px solid rgba(255,255,255,.14); }
  .service-card:nth-child(3) { border-right: 0; }
  .service-card:nth-child(4), .service-card:nth-child(5) { border-bottom: 0; }
  .section-heading { gap: 35px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-header { height: 70px; padding: 0 18px; }
  .brand-logo { width: 100px; height: 56px; padding: 3px 8px; }
  .header-cta { display: none; }
  .header-actions { gap: 8px; }
  .hero { padding-bottom: 48px; }
  .hero-inner { min-height: 0; padding: 112px 20px 50px; grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(41px, 13vw, 59px); }
  .hero-lead { font-size: 16px; }
  .hero-visual { min-height: 330px; border-radius: 42px 7px 42px 7px; }
  .house-frame { left: 7%; right: 7%; padding: 16px 16px 0; gap: 8px; }
  .window-unit, .door-unit { border-width: 8px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 205px; }
  .service-card:nth-child(2), .service-card:nth-child(4) { border-right: 0; }
  .service-card:nth-child(3) { border-right: 1px solid rgba(255,255,255,.14); }
  .service-card:nth-child(4) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .service-card:last-child { grid-column: span 2; min-height: 175px; }
  .service-card:last-child svg { margin-top: 18px; }
  .section-shell { padding-top: 78px; padding-bottom: 78px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .section-heading > p { font-size: 14px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-art { aspect-ratio: 3/4; }
  .project-art-wide { aspect-ratio: 4/3; }
  .quote-section { padding: 72px 18px; }
  .quote-shell { grid-template-columns: 1fr; }
  .quote-intro { position: static; }
  .contact-card { margin-top: 28px; }
  .form-card { padding: 23px 18px; min-height: 650px; border-radius: 20px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 76px; }
  .field-row, .send-actions { grid-template-columns: 1fr; gap: 0; }
  .send-actions { gap: 9px; }
  footer { flex-direction: column; align-items: flex-start; gap: 15px; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
