:root {
  --ink: #111315;
  --steel: #343a40;
  --steel-mid: #71777c;
  --metal: #d1d5d8;
  --paper: #f1f0ed;
  --white: #f8f8f6;
  --gold: #c9a45c;
  --gold-light: #ddc58f;
  --line-dark: rgba(255,255,255,.12);
  --line-light: rgba(17,19,21,.13);
  --heading: "Manrope", "Arial", sans-serif;
  --body: "DM Sans", "Arial", sans-serif;
  --wrap: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--body); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open, body.lightbox-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(var(--wrap), calc(100% - 96px)); margin: 0 auto; }
.skip-link { position: absolute; z-index: 1000; top: 8px; left: 8px; transform: translateY(-140%); padding: 10px 16px; color: var(--ink); background: var(--gold); }
.skip-link:focus { transform: none; }
.site-header { position: absolute; z-index: 50; inset: 0 0 auto; border-bottom: 1px solid rgba(255,255,255,.14); }
.header-inner { min-height: 88px; width: min(1380px, calc(100% - 96px)); margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-name { font-family: var(--heading); font-size: 34px; line-height: 1; letter-spacing: -.09em; font-weight: 800; }
.brand-dot { color: var(--gold); }
.brand-caption { margin-top: 7px; font-size: 8px; letter-spacing: .18em; font-weight: 600; color: rgba(255,255,255,.58); }
.main-nav { display: flex; align-items: center; gap: 36px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.76); }
.main-nav a:not(.nav-cta) { transition: color .2s; }
.main-nav a:not(.nav-cta):hover, .main-nav a:not(.nav-cta):focus-visible { color: var(--gold-light); }
.nav-cta { border: 1px solid rgba(201,164,92,.68); padding: 12px 17px; color: var(--white); transition: background .2s, border-color .2s; }
.nav-cta span { color: var(--gold-light); margin-left: 8px; }
.nav-cta:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.menu-toggle { display: none; }
.hero { min-height: min(780px, 100svh); min-height: max(700px, min(780px, 100svh)); position: relative; display: flex; align-items: center; overflow: hidden; background: #181b1c; }
.hero-image { position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1775830388900-1e827e4cd9fb?auto=format&fit=crop&w=2200&q=84") center 48%/cover no-repeat; filter: saturate(.66) contrast(1.08) brightness(.86); transform: scale(1.025); animation: hero-image-in 1.3s ease-out both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,14,15,.91) 0%, rgba(12,14,15,.73) 35%, rgba(12,14,15,.25) 72%, rgba(12,14,15,.13) 100%), linear-gradient(0deg, rgba(17,19,21,.6), transparent 38%, rgba(17,19,21,.2)); }
.hero-content { position: relative; z-index: 1; padding-top: 82px; animation: content-in .8s .1s both; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--gold-light); font-size: 10px; font-weight: 700; line-height: 1.4; letter-spacing: .17em; }
.eyebrow-line { width: 26px; height: 1px; flex: 0 0 auto; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading); }
.hero h1 { max-width: 800px; margin-bottom: 19px; font-size: clamp(46px, 6.7vw, 86px); line-height: 1.05; letter-spacing: -.065em; font-weight: 600; }
.hero h1 span, .section-heading h2 span, .about-copy h2 span, .calculator-intro h2 span, .contact-copy h2 span { color: var(--gold); }
.hero-copy { margin-bottom: 32px; color: rgba(255,255,255,.78); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 20px; border: 1px solid transparent; font-size: 12px; font-weight: 700; letter-spacing: .02em; transition: color .2s, background .2s, border-color .2s, transform .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 16px; line-height: 1; }
.button-gold { background: var(--gold); color: var(--ink); }
.button-gold:hover { background: var(--gold-light); }
.button-outline { border-color: rgba(255,255,255,.45); background: rgba(12,14,15,.12); color: white; }
.button-outline:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(17,19,21,.5); }
.hero-footnote { display: flex; align-items: center; gap: 10px; margin-top: 75px; color: rgba(255,255,255,.62); font-size: 10px; letter-spacing: .04em; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,164,92,.14); }
.footnote-divider { width: 20px; height: 1px; background: rgba(255,255,255,.4); }
.hero-scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.48); font-size: 8px; letter-spacing: .16em; }
.hero-scroll span { width: 1px; height: 35px; background: linear-gradient(var(--gold), transparent); }
.hero-index { position: absolute; bottom: 32px; right: max(48px, calc((100vw - 1380px)/2)); font-family: var(--heading); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.hero-index span { color: var(--gold); margin: 0 5px; }
.value-strip { min-height: 130px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; padding: 0 max(48px, calc((100% - var(--wrap))/2)); background: #191c1e; border-bottom: 1px solid var(--line-dark); }
.value-item { position: relative; display: flex; align-items: center; gap: 18px; min-height: 66px; padding: 0 32px; border-right: 1px solid var(--line-dark); }
.value-item:first-child { padding-left: 0; }
.value-item:last-child { border: 0; }
.value-number { position: absolute; top: -8px; left: 32px; color: rgba(255,255,255,.25); font-size: 8px; letter-spacing: .1em; }
.value-item:first-child .value-number { left: 0; }
.value-icon { width: 38px; height: 38px; flex: 0 0 38px; color: var(--gold); }
.value-icon svg, .service-icon svg, .assurance-icon svg, .contact-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.value-item strong { display: block; margin-bottom: 4px; font-family: var(--heading); font-size: 13px; font-weight: 600; }
.value-item small { display: block; color: rgba(255,255,255,.48); font-size: 10px; }
.section { padding: 116px 0; }
.services-section, .project-section { color: var(--ink); background: var(--paper); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; margin-bottom: 54px; }
.eyebrow-dark { color: var(--steel); }
.section-heading h2, .about-copy h2, .calculator-intro h2, .contact-copy h2 { margin: 0; font-size: clamp(38px, 5vw, 59px); line-height: 1.1; letter-spacing: -.065em; font-weight: 600; }
.section-heading h2 span { color: var(--steel-mid); }
.section-intro { max-width: 365px; margin: 0 0 5px; color: #666b6f; font-size: 13px; line-height: 1.8; }
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.service-card { grid-column: span 2; min-height: 282px; display: flex; flex-direction: column; padding: 27px 28px 22px; border: 1px solid var(--line-light); background: rgba(255,255,255,.34); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(201,164,92,.75); box-shadow: 0 15px 32px rgba(27,29,30,.07); }
.service-card-wide { grid-column: span 3; min-height: 246px; }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: auto; }
.service-index, .step-label { color: var(--steel-mid); font-size: 9px; line-height: 1.3; font-weight: 700; letter-spacing: .15em; }
.service-icon { width: 43px; height: 43px; color: var(--gold); }
.service-card h3 { margin: 26px 0 9px; font-size: 19px; line-height: 1.3; letter-spacing: -.035em; font-weight: 700; }
.service-card p { max-width: 340px; margin: 0 0 24px; color: #656a6d; font-size: 12px; line-height: 1.7; }
.service-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-light); color: #73777a; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.service-meta a { width: 25px; height: 25px; display: grid; place-items: center; color: var(--ink); border: 1px solid rgba(17,19,21,.2); font-size: 14px; transition: color .2s, background .2s; }
.service-meta a:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.editable-note { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin: 25px 0 0; color: #696d70; text-align: right; font-size: 10px; }
.editable-note svg { width: 12px; height: 12px; flex: 0 0 12px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; }
.about-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 650px; background: #1d2022; }
.about-visual { position: relative; min-height: 600px; overflow: hidden; background: #24282a; }
.about-photo { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,19,21,.38), rgba(17,19,21,.04) 48%, rgba(17,19,21,.08)), url("https://images.unsplash.com/photo-1771337742731-91a885ccfc5b?auto=format&fit=crop&w=1400&q=82") center 54%/cover no-repeat; filter: saturate(.72) contrast(1.06) brightness(.96); }
.photo-tag { position: absolute; bottom: 32px; left: 42px; color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .15em; }
.about-stamp { position: absolute; right: 45px; bottom: 35px; width: 112px; height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(201,164,92,.75); border-radius: 50%; color: var(--gold-light); background: rgba(17,19,21,.52); transform: rotate(-12deg); }
.about-stamp span { font-family: var(--heading); font-size: 27px; line-height: 1; font-weight: 800; letter-spacing: -.08em; }
.about-stamp small { margin-top: 7px; text-align: center; font-size: 7px; line-height: 1.4; letter-spacing: .16em; }
.about-copy { align-self: center; max-width: 610px; padding: 80px 12% 80px 13%; }
.about-copy .eyebrow { margin-bottom: 24px; }
.about-copy h2 { margin-bottom: 28px; color: white; }
.about-copy > p:not(.eyebrow) { max-width: 440px; color: rgba(255,255,255,.61); font-size: 13px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--gold); color: var(--gold-light); font-size: 11px; font-weight: 600; }
.text-link span { font-size: 15px; }
.about-divider { max-width: 380px; margin-top: 52px; border-top: 1px solid var(--line-dark); }
.about-signoff { display: flex; align-items: center; gap: 18px; margin-top: 23px; }
.about-signoff .brand-name { font-size: 24px; }
.about-signoff > span:last-child { color: rgba(255,255,255,.35); font-size: 8px; letter-spacing: .15em; }
.project-section { padding-bottom: 124px; }
.project-heading { margin-bottom: 32px; }
.project-heading .section-intro { max-width: 400px; }
.project-heading .section-intro strong { display: inline-block; margin-top: 8px; color: var(--steel); font-size: 11px; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding-bottom: 13px; border-bottom: 1px solid var(--line-light); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-button { min-height: 34px; padding: 0 12px; border: 1px solid transparent; background: transparent; color: #656a6d; font-size: 10px; cursor: pointer; transition: color .2s, background .2s, border .2s; }
.filter-button:hover, .filter-button.active { color: var(--ink); border-color: var(--gold); background: rgba(201,164,92,.13); }
.filter-button span { padding-left: 6px; color: var(--gold); font-size: 8px; }
.gallery-count { flex: 0 0 auto; color: #818587; font-size: 9px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; transition: background .25s, border-color .25s; }
.gallery-grid.is-doors-view { padding: 12px; border: 1px solid rgba(201,164,92,.24); background: #111315; }
.gallery-card { position: relative; overflow: hidden; min-width: 0; min-height: 0; padding: 0; border: 1px solid rgba(209,213,216,.16); border-radius: 2px; background: #343a40; text-align: left; cursor: zoom-in; isolation: isolate; }
.gallery-card-reference { border-color: rgba(201,164,92,.44); }
.gallery-card-reference .gallery-overlay small { color: #efd18d; }
.gallery-card-tall { grid-row: span 2; }
.gallery-card-portrait img { object-position: center 44%; }
.gallery-card img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.66) contrast(1.07) brightness(.94); transform: scale(1.015); transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .35s; }
.gallery-card:hover img, .gallery-card:focus-visible img { transform: scale(1.065); filter: saturate(.78) contrast(1.05) brightness(.99); }
.gallery-card-staircase img { object-position: center 65%; filter: saturate(.72) contrast(1.04) brightness(.99); }
.gallery-card-roof img { object-position: center top; transform: scale(1.3); transform-origin: center top; filter: saturate(.72) contrast(1.05) brightness(.97); }
.gallery-card-roof:hover img, .gallery-card-roof:focus-visible img { transform: scale(1.38); filter: saturate(.78) contrast(1.04) brightness(1); }
.gallery-card[data-category~="puertas"] { padding: 6px; border-color: rgba(209,213,216,.22); background: #111315; }
.gallery-card[data-category~="puertas"] img { filter: saturate(.58) contrast(1.09) brightness(.91); transform: scale(1.08); }
.gallery-card[data-category~="puertas"].gallery-card-portrait img { transform: scale(1.04); }
.gallery-card[data-category~="puertas"]:hover img, .gallery-card[data-category~="puertas"]:focus-visible img { filter: saturate(.68) contrast(1.06) brightness(.97); transform: scale(1.13); }
.gallery-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; padding: 22px 20px; background: linear-gradient(0deg, rgba(17,19,21,.88), rgba(17,19,21,.18) 30%, transparent 68%); color: white; opacity: .98; }
.gallery-overlay span { display: flex; flex-direction: column; gap: 4px; }
.gallery-overlay small { color: var(--gold-light); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.gallery-overlay strong { font-family: var(--heading); font-size: 14px; line-height: 1.3; }
.gallery-overlay i { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); font-style: normal; }
.gallery-card[hidden] { display: none; }
.gallery-disclaimer { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: #777c7e; font-size: 10px; }
.gallery-disclaimer svg { width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.gallery-disclaimer a { color: #c7a85f; text-decoration: underline; text-underline-offset: 2px; }
.gallery-disclaimer a:hover { color: #f1d892; }
.gallery-credits { margin: 10px 0 0 22px; color: #8e9395; font-size: 10px; }
.gallery-credits summary { width: fit-content; color: #c7a85f; cursor: pointer; text-underline-offset: 3px; }
.gallery-credits ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px 18px; margin: 12px 0 0; padding: 0; list-style: none; }
.gallery-credits a { color: #c9ccce; text-decoration: underline; }
.gallery-credits a:hover { color: #f1d892; }
@media (max-width: 700px) { .gallery-credits ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .gallery-credits ul { grid-template-columns: 1fr; } }
.calculator-section { color: white; background: #171a1c; }
.calculator-layout { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr); gap: 80px; align-items: start; }
.calculator-intro { position: sticky; top: 100px; padding-top: 26px; }
.calculator-intro h2 { margin-bottom: 25px; }
.calculator-intro > p:not(.eyebrow) { max-width: 340px; color: rgba(255,255,255,.59); font-size: 13px; line-height: 1.9; }
.calculator-assurance { display: flex; align-items: center; gap: 14px; margin-top: 45px; color: rgba(255,255,255,.88); font-size: 11px; line-height: 1.5; }
.calculator-assurance small { color: rgba(255,255,255,.43); font-size: 9px; }
.assurance-icon { width: 29px; height: 29px; color: var(--gold); }
.calculator-card { padding: 31px; border: 1px solid var(--line-dark); background: #202427; }
.calculator-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.calculator-card-head h3, .form-heading h3 { margin: 7px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.reset-button { display: inline-flex; align-items: center; gap: 7px; padding: 5px 0; border: 0; background: transparent; color: rgba(255,255,255,.57); font-size: 10px; cursor: pointer; }
.reset-button:hover { color: var(--gold-light); }
.reset-button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; color: rgba(255,255,255,.78); font-size: 10px; font-weight: 600; }
.field > span b { color: var(--gold); }
.field small { color: rgba(255,255,255,.42); font-size: 9px; font-weight: 400; }
.field-full { grid-column: 1/-1; }
.field input, .field select, .field textarea { width: 100%; min-height: 43px; border: 1px solid rgba(255,255,255,.15); border-radius: 0; outline: 0; background: #1a1d1f; color: white; padding: 10px 12px; font-size: 11px; transition: border-color .18s, box-shadow .18s; }
.field select { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23c9a45c' stroke-width='1.5' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.field option { background: #202427; }
.field textarea { min-height: 105px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201,164,92,.12); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #dd7469; }
.calc-results { margin-top: 29px; padding: 21px; border: 1px solid rgba(201,164,92,.34); background: rgba(17,19,21,.44); }
.estimate-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
.estimate-head p { margin: 4px 0 0; color: rgba(255,255,255,.46); font-size: 9px; }
.demo-badge { padding: 5px 7px; border: 1px solid rgba(201,164,92,.45); color: var(--gold-light); font-size: 7px; font-weight: 700; letter-spacing: .13em; }
.estimate-lines { padding: 9px 0; border-bottom: 1px solid var(--line-dark); }
.estimate-lines > div, .estimate-subtotal { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 0; color: rgba(255,255,255,.57); font-size: 10px; }
.estimate-lines strong { color: rgba(255,255,255,.83); font-size: 10px; font-weight: 600; }
.estimate-subtotal { padding: 14px 0 6px; color: white; font-size: 11px; font-weight: 600; }
.estimate-subtotal strong { font-family: var(--heading); font-size: 20px; letter-spacing: -.04em; }
.estimate-range { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 14px; padding: 13px 14px; background: rgba(201,164,92,.11); }
.estimate-range > div { display: flex; flex-direction: column; }
.estimate-range > div span { color: var(--gold-light); font-size: 8px; letter-spacing: .13em; font-weight: 700; }
.estimate-range small { margin-top: 3px; color: rgba(255,255,255,.45); font-size: 8px; }
.estimate-range > strong { color: white; font-family: var(--heading); font-size: clamp(15px, 2vw, 21px); white-space: nowrap; letter-spacing: -.04em; }
.calc-disclaimer { margin: 15px 0 0; color: rgba(255,255,255,.47); font-size: 9px; line-height: 1.7; }
.calc-disclaimer a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.contact-section { background: var(--steel); }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 85px; align-items: start; }
.contact-copy { position: sticky; top: 90px; padding-top: 25px; }
.contact-copy h2 { margin-bottom: 20px; }
.contact-copy > p:not(.eyebrow) { max-width: 350px; margin-bottom: 34px; color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.8; }
.contact-detail { display: flex; align-items: center; gap: 15px; margin: 17px 0; }
.contact-icon { width: 29px; height: 29px; color: var(--gold); }
.contact-detail div { display: flex; flex-direction: column; }
.contact-detail small { color: rgba(255,255,255,.42); font-size: 8px; letter-spacing: .13em; }
.contact-detail strong { color: rgba(255,255,255,.88); font-size: 11px; font-weight: 600; }
.contact-setup-note { margin: 22px 0 0; color: rgba(255,255,255,.42); font-size: 9px; }
.contact-setup-note code { color: var(--gold-light); font-size: 9px; }
.contact-form { padding: 32px; border: 1px solid rgba(255,255,255,.14); background: #41484d; }
.form-heading { margin-bottom: 24px; }
.form-heading .step-label { color: var(--gold-light); }
.form-heading p { margin: 8px 0 0; color: rgba(255,255,255,.47); font-size: 10px; }
.contact-form .field input, .contact-form .field select, .contact-form .field textarea { border-color: rgba(255,255,255,.17); background-color: #3a4045; }
.contact-form .field select { background-color: #3a4045; }
.contact-form input[type="file"] { min-height: auto; padding: 8px; color: rgba(255,255,255,.57); font-size: 9px; }
.contact-form input[type="file"]::file-selector-button { margin-right: 11px; padding: 7px 10px; border: 0; background: rgba(201,164,92,.18); color: var(--gold-light); font-family: var(--body); font-size: 9px; cursor: pointer; }
.file-help { color: rgba(255,255,255,.42); font-size: 9px; font-weight: 400; }
.form-submit { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.form-submit .button { min-width: 195px; }
.form-submit p { margin: 0; color: rgba(255,255,255,.43); font-size: 9px; }
.form-message { margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(201,164,92,.55); background: rgba(17,19,21,.24); color: white; font-size: 11px; line-height: 1.65; }
.form-message.error { border-color: rgba(221,116,105,.62); }
.closing-band { padding: 42px 0; background: var(--gold); color: var(--ink); }
.closing-content { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.closing-content > span { font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.closing-content p { margin: 0 auto 0 25px; font-family: var(--heading); font-size: clamp(16px, 2vw, 22px); font-weight: 600; letter-spacing: -.04em; }
.closing-content .button-outline { border-color: rgba(17,19,21,.55); background: transparent; color: var(--ink); }
.closing-content .button-outline:hover { border-color: var(--ink); background: var(--ink); color: white; }
.site-footer { padding: 39px 0 18px; background: #101213; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr 1fr auto; align-items: center; gap: 30px; padding-bottom: 31px; }
.footer-inner > p { margin: 0; color: rgba(255,255,255,.48); font-size: 10px; line-height: 1.7; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 20px; color: rgba(255,255,255,.65); font-size: 10px; }
.footer-inner nav a:hover { color: var(--gold-light); }
.copyright { color: rgba(255,255,255,.36); font-size: 9px; white-space: nowrap; }
.footer-note { padding-top: 14px; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.31); font-size: 8px; text-align: center; }
.whatsapp-float { position: fixed; z-index: 45; right: 25px; bottom: 24px; display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 17px; border: 1px solid rgba(255,255,255,.24); border-radius: 30px; background: #202b27; color: white; box-shadow: 0 10px 30px rgba(0,0,0,.28); animation: float-in .8s 1.1s both; transition: background .2s, transform .2s; }
.whatsapp-float:hover { transform: translateY(-3px); background: #243c33; }
.whatsapp-float svg { width: 24px; height: 24px; fill: #70d9a2; }
.whatsapp-label { font-size: 10px; font-weight: 700; }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; z-index: 200; inset: 0; display: flex; align-items: center; justify-content: center; padding: 70px; background: rgba(9,10,11,.95); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; max-width: min(1050px, calc(100vw - 160px)); max-height: calc(100vh - 120px); margin: 0; }
.lightbox figure img { max-width: 100%; max-height: calc(100vh - 165px); object-fit: contain; filter: saturate(.78) contrast(1.04); }
.lightbox figcaption { padding-top: 12px; color: rgba(255,255,255,.75); font-size: 11px; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); background: rgba(17,19,21,.6); color: white; cursor: pointer; transition: color .2s, border .2s, background .2s; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--gold); color: var(--gold-light); }
.lightbox-close { top: 25px; right: 29px; width: 42px; height: 42px; font-size: 28px; line-height: 1; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 45px; height: 56px; font-size: 35px; line-height: 1; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter { position: absolute; bottom: 22px; right: 30px; color: rgba(255,255,255,.46); font-size: 9px; letter-spacing: .1em; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-image-in { from { transform: scale(1.08); opacity: .65; } to { transform: scale(1.025); opacity: 1; } }
@keyframes content-in { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes float-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 980px) {
  .wrap, .header-inner { width: min(100% - 56px, var(--wrap)); }
  .main-nav { gap: 21px; }
  .value-strip { padding: 0 28px; }
  .value-item { gap: 12px; padding: 0 19px; }
  .value-number { left: 19px; }
  .calculator-layout { gap: 42px; grid-template-columns: minmax(210px, .65fr) minmax(0, 1.35fr); }
  .contact-layout { gap: 45px; }
  .about-copy { padding-right: 9%; padding-left: 10%; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .wrap, .header-inner { width: calc(100% - 40px); }
  .site-header { position: absolute; }
  .header-inner { min-height: 72px; }
  .brand-name { font-size: 30px; }
  .brand-caption { font-size: 7px; }
  .menu-toggle { z-index: 60; display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px; padding: 10px; border: 1px solid rgba(255,255,255,.33); background: rgba(17,19,21,.45); cursor: pointer; }
  .menu-toggle span { width: 100%; height: 1px; background: white; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: fixed; z-index: 55; inset: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 86px 40px 40px; background: rgba(17,19,21,.98); visibility: hidden; opacity: 0; transition: opacity .22s, visibility .22s; }
  .main-nav.open { visibility: visible; opacity: 1; }
  .main-nav a:not(.nav-cta) { padding: 17px 0; border-bottom: 1px solid var(--line-dark); color: white; font-family: var(--heading); font-size: 22px; font-weight: 500; }
  .main-nav .nav-cta { margin-top: 24px; padding: 15px; text-align: center; font-size: 12px; }
  .hero { min-height: 710px; min-height: 100svh; max-height: 890px; }
  .hero-image { background-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(12,14,15,.88), rgba(12,14,15,.48) 100%), linear-gradient(0deg, rgba(12,14,15,.65), transparent 65%); }
  .hero-content { padding-top: 55px; }
  .hero h1 { font-size: clamp(45px, 10.5vw, 68px); }
  .hero-copy { font-size: 16px; }
  .hero-footnote { margin-top: 58px; font-size: 9px; }
  .hero-scroll { left: 20px; bottom: 20px; flex-direction: row; transform: none; }
  .hero-scroll span { width: 25px; height: 1px; }
  .hero-index { right: 20px; bottom: 20px; }
  .value-strip { grid-template-columns: 1fr; padding: 15px 20px; }
  .value-item, .value-item:first-child { min-height: 82px; padding: 12px 5px 8px 25px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .value-item:last-child { border-bottom: 0; }
  .value-number, .value-item:first-child .value-number { top: 7px; left: 25px; }
  .value-icon { width: 33px; height: 33px; flex-basis: 33px; }
  .section { padding: 80px 0; }
  .section-heading { display: block; margin-bottom: 34px; }
  .section-heading h2, .about-copy h2, .calculator-intro h2, .contact-copy h2 { font-size: clamp(39px, 10vw, 52px); }
  .section-intro { margin-top: 20px; font-size: 12px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service-card, .service-card-wide { grid-column: span 1; min-height: 275px; padding: 20px 17px 16px; }
  .service-card-wide { grid-column: 1/-1; min-height: 225px; }
  .service-card h3 { margin-top: 20px; font-size: 16px; }
  .service-card p { font-size: 10px; }
  .service-meta { font-size: 7px; }
  .service-meta a { flex: 0 0 25px; }
  .editable-note { font-size: 9px; text-align: left; }
  .about-section { grid-template-columns: 1fr; }
  .about-visual { min-height: 400px; }
  .about-copy { max-width: 620px; padding: 68px 20px 72px; margin: auto; }
  .about-copy > p:not(.eyebrow) { font-size: 12px; }
  .about-divider { margin-top: 36px; }
  .project-section { padding-bottom: 82px; }
  .project-heading { margin-bottom: 25px; }
  .project-heading .section-intro { margin-top: 16px; }
  .gallery-toolbar { align-items: flex-start; flex-direction: column; gap: 9px; }
  .gallery-filters { gap: 3px; }
  .filter-button { min-height: 31px; padding: 0 8px; font-size: 9px; }
  .gallery-count { align-self: flex-end; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 9px; }
  .gallery-grid.is-doors-view { padding: 8px; gap: 8px; }
  .gallery-card-tall { grid-row: span 2; }
  .gallery-overlay { padding: 12px; }
  .gallery-overlay strong { font-size: 11px; }
  .gallery-overlay small { font-size: 7px; }
  .gallery-overlay i { width: 24px; height: 24px; font-size: 12px; }
  .gallery-disclaimer { align-items: flex-start; font-size: 9px; }
  .calculator-layout, .contact-layout { grid-template-columns: 1fr; gap: 35px; }
  .calculator-intro, .contact-copy { position: static; padding-top: 0; }
  .calculator-intro > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { max-width: 500px; }
  .calculator-assurance { margin-top: 24px; }
  .calculator-card, .contact-form { padding: 22px 18px; }
  .calc-form { gap: 13px 10px; }
  .field { font-size: 9px; }
  .field input, .field select { min-height: 42px; font-size: 10px; }
  .calc-results { padding: 15px; }
  .estimate-range { padding: 11px; }
  .estimate-range small { font-size: 7px; }
  .contact-form .form-grid { gap: 13px 10px; }
  .form-submit { align-items: flex-start; flex-direction: column; gap: 9px; }
  .form-submit .button { min-width: 100%; }
  .closing-content { flex-wrap: wrap; }
  .closing-content > span { width: 100%; }
  .closing-content p { margin: 0 auto 0 0; }
  .closing-content .button { min-height: 43px; padding: 0 13px; gap: 10px; font-size: 10px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .footer-inner nav { grid-column: 1/2; gap: 14px; }
  .copyright { justify-self: end; }
  .whatsapp-float { right: 14px; bottom: 14px; min-height: 46px; padding: 0 13px; }
  .lightbox { padding: 45px 20px; }
  .lightbox figure { max-width: calc(100vw - 40px); }
  .lightbox figure img { max-height: calc(100vh - 150px); }
  .lightbox-close { top: 12px; right: 13px; width: 38px; height: 38px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 13px; transform: none; width: 40px; height: 40px; font-size: 27px; }
  .lightbox-prev { left: calc(50% - 50px); }
  .lightbox-next { right: calc(50% - 50px); }
  .lightbox-counter { right: 13px; bottom: 27px; }
}
@media (max-width: 420px) {
  .wrap, .header-inner { width: calc(100% - 32px); }
  .eyebrow { font-size: 8px; letter-spacing: .13em; }
  .hero h1 { font-size: 43px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { min-height: 45px; padding: 0 13px; gap: 12px; font-size: 10px; }
  .hero-footnote { gap: 7px; font-size: 8px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card-wide { grid-column: 1; min-height: 225px; }
  .service-card h3 { font-size: 18px; }
  .service-card p { font-size: 11px; }
  .gallery-grid { grid-auto-rows: 135px; }
  .gallery-grid.is-doors-view { padding: 6px; gap: 6px; }
  .gallery-card-tall { grid-row: span 2; }
  .gallery-overlay { padding: 9px; }
  .gallery-overlay strong { font-size: 10px; }
  .calculator-card-head { align-items: center; }
  .calculator-card-head h3 { font-size: 17px; }
  .calc-form { grid-template-columns: 1fr; }
  .calc-form .field-full { grid-column: 1; }
  .estimate-lines > div, .estimate-subtotal { font-size: 9px; }
  .estimate-range > strong { font-size: 15px; }
  .contact-form .form-grid { grid-template-columns: 1fr; }
  .contact-form .field-full { grid-column: 1; }
  .closing-content p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Refresco visual: superficies más suaves, navegación translúcida y respuesta táctil. */
:root {
  --line-light: rgba(17,19,21,.1);
  --line-dark: rgba(255,255,255,.11);
}
.site-header {
  position: fixed;
  background: rgba(17,19,21,.58);
  border-bottom-color: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background .25s, border-color .25s;
}
.header-inner { min-height: 78px; }
.main-nav { gap: clamp(20px, 2.7vw, 38px); }
.main-nav a:not(.nav-cta) { position: relative; padding: 8px 0; }
.main-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta):focus-visible::after { transform: scaleX(1); }
.nav-cta, .button, .menu-toggle, .service-meta a,
.lightbox-close, .lightbox-prev, .lightbox-next { border-radius: 5px; }
.button {
  position: relative;
  overflow: hidden;
  box-shadow: 0 7px 18px rgba(0,0,0,.12);
  transition: color .2s, background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.button-gold { background: linear-gradient(135deg, #d3b36f, #c49d51); }
.button:hover { box-shadow: 0 12px 24px rgba(0,0,0,.2); }
.services-section, .project-section { background: linear-gradient(145deg, #f5f4f1, #ecebe7); }
.service-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(17,19,21,.08);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(255,255,255,.37));
  box-shadow: 0 8px 24px rgba(27,29,30,.035);
}
.service-card::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  opacity: .5;
}
.service-card:hover { box-shadow: 0 18px 38px rgba(27,29,30,.1); }
.about-section { background: linear-gradient(120deg, #1a1d1f, #252a2c); }
.about-stamp { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.gallery-toolbar { border-bottom-color: rgba(17,19,21,.11); }
.filter-button {
  border-radius: 999px;
  padding-inline: 14px;
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
}
.filter-button:hover, .filter-button.active { box-shadow: 0 4px 12px rgba(201,164,92,.14); }
.gallery-card {
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(17,19,21,.1);
  transition: border-color .2s, box-shadow .25s, scale .12s;
}
.gallery-card:hover, .gallery-card:focus-visible { box-shadow: 0 16px 36px rgba(17,19,21,.19); }
.gallery-overlay { background: linear-gradient(0deg, rgba(17,19,21,.9), rgba(17,19,21,.14) 38%, transparent 72%); }
.gallery-overlay i { border-radius: 50%; background: rgba(17,19,21,.2); backdrop-filter: blur(4px); }
.calculator-section { background: radial-gradient(ellipse at 12% 16%, rgba(201,164,92,.08), transparent 30%), #171a1c; }
.calculator-card, .contact-form {
  border-radius: 13px;
  box-shadow: 0 24px 70px rgba(0,0,0,.2);
}
.field input, .field select, .field textarea { border-radius: 7px; }
.calc-results, .estimate-range, .demo-badge { border-radius: 7px; }
.contact-section { background: linear-gradient(135deg, #343a40, #3c4449); }
.contact-form { background: linear-gradient(145deg, #454d53, #394147); }
.contact-form .field input, .contact-form .field select, .contact-form .field textarea { border-radius: 7px; }
.contact-form input[type="file"]::file-selector-button { border-radius: 4px; }
.form-message { border-radius: 8px; }
.closing-band { background: linear-gradient(105deg, #c49d51, #d4b771); }
.whatsapp-float { box-shadow: 0 12px 34px rgba(0,0,0,.34), 0 0 0 1px rgba(112,217,162,.12); }
.whatsapp-float:focus-visible, .button:focus-visible, .nav-cta:focus-visible,
.menu-toggle:focus-visible, .filter-button:focus-visible, .gallery-card:focus-visible,
.reset-button:focus-visible, .service-meta a:focus-visible,
.lightbox button:focus-visible, .text-link:focus-visible, .gallery-credits summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}
button, a { -webkit-tap-highlight-color: transparent; }
button:active, a:active, .nav-cta:active, .service-meta a:active,
.whatsapp-float:active, .text-link:active, .gallery-credits summary:active {
  scale: .96;
  filter: brightness(1.12);
  transition-duration: .08s;
}
.filter-button:active, .gallery-card:active, .lightbox button:active,
.menu-toggle:active, .reset-button:active { scale: .96; transition-duration: .08s; }
button:active::after, a.button:active::after, .whatsapp-float:active::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255,255,255,.36), rgba(255,255,255,0) 72%);
  content: "";
  pointer-events: none;
  animation: tap-flash .42s ease-out both;
}
.gallery-card:active img { filter: brightness(1.12) saturate(.9); }
@keyframes tap-flash {
  from { opacity: .85; transform: scale(.55); }
  to { opacity: 0; transform: scale(1.35); }
}
@media (max-width: 760px) {
  .site-header { position: fixed; }
  .header-inner { min-height: 70px; }
  .menu-toggle { border-radius: 7px; backdrop-filter: blur(8px); }
  .main-nav { background: rgba(17,19,21,.97); backdrop-filter: blur(18px); }
  .service-card, .service-card-wide { border-radius: 8px; }
  .calculator-card, .contact-form { border-radius: 10px; }
  .gallery-grid { gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  button:active, a:active, .nav-cta:active, .service-meta a:active,
  .whatsapp-float:active, .text-link:active, .gallery-credits summary:active,
  .filter-button:active, .gallery-card:active, .lightbox button:active,
  .menu-toggle:active, .reset-button:active { scale: 1; }
}

/* Entrada de portada y aparición de secciones al avanzar por la página. */
.hero-image { animation: hero-image-in 1.55s cubic-bezier(.2,.65,.25,1) both; }
.hero-shade { animation: shade-in .95s ease-out both; }
.hero-content { animation: none; }
.hero-content > .eyebrow { animation: intro-drop .62s .12s cubic-bezier(.2,.7,.25,1) both; }
.hero-content > h1 { animation: intro-drop .7s .24s cubic-bezier(.2,.7,.25,1) both; }
.hero-content > .hero-copy { animation: intro-drop .68s .38s cubic-bezier(.2,.7,.25,1) both; }
.hero-content > .hero-actions { animation: intro-drop .68s .52s cubic-bezier(.2,.7,.25,1) both; }
.hero-content > .hero-footnote { animation: intro-drop .68s .66s cubic-bezier(.2,.7,.25,1) both; }
.hero-scroll { animation: intro-ui .7s .82s ease-out both; }
.hero-index { animation: intro-ui .7s .92s ease-out both; }
.reveal {
  opacity: 0;
  transform: translateY(-28px);
  transition: opacity .7s ease, transform .78s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.services-grid .service-card:nth-child(2) { transition-delay: .06s; }
.services-grid .service-card:nth-child(3) { transition-delay: .12s; }
.services-grid .service-card:nth-child(4) { transition-delay: .08s; }
.services-grid .service-card:nth-child(5) { transition-delay: .14s; }
@keyframes hero-image-in {
  from { transform: scale(1.14); filter: saturate(.5) contrast(1.05) brightness(.66); }
  to { transform: scale(1.025); filter: saturate(.66) contrast(1.08) brightness(.86); }
}
@keyframes shade-in { from { opacity: .48; } to { opacity: 1; } }
@keyframes intro-drop {
  from { opacity: 0; transform: translateY(-22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes intro-ui {
  from { opacity: 0; translate: 0 -12px; }
  to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image, .hero-shade, .hero-content > *, .hero-scroll, .hero-index {
    animation: none !important;
  }
  .hero-content > *, .hero-scroll, .hero-index { opacity: 1; translate: none; }
  .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
}




