:root {
  --ink: #132019;
  --ink-soft: #2b3a32;
  --paper: #f5f1e8;
  --paper-deep: #e8e0d1;
  --white: #fffdf9;
  --copper: #c66c3d;
  --copper-dark: #984821;
  --sage: #708367;
  --line: rgba(19, 32, 25, 0.16);
  --muted: #657069;
  --whatsapp: #176b45;
  --shadow: 0 22px 70px rgba(19, 32, 25, 0.13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.17;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--white); padding: .8rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  max-width: 1480px;
  margin: 0 auto;
  min-height: 84px;
  padding: 0 clamp(1.2rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.wordmark { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; line-height: 1; }
.wordmark span:last-child { display: flex; flex-direction: column; gap: .28rem; }
.wordmark strong { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; }
.wordmark small { color: var(--muted); font-size: .72rem; }
.wordmark-mark { width: 32px; height: 32px; border: 1px solid var(--ink); display: inline-block; position: relative; transform: rotate(45deg); }
.wordmark-mark::before { content: ""; position: absolute; width: 10px; height: 10px; border: 1px solid var(--ink); right: 5px; bottom: 5px; }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2.4rem); font-size: .82rem; font-weight: 700; }
.site-header nav a { text-decoration: none; }
.nav-cta { border: 1px solid var(--ink); padding: .75rem 1.1rem; }

.hero { max-width: 1480px; margin: 0 auto; padding: clamp(2rem, 5vw, 5.4rem) clamp(1.2rem, 4vw, 4rem) clamp(3.5rem, 7vw, 7rem); display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(2.3rem, 5vw, 6rem); align-items: center; }
.eyebrow { margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .19em; font-size: .72rem; font-weight: 800; color: var(--copper-dark); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.4rem, 6.8vw, 7.4rem); line-height: .86; font-weight: 400; letter-spacing: -.055em; }
h1 em { color: var(--copper); font-weight: 400; }
.hero-lede { max-width: 690px; margin: 2rem 0 0; font-size: clamp(1.08rem, 1.55vw, 1.35rem); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.25rem; }
.button { border: 0; min-height: 52px; padding: .9rem 1.35rem; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; text-decoration: none; font-weight: 800; font-size: .86rem; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .gallery-item:focus-visible { outline: 3px solid rgba(198, 108, 61, .35); outline-offset: 3px; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: #27352d; }
.button-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.button-ghost:hover { background: rgba(255, 255, 255, .45); }
.price-pill { display: inline-flex; align-items: center; gap: .8rem; margin: .2rem 0 0; background: var(--white); border: 1px solid var(--line); padding: .65rem .85rem; }
.price-pill span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.price-pill strong { font-size: .92rem; }
.microcopy { margin: .7rem 0 0; color: var(--muted); font-size: .76rem; }
.centered { text-align: center; }

.hero-visual { position: relative; padding: 1.2rem 0 2.5rem 2.7rem; }
.hero-visual::before { content: ""; position: absolute; left: 0; top: 0; width: 62%; height: 78%; border: 1px solid var(--copper); }
.hero-visual figure { position: relative; margin: 0; min-height: 520px; overflow: hidden; box-shadow: var(--shadow); background: #c8cdc9; }
.hero-visual img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; filter: saturate(.78) contrast(1.05); }
.hero-visual figcaption { position: absolute; inset: auto 0 0; padding: 1rem 1.2rem; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: white; display: flex; justify-content: space-between; gap: 1rem; font-size: .72rem; }
.hero-stat { position: absolute; background: var(--ink); color: white; min-width: 148px; padding: 1rem 1.2rem; z-index: 2; box-shadow: 0 16px 35px rgba(19, 32, 25, .24); }
.hero-stat strong { font-family: var(--serif); font-size: 2.2rem; line-height: 1; display: block; }
.hero-stat span { font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.74); }
.hero-stat-one { left: 0; bottom: 0; }
.hero-stat-two { right: -1rem; top: 3.1rem; background: var(--copper); }

.facts-band { background: var(--ink); color: var(--white); display: grid; grid-template-columns: repeat(4, 1fr); padding: 1.65rem clamp(1.2rem, 6vw, 7rem); gap: 1px; }
.facts-band div { min-height: 84px; border-right: 1px solid rgba(255,255,255,.15); padding: .75rem clamp(1rem, 3vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.facts-band div:last-child { border: 0; }
.facts-band strong { font-family: var(--serif); font-size: clamp(1.55rem, 2.4vw, 2.5rem); font-weight: 400; }
.facts-band span { color: rgba(255,255,255,.68); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

.section { max-width: 1320px; margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 4vw, 4rem); }
.section-heading { max-width: 920px; }
.section h2, .lead-section h2, .final-cta h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 5rem); line-height: .97; letter-spacing: -.04em; font-weight: 400; }
.opportunity-grid { margin-top: clamp(2.5rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-card { background: var(--paper); padding: clamp(1.7rem, 3.4vw, 3.2rem); min-height: 320px; display: flex; flex-direction: column; }
.feature-number { color: var(--copper); font-family: var(--serif); }
.feature-card h3 { margin: auto 0 1rem; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.feature-card p { margin: 0; color: var(--muted); }

.plan-section { max-width: none; background: var(--paper-deep); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); padding-left: max(clamp(1.2rem, 4vw, 4rem), calc((100vw - 1320px) / 2 + 4rem)); padding-right: max(clamp(1.2rem, 4vw, 4rem), calc((100vw - 1320px) / 2 + 4rem)); }
.plan-copy p:last-child { color: var(--muted); max-width: 620px; margin: 1.5rem 0 0; }
.plan-list { border-top: 1px solid var(--line); }
.plan-list > div { padding: 1.35rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; }
.plan-list span { font-family: var(--serif); color: var(--copper); }
.plan-list p { margin: 0; color: var(--muted); }
.plan-list strong { color: var(--ink); display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }

.gallery-heading { display: grid; grid-template-columns: 1.1fr .9fr; max-width: none; gap: 4rem; align-items: end; }
.gallery-heading > p { margin: 0; color: var(--muted); max-width: 520px; }
.gallery { margin-top: 3rem; display: grid; grid-template-columns: 1.45fr .8fr; grid-template-rows: 1fr 1fr; gap: 1rem; }
.gallery-item { border: 0; padding: 0; overflow: hidden; background: #cad0ca; cursor: zoom-in; min-height: 250px; }
.gallery-main { grid-row: span 2; min-height: 620px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.03); }
dialog { width: min(1040px, calc(100vw - 2rem)); border: 0; padding: 0; background: transparent; overflow: visible; }
dialog::backdrop { background: rgba(8, 14, 11, .88); }
dialog img { width: 100%; max-height: 86vh; object-fit: contain; }
dialog button { position: absolute; right: -.5rem; top: -3.2rem; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.5); color: white; background: transparent; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }

.location-section { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.location-card, .process-card { padding: clamp(2rem, 5vw, 4.5rem); min-height: 430px; }
.location-card { background: var(--copper); color: white; }
.location-card .eyebrow { color: rgba(255,255,255,.72); }
.location-card h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.location-card p { max-width: 540px; }
.text-link { display: inline-block; margin-top: 1.5rem; text-underline-offset: 5px; font-weight: 800; }
.process-card { background: var(--ink); color: white; }
.process-card .eyebrow { color: #d89672; }
.process-card ol { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.process-card li { display: grid; grid-template-columns: 42px 1fr; gap: .8rem; border-top: 1px solid rgba(255,255,255,.15); padding: 1.2rem 0; }
.process-card li span { font-family: var(--serif); color: #d89672; }
.process-card li p { margin: 0; color: rgba(255,255,255,.68); }
.process-card li strong { color: white; display: block; }

.lead-section { max-width: 1420px; margin: 0 auto; padding: clamp(5rem, 10vw, 10rem) clamp(1.2rem, 4vw, 4rem); display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.lead-intro { position: sticky; top: 2rem; }
.lead-intro > p:not(.eyebrow) { color: var(--muted); max-width: 540px; font-size: 1.08rem; }
.lead-intro ul { margin: 2rem 0 0; padding: 0; list-style: none; }
.lead-intro li { border-top: 1px solid var(--line); padding: .85rem 0; font-weight: 700; }
.lead-intro li::before { content: "✓"; color: var(--copper); margin-right: .7rem; }
.form-shell { background: var(--white); padding: clamp(1.5rem, 4vw, 3.2rem); box-shadow: var(--shadow); }
.form-progress { display: grid; gap: .65rem; margin-bottom: 2.3rem; }
.progress-bar { display: block; height: 4px; background: var(--paper-deep); overflow: hidden; }
.progress-bar i { display: block; width: 50%; height: 100%; background: var(--copper); transition: width .3s ease; }
#progress-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--muted); }
.form-step { display: none; }
.form-step.is-active { display: block; animation: enter .35s ease; }
@keyframes enter { from { opacity: 0; transform: translateY(7px); } }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1; margin-bottom: .7rem; }
.fieldset-help { color: var(--muted); margin: 0 0 1.8rem; font-size: .9rem; }
label { display: block; font-size: .78rem; font-weight: 800; margin: 0 0 1.15rem; }
input, select, textarea { width: 100%; margin-top: .45rem; background: #fbfaf6; border: 1px solid rgba(19,32,25,.22); border-radius: 0; padding: .85rem .9rem; min-height: 49px; color: var(--ink); }
textarea { resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #b93d2b; background: #fff7f5; }
.error { display: block; color: #a93224; font-size: .69rem; min-height: .2rem; margin-top: .2rem; font-weight: 600; }
.optional { color: var(--muted); font-weight: 500; }
.field-grid { display: grid; gap: 1rem; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checkbox-label { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; font-weight: 600; align-items: start; }
.checkbox-label input { width: 20px; min-height: 20px; margin: .15rem 0 0; accent-color: var(--ink); }
.checkbox-label .error { grid-column: 2; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.7rem; }
.button-full { width: 100%; }
.form-notice { font-size: .78rem; margin-top: 1rem; min-height: 1.2rem; color: var(--muted); }
.form-notice.is-error { color: #a93224; }

.success-panel { text-align: center; animation: enter .4s ease; }
.success-icon { display: grid; place-items: center; margin: 0 auto 1.2rem; width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: white; font-size: 1.6rem; }
.success-panel h3 { margin: .35rem 0 .7rem; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; font-weight: 400; }
.success-panel > p:not(.eyebrow):not(.microcopy) { color: var(--muted); }
.lead-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 1.7rem 0; background: var(--line); border: 1px solid var(--line); text-align: left; }
.lead-summary div { background: var(--white); padding: .85rem; }
.lead-summary span { display: block; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.lead-summary strong { font-size: .86rem; }
.message-preview { text-align: left; border: 1px solid var(--line); margin-bottom: 1rem; }
.message-preview > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .85rem; border-bottom: 1px solid var(--line); font-size: .76rem; }
.message-preview button { border: 0; background: none; color: var(--copper-dark); font-weight: 800; cursor: pointer; }
.message-preview pre { white-space: pre-wrap; max-height: 210px; overflow: auto; margin: 0; padding: 1rem; font-family: var(--sans); font-size: .78rem; background: #fbfaf6; }
.button-whatsapp { background: var(--whatsapp); color: white; }

.final-cta { max-width: none; text-align: center; background: var(--copper); color: white; }
.final-cta .eyebrow { color: rgba(255,255,255,.74); }
.final-cta h2 { max-width: 960px; margin: 0 auto 2rem; }
.button-light { background: var(--white); color: var(--ink); }
footer { background: #0e1712; color: rgba(255,255,255,.68); padding: 2.5rem clamp(1.2rem, 5vw, 5rem); display: grid; grid-template-columns: .8fr 1.5fr auto; gap: 2rem; align-items: center; font-size: .72rem; }
.wordmark-light { color: white; }
.wordmark-light .wordmark-mark, .wordmark-light .wordmark-mark::before { border-color: white; }
.wordmark-light small { color: rgba(255,255,255,.58); }
.mobile-sticky { display: none; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero, .lead-section { grid-template-columns: 1fr; }
  .hero { padding-top: 2.6rem; }
  .hero-copy { max-width: 820px; }
  .hero-visual { padding-left: 1.6rem; }
  .hero-visual figure, .hero-visual img { min-height: 460px; }
  .facts-band { grid-template-columns: repeat(2, 1fr); }
  .facts-band div:nth-child(2) { border-right: 0; }
  .opportunity-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 240px; }
  .plan-section, .location-section { grid-template-columns: 1fr; }
  .gallery-heading { grid-template-columns: 1fr; gap: 1.2rem; }
  .lead-intro { position: static; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .site-header { min-height: 72px; }
  .site-header .nav-cta { display: none; }
  h1 { font-size: clamp(3.1rem, 16vw, 4.7rem); }
  .hero { padding-top: 2rem; gap: 2.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-visual { padding: .8rem 0 2rem .85rem; }
  .hero-visual figure, .hero-visual img { min-height: 390px; }
  .hero-stat { min-width: 128px; padding: .8rem; }
  .hero-stat strong { font-size: 1.85rem; }
  .hero-stat-two { right: -.2rem; top: 2rem; }
  .facts-band { padding: 1rem; }
  .facts-band div { min-height: 78px; padding: .75rem; }
  .facts-band strong { font-size: 1.55rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .gallery-main { grid-column: span 2; grid-row: auto; min-height: 420px; }
  .gallery-item:not(.gallery-main) { min-height: 210px; }
  .location-card, .process-card { min-height: auto; }
  .two-columns { grid-template-columns: 1fr; gap: 0; }
  .form-shell { padding: 1.25rem; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .lead-summary { grid-template-columns: 1fr; }
  .mobile-sticky { display: flex; align-items: center; justify-content: center; position: fixed; z-index: 30; inset: auto 0 0; height: 62px; background: var(--ink); color: white; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; font-weight: 800; box-shadow: 0 -10px 30px rgba(19,32,25,.22); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
