/* =========================================================
   RIVERA BERNASCONI ABOGADOS — Sistema de diseño
   Paleta: negro · off-white cálido · oro champagne (acento)
   Tipografía: Cormorant Garamond (display) + Montserrat (UI)
   ========================================================= */

:root {
  /* Color */
  --black:      #0B0B0C;
  --ink:        #16161A;
  --charcoal:   #2A2A2E;
  --white:      #FFFFFF;
  --cream:      #FAF8F5;
  --sand:       #F1ECE4;
  --sand-2:     #E7E0D4;
  --muted:      #6E6E73;
  --muted-2:    #9A9A9F;
  --line:       rgba(20,20,26,0.10);
  --line-light: rgba(255,255,255,0.14);

  /* Acento oro — cambiar a var(--ink) para versión 100% blanco/negro */
  --gold:       #B08D57;
  --gold-ink:   #8F6F3F;   /* más oscuro, legible sobre claro */
  --gold-soft:  #C9AC7C;   /* sobre fondos oscuros */

  /* Tipografía */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Métrica */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 4px;
  --header-h: 82px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
::selection { background: var(--ink); color: var(--cream); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 130px); }
section[id] { scroll-margin-top: 84px; }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Tipografía base ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.eyebrow--light { color: var(--gold-soft); }
.eyebrow__num { color: var(--muted-2); }
.eyebrow .slash, .slash { color: var(--gold); font-weight: 400; }

.section__head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--center { max-width: 720px; margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(26px, 4vw, 42px); color: var(--ink); text-transform: uppercase; letter-spacing: 0.015em; line-height: 1.2; }
.section--dark .section__title { color: var(--white); }
.section__intro { margin-top: 18px; color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.section__head--center .section__intro { margin-inline: auto; }

/* =========================================================
   MARCA / LOGO (monograma real + wordmark)
   ========================================================= */
.brand { display: inline-flex; align-items: center; gap: 13px; color: currentColor; }
.brand__mark { height: 46px; width: auto; display: block; flex: none; transition: filter 0.4s var(--ease); }
/* Monograma blanco por defecto (fondos oscuros); negro sobre fondos claros */
.site-header.is-scrolled .brand__mark { filter: invert(1); }
.brand__word { display: flex; flex-direction: column; align-items: center; line-height: 1; gap: 6px; }
.brand__name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  text-indent: 0.22em;
}
.brand__sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: none;
  text-indent: 0.3em;
  opacity: 0.72;
}
.brand__sub::before, .brand__sub::after { content: ""; height: 1px; width: 22px; background: currentColor; opacity: 0.6; }

/* =========================================================
   BOTONES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; }
.btn--sm { padding: 11px 18px; font-size: 13px; }
.btn--lg { padding: 18px 36px; font-size: 15px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--primary:hover { background: var(--gold-ink); border-color: var(--gold-ink); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(143,111,63,0.28); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

.btn--ghost-light { background: transparent; color: var(--white); border-color: var(--line-light); }
.btn--ghost-light:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

.btn--whatsapp { background: transparent; color: inherit; border-color: var(--line); }
.btn--whatsapp:hover { border-color: #25D366; color: #128C4B; }
.site-header:not(.is-scrolled) .btn--whatsapp { color: var(--white); border-color: var(--line-light); }
.site-header:not(.is-scrolled) .btn--whatsapp:hover { color: #25D366; border-color: #25D366; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), height 0.3s var(--ease), color 0.3s var(--ease);
  color: var(--white);
}
.site-header.is-scrolled {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(20,20,26,0.06), 0 6px 22px rgba(0,0,0,0.08);
  color: var(--ink);
  height: 70px;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 24px; }
/* La marca hereda color e intensidad del header automáticamente (currentColor) */

.nav__list { display: flex; align-items: center; gap: 34px; }
.nav__link {
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav__link:hover { color: var(--gold-soft); }
.is-scrolled .nav__link:hover { color: var(--gold-ink); }
.nav__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 14px; }

/* Hamburguesa */
.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 620px at 78% 18%, rgba(176,141,87,0.16), transparent 60%),
    radial-gradient(900px 700px at 10% 90%, rgba(255,255,255,0.05), transparent 55%),
    linear-gradient(180deg, #0B0B0C 0%, #101012 55%, #0B0B0C 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(115deg, transparent 48.6%, rgba(176,141,87,0.22) 49.5%, rgba(176,141,87,0.22) 50%, transparent 50.9%);
  opacity: 0.5;
}
.hero__inner { position: relative; z-index: 1; max-width: 880px; padding-block: 60px; }
.hero__title {
  font-size: clamp(38px, 6.6vw, 76px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 15ch;
}
.hero__lead {
  margin-top: 26px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255,255,255,0.72);
  max-width: 60ch;
  font-weight: 300;
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__meta {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  font-size: 13px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
}
.hero__meta .dot { color: var(--gold); }
.hero__meta span:first-child { color: var(--gold-soft); }


/* =========================================================
   FRANJA DE CONFIANZA
   ========================================================= */
.trust { background: var(--ink); color: var(--white); border-top: 1px solid var(--line-light); }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item {
  padding: 40px 28px; text-align: center;
  display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid var(--line-light);
}
.trust__item:last-child { border-right: none; }
.trust__num { font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 30px); color: var(--gold-soft); font-weight: 500; line-height: 1.1; }
.trust__label { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.62); font-weight: 300; }

/* =========================================================
   SERVICIOS
   ========================================================= */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card {
  background: var(--cream);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; align-items: flex-start;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 0; height: 2px; background: var(--gold);
  transition: width 0.45s var(--ease);
}
.service-card:hover { background: var(--white); }
.service-card:hover::before { width: 100%; }
.service-card__icon {
  width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-ink); margin-bottom: 24px;
  transition: all 0.4s var(--ease);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card:hover .service-card__icon { background: var(--ink); border-color: var(--ink); color: var(--gold-soft); transform: translateY(-2px); }
.service-card__title { font-size: 24px; margin-bottom: 12px; color: var(--ink); }
.service-card__text { color: var(--muted); font-size: 0.96rem; margin-bottom: 24px; flex-grow: 1; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink);
}
.service-card__link .ico { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.service-card__link:hover { color: var(--gold-ink); }
.service-card__link:hover .ico { transform: translateX(5px); }

/* =========================================================
   EL ESTUDIO
   ========================================================= */
.estudio { background: var(--sand); }
.estudio__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.estudio__media { position: relative; }
.estudio__photo {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #1a1a1d 0%, #2a2a2e 100%);
}
.estudio__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.estudio__badge {
  position: absolute; right: -22px; bottom: 32px;
  width: 96px; height: 96px; background: var(--cream); border: 1px solid var(--line);
  border-radius: 50%; display: grid; place-items: center; box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  color: var(--ink);
}
.estudio__badge .brand__mark { height: 50px; filter: invert(1); }
.estudio__body .section__title { margin-bottom: 20px; }
.estudio__body > p { color: var(--muted); margin-bottom: 18px; }
.values { margin: 34px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.values li { display: flex; gap: 14px; align-items: flex-start; }
.values .ico { width: 26px; height: 26px; color: var(--gold-ink); margin-top: 2px; }
.values strong { display: block; font-family: var(--font-sans); font-weight: 600; font-size: 14.5px; color: var(--ink); letter-spacing: 0.01em; }
.values span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* =========================================================
   POR QUÉ ELEGIRNOS (dark)
   ========================================================= */
.section--dark { background: var(--black); color: var(--white); position: relative; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.why__item { background: var(--black); padding: clamp(30px, 3vw, 44px) clamp(24px, 2.5vw, 34px); }
.why__num { font-family: var(--font-serif); font-size: 40px; color: var(--gold-soft); display: block; margin-bottom: 18px; font-weight: 500; }
.why__item h3 { font-size: 21px; color: var(--white); margin-bottom: 12px; }
.why__item p { color: rgba(255,255,255,0.62); font-size: 0.94rem; font-weight: 300; }

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.testimonios { background: var(--cream); }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,0.07); }
.testi-card__stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; }
.testi-card blockquote { font-family: var(--font-serif); font-size: 20px; line-height: 1.4; color: var(--ink); font-weight: 500; }
.testi-card figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.testi-card__name { font-weight: 600; font-size: 14px; }
.testi-card__meta { font-size: 12px; color: var(--muted-2); letter-spacing: 0.04em; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { background: var(--ink); color: var(--white); padding-block: clamp(56px, 8vw, 88px); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(115deg, transparent 60%, rgba(176,141,87,0.14) 61%, transparent 62%);
}
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band__title { font-size: clamp(22px, 2.7vw, 34px); max-width: 22ch; color: var(--white); text-transform: uppercase; letter-spacing: 0.015em; line-height: 1.25; }
.cta-band .eyebrow { margin-bottom: 14px; }

/* =========================================================
   EMPRESAS Y PYMES (planes con pestañas · CSS puro, sin JS)
   ========================================================= */
.plans__tabs-wrap { max-width: 860px; margin: 0 auto; }
.plans__radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.plans__tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 28px; }
.plans__tab {
  flex: 1 1 160px; cursor: pointer; border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 3px; text-align: center; align-items: center;
  background: rgba(255,255,255,0.02); transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.plans__tab:hover { border-color: rgba(201,172,124,0.6); transform: translateY(-2px); }
.plans__tab-seg { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); }
.plans__tab-name { font-family: var(--font-serif); font-size: 22px; color: var(--white); line-height: 1.1; }
.plans__tab-range { font-size: 12px; color: rgba(255,255,255,0.55); }
#pl-partner:checked ~ .plans__tabs .plans__tab--partner,
#pl-start:checked ~ .plans__tabs .plans__tab--start,
#pl-plus:checked ~ .plans__tabs .plans__tab--plus,
#pl-elite:checked ~ .plans__tabs .plans__tab--elite {
  background: rgba(176,141,87,0.16); border-color: var(--gold-soft); transform: translateY(-2px);
}
#pl-partner:focus-visible ~ .plans__tabs .plans__tab--partner,
#pl-start:focus-visible ~ .plans__tabs .plans__tab--start,
#pl-plus:focus-visible ~ .plans__tabs .plans__tab--plus,
#pl-elite:focus-visible ~ .plans__tabs .plans__tab--elite { outline: 2px solid var(--gold); outline-offset: 2px; }

.plans__panel { display: none; }
#pl-partner:checked ~ .plans__panels .plans__panel--partner,
#pl-start:checked ~ .plans__panels .plans__panel--start,
#pl-plus:checked ~ .plans__panels .plans__panel--plus,
#pl-elite:checked ~ .plans__panels .plans__panel--elite { display: flex; }
.plans__panel {
  flex-direction: column; max-width: 720px; margin: 0 auto;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 46px); animation: planIn 0.45s var(--ease);
}
@keyframes planIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.plans__badge { align-self: flex-start; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--black); background: var(--gold-soft); padding: 6px 14px; border-radius: 100px; font-weight: 600; }
.plans__name { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 38px); color: var(--white); margin-top: 18px; }
.plans__desc { color: rgba(255,255,255,0.72); margin-top: 12px; font-weight: 300; max-width: 60ch; }
.plans__list { margin: 26px 0 30px; display: grid; gap: 15px; padding: 0; list-style: none; }
.plans__list li { display: flex; gap: 13px; align-items: flex-start; color: rgba(255,255,255,0.86); font-size: 0.97rem; line-height: 1.5; }
.plans__list .ico { width: 19px; height: 19px; flex: none; color: var(--gold-soft); margin-top: 2px; }
.plans__inc { padding-bottom: 16px; margin-bottom: 3px; border-bottom: 1px solid var(--line-light); }
.plans__inc span { font-weight: 600; color: var(--gold-soft); letter-spacing: 0.01em; }
.plans__panel .btn { align-self: flex-start; }
.btn--gold { background: var(--gold-soft); color: var(--black); border-color: var(--gold-soft); }
.btn--gold:hover { background: #d9bd8e; border-color: #d9bd8e; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201,172,124,0.28); }
@media (max-width: 560px) {
  .plans__tab { flex: 1 1 calc(50% - 12px); padding: 13px 10px; }
  .plans__tab-name { font-size: 19px; }
  .plans__panel .btn { align-self: stretch; width: 100%; }
}

/* =========================================================
   PREGUNTAS FRECUENTES (acordeones nativos <details>)
   ========================================================= */
.faq { background: var(--cream); }
.faq__list { max-width: 780px; margin: 0 auto; }
.faq-area { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 14px; overflow: hidden; }
.faq-area > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 22px 24px; font-family: var(--font-sans); font-weight: 500; font-size: 1.02rem; color: var(--ink); transition: background 0.25s var(--ease); }
.faq-area > summary::-webkit-details-marker { display: none; }
.faq-area > summary:hover { background: var(--cream); }
.faq-area__icon { width: 42px; height: 42px; flex: none; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--gold-ink); }
.faq-area__icon svg { width: 20px; height: 20px; }
.faq-area__label { flex: 1; letter-spacing: 0.01em; }
.faq-chevron { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform 0.3s var(--ease); }
.faq-area[open] > summary .faq-chevron { transform: rotate(180deg); }
.faq-area[open] > summary { border-bottom: 1px solid var(--line); background: var(--cream); }
.faq-area__body { padding: 4px 24px 8px; }

.faq-q { border-top: 1px solid var(--line); }
.faq-q:first-child { border-top: none; }
.faq-q > summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; font-family: var(--font-serif); font-size: 1.16rem; line-height: 1.35; color: var(--ink); font-weight: 500; transition: color 0.25s var(--ease); }
.faq-q > summary::-webkit-details-marker { display: none; }
.faq-q > summary:hover { color: var(--gold-ink); }
.faq-q__plus { margin-left: auto; flex: none; width: 16px; height: 16px; position: relative; margin-top: 6px; color: var(--gold-ink); }
.faq-q__plus::before, .faq-q__plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq-q__plus::before { top: 7px; left: 0; width: 16px; height: 1.6px; }
.faq-q__plus::after { left: 7px; top: 0; width: 1.6px; height: 16px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.faq-q[open] .faq-q__plus::after { transform: rotate(90deg); opacity: 0; }
.faq-q__a { padding: 0 0 18px; color: var(--muted); font-size: 0.98rem; line-height: 1.72; max-width: 64ch; }
.faq-q[open] .faq-q__a { animation: faqIn 0.35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

@media (max-width: 620px) {
  .faq-area > summary { padding: 18px; font-size: 0.95rem; gap: 12px; }
  .faq-area__icon { width: 38px; height: 38px; }
  .faq-area__body { padding: 2px 18px 6px; }
  .faq-q > summary { font-size: 1.06rem; }
}

/* =========================================================
   CONTACTO
   ========================================================= */
.contacto { background: var(--sand); }
.contacto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contacto__list { margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.contacto__list li { display: flex; gap: 16px; align-items: flex-start; }
.contacto__list .ico { width: 22px; height: 22px; color: var(--gold-ink); margin-top: 3px; }
.contacto__label { display: block; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 3px; }
.contacto__list a { transition: color 0.3s var(--ease); }
.contacto__list a:hover { color: var(--gold-ink); }
.contacto__social { display: flex; gap: 12px; margin-top: 30px; }
.contacto__social a {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); transition: all 0.35s var(--ease);
}
.contacto__social a:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

/* Formulario */
.contacto__form-wrap { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); }
.form__intro { font-family: var(--font-serif); font-size: 20px; color: var(--ink); margin-bottom: 24px; line-height: 1.35; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,0.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.form__note { font-size: 12px; color: var(--muted-2); margin-top: 14px; text-align: center; }

.contacto__map { margin-top: clamp(40px, 6vw, 64px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.contacto__map iframe { width: 100%; height: 380px; border: 0; filter: grayscale(0.35) contrast(1.02); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--black); color: rgba(255,255,255,0.7); padding-top: clamp(56px, 7vw, 84px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.brand--light { color: var(--white); }
.brand--light .brand__sub { opacity: 0.6; }
.footer__tagline { margin-top: 20px; font-size: 14px; font-weight: 300; max-width: 34ch; line-height: 1.7; }
.footer__social { display: flex; gap: 12px; margin-top: 24px; }
.footer__social a {
  width: 40px; height: 40px; border: 1px solid var(--line-light); border-radius: 50%;
  display: grid; place-items: center; color: rgba(255,255,255,0.8); transition: all 0.35s var(--ease);
}
.footer__social a:hover { background: var(--gold-ink); border-color: var(--gold-ink); color: var(--white); transform: translateY(-2px); }
.footer__col h4 { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__contact li { font-size: 14px; font-weight: 300; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--gold-soft); }
.footer__contact li { line-height: 1.6; }
.footer__bottom { border-top: 1px solid var(--line-light); padding-block: 24px; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom p { font-size: 12.5px; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; }

/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(37,211,102,0.45);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  animation: waPulse 2.6s infinite;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 34px rgba(37,211,102,0.6); }
@keyframes waPulse { 0% { box-shadow: 0 10px 28px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); } 70% { box-shadow: 0 10px 28px rgba(37,211,102,0.45), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 10px 28px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); } }

/* =========================================================
   REVEAL (scroll)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Failsafe: mostrar contenido al instante si el entorno no soporta la animación */
html.reveal-now .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.services__grid .service-card:nth-child(2),
.why__grid .why__item:nth-child(2),
.testi__grid .testi-card:nth-child(2) { transition-delay: 0.08s; }
.services__grid .service-card:nth-child(3),
.why__grid .why__item:nth-child(3),
.testi__grid .testi-card:nth-child(3) { transition-delay: 0.16s; }
.services__grid .service-card:nth-child(4),
.why__grid .why__item:nth-child(4) { transition-delay: 0.24s; }
.services__grid .service-card:nth-child(5) { transition-delay: 0.32s; }
.services__grid .service-card:nth-child(6) { transition-delay: 0.40s; }

/* =========================================================
   MOBILE NAV PANEL
   ========================================================= */
@media (max-width: 940px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 84vw);
    background: var(--cream); color: var(--ink);
    transform: translateX(100%); transition: transform 0.45s var(--ease);
    display: flex; align-items: flex-start; padding: 104px 40px 40px;
    box-shadow: -20px 0 60px rgba(0,0,0,0.18); z-index: 99;
  }
  .nav.is-open { transform: translateX(0); }
  /* Con el menú abierto: ✕ y logo legibles sobre el panel crema, sin el botón de WhatsApp */
  body.nav-open .nav-toggle { color: var(--ink) !important; }
  body.nav-open .brand__word { color: var(--ink); }
  body.nav-open .header__actions .btn--whatsapp { display: none; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .nav__list li { width: 100%; }
  .nav__link { display: block; font-family: var(--font-serif); font-size: 26px; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav-toggle { display: flex; z-index: 101; }
  .header__actions .btn--whatsapp span { display: none; }
  .header__actions .btn--whatsapp { padding: 11px; }
  .site-header:not(.is-scrolled) .nav-toggle { color: var(--white); }
  body.nav-open { overflow: hidden; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 98;
    opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease);
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .estudio__grid { grid-template-columns: 1fr; }
  .estudio__media { max-width: 420px; }
  .contacto__grid { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2) { border-right: none; }
  .trust__item:nth-child(1), .trust__item:nth-child(2) { border-bottom: 1px solid var(--line-light); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .testi__grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; }
  .brand__name { font-size: 12px; letter-spacing: 0.14em; text-indent: 0.14em; }
  .brand__mark { height: 40px; }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero__meta .dot { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

/* =========================================================
   ACCESIBILIDAD / MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
