/* ============================================================
   Tu Asesoría Jurídica · landing styles
   - Tema dual claro/oscuro (toggle manual + prefers-color-scheme)
   - Paleta oscura inspirada en bitcoin.org (#090c14 / #13161f)
   - Acento Bitcoin orange #F7931A en ambos modos
   - Tipografía display: White Star (script handwritten)
   - Tipografía body:    Titillium Web (la misma que bitcoin.org)
============================================================ */

/* ---------- White Star (display) ---------- */
@font-face {
  font-family: 'White Star';
  src: url('../fonts/white-star.woff2') format('woff2'),
       url('../fonts/white-star.ttf')   format('truetype');
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

/* ---------- Titillium Web (body) — servida local ---------- */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/titillium-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/titillium-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/titillium-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/titillium-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/titillium-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/titillium-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens base (color-agnostic) ---------- */
:root {
  --orange:        #F7931A;
  --orange-hover:  #ffa53b;
  --orange-press:  #d97e10;

  --container:     1120px;
  --radius:        14px;
  --radius-sm:     8px;

  --font-display:  'White Star', 'Brush Script MT', cursive;
  --font-body:     'Titillium Web', Arial, sans-serif;
}

/* ---------- Tema claro (default si JS no resuelve nada) ---------- */
:root,
[data-theme="light"] {
  --bg:            #ffffff;
  --bg-alt:        #f8f8f8;
  --surface:       #ffffff;
  --surface-2:     #f5f5f5;
  --border:        #e5e5e5;
  --border-strong: #cfcfcf;

  --text:          #1f1f1f;
  --text-soft:     #444444;
  --muted:         #7a7a7a;

  --header-bg:     rgba(255,255,255,.88);
  --shadow:        0 8px 30px -12px rgba(0,0,0,.15);

  --hero-glow:         radial-gradient(ellipse at bottom, rgba(247,147,26,.08), transparent 60%);
  --section-glow-top:  radial-gradient(ellipse at top,    rgba(247,147,26,.08), transparent 60%);
}

/* ---------- Tema oscuro (estilo bitcoin.org) ---------- */
[data-theme="dark"] {
  --bg:            #090c14;
  --bg-alt:        #0d1018;
  --surface:       #13161f;
  --surface-2:     #1d2028;
  --border:        #2a2d36;
  --border-strong: #3a3d46;

  --text:          #f5f5f5;
  --text-soft:     #d0d0d0;
  --muted:         #9a9a9a;

  --header-bg:     rgba(9,12,20,.85);
  --shadow:        0 10px 40px -10px rgba(0,0,0,.5);

  --hero-glow:         radial-gradient(ellipse at bottom, rgba(247,147,26,.10), transparent 60%);
  --section-glow-top:  radial-gradient(ellipse at top,    rgba(247,147,26,.10), transparent 60%);
}

/* ---------- Reset ligero ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .25s ease, color .25s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-hover); }
ul { padding-left: 1.2em; }
h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}
p { margin: 0 0 1em; }

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

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.section-head .section-sub { color: var(--text-soft); font-size: 17px; }
.kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 14px;
  font-weight: 700;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background-color .25s ease, border-color .25s ease;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand-mark {
  font-family: var(--font-display);
  color: var(--orange);
  font-size: 30px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}
.primary-nav { display: flex; gap: 28px; align-items: center; }
.primary-nav a {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 2px;
  position: relative;
  transition: color .15s;
}
.primary-nav a:hover { color: var(--text); }
.primary-nav .cta-link {
  background: var(--orange);
  color: #111;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.primary-nav .cta-link:hover { background: var(--orange-hover); color: #111; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 38px; height: 38px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: border-color .15s, color .15s, background-color .15s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--orange); color: var(--orange); }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: none; }
[data-theme="dark"]  .theme-toggle .icon-moon { display: none; }
/* Fallback si JS aún no ha puesto data-theme — mostrar el icono de luna por defecto */
html:not([data-theme]) .theme-toggle .icon-sun { display: none; }

/* burger (móvil) */
.nav-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 40px; height: 40px;
  padding: 0; position: relative;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text);
  position: absolute; left: 8px; right: 8px; transition: transform .25s, opacity .25s;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 96px;
  background: var(--hero-glow), var(--bg);
  transition: background .25s ease;
}
/* La sección que viene justo después del hero (o del top-split, que es el
   equivalente del hero en el index) recibe el degradado espejado desde
   arriba, para que el resplandor naranja continúe a través de la frontera
   sin línea visible. Usa background-image (no background) para no pisar
   el background-color de section-alt si fuera el caso. También reduce el
   padding-top para que se acerque a la sección anterior. */
.hero + .section,
.top-split + .section {
  background-image: var(--section-glow-top);
  padding-top: 48px;
}

/* Hero compacto: variante usada en el index.html para que el hero + bloque
   de precios "Empieza hoy" quepan visualmente al cargar la página, sin
   necesidad de scroll significativo. La página inmobiliaria.html usa el
   hero estándar (sin .hero-compact). */
.hero-compact { padding: 56px 0 44px; }
.hero-compact .hero-title {
  font-size: clamp(40px, 7.5vw, 84px);
  margin-bottom: 16px;
}
.hero-compact .hero-tagline { margin-bottom: 20px; }
.hero-compact .hero-lede {
  font-size: clamp(15px, 1.7vw, 17px);
  margin-bottom: 28px;
}

/* ---------- Top split (index): Hero a la izquierda + Precios a la derecha ----------
   En desktop ≥ 960px se ven a la par. En tablet/móvil se apila (hero arriba,
   precios debajo). Sustituye a la disposición anterior hero compacto + section. */
.top-split {
  padding: 64px 0 80px;
  background: var(--hero-glow), var(--bg);
  transition: background .25s ease;
}
.top-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.top-left { text-align: left; }
.top-left .hero-title {
  font-size: clamp(40px, 5.5vw, 78px);
  line-height: 1;
  margin-bottom: 18px;
}
.top-left .hero-tagline {
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: .12em;
  margin-bottom: 22px;
}
.top-left .hero-lede {
  font-size: clamp(15px, 1.5vw, 17px);
  margin: 0 0 28px;
  max-width: none;
}
.top-left .hero-cta { justify-content: flex-start; }

/* "Tu Asesoría Jurídica" reutilizado como elemento decorativo dentro de la
   section-head de "Cómo trabajamos" — se centra y reduce un poco respecto
   al tamaño original del hero. Mantiene la fuente White Star y el color naranja
   heredados de .hero-title. */
.section-hero-title {
  font-size: clamp(44px, 7vw, 84px);
  margin: 0 0 24px;
  line-height: 1;
}

/* Layout en grid: head ocupa toda la fila superior, las dos cards van lado
   a lado debajo, con ancho idéntico (1fr / 1fr) y altura igualada por stretch. */
.top-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.top-right-head {
  grid-column: 1 / -1;
  margin: 0 0 4px;
}
.top-right-head .kicker { margin-bottom: 8px; font-size: 11px; }
.top-right-head h2 {
  font-size: clamp(16px, 1.6vw, 20px);
  margin: 0;
  letter-spacing: -.005em;
}

/* Cards compactas (~75% del tamaño normal). La sección #precios detallada
   de abajo mantiene el tamaño completo de .price-card. */
.top-right .price-card {
  padding: 18px 20px;
  border-radius: 10px;
}
.top-right .price-card .price-tag {
  font-size: 11px;
  letter-spacing: .12em;
  margin-bottom: 6px;
}
.top-right .price-card .price-amount {
  margin-bottom: 14px;
  gap: 6px;
}
.top-right .price-card .price-num { font-size: 30px; }
.top-right .price-card .price-from,
.top-right .price-card .price-unit { font-size: 12px; }
.top-right .price-card .price-features {
  margin-bottom: 14px;
}
.top-right .price-card .price-features li {
  padding: 5px 0 5px 20px;
  font-size: 13px;
}
.top-right .price-card .price-features li::before {
  top: 11px;
  width: 11px;
  height: 6px;
  border-left-width: 2px;
  border-bottom-width: 2px;
}
.top-right .price-card .btn {
  padding: 10px 18px;
  font-size: 13px;
}

@media (max-width: 960px) {
  .top-split { padding: 48px 0 64px; }
  .top-split-grid { grid-template-columns: 1fr; gap: 48px; }
  .top-left { text-align: center; }
  .top-left .hero-cta { justify-content: center; }
  .top-left .hero-title { font-size: clamp(40px, 9vw, 72px); }
}
.hero-inner { text-align: center; max-width: 820px; margin: 0 auto; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--orange);
  font-size: clamp(56px, 10vw, 120px);
  line-height: 1;
  margin: 0 0 24px;
  letter-spacing: 0;
}
.hero-tagline {
  color: var(--text);
  font-size: clamp(15px, 1.8vw, 18px);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 28px;
  font-weight: 700;
}
.hero-lede {
  color: var(--text-soft);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 640px; margin: 0 auto 40px;
}
.hero-cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  transition: background .15s, transform .15s, border-color .15s, color .15s;
  cursor: pointer; border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--font-body);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #111; }
.btn-primary:hover { background: var(--orange-hover); color: #111; }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-block { display: flex; width: 100%; }

/* ---------- Áreas ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color .2s, transform .2s, background-color .25s;
}
.card:hover { border-color: var(--orange); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(247,147,26,.12);
  color: var(--orange);
  display: grid; place-items: center;
  font-size: 22px; font-weight: 700;
  margin-bottom: 20px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 15px; margin: 0; }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.feature {
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: background-color .25s, border-color .25s;
}
.feature-num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--orange);
  letter-spacing: .14em;
  margin-bottom: 14px;
}
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { color: var(--text-soft); margin: 0; font-size: 15px; }

/* ---------- Precios ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 760px; margin: 0 auto;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: background-color .25s, border-color .25s;
}
.price-card-featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 12px 40px -12px rgba(247,147,26,.3);
  background: linear-gradient(180deg, rgba(247,147,26,.06), transparent 60%), var(--surface);
}
.price-tag {
  display: inline-block;
  color: var(--orange);
  font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 12px;
}
.price-amount { margin: 0 0 24px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-from { color: var(--muted); font-size: 14px; }
.price-num { font-size: 44px; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.price-unit { color: var(--muted); font-size: 14px; }
.price-features {
  list-style: none; padding: 0; margin: 0 0 28px;
  flex-grow: 1;
}
.price-features li {
  position: relative; padding: 8px 0 8px 24px;
  color: var(--text-soft);
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.price-features li:last-child { border-bottom: 0; }
.price-features li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.price-note {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 28px;
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: background-color .25s, border-color .25s;
}
.contact-label {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.contact-value {
  color: var(--text); font-size: 16px;
  margin: 0;
  display: block;
  line-height: 1.5;
}
a.contact-value:hover { color: var(--orange); }
.contact-label-stacked { margin-top: 18px; }
.contact-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  transition: background-color .25s, border-color .25s;
}
[data-theme="dark"] .site-footer { background: #050608; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 28px;
  justify-content: space-between; align-items: flex-end;
}
.footer-name {
  font-family: var(--font-display);
  color: var(--orange);
  font-size: 24px; margin: 0 0 8px;
}
.footer-legal {
  color: var(--muted); font-size: 13px; margin: 0;
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a {
  color: var(--text-soft); font-size: 14px;
}
.footer-nav a:hover { color: var(--orange); }

/* ---------- Sección principal "Servicio": precios destacados + formulario + descripción ---------- */

/* Variante del .price-grid usada en la sección principal (centrada, separada del form) */
.price-grid-hero { margin-bottom: 56px; }

/* Wrapper del formulario de captación */
.contact-form-wrap { max-width: 640px; margin: 0 auto 56px; }
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 36px 32px;
  transition: background-color .25s, border-color .25s;
}
.contact-form-card .kicker { margin-bottom: 14px; }
.contact-form-card h3 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 8px;
  letter-spacing: -.01em;
}
.contact-form-lede {
  color: var(--text-soft);
  font-size: 15px;
  margin: 0 0 24px;
}

/* Formulario */
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label {
  font-size: 13px; font-weight: 700;
  color: var(--text);
  letter-spacing: .02em;
}
.field input,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  width: 100%;
  transition: border-color .15s, background-color .25s, box-shadow .15s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247,147,26,.18);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-soft); line-height: 1.5;
  cursor: pointer;
  margin: 4px 0;
}
.check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--orange);
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.form-status {
  font-size: 14px;
  margin: 8px 0 0;
  min-height: 1.2em;
  color: var(--text-soft);
}
.form-status.ok    { color: #22a55a; }
.form-status.error { color: #c5251f; }

/* Banda inferior de descripción */
.servicio-desc {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-soft);
  font-size: 15px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.servicio-desc p { margin: 0; }
.servicio-desc strong { color: var(--text); font-weight: 700; }

@media (max-width: 760px) {
  .field-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 22px 26px; }
}

/* ---------- Resumen del despacho (CSS legacy del bloque anterior, mantenido por si se reactiva) ---------- */
.resumen-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: start;
}
.resumen-text .kicker { margin-bottom: 14px; }
.resumen-text h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  margin-bottom: 18px;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.resumen-text p {
  color: var(--text-soft);
  font-size: 16px;
  margin: 0 0 16px;
}
.resumen-text strong { color: var(--text); font-weight: 700; }
.resumen-text .btn { margin-top: 12px; }

.resumen-prices {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 30px 28px;
  transition: background-color .25s, border-color .25s;
}
.resumen-prices .kicker { margin-bottom: 16px; }
.mini-price {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mini-price:last-of-type { border-bottom: 0; padding-bottom: 18px; }
.mini-price-label {
  font-weight: 700;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.mini-price-amount { color: var(--text-soft); font-size: 14px; }
.mini-price-amount strong {
  font-size: 24px; font-weight: 700;
  color: var(--text);
  margin: 0 2px;
}
.mini-price-note {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 22px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .resumen-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Featured section (Inmobiliaria destacada en home) ---------- */
.featured-section {
  padding: 90px 0 88px;
  background:
    linear-gradient(180deg, rgba(247,147,26,.06), rgba(247,147,26,0) 70%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color .25s ease, border-color .25s ease;
}
.featured-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.featured-kicker {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: rgba(247,147,26,.08);
}
.featured-head h2 {
  font-size: clamp(30px, 5vw, 44px);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.featured-sub {
  color: var(--text-soft);
  font-size: clamp(15px, 1.8vw, 18px);
  margin: 0;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-bottom: 48px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: border-color .2s, transform .2s, background-color .25s;
}
.pillar:hover { border-color: var(--orange); transform: translateY(-2px); }
.pillar-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(247,147,26,.12);
  color: var(--orange);
  display: grid; place-items: center;
  margin: 0 auto 18px;
}
.pillar-icon svg { width: 26px; height: 26px; display: block; }
.pillar h3 { font-size: 18px; margin-bottom: 10px; }
.pillar p { color: var(--text-soft); font-size: 15px; margin: 0; }
.featured-cta { text-align: center; }
.btn-large { padding: 18px 36px; font-size: 16px; }

/* ---------- Service blocks (página inmobiliaria) ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.service-block + .service-block { margin-top: 0; }
.service-side h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 14px;
  letter-spacing: -.01em;
}
.service-side .kicker { margin-bottom: 14px; }
.service-side p { color: var(--text-soft); font-size: 16px; margin: 0 0 24px; }
.service-list-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  transition: background-color .25s, border-color .25s;
}
.service-list {
  list-style: none; padding: 0; margin: 0 0 24px;
}
.service-list li {
  position: relative; padding: 10px 0 10px 28px;
  color: var(--text);
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.service-list li:last-child { border-bottom: 0; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.why-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: background-color .25s, border-color .25s;
}
.why-item h3 { font-size: 17px; margin: 0 0 10px; color: var(--orange); }
.why-item p { color: var(--text-soft); font-size: 15px; margin: 0; }

@media (max-width: 760px) {
  .service-block { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    max-height: 0; overflow: hidden;
    transition: max-height .25s ease;
  }
  .primary-nav.open { max-height: 400px; }
  .primary-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .primary-nav a:last-child { border-bottom: 0; }
  .primary-nav .cta-link {
    margin-top: 12px; text-align: center;
    border-radius: 999px;
  }
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 56px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Reducir motion para usuarios que lo prefieran */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
