/* ==========================================================================
   InmoAdmin — Landing styles
   Editorial B2B real-estate operations & finance platform
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --ink:        #0E1A2B;
  --ink-2:      #16243A;
  --graphite:   #1F2937;
  --slate:      #475569;
  --muted:      #6B7280;
  --line:       #E5DFD3;
  --line-strong:#D7CFBD;
  --paper:      #F7F4EE;
  --paper-2:    #FBF8F2;
  --card:       #FFFFFF;
  --sand:       #EFE6D2;
  --sand-2:     #E7DBC0;
  --gold:       #B98A3A;
  --gold-deep:  #8C6722;
  --forest:     #2F6B4A;
  --forest-2:   #245538;
  --amber:      #B4791A;
  --rust:       #B23A2A;
  --wa:         #128C7E;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif:'Fraunces', 'Source Serif Pro', Georgia, 'Times New Roman', serif;

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;
  --s-9: 96px;

  /* Radii */
  --r-1: 4px;
  --r-2: 6px;
  --r-3: 10px;
  --r-4: 14px;

  /* Shadows */
  --shadow-sm: 0 1px 0 rgba(14, 26, 43, .06);
  --shadow-md: 0 1px 2px rgba(14, 26, 43, .06), 0 8px 24px -12px rgba(14, 26, 43, .12);
  --shadow-lg: 0 2px 4px rgba(14, 26, 43, .06), 0 24px 60px -24px rgba(14, 26, 43, .25);

  /* Layout */
  --maxw: 1180px;
  --hdr-h: 68px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(14, 26, 43, .045) 1px, transparent 1px);
  background-size: 28px 28px;
  background-attachment: fixed;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px; border-radius: var(--r-2);
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--r-2);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: var(--s-9) 0; position: relative; }
@media (max-width: 720px) { section { padding: var(--s-8) 0; } }

.kicker {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 var(--s-3);
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--gold); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--s-4);
  max-width: 24ch;
}
.section-lead {
  color: var(--slate);
  font-size: 17px;
  max-width: 62ch;
  margin: 0 0 var(--s-7);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--r-2);
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn .icon { width: 16px; height: 16px; flex: 0 0 16px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: var(--paper-2);
  border-color: var(--ink);
  box-shadow: 0 1px 0 rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.06);
}
.btn-primary:hover { background: #07111E; }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--ink); background: var(--paper-2); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: transparent; padding: 10px 12px;
}
.btn-ghost:hover { background: var(--sand); }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .88);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--hdr-h);
  gap: var(--s-4);
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 32px;
  height: 32px;
  display: inline-block;
  flex: 0 0 32px;
  object-fit: contain;
}
.mark {
  width: 28px; height: 28px;
  background: var(--ink);
  border-radius: 4px;
  position: relative;
  display: inline-block;
  flex: 0 0 28px;
}
.mark::before, .mark::after { content: ""; position: absolute; background: var(--gold); }
.mark::before { left: 0; right: 0; top: 50%; height: 1px; opacity: .85; }
.mark::after { top: 0; bottom: 0; left: 50%; width: 1px; opacity: .85; }
.brand-name { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand-name strong {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand-name span {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

nav[aria-label="Navegación principal"] {
  display: flex; gap: 4px;
}
nav[aria-label="Navegación principal"] a {
  font-size: 14px; font-weight: 500;
  color: var(--graphite);
  padding: 8px 12px;
  border-radius: var(--r-2);
  transition: background .15s ease, color .15s ease;
}
nav[aria-label="Navegación principal"] a:hover { background: var(--sand); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-2);
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  color: var(--ink);
}
.menu-btn .icon { width: 20px; height: 20px; }

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-panel.open { display: block; }
.mobile-links { display: flex; flex-direction: column; padding: var(--s-4) 0; }
.mobile-links a {
  padding: 12px 4px;
  font-weight: 500;
  color: var(--graphite);
  border-bottom: 1px solid var(--line);
}
.mobile-links a:last-child { border-bottom: 0; }
.divider { height: 1px; background: var(--line); margin: 0; }

@media (max-width: 960px) {
  nav[aria-label="Navegación principal"] { display: none; }
  .menu-btn { display: inline-flex; }
  .btn-login-label { display: none; }
  .btn-demo-short { display: inline; }
  .btn-demo-full  { display: none; }
}
@media (min-width: 961px) {
  .btn-demo-short { display: none; }
  .btn-demo-full  { display: inline; }
}
@media (max-width: 560px) {
  .header-actions .btn-primary { padding: 10px 14px; }
  .header-actions .btn-primary .icon { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: var(--s-8);
  padding-bottom: var(--s-9);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(14,26,43,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,26,43,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 65%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink);
  padding: 6px 12px 6px 10px;
  background: var(--sand);
  border: 1px solid var(--sand-2);
  border-radius: 999px;
  margin-bottom: var(--s-5);
}
.eyebrow .dot {
  width: 6px; height: 6px; background: var(--forest); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(47, 107, 74, .15);
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 var(--s-5);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 500;
}
.hero p.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 0 var(--s-6);
  max-width: 56ch;
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: var(--s-6); }

/* Control strip — three operational indicators */
.control-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-3);
  background: var(--card);
  overflow: hidden;
}
.control-strip .cell {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}
.control-strip .cell:last-child { border-right: 0; }
.control-strip .label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.control-strip .value {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 500; color: var(--ink);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.control-strip .delta {
  font-size: 12px; color: var(--muted); margin-top: 2px;
}
.dot-status {
  width: 7px; height: 7px; border-radius: 50%; display: inline-block;
}
.dot-status.green { background: var(--forest); }
.dot-status.amber { background: var(--amber); }
.dot-status.red   { background: var(--rust); }

@media (max-width: 560px) {
  .control-strip { grid-template-columns: 1fr; }
  .control-strip .cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .control-strip .cell:last-child { border-bottom: 0; }
}

/* Hero visual / dashboard image */
.hero-visual {
  position: relative;
}
.hero-visual .frame {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.hero-visual .frame img {
  width: 100%; height: auto; display: block;
}
/* Zoomable frame (button) */
.hero-visual .frame-zoom {
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  transition: transform .15s ease;
}
.hero-visual .frame-zoom:hover { transform: translateY(-1px); }
.hero-visual .frame-zoom:hover .zoom-hint { opacity: 1; transform: translateY(0); }
.zoom-hint {
  position: absolute;
  right: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: rgba(14, 26, 43, .82);
  color: #F5F1E8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: .85;
  transform: translateY(2px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.zoom-hint svg { width: 14px; height: 14px; }
.hero-visual .caption {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 4px 2px;
  font-size: 12px;
  color: var(--muted);
}
.hero-visual .caption .tag {
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-visual .caption .live {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--forest-2); font-weight: 500;
}

/* ---------- Problem (dark editorial) ---------- */
.problem {
  background: var(--ink);
  color: #E8EAF0;
  position: relative;
  overflow: hidden;
}
.problem::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 0%, black 30%, transparent 70%);
          mask-image: radial-gradient(ellipse at 75% 0%, black 30%, transparent 70%);
  pointer-events: none;
}
.problem .container { position: relative; }
.problem .kicker { color: #D9B97A; }
.problem .kicker::before { background: #D9B97A; }
.problem .section-title { color: #F5F1E8; }
.problem .section-lead { color: rgba(245, 241, 232, .75); max-width: 64ch; }

.ledger {
  margin-top: var(--s-6);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-3);
  overflow: hidden;
  background: rgba(255,255,255,.02);
}
.ledger-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: var(--s-4);
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-row .idx {
  font-family: var(--font-serif);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  color: rgba(217, 185, 122, .9);
}
.ledger-row .body strong {
  display: block;
  font-size: 16px;
  color: #F5F1E8;
  font-weight: 600;
  margin-bottom: 2px;
}
.ledger-row .body span {
  color: rgba(245, 241, 232, .65);
  font-size: 14.5px;
}
.ledger-row .tag {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #F5F1E8;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(178, 58, 42, .18);
  border: 1px solid rgba(178, 58, 42, .35);
  white-space: nowrap;
}
.ledger-row .tag.amber { background: rgba(180, 121, 26, .18); border-color: rgba(180, 121, 26, .38); }
.ledger-row .tag.neutral { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
@media (max-width: 600px) {
  .ledger-row { grid-template-columns: 40px 1fr; padding: 16px; }
  .ledger-row .tag { grid-column: 2; justify-self: start; }
}

/* ---------- Benefits ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--card);
  overflow: hidden;
}
@media (max-width: 900px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefit-grid { grid-template-columns: 1fr; } }

.benefit {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.benefit:nth-child(3n) { border-right: 0; }
.benefit:nth-last-child(-n+3) { border-bottom: 0; }
@media (max-width: 900px) {
  .benefit { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .benefit:nth-child(2n) { border-right: 0 !important; }
  .benefit:nth-last-child(-n+2) { border-bottom: 0 !important; }
}
@media (max-width: 560px) {
  .benefit { border-right: 0 !important; }
  .benefit:last-child { border-bottom: 0 !important; }
}

.benefit .ix {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  margin-bottom: 14px;
  display: block;
}
.benefit h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.benefit p {
  color: var(--slate);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Modules ---------- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 980px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .module-grid { grid-template-columns: 1fr; } }

.module {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 24px;
  display: flex; flex-direction: column;
  transition: border-color .15s ease, transform .15s ease, box-shadow .2s ease;
}
.module:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.module-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.module-head .ix {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold-deep);
  font-weight: 600;
}
.module-head .glyph {
  width: 30px; height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  background: var(--paper-2);
}
.module-head .glyph svg { width: 16px; height: 16px; }
.module h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 21px;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.module dl { margin: 0; }
.module .row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px 14px;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
  font-size: 14px;
}
.module .row:first-of-type { border-top: 0; padding-top: 4px; }
.module .row dt {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 2px 0 0;
}
.module .row dd { margin: 0; color: var(--graphite); line-height: 1.5; }
.module .row.bnf dd { color: var(--forest-2); font-weight: 500; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 28px 24px;
  position: relative;
}
.step .num {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: .12em;
  display: block;
  margin-bottom: 12px;
}
.step h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.25;
}
.step p { margin: 0; color: var(--slate); font-size: 14.5px; }

.center-cta { display: flex; justify-content: center; margin-top: var(--s-7); }

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-3);
  overflow: hidden;
  background: var(--card);
}
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

.plan {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  position: relative;
  background: var(--card);
  display: flex; flex-direction: column;
}
.plan:last-child { border-right: 0; }
@media (max-width: 900px) {
  .plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan:last-child { border-bottom: 0; }
}

.plan h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.plan .plan-sub { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.plan .price {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 36px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.plan .price span {
  font-family: var(--font-sans);
  font-size: 13px; color: var(--muted);
  font-weight: 500; letter-spacing: 0;
}
.plan ul {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  border-top: 1px solid var(--line);
  flex: 1;
}
.plan ul li {
  font-size: 14px;
  color: var(--graphite);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5;
}
.plan ul li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  margin-top: 8px;
  flex: 0 0 6px;
  border-radius: 1px;
  transform: rotate(45deg);
}
.plan ul li strong { color: var(--ink); font-weight: 600; }
.plan .btn { width: 100%; }

.plan.featured { background: linear-gradient(180deg, #FBF6E8 0%, var(--card) 60%); }
.plan.featured::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold);
}
.badge-top {
  position: absolute; top: 14px; right: 14px;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: var(--gold);
  padding: 4px 8px;
  border-radius: 3px;
}

.disclaimer {
  margin-top: var(--s-5);
  font-size: 13px;
  color: var(--muted);
  max-width: 78ch;
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); max-width: 880px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-deep); }
.faq .chev {
  width: 18px; height: 18px;
  color: var(--slate);
  transition: transform .2s ease;
  flex: 0 0 18px;
}
.faq details[open] .chev { transform: rotate(180deg); }
.faq-body {
  padding: 0 0 22px;
  color: var(--slate);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 78ch;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-7);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 28px;
}
.panel h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.muted { color: var(--slate); }
.hint { color: var(--muted); font-size: 13px; }

.quick { display: flex; flex-direction: column; gap: 10px; margin-top: var(--s-4); }
.quick a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-2);
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  background: var(--paper-2);
  transition: background .15s ease, border-color .15s ease;
}
.quick a:hover { background: var(--sand); border-color: var(--gold); }
.quick a .icon { width: 18px; height: 18px; color: var(--ink); }

/* Form */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-4); }
.field label {
  font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--graphite);
}
.field input,
.field textarea {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-2);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }

.checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  margin: var(--s-3) 0 var(--s-4);
}
.checkbox input {
  width: 16px; height: 16px; margin-top: 3px; accent-color: var(--ink);
}
.checkbox label {
  font-size: 13px;
  color: var(--slate);
  font-weight: 500;
}
.checkbox a { color: var(--ink); text-decoration: underline; }

.error, .success-msg {
  display: none;
  padding: 12px 14px;
  border-radius: var(--r-2);
  font-size: 14px;
  margin-bottom: var(--s-3);
  border: 1px solid;
}
.error { background: #FBEDEA; color: var(--rust); border-color: rgba(178, 58, 42, .25); }
.success-msg { background: #EAF2EC; color: var(--forest-2); border-color: rgba(47, 107, 74, .25); }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(245, 241, 232, .78);
  padding: var(--s-8) 0 var(--s-7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s-7);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s-5); } }

footer .brand-name strong { color: #F5F1E8; }
footer .brand-name span { color: rgba(245,241,232,.55); }
footer .mark { background: var(--card); }
footer .mark::before, footer .mark::after { background: var(--gold); }

footer h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 16px;
  color: #F5F1E8;
  margin: 0 0 var(--s-3);
  letter-spacing: -0.005em;
}
.fine { font-size: 13.5px; margin: 4px 0; color: rgba(245,241,232,.7); }
.fine a { color: rgba(245,241,232,.92); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: rgba(245,241,232,.78); }
.footer-links a:hover { color: var(--gold); }

/* ---------- WhatsApp floating CTA (restrained) ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px 10px 12px;
  background: var(--wa);
  color: #fff;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 6px 22px -8px rgba(18, 140, 126, .55), 0 2px 4px rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.wa-float:hover { transform: translateY(-1px); background: #0E776B; }
.wa-float .icon { width: 18px; height: 18px; color: #fff; }
@media (max-width: 560px) {
  .wa-float span { display: none; }
  .wa-float { padding: 12px; }
}

/* ---------- Lightbox / image zoom ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 14, 24, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .18s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox-figure {
  margin: 0;
  max-width: min(1400px, 96vw);
  max-height: 92vh;
  border-radius: 0;
  overflow: visible;
  border: 0;
  box-shadow: none;
  background: transparent;
  transform: scale(.98);
  transition: transform .2s ease;
}
.lightbox.is-open .lightbox-figure { transform: scale(1); }
.lightbox-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  color: #F5F1E8;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.32); }
.lightbox-close svg { width: 18px; height: 18px; }
body.lightbox-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox-figure { transition: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .module:hover, .wa-float:hover { transform: none; }
}
