/* =========================================================
   ADJ Grupo Jurídico S.A.S. — sistema visual
   Negro tinta, crema y oro. Cormorant Garamond + Manrope.
   ========================================================= */

:root {
  --ink:        #14171c;
  --ink-soft:   #2a2d33;
  --cream:      #f4f1ea;
  --cream-2:    #efe9dc;
  --gold:       #9a7b43;
  --gold-light: #c9a25c;
  --muted:      #54575e;
  --body:       #4a4d54;
  --faint:      #8a8d92;
  --line:       rgba(26, 28, 32, 0.1);
  --line-soft:  rgba(26, 28, 32, 0.07);
  --on-dark:    rgba(244, 241, 234, 0.7);
  --on-dark-2:  rgba(244, 241, 234, 0.45);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:  'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 6vw, 64px);
  --section: clamp(72px, 9vw, 128px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* El atributo hidden debe ganar SIEMPRE. Sin esto, cualquier clase con
   display (.form, .seg-bar…) lo anula y el elemento se ve cuando no debe. */
[hidden] { display: none !important; }
::selection { background: rgba(154, 123, 67, 0.25); }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* ---------- Estructura ---------- */

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--sm { padding-block: clamp(48px, 6vw, 80px); }

.dark  { background: var(--ink); color: var(--cream); }
.sand  { background: var(--cream-2); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold-light);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Tipografía ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-light);
}
.kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.kicker--plain {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 16px;
}
.kicker--plain::before { content: none; }

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0 0 26px;
}

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  margin: 0 0 12px;
}

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--body);
  margin: 0;
}
.dark .lead { color: var(--on-dark); }

.prose { font-size: 16px; line-height: 1.8; color: var(--body); }
.small { font-size: 13.5px; line-height: 1.6; color: var(--muted); }

.measure   { max-width: 60ch; }
.measure-s { max-width: 46ch; }

/* ---------- Botones y enlaces ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 16px 28px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn--gold { color: var(--ink); background: var(--gold-light); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201, 162, 92, 0.4); }

.btn--ghost {
  font-weight: 600;
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(244, 241, 234, 0.25);
}
.btn--ghost:hover { border-color: rgba(244, 241, 234, 0.6); background: rgba(244, 241, 234, 0.06); }

.btn--outline {
  font-weight: 700;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  justify-content: center;
}
.btn--outline:hover { background: var(--ink); color: var(--cream); }

.link-gold {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}
.dark .link-gold { color: var(--gold-light); border-color: var(--gold-light); }

/* ---------- Marca ---------- */

.mark {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  height: 32px;
  width: max-content;   /* sin esto el contenedor se estira y descoloca la barra central */
  flex-shrink: 0;
}
.mark span { width: 4px; height: 100%; background: var(--ink); transition: background .4s ease; }
/* La barra central va centrada verticalmente. Nada de márgenes en porcentaje:
   se calculan sobre el ANCHO del contenedor y rompen el logo donde este se ensancha. */
.mark span:nth-child(2) { height: 66%; align-self: center; background: var(--gold); }
.mark--light span { background: var(--cream); }
.mark--light span:nth-child(2) { background: var(--gold); }
.mark--gold span,
.mark--gold span:nth-child(2) { background: var(--gold-light); }

.brand { display: flex; align-items: center; gap: 14px; }
.brand__word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.08em;
  transition: color .4s ease;
}
.brand__sub {
  font-size: 8px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-top: 3px;
  padding-left: 0.30em;
}

/* ---------- Cabecera ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  height: 88px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: height .4s cubic-bezier(.4,0,.2,1), background .4s ease, border-color .4s ease;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-header.is-solid {
  height: 66px;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

/* sobre fondo oscuro (hero) */
.site-header .brand__name { color: var(--cream); }
.site-header .mark span { background: var(--cream); }
.site-header .mark span:nth-child(2) { background: var(--gold); }
.site-header .nav-link { color: var(--cream); }

/* ya desplazada, o en páginas sin hero oscuro */
.site-header.is-solid .brand__name { color: var(--ink); }
.site-header.is-solid .mark span { background: var(--ink); }
.site-header.is-solid .mark span:nth-child(2) { background: var(--gold); }
.site-header.is-solid .nav-link { color: var(--ink); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }

.nav-link {
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 0;
  transition: color .25s ease;
}
.nav-link:hover { color: var(--gold); }
.nav-link.is-active,
.site-header.is-solid .nav-link.is-active { color: var(--gold); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink) !important;
  background: var(--gold-light);
  padding: 11px 20px;
  border-radius: 2px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(201, 162, 92, 0.4); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.burger span { width: 24px; height: 2px; background: var(--cream); transition: background .4s ease; }
.site-header.is-solid .burger span { background: var(--ink); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 100px clamp(28px, 8vw, 64px) 48px;
}
.mobile-menu a.m-link {
  font-family: var(--serif);
  font-size: clamp(30px, 8vw, 40px);
  font-weight: 500;
  color: var(--cream);
  padding: 14px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.1);
}
.mobile-menu .btn { margin-top: 32px; justify-content: center; }
.mobile-menu__foot {
  margin-top: auto;
  padding-top: 28px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 859px) {
  .nav { display: none; }
  .burger { display: flex; }
}

/* ---------- Hero de portada ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}
.hero__mark {
  position: absolute;
  top: 50%;
  right: 2vw;
  transform: translateY(-50%);
  height: min(92vh, 900px);
  display: flex;
  align-items: flex-start;
  gap: clamp(26px, 4.2vw, 60px);
  opacity: 0;
  animation: fadeSoft 1.8s ease .5s forwards;
}
.hero__mark span {
  width: clamp(34px, 5.4vw, 82px);
  height: 100%;
  background: linear-gradient(#b08d4e, #5f4c28);
}
.hero__mark span:nth-child(2) { height: 66%; align-self: center; }
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #14171c 42%, rgba(20,23,28,0.72) 68%, rgba(20,23,28,0.35) 100%);
}
.hero__inner {
  position: relative;
  width: 100%;
  padding-block: 120px 80px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0 0 30px;
  max-width: 15ch;
}
.hero h1 em { display: block; font-style: italic; color: var(--gold-light); }
.hero__sub { max-width: 540px; margin: 0 0 42px; color: var(--on-dark); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.hero__scroll i { width: 1px; height: 36px; background: linear-gradient(rgba(154,123,67,0.9), transparent); }

@media (max-width: 700px) { .hero__mark { opacity: .35 !important; right: -12vw; } }

/* ---------- Encabezado de página interior ---------- */

.page-head {
  background: var(--ink);
  color: var(--cream);
}
.page-head .wrap { padding-block: clamp(130px, 16vw, 190px) clamp(56px, 7vw, 90px); }
.page-head .lead { color: var(--on-dark); max-width: 620px; }

/* ---------- Animación de entrada ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeSoft { from { opacity: 0; } to { opacity: .85; } }

[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  .hero__mark, .hero h1, .hero__sub, .hero__actions { animation: none !important; opacity: 1 !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Rejillas ---------- */

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.grid--hairline {
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
}

/* ---------- Cifras ---------- */

.stat { border-left: 2px solid var(--gold); padding-left: 20px; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 4.5vw, 58px);
  line-height: 1;
}
.stat p { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 10px 0 0; }

/* ---------- Tarjetas de área ---------- */

.area-card {
  background: var(--cream);
  padding: 36px 30px 40px;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  transition: background .3s ease;
}
.area-card:hover { background: var(--cream-2); }
.area-card__num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold); }
.area-card h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.1; margin: 16px 0 12px; }
.area-card p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 20px; }
.area-card__more { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--gold); }

.area-card--dark {
  background: var(--ink);
  color: var(--cream);
  justify-content: center;
  padding: 36px 30px;
}
.area-card--dark:hover { background: var(--ink); }
.area-card--dark p { font-family: var(--serif); font-size: 24px; line-height: 1.3; color: var(--cream); margin: 0 0 18px; }
.area-card--dark a { font-size: 13.5px; font-weight: 700; color: var(--gold-light); }

/* ---------- Retratos de socios ---------- */

.person {
  position: relative;
  aspect-ratio: 0.82;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 234, 0.1);
  background:
    radial-gradient(120% 90% at 70% 0%, #262b33 0%, #1a1e24 55%, #15181d 100%);
  display: flex;
  align-items: flex-end;
  transition: transform .35s ease, border-color .35s ease;
}
.person:hover { transform: translateY(-6px); border-color: rgba(201, 162, 92, 0.55); }
.person__initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(72px, 12vw, 128px);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(201, 162, 92, 0.22);
  user-select: none;
}
.person__body {
  position: relative;
  width: 100%;
  padding: 22px;
  background: linear-gradient(transparent, rgba(20, 23, 28, 0.9));
}
.person__body .mark { height: 20px; margin-bottom: 12px; }
.person__body .mark span { width: 3px; }
.person__body h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.05; margin: 0 0 6px; color: var(--cream); }
.person__body p { font-size: 12.5px; color: var(--gold-light); margin: 0; }

/* retrato claro, para la página de Equipo */
.person--light {
  aspect-ratio: 0.84;
  border-color: var(--line);
  background: radial-gradient(120% 90% at 70% 0%, #efe8d8 0%, #e6ddc9 60%, #ded6c2 100%);
}
.person--light:hover { transform: none; border-color: var(--line); }
.person--light .person__initials { color: rgba(154, 123, 67, 0.3); }
.person--light .mark { position: absolute; top: 18px; right: 18px; height: 22px; z-index: 2; }
.person--light .mark span { width: 3px; }

/* ---------- Bloques de área (página Servicios) ---------- */

.area-block { border-bottom: 1px solid var(--line-soft); }
.area-block .wrap {
  padding-block: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.area-block__title { display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.area-block__num { font-family: var(--serif); font-style: italic; font-size: clamp(38px, 5vw, 58px); color: var(--gold); line-height: 1; }
.area-block h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.01em; margin: 0; }

.list-panel { background: var(--cream); border: 1px solid var(--line); }
.list-panel li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.list-panel ul { list-style: none; margin: 0; padding: 0; }
.list-panel li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
}
.list-panel__cta { display: block; padding: 20px 26px; font-size: 14px; font-weight: 700; color: var(--gold); }

/* ---------- Pasos ---------- */

.step { background: var(--cream-2); padding: 34px 28px 40px; }
.step__n { font-family: var(--serif); font-size: 20px; color: var(--gold); margin-bottom: 20px; }
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 23px; margin: 0 0 10px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Valores ---------- */

.value { border-top: 2px solid var(--gold); padding-top: 22px; }
.value h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 0 0 12px; }
.value p { font-size: 15px; line-height: 1.7; color: var(--on-dark); margin: 0; }

/* ---------- Planes ---------- */

.seg-btn {
  font-family: var(--sans);
  text-align: left;
  background: #fff;
  border: 1px solid rgba(26, 28, 32, 0.14);
  border-radius: 2px;
  padding: 30px 26px;
  cursor: pointer;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.seg-btn:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20, 23, 28, 0.1); }
.seg-btn b { display: block; font-family: var(--serif); font-weight: 600; font-size: 38px; line-height: 1; }
.seg-btn i { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 8px; }
.seg-btn u {
  display: block;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 16px;
}

.seg-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 2px;
  padding: 18px 24px;
}
.seg-bar b { font-family: var(--serif); font-weight: 600; font-size: 26px; }
.seg-bar span { font-size: 13px; color: rgba(244, 241, 234, 0.6); }
.seg-bar button {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  background: none;
  border: 1px solid rgba(201, 162, 92, 0.4);
  border-radius: 2px;
  padding: 10px 18px;
  cursor: pointer;
}

.plan {
  background: #fff;
  border: 1px solid rgba(26, 28, 32, 0.12);
  border-radius: 2px;
  padding: 38px 32px 34px;
  display: flex;
  flex-direction: column;
}
.plan__label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 0 10px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.plan__price b { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4vw, 48px); line-height: 1; }
.plan__price span { font-size: 14px; color: var(--muted); }
.plan__note {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--body);
  background: var(--cream);
  border-left: 2px solid var(--gold);
  padding: 12px 16px;
  margin: 16px 0 0;
}
.plan__meta { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin: 12px 0 0; }
.plan__scope { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 26px 0 4px; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(26, 28, 32, 0.06);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.plan li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 7px; flex-shrink: 0; }
.plan__excl { font-size: 12.5px; line-height: 1.65; color: var(--faint); margin: 18px 0 0; }
.plan .btn { margin-top: 28px; }

.plan--dark {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  border: 2px solid var(--gold-light);
  box-shadow: 0 24px 60px rgba(20, 23, 28, 0.18);
}
.plan--dark .plan__label { color: var(--gold-light); }
.plan--dark .plan__price span { color: rgba(244, 241, 234, 0.6); }
.plan--dark .plan__note {
  color: rgba(244, 241, 234, 0.8);
  background: rgba(244, 241, 234, 0.06);
  border-left-color: var(--gold-light);
}
.plan--dark .plan__meta { color: rgba(244, 241, 234, 0.65); }
.plan--dark .plan__meta strong { color: var(--cream); }
.plan--dark .plan__scope { color: var(--gold-light); }
.plan--dark li { color: rgba(244, 241, 234, 0.88); border-bottom-color: rgba(244, 241, 234, 0.08); }
.plan--dark li::before { background: var(--gold-light); }
.plan--dark .plan__excl { color: rgba(244, 241, 234, 0.5); }
.plan--dark .plan__excl strong { color: rgba(244, 241, 234, 0.75); }
.plan__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  background: var(--gold-light);
  padding: 5px 14px;
  border-radius: 2px;
}
.plan__copy { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold-light); margin: 8px 0 0; }

.compare {
  margin-top: 40px;
  background: #fff;
  border: 1px solid rgba(26, 28, 32, 0.12);
  border-radius: 2px;
  padding: 34px 32px;
}
.compare__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(26, 28, 32, 0.08);
  font-size: 14px;
}
.compare__row span:last-child { font-weight: 600; white-space: nowrap; }
.compare__total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  font-size: 15px;
  font-weight: 700;
}
.compare__total span:last-child {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--gold);
  white-space: nowrap;
}

.pledge {
  background: var(--cream-2);
  border-radius: 2px;
  padding: 30px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.pledge .mark { height: 30px; margin-top: 2px; }
.pledge p:first-of-type { font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.pledge p:last-of-type { font-size: 14.5px; line-height: 1.6; color: var(--body); margin: 0; }

.warning-box {
  background: var(--ink);
  color: var(--cream);
  border-radius: 2px;
  padding: 30px 28px;
}
.warning-box p:first-child { font-size: 14px; font-weight: 700; color: var(--gold-light); margin: 0 0 6px; }
.warning-box p:last-child { font-size: 14.5px; line-height: 1.65; color: rgba(244, 241, 234, 0.75); margin: 0; }

/* ---------- Blog ---------- */

.post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(26, 28, 32, 0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.post:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20, 23, 28, 0.12); }
.post__img {
  aspect-ratio: 1.5;
  background: repeating-linear-gradient(135deg, #eee7d7, #eee7d7 12px, #e6ddc9 12px, #e6ddc9 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post__img .mark { height: 34px; opacity: .45; }
.post__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.post__tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.post h3 { font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.2; margin: 12px 0 10px; }
.post p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 20px; }
.post__date { margin-top: auto; font-size: 12.5px; color: var(--muted); }

.chip {
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(26, 28, 32, 0.12);
  padding: 9px 16px;
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
}
.chip--on { background: var(--ink); color: var(--cream); }

.soon {
  border: 1px dashed rgba(26, 28, 32, 0.22);
  border-radius: 2px;
  padding: clamp(40px, 5vw, 64px) 32px;
  text-align: center;
}

/* ---------- Contacto ---------- */

.channel {
  background: var(--cream);
  padding: 34px 30px 38px;
  display: flex;
  flex-direction: column;
  transition: background .3s ease;
}
.channel:hover { background: var(--cream-2); }
.channel__kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.channel__value { font-family: var(--serif); font-weight: 600; font-size: 28px; margin: 14px 0 8px; }
.channel__desc { font-size: 14px; line-height: 1.5; color: var(--muted); }

.form { display: flex; flex-direction: column; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; }
.form label > span { font-size: 12.5px; font-weight: 600; }
.form input,
.form select,
.form textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(26, 28, 32, 0.18);
  border-radius: 2px;
  padding: 14px 16px;
  width: 100%;
}
.form textarea { resize: vertical; }
.form ::placeholder { color: var(--faint); }
.form__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .form__duo { grid-template-columns: 1fr; } }
.form__legal { font-size: 12px; line-height: 1.6; color: var(--faint); margin: 0; }
.form__error { font-size: 13px; color: #8a2e2e; margin: 0; }
.form .btn { align-self: flex-start; }

.form-done {
  background: var(--ink);
  color: var(--cream);
  padding: 40px;
  border-radius: 2px;
}
.form-done .mark { height: 36px; margin-bottom: 20px; }
.form-done .mark span { width: 5px; }
.form-done h3 { font-family: var(--serif); font-weight: 600; font-size: 30px; margin: 0 0 12px; }
.form-done p { font-size: 15px; line-height: 1.7; color: rgba(244, 241, 234, 0.72); margin: 0; }

.map-frame { aspect-ratio: 1.3; border: 1px solid var(--line); overflow: hidden; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

.office {
  background: var(--ink);
  color: var(--cream);
  padding: 36px 32px;
}
.office__label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 20px; }
.office dl { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.office dt { font-size: 12px; color: rgba(244, 241, 234, 0.5); margin-bottom: 4px; }
.office dd { margin: 0; font-size: 16px; line-height: 1.5; }

/* ---------- Pie ---------- */

.site-footer { background: var(--ink); color: var(--cream); }
.site-footer .wrap { padding-block: clamp(56px, 8vw, 96px) 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 48px 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.1);
}
.footer-lead { grid-column: 1 / -1; max-width: 560px; }
.footer-lead .mark { height: 44px; margin-bottom: 20px; }
.footer-lead .mark span { width: 6px; }
.footer-lead p:first-of-type {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  margin: 0 0 14px;
}
.footer-lead p:last-of-type {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.42);
  margin: 0;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 18px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 14.5px;
  color: rgba(244, 241, 234, 0.72);
  padding: 6px 0;
  margin: 0;
  line-height: 1.6;
  transition: color .25s ease;
}
.footer-col a:hover { color: var(--gold-light); }

.socials { display: flex; gap: 14px; padding-top: 10px; }
.socials a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 241, 234, 0.2);
  border-radius: 2px;
  padding: 0;
  transition: border-color .25s ease, background .25s ease;
}
.socials a:hover { border-color: var(--gold-light); background: rgba(201, 162, 92, 0.12); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 12px;
  color: rgba(244, 241, 234, 0.4);
}
.footer-bar a { color: inherit; }
.footer-bar a:hover { color: var(--gold-light); }

/* ---------- Utilidades ---------- */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack-sm > * + * { margin-top: 12px; }
.hairline-top { border-top: 1px solid var(--line); }
.credit { font-size: 12.5px; color: var(--faint); }
