/* ============================================================
   REGULACIÓN DE ACTIVOS HIPOTECADOS — Estilos principales
   ============================================================ */

/* ── TOKENS ── */
:root {
  --indigo:       #2A3256;
  --indigo-deep:  #232a4a;
  --indigo-foot:  #1f2542;
  --arcilla:      #E5AC81;
  --neutro:       #E5DED4;
  --carbon:       #1B1B19;
  --blanco:       #FFFFFF;
  --arcilla-dark: #c8895a;
  --serif:        'Noto Serif', Georgia, serif;
  --sans:         'Noto Sans', 'Segoe UI', Arial, sans-serif;
  --nav-h:        72px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--blanco);
  color: var(--indigo);
  line-height: 1.7;
  overflow-x: hidden;
}
/* Títulos principales en serif (requerimiento cliente: H1/H2 serif, cuerpo sans) */
h1, h2, h3, blockquote { font-family: var(--serif); }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── ANIMACIONES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
nav.scrolled {
  background: var(--indigo);
  border-bottom: 0.5px solid rgba(229,172,129,0.18);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.nav-logo          { display: flex; align-items: center; gap: 12px; }
.nav-logo-mark     { width: 42px; height: 50px; color: var(--arcilla); flex-shrink: 0; }
.nav-brand         { display: flex; flex-direction: column; gap: 1px; }
.nav-brand-name    { font-weight: 700; font-size: 13.5px; color: var(--neutro); letter-spacing: 0.03em; line-height: 1.2; }
.nav-brand-sub     { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(229,172,129,0.65); font-weight: 400; }
.nav-links         { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  font-size: 12.5px; letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(229,222,212,0.6); font-weight: 400;
  transition: color 0.25s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--arcilla);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.nav-links a:hover           { color: var(--neutro); }
.nav-links a:hover::after    { transform: scaleX(1); }
.nav-cta {
  background: var(--arcilla); color: var(--carbon); border: none;
  padding: 10px 22px; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; font-family: var(--serif); font-weight: 700;
  cursor: pointer; transition: background 0.25s; display: inline-block;
}
.nav-cta:hover               { background: var(--arcilla-dark); }
.nav-hamburger               { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-hamburger span          { width: 22px; height: 1px; background: var(--neutro); display: block; }

/* ── HERO (full-bleed video) ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--indigo);
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(0.65);
}
.hero-left {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 5vw;
  max-width: 760px;
}
.hero-bg-grad {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 80% 70% at 30% 55%, rgba(42,50,86,0.6) 0%, transparent 65%),
    linear-gradient(to right, rgba(31,37,66,0.78) 0%, rgba(31,37,66,0.25) 55%, transparent 100%);
  pointer-events: none;
}
.hero-right          { display: none; }
.hero-right-bar      { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--arcilla); z-index: 3; }
.hero-tag            { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; animation: fadeIn 0.8s 0.2s ease both; }
.hero-tag-line       { width: 30px; height: 1px; background: var(--arcilla); }
.hero-tag-text       { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--arcilla); font-weight: 700; }
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700; color: var(--neutro); line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeUp 0.9s 0.15s ease both;
}
.hero h1 em          { font-style: italic; color: var(--arcilla); display: block; }
.hero-sub {
  font-size: 17px; color: rgba(229,222,212,0.6); font-weight: 300;
  max-width: 440px; margin-bottom: 44px; line-height: 1.8;
  animation: fadeUp 0.9s 0.3s ease both;
}
.hero-btns           { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 0.9s 0.45s ease both; }
.btn-primary {
  background: var(--arcilla); color: var(--carbon); border: none;
  padding: 15px 32px; font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; font-family: var(--serif); font-weight: 700;
  cursor: pointer; transition: background 0.25s, transform 0.2s; display: inline-block;
}
.btn-primary:hover   { background: var(--arcilla-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--neutro);
  border: 1px solid rgba(229,222,212,0.3);
  padding: 15px 32px; font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; font-family: var(--serif); font-weight: 400;
  cursor: pointer; transition: border-color 0.25s, color 0.25s; display: inline-block;
}
.btn-outline:hover   { border-color: var(--arcilla); color: var(--arcilla); }
.hero-scroll {
  position: absolute; bottom: 36px; left: 5vw;
  display: flex; align-items: center; gap: 12px;
  color: rgba(229,222,212,0.3); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  animation: fadeIn 1.2s 0.8s ease both; z-index: 2;
}
.hero-scroll-line    { width: 40px; height: 1px; background: var(--arcilla); animation: lineGrow 1s 1s ease both; transform-origin: left; }

/* ── SERVICES STRIP ── */
.services-strip          { background: var(--indigo); }
.services-strip-grid     { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(229,222,212,0.05); }
.sstrip-item {
  background: var(--indigo); padding: 32px 24px;
  display: flex; align-items: flex-start; gap: 16px;
  position: relative; overflow: hidden;
  transition: background 0.3s; cursor: default;
}
.sstrip-item::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--arcilla);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.sstrip-item:hover           { background: #2e3760; }
.sstrip-item:hover::after    { transform: scaleX(1); }
.sstrip-icon                 { width: 34px; height: 34px; flex-shrink: 0; margin-top: 2px; }
.sstrip-icon svg             { width: 100%; height: 100%; }
.sstrip-title                { font-size: 15px; font-weight: 700; color: var(--neutro); margin-bottom: 4px; line-height: 1.3; }
.sstrip-desc                 { font-size: 13px; color: rgba(229,222,212,0.42); font-weight: 300; line-height: 1.6; }

/* ── SECTION COMMONS ── */
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--arcilla-dark); font-weight: 700; margin-bottom: 14px;
}
.section-tag::before { content: ''; width: 20px; height: 1px; background: var(--arcilla); flex-shrink: 0; }
.section-title       { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 700; color: var(--carbon); line-height: 1.18; margin-bottom: 18px; }
.section-sub         { font-size: 16px; font-weight: 300; color: rgba(27,27,25,0.58); line-height: 1.8; }

/* ── ABOUT ── */
.about               { background: var(--blanco); padding: 96px 5vw; }
.about-layout        { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 80px; align-items: center; }
.about-right         { position: relative; }
.about-img-wrap      { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.about-img-wrap img  { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) brightness(0.95); }
.about-img-corner    { position: absolute; bottom: -16px; right: -16px; width: 100px; height: 100px; border: 2px solid var(--arcilla); opacity: 0.35; }
.about-badge {
  position: absolute; top: 28px; left: -24px;
  background: var(--indigo); padding: 22px 26px; min-width: 140px; text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.about-badge-val     { display: block; font-size: 2.6rem; font-weight: 700; color: var(--arcilla); line-height: 1; margin-bottom: 5px; }
.about-badge-lbl     { font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(229,222,212,0.55); font-weight: 400; }

/* ── METRICS ── */
.metrics             { background: var(--indigo-deep); padding: 56px 5vw; }
.metrics-grid        { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(229,222,212,0.06); }
.metric-item         { padding: 32px 20px; text-align: center; background: var(--indigo-deep); position: relative; }
.metric-item::after  { content: ''; position: absolute; right: 0; top: 20%; bottom: 20%; width: 1px; background: rgba(229,172,129,0.18); }
.metric-item:last-child::after { display: none; }
.metric-val          { display: block; font-size: clamp(2rem,3.5vw,2.8rem); font-weight: 700; color: var(--arcilla); line-height: 1; margin-bottom: 8px; }
.metric-lbl          { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(229,222,212,0.48); font-weight: 400; }

/* ── PRACTICE AREAS ── */
.practice            { background: var(--neutro); padding: 96px 5vw; }
.practice-header     { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.practice-grid       { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; background: rgba(42,50,86,0.08); }
.practice-card {
  background: var(--blanco); padding: 44px 36px;
  position: relative; overflow: hidden;
  transition: background 0.3s; cursor: default;
}
.practice-card:hover               { background: #faf8f5; }
.practice-num                      { font-size: 52px; font-weight: 700; color: rgba(229,172,129,0.1); line-height: 1; margin-bottom: 16px; transition: color 0.3s; }
.practice-card:hover .practice-num { color: rgba(229,172,129,0.22); }
.practice-icon                     { width: 42px; height: 42px; margin-bottom: 16px; }
.practice-icon svg                 { width: 100%; height: 100%; }
.practice-card h3                  { font-size: 19px; font-weight: 700; color: var(--carbon); margin-bottom: 10px; line-height: 1.25; }
.practice-card p                   { font-size: 14.5px; color: rgba(27,27,25,0.53); font-weight: 300; line-height: 1.75; margin-bottom: 20px; }
.practice-link {
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--arcilla-dark); font-weight: 700;
  display: flex; align-items: center; gap: 8px; transition: gap 0.25s;
}
.practice-link::after                    { content: ''; width: 20px; height: 1px; background: var(--arcilla); transition: width 0.3s; }
.practice-card:hover .practice-link      { gap: 12px; }
.practice-card:hover .practice-link::after { width: 28px; }
.practice-accent                         { position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--arcilla); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.practice-card:hover .practice-accent   { transform: scaleX(1); }

/* ── OPORTUNIDADES DESTACADAS ── */
.oportunidades             { background: var(--indigo); padding: 96px 5vw; }
.oportunidades .section-tag   { color: var(--arcilla); }
.oportunidades .section-title { color: var(--neutro); }
.oportunidades .section-sub   { color: rgba(229,222,212,0.48); }
.oport-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 56px; flex-wrap: wrap;
}
.oport-view-all {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--arcilla); font-weight: 700; white-space: nowrap;
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  transition: gap 0.25s ease;
}
.oport-view-all::after        { content: ''; display: block; width: 24px; height: 1px; background: var(--arcilla); transition: width 0.3s ease; }
.oport-view-all:hover         { gap: 14px; }
.oport-view-all:hover::after  { width: 32px; }
.oport-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; background: rgba(229,222,212,0.05);
}
.oport-card {
  background: var(--indigo-deep); display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}
.oport-card:hover            { transform: translateY(-5px); z-index: 2; box-shadow: 0 20px 48px rgba(0,0,0,0.45); }
.oport-img-wrap              { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #111; }
.oport-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(0.85) saturate(0.88);
  transition: transform 0.55s ease, filter 0.4s ease;
}
.oport-card:hover .oport-img-wrap img { transform: scale(1.05); filter: brightness(0.95) saturate(1); }
.oport-type-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--arcilla); color: var(--carbon);
  font-size: 9.5px; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 700; padding: 5px 13px; font-family: var(--serif);
}
.oport-discount-badge {
  position: absolute; top: 16px; right: 16px;
  background: rgba(229,172,129,0.14);
  border: 0.5px solid rgba(229,172,129,0.45);
  color: var(--arcilla); font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; padding: 4px 10px;
  backdrop-filter: blur(6px); font-family: var(--serif);
}
.oport-img-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(35,42,74,0.78) 0%, transparent 55%);
}
.oport-body {
  padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1;
  border-top: 0.5px solid rgba(229,222,212,0.07);
}
.oport-prop-type {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--arcilla); font-weight: 700; margin-bottom: 5px;
}
.oport-location      { font-size: 16.5px; font-weight: 700; color: var(--neutro); line-height: 1.3; margin-bottom: 18px; }
.oport-divider       { width: 100%; height: 0.5px; background: rgba(229,222,212,0.1); margin-bottom: 18px; }
.oport-prices        { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.oport-price-group   { display: flex; flex-direction: column; gap: 4px; }
.oport-price-label {
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(229,222,212,0.32); font-weight: 400;
}
.oport-price-val     { font-size: 17px; font-weight: 700; color: var(--neutro); line-height: 1.1; }
.oport-price-val.accent { color: var(--arcilla); }
.oport-price-sub     { font-size: 11.5px; color: rgba(229,222,212,0.28); font-weight: 300; margin-top: 1px; }

/* ── PROCESO ── */
.proceso                      { background: var(--indigo); padding: 96px 5vw; }
.proceso .section-title       { color: var(--neutro); }
.proceso .section-sub         { color: rgba(229,222,212,0.5); }
.proceso .section-tag         { color: var(--arcilla); }
.proceso .section-tag::before { opacity: 0.55; }
.proceso-layout  { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 56px; }
.proceso-steps   { display: flex; flex-direction: column; }
.proceso-step {
  display: flex; gap: 24px; padding: 28px 0;
  border-bottom: 0.5px solid rgba(229,222,212,0.08);
  cursor: default; transition: padding-left 0.3s;
}
.proceso-step:first-child     { border-top: 0.5px solid rgba(229,222,212,0.08); }
.proceso-step:hover           { padding-left: 8px; }
.step-num                     { font-size: 30px; font-weight: 700; color: rgba(229,172,129,0.15); line-height: 1; min-width: 48px; transition: color 0.3s; }
.proceso-step:hover .step-num { color: var(--arcilla); }
.step-content h3              { font-size: 17px; font-weight: 700; color: var(--neutro); margin-bottom: 6px; }
.step-content p               { font-size: 14px; color: rgba(229,222,212,0.43); font-weight: 300; line-height: 1.72; }
.proceso-visual               { display: flex; align-items: center; justify-content: center; }
.proceso-circle {
  width: 100%; max-width: 320px; aspect-ratio: 1;
  border: 0.5px solid rgba(229,172,129,0.18); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.proceso-circle::before {
  content: ''; position: absolute; inset: 14%;
  border: 0.5px solid rgba(229,172,129,0.1); border-radius: 50%;
}
.proceso-circle-inner {
  width: 52%; aspect-ratio: 1;
  background: var(--indigo-foot); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.proceso-circle-val  { font-size: 28px; font-weight: 700; color: var(--arcilla); }
.proceso-circle-lbl  { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(229,222,212,0.45); font-weight: 400; }
.proceso-dot                    { position: absolute; width: 8px; height: 8px; background: var(--arcilla); border-radius: 50%; }
/* 3 dots a 120° (3 etapas) */
.proceso-dot:nth-child(1)       { top: 8%; left: 50%; transform: translateX(-50%); }
.proceso-dot:nth-child(2)       { bottom: 16%; right: 12%; }
.proceso-dot:nth-child(3)       { bottom: 16%; left: 12%; }

/* ── TEAM ── */
.team                             { background: var(--blanco); padding: 96px 5vw; }
.team-header                      { text-align: center; margin-bottom: 64px; }
.team-header .section-tag         { justify-content: center; }
.team-header .section-tag::before { display: none; }
.team-header .section-title       { color: var(--carbon); }
.team-ornament       { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.team-ornament-line  { width: 48px; height: 0.5px; background: var(--arcilla); opacity: 0.45; }
.team-ornament-dot   { width: 5px; height: 5px; background: var(--arcilla); transform: rotate(45deg); }
.team-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; background: rgba(42,50,86,0.07); max-width: 1080px; margin: 0 auto;
}
.team-card                       { background: var(--neutro); overflow: hidden; position: relative; cursor: default; }
.team-img                        { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #c5bdb3; }
.team-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: saturate(0.72) brightness(0.93); transition: transform 0.5s ease;
}
.team-card:hover .team-img img   { transform: scale(1.04); }
.team-img-overlay                { position: absolute; inset: 0; background: linear-gradient(to top, rgba(42,50,86,0.75) 0%, transparent 55%); }
.team-body                       { padding: 24px 28px 28px; background: var(--blanco); border-top: 3px solid var(--arcilla); }
.team-name                       { font-size: 18px; font-weight: 700; color: var(--carbon); margin-bottom: 4px; line-height: 1.2; }
.team-role                       { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--arcilla-dark); font-weight: 700; margin-bottom: 10px; }
.team-desc                       { font-size: 14px; color: rgba(27,27,25,0.52); font-weight: 300; line-height: 1.7; }

/* ── TESTIMONIO ── */
.testimonio              { background: var(--indigo-deep); padding: 96px 5vw; }
.testimonio-inner        { max-width: 760px; margin: 0 auto; text-align: center; }
.quote-mark              { font-size: 80px; font-weight: 700; color: var(--arcilla); line-height: 0.6; margin-bottom: 32px; display: block; opacity: 0.55; }
.testimonio blockquote   { font-size: clamp(1.2rem,2.2vw,1.65rem); font-weight: 300; font-style: italic; color: var(--neutro); line-height: 1.7; margin-bottom: 36px; }
.testimonio-line         { width: 48px; height: 1px; background: var(--arcilla); margin: 0 auto 20px; }
.testimonio-author       { font-size: 15px; font-weight: 700; color: var(--arcilla); letter-spacing: 0.05em; margin-bottom: 4px; }
.testimonio-role         { font-size: 13px; color: rgba(229,222,212,0.38); font-weight: 300; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--indigo); padding: 80px 5vw; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 100% at 80% 50%, rgba(31,37,66,0.65) 0%, transparent 65%);
}
.cta-inner  { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-tag    { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--arcilla); font-weight: 700; margin-bottom: 10px; display: block; }
.cta-title  { font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 700; color: var(--neutro); line-height: 1.2; max-width: 560px; }
.cta-title em { font-style: italic; color: var(--arcilla); }
.cta-desc   { font-size: 15px; color: rgba(229,222,212,0.55); font-weight: 300; line-height: 1.7; max-width: 520px; margin-top: 12px; }

/* ── FAQ ── */
.faq                     { background: var(--neutro); padding: 96px 5vw; }
.faq-header              { margin-bottom: 56px; }
.faq-list                { max-width: 760px; }
.faq-item                { border-top: 0.5px solid rgba(42,50,86,0.13); overflow: hidden; }
.faq-item:last-child     { border-bottom: 0.5px solid rgba(42,50,86,0.13); }
.faq-q {
  width: 100%; background: none; border: none; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: var(--serif); font-weight: 700; font-size: 16px;
  color: var(--carbon); text-align: left; gap: 20px; transition: color 0.2s;
}
.faq-q:hover             { color: var(--indigo); }
.faq-icon                { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq-icon::before,
.faq-icon::after         { content: ''; position: absolute; background: var(--arcilla); border-radius: 1px; transition: transform 0.35s, opacity 0.35s; }
.faq-icon::before        { width: 14px; height: 1px; top: 50%; left: 3px; transform: translateY(-50%); }
.faq-icon::after         { width: 1px; height: 14px; top: 3px; left: 50%; transform: translateX(-50%); }
.faq-item.open .faq-icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-a                   { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-a    { max-height: 300px; padding-bottom: 20px; }
.faq-a p                 { font-size: 15px; color: rgba(27,27,25,0.6); font-weight: 300; line-height: 1.78; }

/* ── CONTACTO ── */
.contacto                         { background: var(--indigo); padding: 96px 5vw; }
.contacto-layout                  { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contacto-left .section-title     { color: var(--neutro); }
.contacto-left .section-sub       { color: rgba(229,222,212,0.48); margin-bottom: 36px; }
.contacto-left .section-tag       { color: var(--arcilla); }
.contacto-left .section-tag::before { opacity: 0.55; }
.contacto-info   { display: flex; flex-direction: column; gap: 16px; }
.info-row        { display: flex; align-items: center; gap: 13px; color: rgba(229,222,212,0.55); font-size: 15px; font-weight: 300; }
.info-dot        { width: 6px; height: 6px; background: var(--arcilla); border-radius: 50%; flex-shrink: 0; }
.form-wrap       { background: rgba(229,222,212,0.03); border: 0.5px solid rgba(229,172,129,0.15); padding: 44px 36px; }
.field-group     { position: relative; margin-bottom: 24px; }
.field-group input,
.field-group select,
.field-group textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid rgba(229,222,212,0.18);
  padding: 14px 0 8px; font-family: var(--sans); font-size: 15px; font-weight: 300;
  color: var(--neutro); outline: none; transition: border-color 0.3s; -webkit-appearance: none;
}
.field-group select          { cursor: pointer; }
.field-group select option   { background: var(--indigo); color: var(--neutro); }
.field-group textarea        { resize: none; min-height: 80px; }
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus  { border-bottom-color: var(--arcilla); }
.field-label {
  position: absolute; top: 14px; left: 0;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(229,222,212,0.36); font-weight: 400;
  pointer-events: none; transform-origin: left top;
  transition: transform 0.3s, color 0.3s;
}
.field-group input:focus ~ .field-label,
.field-group input:not(:placeholder-shown) ~ .field-label,
.field-group select:focus ~ .field-label,
.field-group select.has-value ~ .field-label,
.field-group textarea:focus ~ .field-label,
.field-group textarea:not(:placeholder-shown) ~ .field-label {
  transform: translateY(-18px) scale(0.85); color: var(--arcilla);
}
.form-row        { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
/* Honeypot — completamente invisible */
.hp-field {
  position: absolute; left: -9999px; top: -9999px;
  opacity: 0; pointer-events: none; tab-index: -1;
}

/* Mensajes de error por campo */
.field-error {
  font-size: 11px; color: #e05c5c; margin-top: 5px;
  font-weight: 300; letter-spacing: 0.02em;
  display: none; font-family: var(--sans);
}
.field-group.has-error .field-error                { display: block; }
.field-group.has-error input,
.field-group.has-error textarea,
.field-group.has-error select                      { border-bottom-color: #e05c5c !important; }

/* Feedback global */
.form-feedback {
  padding: 12px 16px; margin-top: 14px;
  font-size: 13px; font-family: var(--sans); font-weight: 300;
  line-height: 1.6; display: none;
  border-left: 3px solid transparent;
}
.form-feedback.success {
  background: rgba(229,172,129,0.1);
  border-left-color: var(--arcilla);
  color: var(--arcilla); display: block;
}
.form-feedback.error {
  background: rgba(224,92,92,0.09);
  border-left-color: #e05c5c;
  color: #e05c5c; display: block;
}

.btn-submit {
  width: 100%; background: var(--arcilla); color: var(--carbon); border: none;
  padding: 16px 28px; font-family: var(--serif); font-size: 14px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  margin-top: 8px; transition: background 0.25s, transform 0.2s;
}
.btn-submit:hover   { background: var(--arcilla-dark); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; background: var(--arcilla); }

/* ── FOOTER ── */
footer           { background: var(--indigo-foot); padding: 56px 5vw 32px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 0.5px solid rgba(229,222,212,0.07); margin-bottom: 28px;
}
.footer-logo       { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-mark  { width: 38px; height: 45px; color: var(--arcilla); }
.footer-brand      { font-size: 15px; font-weight: 700; color: var(--neutro); line-height: 1.3; }
.footer-desc       { font-size: 13.5px; color: rgba(229,222,212,0.28); font-weight: 300; line-height: 1.75; max-width: 240px; }
.footer-col h4     { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--arcilla); font-weight: 700; margin-bottom: 18px; }
.footer-col ul     { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a      { font-size: 14px; color: rgba(229,222,212,0.33); font-weight: 300; transition: color 0.2s; }
.footer-col a:hover { color: var(--neutro); }
/* Enlaces legales obligatorios (blindaje Google Ads) */
.footer-links      { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-links a    { font-size: 9pt; color: rgba(229,222,212,0.5); font-weight: 400; transition: color 0.2s; }
.footer-links a:hover { color: var(--arcilla); }
.footer-links span { color: rgba(229,222,212,0.25); font-size: 9pt; }

.footer-bottom     { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-legal      { font-size: 9pt; color: rgba(229,222,212,0.3); font-weight: 300; line-height: 1.65; max-width: 640px; }
.footer-copy       { font-size: 9pt; color: rgba(229,222,212,0.3); font-weight: 300; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-left                  { max-width: 100%; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta        { display: none; }
  .nav-hamburger              { display: flex; }
  .services-strip-grid        { grid-template-columns: repeat(2,1fr); }
  .about-layout               { grid-template-columns: 1fr; }
  .about-right                { display: none; }
  .metrics-grid               { grid-template-columns: repeat(2,1fr); }
  .metric-item:nth-child(2)::after { display: none; }
  .practice-grid              { grid-template-columns: repeat(2,1fr); }
  .oport-grid                 { grid-template-columns: repeat(2,1fr); }
  .proceso-layout             { grid-template-columns: 1fr; }
  .proceso-visual             { display: none; }
  .team-grid                  { grid-template-columns: repeat(2,1fr); }
  .contacto-layout            { grid-template-columns: 1fr; gap: 48px; }
  .footer-top                 { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row                   { grid-template-columns: 1fr; }
  .cta-inner                  { justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
  .services-strip-grid        { grid-template-columns: 1fr; }
  .practice-grid              { grid-template-columns: 1fr; }
  .oport-grid                 { grid-template-columns: 1fr; }
  .team-grid                  { grid-template-columns: 1fr; }
  .footer-top                 { grid-template-columns: 1fr; }
  .hero-btns                  { flex-direction: column; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline     { text-align: center; }
}

/* ── ACCESIBILIDAD: movimiento reducido ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
