/* CAMSAR · Revista de Baja California · Dark editorial premium (negro + dorado) */

:root {
  --bg: #0A0A0B;
  --bg-elev: #121214;
  --surface: #1A1A1D;
  --surface-elev: #22222A;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #E8E6E0;
  --text-strong: #FFFFFF;
  --text-muted: rgba(232, 230, 224, 0.65);
  --gold: #D4AF37;
  --gold-light: #F4D06F;
  --gold-deep: #A17F1A;
  --accent: var(--gold);
  --accent-hover: var(--gold-light);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 8px -2px rgba(0,0,0,0.3);
  --shadow-md: 0 10px 30px -10px rgba(0,0,0,0.6);
  --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.75);
  --shadow-gold: 0 20px 50px -20px rgba(212, 175, 55, 0.4);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Playfair Display', 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --step--2: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --step--1: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  --step-0: clamp(1rem, 0.94rem + 0.3vw, 1.1rem);
  --step-1: clamp(1.18rem, 1.08rem + 0.5vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.75vw, 1.7rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.25vw, 2.3rem);
  --step-4: clamp(2.2rem, 1.8rem + 2vw, 3.2rem);
  --step-5: clamp(2.8rem, 2.2rem + 3vw, 4.5rem);
  --step-6: clamp(3.5rem, 2.6rem + 4.5vw, 6rem);
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; color: var(--text-strong); }
h1 { font-size: var(--step-6); }
h2 { font-size: var(--step-5); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); }
p { color: var(--text); font-size: var(--step-0); }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* CONTAINER */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* UTILITIES */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  padding: 8px 14px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.05);
}
.gold-line { display: inline-block; width: 48px; height: 2px; background: var(--gold); margin-right: 14px; vertical-align: middle; }

/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; padding: 18px 0;
  transition: all 0.4s var(--ease-out);
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(10, 10, 11, 0.95);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 24px;
  flex-wrap: nowrap; padding: 0 8px;
}
.nav-logo { display: inline-flex; align-items: center; height: 44px; flex-shrink: 0; margin-right: 8px; }
.nav-logo img { height: 44px; width: auto; display: block; max-width: 180px; }

.nav-links {
  display: flex; align-items: center; gap: 26px;
  list-style: none; flex-shrink: 0; margin-left: 18px; margin-right: auto;
}
.nav-links a {
  font-size: 13px; color: var(--text-muted);
  font-weight: 500; line-height: 1; white-space: nowrap;
  letter-spacing: 0.03em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; margin-left: 24px;
}
.nav-cta > * { height: 42px; box-sizing: border-box; }

.lang-toggle {
  display: inline-flex; align-items: center;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-full); padding: 3px;
  height: 42px;
}
.lang-toggle button {
  padding: 0 14px; height: 36px;
  background: transparent; border: none; cursor: pointer;
  color: var(--text-muted);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  transition: all 0.2s;
}
.lang-toggle button.active {
  background: var(--gold); color: #0A0A0B;
}

.nav-tel {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); font-weight: 600;
  padding: 0 16px; border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.02);
  transition: all 0.2s;
  white-space: nowrap; font-variant-numeric: tabular-nums;
  line-height: 1; font-size: 13px;
}
.nav-tel:hover { border-color: var(--gold); color: var(--gold); }
.nav-tel svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 22px; height: 42px;
  border-radius: var(--radius-full);
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.03em;
  cursor: pointer; border: 1px solid transparent;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap; line-height: 1;
  text-transform: uppercase;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #0A0A0B;
  box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 40px -10px rgba(212, 175, 55, 0.65); color: #0A0A0B; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover { transform: translateY(-2px); color: #fff; }

.nav-burger {
  display: none;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  border-radius: 10px; width: 42px; height: 42px; padding: 0;
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-burger svg { width: 20px; height: 20px; color: var(--text); }

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
}
@media (max-width: 720px) { .nav-tel { display: none; } }
@media (max-width: 560px) { .nav-cta .btn-primary { display: none; } }

/* HERO */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  min-height: 90vh;
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg img.hero-ambient {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center right;
  opacity: 0.5; filter: saturate(1.1) contrast(1.05);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(10,10,11,0.95) 0%,
    rgba(10,10,11,0.85) 35%,
    rgba(10,10,11,0.55) 60%,
    rgba(10,10,11,0.3) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 90% 50%, rgba(212, 175, 55, 0.12), transparent 60%);
}

.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 70px;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero-copy .eyebrow { margin-bottom: 24px; }
.hero-copy h1 {
  font-size: clamp(2.6rem, 2rem + 2.5vw, 4.8rem);
  line-height: 1.02; margin-bottom: 28px;
  font-weight: 400;
}
.hero-copy h1 em {
  font-style: italic; color: var(--gold);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-copy .hero-sub {
  font-size: var(--step-1);
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px; line-height: 1.55;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; max-width: 620px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-trust-item { display: flex; flex-direction: column; gap: 6px; }
.hero-trust-item .num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--gold);
  line-height: 1;
}
.hero-trust-item .lbl {
  font-size: 11px; color: var(--text-muted);
  letter-spacing: 0.15em; text-transform: uppercase;
}

.hero-card {
  position: relative;
  background: linear-gradient(145deg, rgba(26,26,29,0.92), rgba(18,18,20,0.85));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}
.hero-card::before {
  content: ""; position: absolute; inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent 60%);
  pointer-events: none;
}
.hero-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.hero-card-head .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.15em;
  color: var(--gold); text-transform: uppercase;
  font-weight: 600;
}
.hero-card-head .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: #25D366;
  font-weight: 600;
}
.hero-card-head .live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #25D366; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-card h3 {
  font-size: var(--step-2);
  margin-bottom: 10px;
}
.hero-card > p {
  color: var(--text-muted); font-size: var(--step--1);
  margin-bottom: 24px;
}
.hero-card .svc-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; gap: 10px;
}
.hero-card .svc-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px; color: var(--text);
}
.hero-card .svc-list li svg {
  width: 16px; height: 16px; color: var(--gold); flex-shrink: 0;
}

@media (max-width: 960px) {
  .hero { padding: 140px 0 80px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-bg img.hero-ambient { opacity: 0.25; object-position: center; }
  .hero-bg::before { background: linear-gradient(180deg, rgba(10,10,11,0.9) 20%, rgba(10,10,11,0.85)); }
  .hero-trust { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* SECTIONS */
section { padding: 100px 0; position: relative; }
.section-head { max-width: 820px; margin: 0 auto 72px; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 20px; }
.section-head p { color: var(--text-muted); font-size: var(--step-1); line-height: 1.6; }

/* TRUST BAR */
.trust-bar {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.trust-bar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.trust-item {
  display: flex; align-items: center; gap: 14px;
}
.trust-item svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.trust-item div { display: flex; flex-direction: column; gap: 2px; }
.trust-item strong { font-size: 14px; color: var(--text-strong); font-weight: 600; }
.trust-item span { font-size: 12px; color: var(--text-muted); letter-spacing: 0.03em; }
@media (max-width: 820px) {
  .trust-bar-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}

/* LEGACY (39 años) */
.legacy {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
}
.legacy-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: center;
}
.legacy-media {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.legacy-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); }
.legacy-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,11,0.75) 100%);
  pointer-events: none;
}
.legacy-badge {
  position: absolute;
  top: 24px; left: 24px;
  padding: 10px 18px;
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  color: #F8FAFC;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  z-index: 3;
}
.legacy-badge strong { color: var(--gold); font-weight: 800; font-size: 15px; }
.legacy-copy h2 { margin-bottom: 24px; }
.legacy-copy > p { color: var(--text-muted); font-size: var(--step-1); line-height: 1.65; margin-bottom: 20px; }
.legacy-copy .signature {
  display: flex; align-items: center; gap: 14px;
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.legacy-copy .signature .n { font-family: var(--font-display); font-weight: 600; color: var(--gold); font-size: var(--step-1); }
.legacy-copy .signature .r { font-size: var(--step--1); color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 960px) {
  .legacy-grid { grid-template-columns: 1fr; gap: 50px; }
  .legacy-media { aspect-ratio: 16/10; max-height: 420px; }
}

/* SERVICES */
.services {
  background: var(--bg);
  position: relative;
}
.services::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.06), transparent 50%);
  pointer-events: none;
}
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; position: relative;
}
.svc-card {
  background: linear-gradient(145deg, var(--surface), var(--surface-elev));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease-out);
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-gold);
}
.svc-card:hover::before { opacity: 1; }
.svc-num {
  font-family: var(--font-display);
  font-size: var(--step-4);
  color: var(--gold);
  line-height: 1; margin-bottom: 20px;
  display: block;
}
.svc-card h3 {
  font-size: var(--step-2);
  margin-bottom: 12px;
}
.svc-card p { color: var(--text-muted); font-size: var(--step--1); line-height: 1.6; }
.svc-card .svc-icon {
  width: 48px; height: 48px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.svc-card .svc-icon svg { width: 24px; height: 24px; color: var(--gold); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* PORTFOLIO */
.portfolio { background: var(--bg-elev); }
.port-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px; min-height: 580px;
}
.port-item {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: transform 0.4s var(--ease-out);
}
.port-item:hover { transform: scale(1.015); }
.port-item:nth-child(1) { grid-row: span 2; }
.port-item img, .port-item .port-ph {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  transition: transform 0.6s var(--ease-out);
}
.port-item:hover img { transform: scale(1.05); }
.port-ph {
  background: linear-gradient(135deg, var(--surface), var(--surface-elev));
  display: flex; align-items: center; justify-content: center;
}
.port-ph svg { width: 48px; height: 48px; color: var(--text-muted); opacity: 0.3; }
.port-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(10,10,11,0.9), transparent);
  z-index: 2;
}
.port-info .pcat {
  display: inline-block;
  font-size: 11px; color: var(--gold);
  letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 6px;
}
.port-info h4 { font-size: var(--step-1); color: var(--text-strong); font-family: var(--font-display); font-weight: 500; }
@media (max-width: 820px) {
  .port-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: auto; }
  .port-item:nth-child(1) { grid-row: span 1; grid-column: span 2; aspect-ratio: 16/9; }
  .port-item { aspect-ratio: 1/1; }
}

/* DANIEL BLOCK */
.daniel {
  background: var(--bg);
  padding: 120px 0;
}
.daniel-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.daniel-copy .eyebrow { margin-bottom: 20px; }
.daniel-copy h2 { margin-bottom: 24px; }
.daniel-copy > p { color: var(--text-muted); font-size: var(--step-1); line-height: 1.65; margin-bottom: 20px; }
.daniel-highlights {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 36px;
}
.daniel-highlights .hl {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.daniel-highlights .hl strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--gold);
  line-height: 1; margin-bottom: 6px;
}
.daniel-highlights .hl span {
  font-size: 12px; color: var(--text-muted);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.daniel-media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-strong);
}
.daniel-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); }
.daniel-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,11,0.7));
}
.daniel-sig {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 4px;
  z-index: 3;
}
.daniel-sig .name {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--text-strong);
  font-style: italic;
}
.daniel-sig .role {
  font-size: 11px; color: var(--gold);
  letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 960px) {
  .daniel-grid { grid-template-columns: 1fr; gap: 50px; }
  .daniel-media { aspect-ratio: 16/10; max-height: 460px; }
}

/* COBERTURA (MAP) */
.cobertura { background: var(--bg-elev); }
.cob-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.cob-cities { display: grid; gap: 14px; }
.cob-city {
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 16px;
  transition: all 0.2s;
}
.cob-city:hover { border-color: var(--gold); transform: translateX(4px); }
.cob-city svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.cob-city h4 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; color: var(--text-strong); margin: 0; }
.cob-city p { font-size: 13px; color: var(--text-muted); margin: 0; }
@media (max-width: 820px) { .cob-grid { grid-template-columns: 1fr; } }

/* TESTIMONIOS */
.testimonios { background: var(--bg); }
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.testi-card::before {
  content: "“";
  position: absolute; top: 12px; left: 24px;
  font-family: var(--font-display);
  font-size: 80px; color: var(--gold);
  opacity: 0.25; line-height: 1;
}
.testi-card .quote {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--text);
  line-height: 1.5; margin-bottom: 24px;
  position: relative; z-index: 1;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--border); }
.testi-author .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  display: inline-flex; align-items: center; justify-content: center;
  color: #0A0A0B; font-family: var(--font-display);
  font-weight: 600; font-size: var(--step-1);
}
.testi-author .n { font-weight: 600; color: var(--text-strong); font-size: 14px; }
.testi-author .r { font-size: 12px; color: var(--text-muted); }
@media (max-width: 960px) { .testi-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { background: var(--bg-elev); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  padding: 22px 28px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: var(--step-0);
  color: var(--text-strong);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 24px; color: var(--gold);
  transition: transform 0.3s; font-weight: 300;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-ans {
  padding: 0 28px 24px; color: var(--text-muted);
  font-size: var(--step--1); line-height: 1.65;
}

/* CTA FINAL / CONTACTO */
.cta-final {
  background: linear-gradient(180deg, var(--bg) 0%, #000 100%);
  padding: 120px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center top, rgba(212, 175, 55, 0.15), transparent 60%);
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { margin-bottom: 24px; max-width: 820px; margin-left: auto; margin-right: auto; }
.cta-final > .container > p { color: var(--text-muted); font-size: var(--step-1); max-width: 620px; margin: 0 auto 40px; line-height: 1.6; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.cta-contact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; max-width: 980px; margin: 48px auto 0;
}
.cta-contact-item {
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: all 0.2s;
}
.cta-contact-item:hover { border-color: var(--gold); transform: translateY(-3px); }
.cta-contact-item svg { width: 24px; height: 24px; color: var(--gold); }
.cta-contact-item strong { font-size: 13px; color: var(--text-strong); font-weight: 600; }
.cta-contact-item span { font-size: 12px; color: var(--text-muted); word-break: break-all; }
@media (max-width: 820px) { .cta-contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cta-contact-grid { grid-template-columns: 1fr; } }

/* FOOTER */
.footer {
  background: #000;
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px; margin-bottom: 48px;
}
.foot-col h5 {
  font-size: 11px; color: var(--gold);
  letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 20px;
}
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--text-muted); font-size: 14px; }
.foot-col a:hover { color: var(--gold); }
.foot-brand img { height: 50px; margin-bottom: 20px; }
.foot-brand p { color: var(--text-muted); font-size: 13px; line-height: 1.6; max-width: 320px; }
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social a {
  width: 38px; height: 38px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.foot-social a:hover { border-color: var(--gold); color: var(--gold); }
.foot-social svg { width: 18px; height: 18px; }
.foot-bottom {
  padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.foot-bottom p { font-size: 12px; color: var(--text-muted); }
.foot-bottom .powered { font-size: 11px; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===== CHAT ALLY ===== */
.ally-launcher {
  position: fixed; bottom: 24px; right: 24px;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 15px 40px -10px rgba(212, 175, 55, 0.5);
  cursor: pointer; z-index: 94;
  border: none;
  transition: all 0.3s var(--ease-out);
}
.ally-launcher:hover { transform: scale(1.08); }
.ally-launcher svg { width: 28px; height: 28px; color: #0A0A0B; }

.ally-panel {
  position: fixed; bottom: 100px; right: 24px;
  width: 380px; max-height: 560px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  display: none; flex-direction: column;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.75);
  z-index: 95; overflow: hidden;
}
.ally-panel.open { display: flex; animation: allySlide 0.3s var(--ease-out); }
@keyframes allySlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.ally-head {
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--surface), var(--surface-elev));
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.ally-head-info { display: flex; align-items: center; gap: 12px; }
.ally-head-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  display: inline-flex; align-items: center; justify-content: center;
  color: #0A0A0B; font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
}
.ally-head h4 { font-family: var(--font-body); font-size: 14px; color: var(--text-strong); margin: 0; font-weight: 600; }
.ally-head p { font-size: 11px; color: #25D366; margin: 0; display: flex; align-items: center; gap: 6px; }
.ally-head p::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #25D366; animation: pulse 2s infinite;
}
.ally-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
}
.ally-close svg { width: 16px; height: 16px; color: var(--text); }
.ally-close:hover { background: rgba(255,255,255,0.1); }

.ally-body {
  flex: 1; overflow-y: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.ally-bubble {
  max-width: 85%; padding: 12px 16px;
  border-radius: var(--radius-lg);
  font-size: 13px; line-height: 1.5;
}
.ally-bubble.bot {
  background: var(--surface); color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border);
}
.ally-bubble.user {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #0A0A0B; font-weight: 500;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.ally-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 0 20px 12px;
}
.ally-chips button {
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  color: var(--text); font-size: 12px;
  cursor: pointer; transition: all 0.2s;
}
.ally-chips button:hover { border-color: var(--gold); color: var(--gold); }

.ally-foot {
  padding: 14px 20px; border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 11px; color: var(--text-muted); text-align: center;
}
.ally-foot a { color: var(--gold); font-weight: 600; }

@media (max-width: 600px) {
  .ally-panel {
    bottom: 90px; right: 12px; left: 12px;
    width: auto; max-height: calc(100vh - 110px);
  }
}

/* REVEAL animations (safe-by-default: visible until JS activates) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: all 0.9s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Smooth focus visible */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection */
::selection { background: rgba(212, 175, 55, 0.3); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-elev); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }
