:root {
  --ink: #14252d;
  --ink-soft: #52626a;
  --paper: #ffffff;
  --mist: #f3f5f4;
  --line: #dce3df;
  --accent: #d99528;
  --accent-dark: #a96608;
  --deep: #153746;
  --whatsapp: #168c50;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(20, 37, 45, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  width: min(1240px, calc(100% - 32px));
  margin: 14px auto 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--deep); color: #fff; font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1rem; letter-spacing: .02em; }
.brand small { color: var(--ink-soft); font-size: .78rem; }
.header-link { font-weight: 750; text-decoration: none; border-bottom: 2px solid var(--accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  padding: 48px 0 72px;
}
.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  min-height: 560px;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.hero-media .hero-main { grid-row: 1 / 3; }
.photo-note {
  position: absolute; left: 18px; bottom: 18px; padding: 8px 12px;
  border-radius: 999px; background: rgba(255,255,255,.92); font-size: .82rem; font-weight: 750;
}
.eyebrow {
  display: inline-block; color: var(--accent-dark); font-size: .78rem; font-weight: 850;
  letter-spacing: .12em; text-transform: uppercase;
}
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; line-height: 1.04; }
h1 { margin-top: 13px; font-size: clamp(2.6rem, 5vw, 5rem); }
h2 { margin-top: 10px; font-size: clamp(2rem, 3.5vw, 3.4rem); }
.intro { max-width: 54ch; margin: 20px 0 24px; color: var(--ink-soft); font-size: 1.08rem; }
.price-row {
  display: flex; gap: 20px; justify-content: space-between; align-items: end;
  padding: 18px 0; border-block: 1px solid var(--line);
}
.price-row small, .price-row strong { display: block; }
.price-row small { color: var(--ink-soft); }
.price-row strong { font-size: 2rem; color: var(--deep); line-height: 1.15; }
.price-row > span { max-width: 160px; color: var(--ink-soft); font-size: .78rem; text-align: right; }
.highlights {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px;
  margin: 24px 0; padding: 0; list-style: none;
}
.highlights li { padding-left: 10px; border-left: 2px solid var(--accent); }
.highlights strong, .highlights span { display: block; }
.highlights strong { color: var(--deep); }
.highlights span { color: var(--ink-soft); font-size: .79rem; }
.primary-link, .submit-button {
  min-height: 54px; border: 0; border-radius: 12px; display: inline-flex; align-items: center;
  justify-content: center; gap: 12px; padding: 14px 20px; color: #fff; background: var(--whatsapp);
  font-weight: 850; text-decoration: none; cursor: pointer; transition: transform .2s, filter .2s;
}
.primary-link:hover, .submit-button:hover { transform: translateY(-2px); filter: brightness(.96); }
.primary-link:focus-visible, .submit-button:focus-visible, .gallery button:focus-visible { outline: 3px solid #65c692; outline-offset: 3px; }
.microcopy { margin: 10px 0 0; color: var(--ink-soft); font-size: .8rem; }

.detail-band { background: var(--deep); color: #fff; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.detail-grid > div { padding: 34px clamp(22px, 4vw, 48px); border-left: 1px solid rgba(255,255,255,.16); }
.detail-grid > div:first-child { border-left: 0; }
.detail-grid span { color: #f4b64e; font-size: .76rem; font-weight: 800; }
.detail-grid strong { display: block; margin-top: 5px; font-size: 1.08rem; }
.detail-grid p { margin: 5px 0 0; color: rgba(255,255,255,.72); font-size: .9rem; }

.qualification {
  display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(44px, 7vw, 90px);
  align-items: start; padding-block: 90px;
}
.form-intro { position: sticky; top: 28px; }
.form-intro > p { color: var(--ink-soft); font-size: 1.05rem; }
.income-note { margin-top: 28px; padding: 18px; border-radius: 12px; background: #fff7e7; border: 1px solid #f4d59e; }
.income-note strong, .income-note span { display: block; }
.income-note strong { color: var(--accent-dark); font-size: .85rem; }
.income-note span { margin-top: 4px; font-size: .92rem; }
.lead-form { padding: clamp(24px, 4vw, 44px); background: var(--mist); border-radius: 24px; }
fieldset { margin: 0; padding: 0 0 30px; border: 0; }
fieldset + fieldset { padding-top: 28px; border-top: 1px solid var(--line); }
legend { width: 100%; margin-bottom: 15px; font-weight: 800; font-size: 1.02rem; }
legend span {
  display: inline-grid; place-items: center; width: 27px; height: 27px; margin-right: 8px;
  border-radius: 50%; background: var(--deep); color: white; font-size: .78rem;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.text-field { display: grid; gap: 7px; }
.text-field > span { color: var(--deep); font-size: .86rem; font-weight: 750; }
.text-field input {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #cfd8d3;
  border-radius: 10px; color: var(--ink); background: #fff; outline: none;
}
.text-field input:focus { border-color: var(--whatsapp); box-shadow: 0 0 0 3px rgba(22,140,80,.14); }
.text-field input[aria-invalid="true"] { border-color: #a52a2a; box-shadow: 0 0 0 2px rgba(165,42,42,.1); }
.text-field small { color: var(--ink-soft); font-size: .73rem; }
.bot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.choice-grid.two-columns { grid-template-columns: repeat(2, 1fr); }
.choice-grid label { position: relative; cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid label span {
  display: grid; place-items: center; min-height: 54px; height: 100%; padding: 10px 12px;
  border: 1px solid #cfd8d3; border-radius: 10px; background: #fff; text-align: center;
  font-size: .88rem; font-weight: 700; transition: .18s ease;
}
.choice-grid input:checked + span { color: var(--deep); background: #fff5df; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(217,149,40,.18); }
.choice-grid input:focus-visible + span { outline: 3px solid rgba(22,140,80,.35); outline-offset: 2px; }
.form-error { min-height: 24px; margin: -10px 0 12px; color: #a52a2a; font-weight: 700; font-size: .9rem; }
.form-status { min-height: 0; margin: 0 0 12px; color: var(--whatsapp); font-weight: 700; font-size: .9rem; }
.submit-button { width: 100%; font-size: 1rem; }
.submit-button:disabled { cursor: wait; opacity: .72; transform: none; }
.submit-button span { font-size: 1.25rem; }
.submit-button .button-label { font-size: 1rem; }
.privacy-note { margin: 11px 0 0; color: var(--ink-soft); text-align: center; font-size: .76rem; }
.privacy-note a { font-weight: 700; }

.gallery-section { padding-bottom: 96px; }
.section-heading { max-width: 650px; margin-bottom: 34px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 10px; }
.gallery button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--mist); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery button:hover img { transform: scale(1.035); }
.gallery button:nth-child(2), .gallery button:nth-child(5) { grid-column: span 2; }

footer { color: #fff; background: #0c242f; }
.footer-inner { min-height: 116px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-inner strong, .footer-inner span { display: block; }
.footer-inner span { color: rgba(255,255,255,.62); font-size: .85rem; }
.footer-inner a { color: rgba(255,255,255,.8); font-size: .85rem; }

dialog { padding: 0; border: 0; border-radius: 16px; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(3, 16, 22, .82); backdrop-filter: blur(4px); }
.image-dialog { width: min(1000px, calc(100% - 32px)); background: transparent; overflow: visible; }
.image-dialog img { width: 100%; max-height: 84vh; object-fit: contain; border-radius: 14px; }
.dialog-close {
  position: absolute; z-index: 2; top: -14px; right: -10px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.6rem; cursor: pointer;
}
.preview-dialog { width: min(620px, calc(100% - 32px)); padding: 32px; }
.preview-dialog h2 { margin: 8px 0 14px; font-size: 2rem; }
.preview-dialog p { color: var(--ink-soft); }
.preview-dialog pre { margin: 20px 0 0; padding: 18px; white-space: pre-wrap; background: var(--mist); border-radius: 10px; font: 14px/1.55 ui-monospace, monospace; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-media { min-height: 480px; }
  .hero-copy { max-width: 680px; }
  .qualification { grid-template-columns: 1fr; }
  .form-intro { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 560px); }
  .site-header { width: calc(100% - 28px); }
  .header-link { font-size: .86rem; }
  .hero { gap: 30px; padding-bottom: 54px; }
  .hero-media { min-height: 390px; grid-template-columns: 1.5fr 1fr; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .price-row { align-items: center; }
  .price-row strong { font-size: 1.7rem; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .primary-link { width: 100%; }
  .detail-grid { grid-template-columns: 1fr; padding-block: 15px; }
  .detail-grid > div { padding: 18px 4px; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .detail-grid > div:first-child { border-top: 0; }
  .qualification { gap: 32px; padding-block: 64px; }
  .lead-form { width: calc(100% + 8px); margin-left: -4px; padding: 22px 16px; border-radius: 18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .choice-grid, .choice-grid.two-columns { grid-template-columns: 1fr; }
  .choice-grid label span { min-height: 50px; }
  .gallery { grid-auto-rows: 170px; }
  .gallery button:nth-child(2), .gallery button:nth-child(5) { grid-column: auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
