:root {
  --ink: #222423;
  --graphite: #2b2d2c;
  --graphite-2: #383b39;
  --stone: #777a76;
  --line: #d9d9d4;
  --paper: #f4f3ef;
  --white: #ffffff;
  --accent: #c66f36;
  --accent-dark: #a95625;
  --whatsapp: #1d7d50;
  --shadow: 0 20px 70px rgba(24, 26, 25, .13);
  --radius: 18px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.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; z-index: 100; left: 12px; top: -100px; padding: 10px 16px; background: var(--white); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; z-index: 30; inset: 0 0 auto; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.14); transition: background .25s ease, box-shadow .25s ease; }
.site-header.scrolled { background: rgba(38, 40, 39, .96); box-shadow: 0 7px 30px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo img { width: 205px; height: auto; }
.site-header .brand-logo { padding: 4px 9px; background: rgba(247,247,244,.94); border-radius: 7px; box-shadow: 0 8px 26px rgba(0,0,0,.15); }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: .9rem; font-weight: 680; }
.main-nav a { text-decoration: none; }
.main-nav a:not(.nav-cta) { opacity: .82; }
.main-nav a:not(.nav-cta):hover { opacity: 1; }
.nav-cta { padding: 11px 18px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; }
.nav-whatsapp { gap: 8px; color: var(--white); background: var(--whatsapp); border-color: var(--whatsapp); box-shadow: 0 8px 26px rgba(29,125,80,.25); }
.nav-whatsapp svg { width: 18px; height: 18px; fill: currentColor; }
.nav-whatsapp:hover { color: var(--white); background: #176a43; border-color: #176a43; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; color: inherit; background: transparent; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; transition: transform .2s; }

.hero { min-height: 760px; position: relative; display: grid; align-items: end; color: var(--white); overflow: hidden; background: var(--graphite); }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; animation: hero-in 1.2s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(18,20,19,.9) 0%, rgba(18,20,19,.68) 42%, rgba(18,20,19,.12) 75%), linear-gradient(0deg, rgba(18,20,19,.72) 0%, transparent 45%); }
.hero-content { position: relative; z-index: 1; padding-top: 160px; padding-bottom: 46px; }
.eyebrow { margin: 0 0 16px; color: var(--accent-dark); font-size: .74rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.light { color: #f3c49f; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { text-wrap: balance; letter-spacing: -.035em; }
h1 { max-width: 840px; margin-bottom: 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6.3vw, 6.25rem); font-weight: 500; line-height: .98; }
.hero-lead { max-width: 650px; margin-bottom: 30px; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; padding: 13px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-accent { color: var(--white); background: var(--accent); }
.button-accent:hover { background: var(--accent-dark); }
.button-ghost { color: var(--white); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.32); backdrop-filter: blur(8px); }
.button-dark { color: var(--white); background: var(--graphite); }
.button-whatsapp { color: var(--white); background: var(--whatsapp); }
.hero-facts { margin: 54px 0 0; padding: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid rgba(255,255,255,.2); list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: 12px; }
.fact-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; color: #f0c19c; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; }
.hero-facts span:last-child { display: grid; }
.hero-facts strong { font-size: .92rem; }
.hero-facts small { color: rgba(255,255,255,.6); font-size: .78rem; }

.services { padding-block: 110px 120px; }
.section-heading { display: grid; gap: 24px; margin-bottom: 42px; }
.split-heading, .portfolio-heading { grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr); align-items: end; }
.section-heading h2, .quote-intro h2 { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 4.3vw, 4.4rem); font-weight: 500; line-height: 1.02; }
.section-heading > p { margin-bottom: 4px; color: var(--stone); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 310px; padding: 25px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; color: var(--ink); background: transparent; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s ease; }
.service-card:hover, .service-card:focus-visible { color: var(--white); background: var(--graphite); transform: translateY(-4px); }
.service-index { margin-bottom: auto; color: var(--accent-dark); font-size: .75rem; font-weight: 850; }
.service-card:hover .service-index { color: #f2bc94; }
.service-title { margin-top: 50px; font-size: 1.25rem; font-weight: 800; }
.service-copy { margin-top: 9px; color: var(--stone); font-size: .92rem; }
.service-card:hover .service-copy { color: rgba(255,255,255,.68); }
.service-action { margin-top: 22px; font-size: .8rem; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }

.portfolio-section { padding-block: 110px 120px; color: var(--white); background: var(--graphite); }
.portfolio-heading .eyebrow { color: #f3c49f; }
.portfolio-heading > p { color: rgba(255,255,255,.6); }
.filter-bar { margin: 0 0 34px; padding-bottom: 14px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filter { padding: 9px 15px; flex: 0 0 auto; color: rgba(255,255,255,.7); background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; cursor: pointer; }
.filter:hover, .filter.active { color: var(--graphite); background: var(--white); border-color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project { min-width: 0; overflow: hidden; color: var(--ink); background: #ecece7; border-radius: var(--radius); transition: opacity .25s ease, transform .25s ease; }
.project[hidden] { display: none; }
.project-image { position: relative; width: 100%; height: 360px; padding: 0; overflow: hidden; background: #111; border: 0; cursor: zoom-in; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-image:hover img { transform: scale(1.035); }
.before-after { display: grid; grid-template-columns: 1fr 1fr; }
.before-after .project-image { height: 400px; }
.before-after.landscape .project-image { height: 310px; }
.photo-tag, .zoom-label { position: absolute; left: 14px; bottom: 14px; padding: 7px 10px; color: var(--white); background: rgba(28,29,28,.82); border-radius: 999px; font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.photo-tag.after { background: rgba(198,111,54,.9); }
.zoom-label { opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.project-image:hover .zoom-label, .project-image:focus-visible .zoom-label { opacity: 1; transform: translateY(0); }
.project-meta { padding: 22px 24px 26px; }
.project-meta > span { color: var(--accent-dark); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.project-meta h3 { margin: 7px 0 5px; font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; font-weight: 500; }
.project-meta p { margin: 0; color: var(--stone); font-size: .9rem; }

.quote-section { padding-block: 120px; color: var(--white); background: #202221; }
.quote-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(560px, 1.15fr); gap: clamp(50px, 8vw, 110px); align-items: start; }
.quote-intro { position: sticky; top: 120px; }
.quote-intro > p:not(.eyebrow) { margin-top: 24px; color: rgba(255,255,255,.65); }
.availability { margin-top: 42px; padding-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.availability p { margin: 0; color: rgba(255,255,255,.62); font-size: .87rem; }
.availability strong { color: var(--white); }
.quote-form { min-height: 550px; padding: clamp(26px, 4vw, 48px); color: var(--ink); background: var(--paper); border-radius: 24px; box-shadow: var(--shadow); }
.form-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 44px; }
.form-progress span { height: 3px; background: #d7d7d1; border-radius: 9px; }
.form-progress span.active { background: var(--accent); }
.step-kicker { margin-bottom: 8px; color: var(--accent-dark); font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.form-step h3, .form-result h3 { margin-bottom: 28px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 500; line-height: 1.08; }
.choice-grid { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; border: 0; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { min-height: 58px; padding: 14px 15px; display: flex; align-items: center; color: #4a4d4a; background: var(--white); border: 1px solid var(--line); border-radius: 10px; font-size: .87rem; font-weight: 700; cursor: pointer; transition: border .18s, background .18s; }
.choice-grid input:checked + span { color: var(--white); background: var(--graphite); border-color: var(--graphite); }
.choice-grid input:focus-visible + span { outline: 3px solid rgba(198,111,54,.28); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field > span { font-size: .82rem; font-weight: 750; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 9px; outline: none; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(198,111,54,.12); }
.field small { color: var(--stone); font-size: .75rem; }
.check-field { display: flex; gap: 10px; align-items: flex-start; color: #555855; font-size: .82rem; }
.check-field input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.form-nav { margin-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.form-nav.end { justify-content: flex-end; }
.text-button { padding: 9px 0; color: var(--ink); background: transparent; border: 0; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.field-error { min-height: 21px; margin: 10px 0 0; color: #a33d28; font-size: .82rem; font-weight: 750; }
.form-result pre { max-height: 245px; margin: 0 0 24px; padding: 18px; overflow: auto; white-space: pre-wrap; color: #3b3e3b; background: var(--white); border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: .88rem; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-note { margin: 20px 0 8px; color: var(--stone); font-size: .76rem; }

.site-footer { color: var(--ink); background: #e9e8e3; }
.contact-footer { padding-block: 68px; display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 58px); align-items: start; }
.contact-brand > p { max-width: 280px; margin: 22px 0; color: var(--stone); font-size: .9rem; }
.footer-brand img { width: 255px; }
.footer-whatsapp { min-height: 44px; padding: 11px 16px; font-size: .84rem; }
.contact-block h2 { margin: 6px 0 24px; color: var(--accent-dark); font-family: inherit; font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.contact-block > p { margin: 0 0 10px; color: #555854; font-size: .87rem; }
.contact-block > p span { display: inline-block; min-width: 82px; color: var(--stone); }
.contact-block > p strong { color: var(--ink); font-weight: 760; }
.contact-link { display: block; width: fit-content; margin-bottom: 12px; font-size: .92rem; font-weight: 760; text-decoration: none; overflow-wrap: anywhere; }
.contact-link:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { padding-block: 24px; color: rgba(255,255,255,.72); background: #171918; border-top: 1px solid rgba(255,255,255,.09); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-inner p { margin: 0; font-size: .82rem; }
.footer-inner > a { font-size: .82rem; font-weight: 800; text-decoration: none; }

.lightbox { width: min(940px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 14px; color: var(--white); background: #171918; border: 0; border-radius: 16px; box-shadow: 0 40px 100px rgba(0,0,0,.48); }
.lightbox::backdrop { background: rgba(10,11,10,.82); backdrop-filter: blur(7px); }
.lightbox img { width: 100%; max-height: 76vh; object-fit: contain; border-radius: 9px; }
.lightbox p { margin: 12px 48px 0 4px; font-size: .84rem; }
.lightbox-close { position: absolute; right: 22px; bottom: 14px; width: 36px; height: 36px; color: var(--white); background: #343735; border: 0; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }

:focus-visible { outline: 3px solid rgba(235,157,97,.82); outline-offset: 3px; }
@keyframes hero-in { from { transform: scale(1.04); opacity: .6; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 980px) {
  :root { --shell: min(100% - 32px, 760px); }
  .hero { min-height: 780px; }
  .hero-shade { background: linear-gradient(0deg, rgba(18,20,19,.92) 0%, rgba(18,20,19,.54) 75%, rgba(18,20,19,.3)); }
  .hero-facts { grid-template-columns: 1fr; gap: 12px; }
  .hero-facts small { display: none; }
  .split-heading, .portfolio-heading { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 275px; }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-intro { position: static; }
  .contact-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 70px; }
  :root { --shell: calc(100% - 28px); --radius: 14px; }
  .header-inner { min-height: 68px; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; inset: 68px 0 auto; padding: 26px 20px 30px; display: none; align-items: stretch; flex-direction: column; gap: 6px; color: var(--white); background: rgba(38,40,39,.98); box-shadow: 0 18px 40px rgba(0,0,0,.22); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .nav-cta { margin-top: 8px; justify-content: center; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3px) rotate(-45deg); }
  .hero { min-height: 810px; }
  .hero-content { padding-top: 120px; padding-bottom: 30px; }
  h1 { font-size: clamp(2.75rem, 13vw, 4.1rem); }
  .hero-actions { display: grid; }
  .hero-facts { margin-top: 36px; padding-top: 20px; }
  .services, .portfolio-section, .quote-section { padding-block: 82px; }
  .section-heading { margin-bottom: 30px; }
  .service-grid { grid-template-columns: 1fr; border-left: 0; }
  .service-card { min-height: 225px; border-left: 1px solid var(--line); }
  .service-title { margin-top: 32px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-image { height: 280px; }
  .before-after .project-image, .before-after.landscape .project-image { height: 270px; }
  .choice-grid, .field-row { grid-template-columns: 1fr; }
  .quote-form { min-height: auto; padding: 24px 18px; border-radius: 16px; }
  .form-progress { margin-bottom: 32px; }
  .availability { grid-template-columns: 1fr; }
  .form-nav { margin-top: 28px; }
  .result-actions { display: grid; }
  .contact-footer { padding-block: 52px; grid-template-columns: 1fr; gap: 32px; }
  .contact-block h2 { margin-bottom: 14px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner p { order: 3; }
}

@media (max-width: 450px) {
  .site-header .brand-logo img { width: 180px; }
  .hero { min-height: 850px; }
  .hero-media img { object-position: 68% center; }
  .hero-lead { font-size: .98rem; }
  .before-after { grid-template-columns: 1fr; }
  .before-after .project-image, .before-after.landscape .project-image { height: 290px; }
}
