/* ============================================================
   FERNANDO CARRA — ABOGADO
   Paleta: Negro · Gris Oscuro · Gris Claro — 100% monocromática
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-0:     #1C1C1C;
  --bg-1:     #242424;
  --bg-2:     #2E2E2E;
  --bg-3:     #383838;
  --bg-4:     #424242;
  --bd-1:     #363636;
  --bd-2:     #484848;
  --bd-3:     #585858;
  --g-1:      #505050;
  --g-2:      #787878;
  --g-3:      #9E9E9E;
  --g-4:      #C0C0C0;
  --g-5:      #DEDEDE;
  --white:    #F4F4F4;

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg-1);
  color: var(--g-5);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   NAVBAR — NOMBRE ENORME
   ============================================================ */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, padding 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: rgba(8,8,8,0.97);
  border-bottom-color: var(--bd-1);
  backdrop-filter: blur(20px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.logo-nombre {
  display: block;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  transition: color 0.3s;
}
.logo:hover .logo-nombre { color: var(--g-4); }
.logo-medio {
  display: block;
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 400;
  letter-spacing: 0.52em;
  color: var(--g-2);
  margin-top: 4px;
  text-transform: uppercase;
}
.logo-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.38rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  color: #C9A84C;
  margin-top: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
  margin: 0;
}
.nav-links a {
  color: var(--g-2);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.btn-nav {
  color: var(--bg-0) !important;
  background: var(--white);
  padding: 11px 24px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--white);
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn-nav:hover {
  background: transparent !important;
  color: var(--white) !important;
}

.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--bd-2);
  color: var(--white);
  padding: 8px 14px;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* ============================================================
   HERO — Estilo Burlando: foto de fondo full-screen
   ============================================================ */

.hero {
  position: relative;
  background: var(--bg-0);
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

/* Foto de fondo a pantalla completa — estilo Burlando */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('foto.jpg');
  background-size: cover;
  background-position: center top;
  filter: brightness(0.25) saturate(0.6);
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero-bg-grid { transform: scale(1.06); }

/* Gradiente dramático encima de la foto de fondo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(8,8,8,0.95) 45%, rgba(8,8,8,0.5) 100%),
    linear-gradient(to bottom, rgba(8,8,8,0.3) 0%, transparent 40%, rgba(8,8,8,0.8) 100%);
  pointer-events: none;
}

/* Nombre enorme como elemento arquitectónico */
.hero-titulo-display {
  position: relative;
  z-index: 3;
  padding: 160px 40px 0;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.hero-titulo-display h1 {
  font-family: var(--sans);
  font-size: clamp(4rem, 8vw, 8.8rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.9;
  word-break: break-word;
}
.hero-titulo-display h1 span {
  display: block;
  color: var(--g-2);
  font-size: 0.38em;
  font-weight: 300;
  letter-spacing: 0.5em;
  margin-top: 24px;
  font-family: var(--sans);
}

/* Contenido inferior del hero */
.hero-body {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 60px 40px 100px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: end;
}

/* Foto */
.foto-wrap {
  position: relative;
}
.foto-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-3);
}
.foto-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(8,8,8,0.85) 100%);
  z-index: 2;
  pointer-events: none;
}
.foto-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: brightness(1.06) contrast(1.08) saturate(1.15);
  transition: transform 0.8s ease, filter 0.5s;
}
.foto-inner:hover img {
  transform: scale(1.04);
  filter: brightness(1.1) contrast(1.1) saturate(1.2);
}
.foto-ph {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  font-size: 5rem;
}
.foto-esquina-tl, .foto-esquina-br {
  position: absolute;
  width: 32px; height: 32px;
  z-index: 3;
  pointer-events: none;
}
.foto-esquina-tl { top: -10px; left: -10px; border-top: 2px solid var(--g-5); border-left: 2px solid var(--g-5); }
.foto-esquina-br { bottom: -10px; right: -10px; border-bottom: 2px solid var(--g-5); border-right: 2px solid var(--g-5); }

.foto-caption {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--g-1);
}
.foto-caption::before,
.foto-caption::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--bd-1);
}

/* Texto hero derecho */
.hero-texto {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 8px;
}
.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--g-1);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--bd-2);
}
.hero-frase {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  font-weight: 300;
  color: var(--g-5);
  line-height: 1.2;
  margin-bottom: 28px;
}
.hero-frase em {
  font-style: italic;
  color: var(--g-3);
}
.hero-desc {
  font-size: 0.95rem;
  color: var(--g-2);
  line-height: 1.85;
  max-width: 480px;
  margin-bottom: 44px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Botones hero */
.btn-prim {
  display: inline-block;
  background: var(--white);
  color: var(--bg-0);
  padding: 16px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--white);
  transition: background 0.3s, color 0.3s;
}
.btn-prim:hover { background: transparent; color: var(--white); }

.btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--g-3);
  padding: 16px 32px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 1px solid var(--bd-2);
  transition: border-color 0.3s, color 0.3s;
}
.btn-sec:hover { border-color: var(--g-4); color: var(--white); }

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 36px; right: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
  writing-mode: vertical-rl;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--g-1);
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--g-1), transparent);
  animation: scrollLine 2.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.9; }
}

/* ============================================================
   NÚMEROS
   ============================================================ */

.numeros {
  background: var(--bg-2);
  border-top: 1px solid var(--bd-1);
  border-bottom: 1px solid var(--bd-1);
  padding: 0;
}
.numeros-inner {
  display: flex;
  align-items: stretch;
}
.num-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 52px 32px;
  border-right: 1px solid var(--bd-1);
  transition: background 0.3s;
}
.num-item:last-child { border-right: none; }
.num-item:hover { background: var(--bg-3); }
.num-big {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}
.num-label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--g-2);
}

/* ============================================================
   DECLARACIÓN
   ============================================================ */

.declaracion {
  background: var(--bg-1);
  padding: 120px 0;
  text-align: center;
  border-bottom: 1px solid var(--bd-1);
}
.declaracion-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 24px;
}
.dec-linea {
  flex: 1;
  height: 1px;
  background: var(--bd-1);
}
.dec-quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 300;
  color: var(--g-5);
  line-height: 1.25;
  white-space: nowrap;
}
.dec-quote em { font-style: italic; color: var(--g-3); }
.dec-firma {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--g-1);
}

/* ============================================================
   SECCIÓN HEADER COMÚN
   ============================================================ */

.sec-hd {
  text-align: center;
  margin-bottom: 72px;
}
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--g-2);
  margin-bottom: 20px;
}
.sec-tag::before, .sec-tag::after {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--bd-2);
}
.sec-h2 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 300;
  color: var(--g-5);
  line-height: 1.1;
  margin-bottom: 20px;
}
.sec-h2 em { font-style: italic; color: var(--g-3); }
.sec-sub {
  font-size: 0.95rem;
  color: var(--g-2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   SERVICIOS
   ============================================================ */

.servicios {
  background: var(--bg-1);
  padding: 120px 0;
}
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  border: 1px solid var(--bd-1);
  gap: 1px;
  background: var(--bd-1);
}
.s-card {
  background: var(--bg-2);
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
  border-top: 3px solid transparent;
  transition: background 0.3s, border-top-color 0.3s;
}
.s-card:hover { background: var(--bg-3); border-top-color: var(--g-5); }
.s-card.s-star {
  background: var(--bg-3);
  border-top-color: var(--white);
}
.s-card.s-star h3 { color: var(--white); }
.s-card.s-star .s-tag { color: var(--g-1); }
.s-card.s-star p { color: var(--g-2); }
.s-card.s-star li { color: var(--g-1); }
.s-card.s-star .s-cta { color: var(--g-3); border-color: var(--bd-2); }
.s-card.s-star .s-cta:hover { color: var(--white); border-color: var(--white); }

.s-tag {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--g-1);
  margin-bottom: 36px;
  display: block;
}
.s-icon { font-size: 1.7rem; margin-bottom: 20px; line-height: 1; }
.s-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--g-5);
  margin-bottom: 12px;
  line-height: 1.2;
}
.s-card > p {
  font-size: 0.87rem;
  color: var(--g-2);
  line-height: 1.78;
  margin-bottom: 24px;
}
.s-card ul {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.s-card ul li {
  font-size: 0.78rem;
  color: var(--g-1);
  padding-left: 18px;
  position: relative;
}
.s-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--bd-3);
}
.s-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g-2);
  text-decoration: none;
  border-bottom: 1px solid var(--bd-2);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.s-cta:hover { color: var(--white); border-color: var(--g-4); }

/* ============================================================
   SOBRE MÍ
   ============================================================ */

.sobre {
  background: var(--bg-0);
  padding: 120px 0;
  border-top: 1px solid var(--bd-1);
}
.sobre-inner {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 96px;
  align-items: start;
}

/* Foto sobre mí */
.sobre-foto-wrap {
  position: relative;
}
.sobre-foto-inner {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}
.sobre-foto-inner img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  filter: brightness(1.06) contrast(1.08) saturate(1.15);
  transition: transform 0.7s, filter 0.5s;
}
.sobre-foto-inner:hover img {
  transform: scale(1.03);
  filter: brightness(1.1) contrast(1.12) saturate(0.85);
}
.sobre-foto-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.5) 0%, transparent 50%);
  pointer-events: none;
}
.sobre-foto-tiktok {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-2);
  border: 1px solid var(--bd-1);
}
.sobre-foto-tiktok span { font-size: 1.3rem; }
.sobre-foto-tiktok strong {
  display: block;
  font-size: 0.85rem;
  color: var(--g-5);
  font-weight: 600;
}
.sobre-foto-tiktok a {
  display: block;
  font-size: 0.72rem;
  color: var(--g-2);
  text-decoration: none;
  margin-top: 2px;
  transition: color 0.2s;
}
.sobre-foto-tiktok a:hover { color: var(--white); }

/* Texto sobre mí */
.sobre-texto .sec-tag { justify-content: flex-start; }
.sobre-texto .sec-tag::before { display: none; }
.sobre-h2 {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 28px;
}
.sobre-h2 em { font-style: italic; color: var(--g-3); }
.sobre-linea {
  width: 48px; height: 1px;
  background: var(--g-4);
  margin-bottom: 36px;
}
.sobre-lead {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--g-5);
  line-height: 1.75;
  margin-bottom: 20px;
}
.sobre-p {
  font-size: 0.91rem;
  color: var(--g-2);
  line-height: 1.88;
  margin-bottom: 18px;
}

/* Bloque caso destacado — experiencia personal en la Justicia */
.sobre-caso-destacado {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  align-items: start;
  margin: 36px 0;
  padding: 36px 36px 36px 32px;
  background: var(--bg-2);
  border: 1px solid var(--bd-2);
  border-left: 3px solid var(--g-5);
  position: relative;
}
.caso-icon {
  font-size: 1.6rem;
  line-height: 1;
  padding-top: 4px;
  flex-shrink: 0;
}
.caso-contenido h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--g-5);
  line-height: 1.3;
  margin-bottom: 18px;
}
.caso-contenido p {
  font-size: 0.87rem;
  color: var(--g-2);
  line-height: 1.85;
  margin-bottom: 14px;
}
.caso-contenido p:last-child { margin-bottom: 0; }
.caso-contenido strong { color: var(--g-4); font-weight: 600; }
.caso-cierre {
  font-style: italic;
  color: var(--g-3) !important;
  border-top: 1px solid var(--bd-1);
  padding-top: 16px;
  margin-top: 18px !important;
}

.sobre-creds {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--bd-1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.83rem;
  color: var(--g-2);
}
.cred-item span { flex-shrink: 0; }
.cred-link {
  color: var(--g-3);
  text-decoration: none;
  transition: color 0.2s;
}
.cred-link:hover { color: var(--white); }

/* ============================================================
   PROCESO
   ============================================================ */

.proceso {
  background: var(--bg-2);
  padding: 120px 0;
  border-top: 1px solid var(--bd-1);
}
.proceso-grid {
  display: flex;
  border: 1px solid var(--bd-1);
  background: var(--bd-1);
  gap: 1px;
}
.paso-item {
  flex: 1;
  background: var(--bg-1);
  padding: 56px 48px;
  border-top: 3px solid transparent;
  transition: border-top-color 0.3s, background 0.3s;
}
.paso-item:hover { border-top-color: var(--g-5); background: var(--bg-2); }
.paso-n {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 300;
  color: var(--bd-2);
  line-height: 1;
  margin-bottom: 28px;
  transition: color 0.3s;
}
.paso-item:hover .paso-n { color: var(--bg-4); }
.paso-item h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--g-5);
  margin-bottom: 14px;
}
.paso-item p {
  font-size: 0.88rem;
  color: var(--g-2);
  line-height: 1.82;
}
.paso-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  background: var(--bg-1);
}
.paso-arrow-icon {
  color: var(--bd-2);
  font-size: 1.2rem;
}

/* ============================================================
   TESTIMONIOS
   ============================================================ */

.testimonios {
  background: var(--bg-0);
  padding: 120px 0;
  border-top: 1px solid var(--bd-1);
}
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--bd-1);
  background: var(--bd-1);
  gap: 1px;
}
.t-card {
  background: var(--bg-2);
  padding: 52px 44px;
  border-top: 3px solid transparent;
  transition: background 0.3s, border-top-color 0.3s;
}
.t-card:hover, .t-card.t-star {
  background: var(--bg-3);
  border-top-color: var(--g-5);
}
.t-comilla {
  font-family: var(--serif);
  font-size: 6rem;
  line-height: 0.6;
  color: var(--bd-1);
  margin-bottom: 28px;
  display: block;
}
.t-card p {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--g-2);
  line-height: 1.85;
  margin-bottom: 32px;
}
.t-card.t-star p { color: var(--g-4); }
.t-autor {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--g-5);
  letter-spacing: 0.04em;
}
.t-tipo {
  font-size: 0.68rem;
  color: var(--g-1);
  letter-spacing: 0.1em;
  margin: 5px 0 24px;
}
.t-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--g-4);
  border: 1px solid var(--bd-2);
  padding: 6px 14px;
  display: inline-block;
}

/* ============================================================
   REDES
   ============================================================ */

.redes {
  background: var(--bg-1);
  border-top: 1px solid var(--bd-1);
  padding: 100px 0;
}
.redes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.redes-texto .sec-tag { justify-content: flex-start; }
.redes-texto .sec-tag::before { display: none; }
.redes-texto h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  color: var(--g-5);
  line-height: 1.3;
  margin-bottom: 18px;
}
.redes-texto h3 em { font-style: italic; color: var(--g-3); }
.redes-texto p {
  font-size: 0.9rem;
  color: var(--g-2);
  line-height: 1.82;
}
.redes-lista {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bd-1);
  background: var(--bd-1);
  gap: 1px;
}
.red-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--bg-2);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.25s, border-left-color 0.25s;
}
.red-item:hover { background: var(--bg-3); border-left-color: var(--g-5); }
.red-ico { font-size: 1.4rem; flex-shrink: 0; }
.red-item div { flex: 1; }
.red-item strong { display: block; font-size: 0.87rem; color: var(--g-5); font-weight: 600; }
.red-item p { font-size: 0.72rem; color: var(--g-2); margin: 3px 0 0; }
.red-arr {
  color: var(--g-1);
  transition: transform 0.2s, color 0.2s;
  flex-shrink: 0;
}
.red-item:hover .red-arr { transform: translateX(5px); color: var(--white); }

/* ============================================================
   CONTACTO
   ============================================================ */

.contacto {
  background: var(--bg-0);
  padding: 120px 0;
  border-top: 1px solid var(--bd-1);
}
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 80px;
  align-items: start;
}
.contacto-texto .sec-tag { justify-content: flex-start; }
.contacto-texto .sec-tag::before { display: none; }
.contacto-h2 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}
.contacto-h2 em { font-style: italic; color: var(--g-3); }
.c-linea {
  width: 48px; height: 1px;
  background: var(--g-4);
  margin-bottom: 28px;
}
.contacto-desc {
  font-size: 0.93rem;
  color: var(--g-2);
  line-height: 1.88;
  margin-bottom: 40px;
}
.contacto-ops {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bd-1);
  background: var(--bd-1);
  gap: 1px;
  margin-bottom: 24px;
}
.op-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  background: var(--bg-2);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.2s, border-left-color 0.2s;
}
.op-item:hover { background: var(--bg-3); border-left-color: var(--white); }
.op-item > span:first-child { font-size: 1.3rem; flex-shrink: 0; }
.op-item div { flex: 1; }
.op-item strong { display: block; font-size: 0.85rem; color: var(--white); font-weight: 600; }
.op-item p { font-size: 0.72rem; color: var(--g-2); margin: 2px 0 0; }
.c-conf { font-size: 0.7rem; color: var(--g-1); }

/* FORM */
.c-form {
  background: var(--bg-2);
  border: 1px solid var(--bd-1);
  padding: 52px;
}
.c-form-top {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--bd-1);
}
.c-form-top h3 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 6px;
}
.c-form-top p {
  font-size: 0.68rem;
  color: var(--g-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.fg { margin-bottom: 18px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg label {
  display: block;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--g-2);
  margin-bottom: 8px;
}
.fg input, .fg select, .fg textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--bd-1);
  color: var(--g-5);
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 0.87rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--g-3); }
.fg input::placeholder, .fg textarea::placeholder { color: var(--g-1); }
.fg select option { background: var(--bg-2); color: var(--g-5); }
.fg textarea { resize: vertical; font-family: var(--sans); }
.btn-form {
  width: 100%;
  background: var(--white);
  color: var(--bg-0);
  padding: 18px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 2px solid var(--white);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.btn-form:hover { background: transparent; color: var(--white); }
.form-ok {
  margin-top: 16px;
  padding: 18px;
  background: var(--bg-3);
  border: 1px solid var(--bd-2);
  font-size: 0.84rem;
  color: var(--g-5);
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--bd-1);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  padding: 80px 0 56px;
}
.f-brand p {
  font-size: 0.82rem;
  color: var(--g-1);
  line-height: 1.8;
  margin-top: 16px;
  max-width: 300px;
}
.f-redes {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.f-redes a {
  font-size: 1.1rem;
  text-decoration: none;
  opacity: 0.35;
  transition: opacity 0.2s;
}
.f-redes a:hover { opacity: 1; }
.f-col h4 {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--g-1);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bd-1);
}
.f-col { display: flex; flex-direction: column; }
.f-col a, .f-col p {
  font-size: 0.82rem;
  color: var(--g-2);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s;
  margin: 0;
}
.f-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--bd-1);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.68rem;
  color: var(--g-1);
  letter-spacing: 0.04em;
  line-height: 1.8;
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */

.wa-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 3s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
  animation: none;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,0.35); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.65); }
}

/* ============================================================
   ANIMACIONES
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .hero-body { grid-template-columns: 1fr; }
  .foto-wrap { display: none; }
  .sobre-inner { grid-template-columns: 1fr; }
  .contacto-inner { grid-template-columns: 1fr; }
  .redes-inner { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .proceso-grid { flex-direction: column; }
  .paso-arrow { display: flex; justify-content: center; padding: 8px 0; background: var(--bg-1); }
  .dec-quote { white-space: normal; font-size: 2rem; }
  .declaracion-inner { gap: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(8,8,8,0.99);
    padding: 32px;
    gap: 24px;
    border-bottom: 1px solid var(--bd-1);
    z-index: 999;
  }
  .hamburger { display: block; }
  .logo-nombre { font-size: 0.95rem; }
  .hero-titulo-display h1 { font-size: clamp(3rem, 12vw, 6rem); }
  .numeros-inner { flex-direction: column; }
  .num-item { border-right: none; border-bottom: 1px solid var(--bd-1); width: 100%; }
  .num-item:last-child { border-bottom: none; }
  .servicios-grid { grid-template-columns: 1fr; }
  .c-form { padding: 32px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .fg-row { grid-template-columns: 1fr; }
  /* 30/7/2026 — era 120px, calibrado para cuando la navbar sola medía 73px. Al apilar la
     barra de compromiso y la nav en .topbar-stack el encabezado pasa a 156px en móvil, y el
     título del hero se metía 36px debajo del logo. Escritorio no se toca: ahí el encabezado
     mide 113px y el título ya arranca en 160px, con aire de sobra. */
  .hero-titulo-display { padding-top: 190px; }
  .sobre, .servicios, .proceso, .testimonios, .redes, .contacto, .declaracion { padding: 80px 0; }
}

/* ── COMPARTIR VIRAL ── */
.compartir {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 60px 0;
  text-align: center;
}
.compartir-inner { max-width: 700px; margin: 0 auto; }
.compartir-titulo {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.compartir-sub {
  color: var(--g-2);
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.compartir-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.comp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
}
.comp-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.comp-wa { background: #25D366; color: #fff; }
.comp-fb { background: #1877F2; color: #fff; }
.comp-tw { background: #000; color: #fff; }
.comp-copy { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }

/* ── CHATBOT 24/7 ── */
#fc-chat { position: fixed; bottom: 24px; right: 24px; z-index: 9999; font-family: var(--sans); }

.fc-bubble {
  width: 60px; height: 60px; border-radius: 50%;
  background: #C9A84C; border: none; cursor: pointer;
  box-shadow: 0 4px 24px rgba(201,168,76,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fc-bubble:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(201,168,76,0.7); }
.fc-bubble-badge {
  position: absolute; top: -4px; right: -4px;
  background: #e53935; color: #fff;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.fc-window {
  position: absolute; bottom: 74px; right: 0;
  width: 340px; max-height: 520px;
  background: #1e1e1e; border: 1px solid #333;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transform: translateY(16px) scale(0.96);
  transition: opacity 0.25s, transform 0.25s;
}
.fc-window.fc-open { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }

.fc-head {
  background: #141414; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #2a2a2a;
}
.fc-head-info { display: flex; align-items: center; gap: 10px; }
.fc-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: #C9A84C; color: #000;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.8rem; flex-shrink: 0;
}
.fc-head-info strong { display: block; color: #f0f0f0; font-size: 0.9rem; }
.fc-status { display: flex; align-items: center; gap: 5px; font-size: 0.7rem; color: #888; }
.fc-dot { width: 7px; height: 7px; border-radius: 50%; background: #4caf50; display: inline-block; }
.fc-close { background: none; border: none; color: #666; cursor: pointer; font-size: 1rem; padding: 4px; }
.fc-close:hover { color: #fff; }

.fc-msgs {
  flex: 1; overflow-y: auto; padding: 16px; display: flex;
  flex-direction: column; gap: 10px; scroll-behavior: smooth;
}
.fc-msgs::-webkit-scrollbar { width: 4px; }
.fc-msgs::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }

.fc-msg {
  max-width: 85%; padding: 10px 14px; border-radius: 12px;
  font-size: 0.82rem; line-height: 1.5;
}
.fc-bot {
  background: #2a2a2a; color: #e0e0e0; border-radius: 12px 12px 12px 2px;
  align-self: flex-start;
}
.fc-user {
  background: #C9A84C; color: #000; font-weight: 500;
  border-radius: 12px 12px 2px 12px; align-self: flex-end;
}

.fc-opts {
  padding: 10px 14px 14px; display: flex; flex-direction: column; gap: 6px;
  border-top: 1px solid #2a2a2a; background: #1a1a1a;
}
.fc-opt-btn {
  background: #2e2e2e; border: 1px solid #3a3a3a; color: #d0d0d0;
  padding: 9px 12px; border-radius: 8px; font-size: 0.78rem;
  cursor: pointer; text-align: left; transition: background 0.15s, color 0.15s;
}
.fc-opt-btn:hover { background: #C9A84C; color: #000; border-color: #C9A84C; }

@media (max-width: 400px) {
  .fc-window { width: calc(100vw - 32px); right: -12px; }
}
