/* ============================================
   Doclick v3 — Editorial Medical Design
   Paleta: verde bosque profundo + crema cálido + cobre
   Tipografía: Playfair Display (serif, autoridad) + Inter (sans, claridad)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;600&display=swap');

:root {
  --bg: #F7F5F2;
  --surface: #FFFFFF;
  --surface-2: #EDEAE6;
  --surface-3: #E5E1DC;
  --ink: #0F1F1C;
  --ink-light: #1A3D36;
  --muted: #6B7B75;
  --muted-light: #9AA8A3;
  --forest: #0D4A3A;
  --forest-deep: #062E24;
  --forest-light: #E8F0ED;
  --copper: #C4956A;
  --copper-soft: #F5EDE4;
  --copper-dark: #8B6B4A;
  --hairline: rgba(15,31,28,0.08);
  --hairline-strong: rgba(15,31,28,0.14);
  --shadow-sm: 0 1px 2px rgba(15,31,28,0.04);
  --shadow-md: 0 4px 24px rgba(15,31,28,0.06);
  --shadow-lg: 0 12px 40px -12px rgba(15,31,28,0.12);
  --shadow-xl: 0 24px 60px -16px rgba(15,31,28,0.16);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --wrap: 1200px;
  --transition-fast: 150ms cubic-bezier(0.4,0,0.2,1);
  --transition-base: 300ms cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 500ms cubic-bezier(0.4,0,0.2,1);
}

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

html {
  background: var(--bg);
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Serif headlines = autoridad editorial médica */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.mono { font-family: 'IBM Plex Mono', monospace; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- UTILITIES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-xs);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(13,74,58,0.35);
}
.btn-primary:hover { background: var(--forest-deep); box-shadow: 0 6px 20px -4px rgba(13,74,58,0.45); }

.btn-ghost {
  border-color: var(--hairline);
  color: var(--ink);
  background: var(--surface);
}
.btn-ghost:hover { border-color: var(--forest); box-shadow: var(--shadow-md); }

.btn-copper {
  background: var(--copper);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 16px -4px rgba(196,149,106,0.4);
}
.btn-copper:hover { background: var(--copper-dark); box-shadow: 0 6px 20px -4px rgba(196,149,106,0.5); }

.btn-outline-copper {
  border: 1.5px solid var(--copper);
  color: var(--copper);
  background: transparent;
  font-weight: 600;
}
.btn-outline-copper:hover { background: var(--copper-soft); }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--copper);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--copper);
  opacity: 0.6;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest);
  background: var(--forest-light);
  border: 1px solid rgba(13,74,58,0.12);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.tag-copper { color: var(--copper-dark); background: var(--copper-soft); border-color: rgba(196,149,106,0.25); }
.tag-dark { background: var(--ink); color: #fff; border-color: transparent; }

.badge-founding {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #D4A574, var(--copper));
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px -2px rgba(196,149,106,0.4);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  S-index: 50;
  background: rgba(247,245,242,0.9);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow var(--transition-base);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--forest), var(--forest-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 2px 8px -2px rgba(13,74,58,0.3);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
}
/* Patrón ECG sutil como textura de fondo */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='60' viewBox='0 0 120 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 L20 30 L25 15 L30 45 L35 10 L40 50 L45 30 L120 30' stroke='%23C4956A' stroke-width='0.5' fill='none' opacity='0.08'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(13,74,58,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; text-align: center; }

/* ---------- HERO — video de fondo (v3.1) ---------- */
.hero.hero--video {
  padding: 0;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: var(--forest-deep);
}
.hero.hero--video::before { opacity: 0; }
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% 42%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6,46,36,0.92) 0%, rgba(6,46,36,0.72) 38%, rgba(6,46,36,0.42) 68%, rgba(6,46,36,0.62) 100%),
    linear-gradient(0deg, rgba(6,46,36,0.85) 0%, rgba(6,46,36,0.25) 45%, rgba(6,46,36,0.55) 100%);
}
.hero.hero--video .wrap { z-index: 2; padding: 96px 24px; }
.hero.hero--video .eyebrow { color: var(--copper); background: rgba(247,245,242,0.1); border-color: rgba(247,245,242,0.18); }
.hero.hero--video h1 { color: #FFFFFF; }
.hero.hero--video h1 em { color: var(--copper); }
.hero.hero--video .hero-sub { color: rgba(247,245,242,0.92); }
.hero.hero--video .social-number { color: #FFFFFF; }
.hero.hero--video .social-label { color: rgba(247,245,242,0.72); }
.hero.hero--video .btn-ghost { border-color: rgba(247,245,242,0.4); color: #fff; }
@media (max-width: 640px) {
  .hero.hero--video { min-height: 560px; }
  .hero-bg-video { object-position: 38% 30%; }
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  max-width: 16ch;
  margin: 0 auto 20px;
  color: var(--ink);
  font-weight: 800;
}
.hero h1 em {
  font-style: italic;
  color: var(--forest);
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Social bar */
.social-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.social-item { text-align: center; }
.social-number {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 40px;
  color: var(--forest);
  line-height: 1;
}
.social-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- WHY SECTION ---------- */
.why-section {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.why-card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--forest), var(--copper));
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.why-card:hover::before { opacity: 1; }
.why-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 16px;
}
.why-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}
.why-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- DIRECTORY ---------- */
.directory-section { padding: 64px 0; }
.dir-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.dir-header h2 { font-size: 28px; }
.dir-search {
  max-width: 600px;
  display: flex;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.dir-search input {
  flex: 1;
  max-width: 280px;
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--hairline);
  background: var(--surface);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.dir-search input:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(13,74,58,0.08);
}
.dir-search select {
  padding: 12px 36px 12px 16px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--hairline);
  background: var(--surface);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7B75' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.video-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--hairline);
  background: var(--surface);
  transition: all var(--transition-fast);
}
.video-filter:hover { border-color: var(--forest); }
.video-filter input { accent-color: var(--forest); width: 16px; height: 16px; cursor: pointer; }

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.doc-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) forwards;
}
.doc-card:hover {
  border-color: rgba(13,74,58,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.doc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.avatar-wrap { position: relative; flex-shrink: 0; }
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A6B56, var(--forest));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 4px 12px -2px rgba(13,74,58,0.25);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.video-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--copper);
  border: 2px solid var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 17px; }
.doc-specialty { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.doc-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; margin-top: auto; }
.city-chip {
  font-size: 12px;
  color: var(--muted);
  background: var(--surface-2);
  padding: 4px 10px;
  border-radius: 999px;
}
.doc-actions { display: flex; gap: 8px; }
.doc-actions .btn { flex: 1; padding: 10px 14px; font-size: 13px; border-radius: var(--radius-xs); }

.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
  border: 2px dashed var(--hairline);
  border-radius: var(--radius);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.empty-state h3 { font-size: 20px; color: var(--ink); margin-bottom: 4px; font-family: 'Playfair Display', serif; }
.empty-state p { font-size: 14px; max-width: 40ch; margin-bottom: 8px; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ---------- PROCESS ---------- */
.process-section { padding: 80px 0; background: var(--surface-2); }
.process-section h2 { text-align: center; font-size: 28px; margin-bottom: 12px; }
.process-sub { text-align: center; color: var(--muted); font-size: 16px; margin-bottom: 48px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, var(--forest) 0%, var(--copper) 100%);
  opacity: 0.2;
  S-index: 0;
}
.process-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  position: relative;
  S-index: 1;
}
.process-step {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 16px;
  margin: 0 auto 18px;
  box-shadow: 0 4px 12px -2px rgba(13,74,58,0.3);
}
.process-card h3 { font-size: 17px; margin-bottom: 8px; font-family: 'Playfair Display', serif; }
.process-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- PRICING ---------- */
.pricing-section { padding: 80px 0; }
.pricing-section h2 { text-align: center; font-size: 28px; margin-bottom: 12px; }
.pricing-sub { text-align: center; color: var(--muted); font-size: 16px; margin-bottom: 48px; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border-color: var(--forest);
  background: linear-gradient(180deg, var(--surface) 0%, var(--forest-light) 100%);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--copper);
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card h3 { font-size: 20px; margin-bottom: 8px; font-family: 'Playfair Display', serif; }
.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 6px;
}
.price-amount span { font-size: 16px; color: var(--muted); font-weight: 500; font-family: 'Inter', sans-serif; }
.price-desc { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}
.price-features li svg { flex-shrink: 0; color: var(--forest); }

/* ---------- FAQ ---------- */
.faq-section { padding: 64px 0; background: var(--surface); border-top: 1px solid var(--hairline); }
.faq-section h2 { text-align: center; font-size: 28px; margin-bottom: 48px; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.faq-question:hover { background: rgba(13,74,58,0.03); }
.faq-question svg { transition: transform var(--transition-base); flex-shrink: 0; }
.faq-question.active svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
  padding: 0 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.faq-answer.open { max-height: 200px; padding: 0 22px 18px; }

/* ---------- CTA FINAL ---------- */
.cta-final { padding: 80px 0; }
.cta-banner {
  background: linear-gradient(135deg, var(--forest-deep) 0%, #0A3D30 100%);
  color: #F7F5F2;
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -16px rgba(6,46,36,0.35);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,149,106,0.15) 0%, transparent 70%);
  pointer-events: none;
}
/* Línea ECG decorativa */
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 40px;
  right: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='40' viewBox='0 0 200 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 L30 20 L40 5 L50 35 L60 10 L70 30 L80 20 L200 20' stroke='rgba(196,149,106,0.2)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  pointer-events: none;
}
.cta-banner > * { position: relative; S-index: 1; }
.cta-banner h2 { color: #fff; font-size: clamp(24px, 3.5vw, 34px); max-width: 28ch; margin-bottom: 12px; font-family: 'Playfair Display', serif; }
.cta-banner p { color: rgba(247,245,242,0.75); font-size: 16px; max-width: 44ch; line-height: 1.6; margin-bottom: 24px; }
.cta-banner .btn-copper { font-size: 15px; padding: 16px 28px; }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--hairline); padding: 40px 0; margin-top: 16px; }
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }

/* ============================================
   PERFIL INDIVIDUAL
   ============================================ */

.profile-hero {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--hairline);
}
.profile-hero .wrap { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A6B56, var(--forest));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 42px;
  box-shadow: 0 8px 24px -4px rgba(13,74,58,0.3);
  flex-shrink: 0;
  overflow: hidden;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-info { flex: 1; min-width: 280px; }
.profile-info .badge-founding { margin-bottom: 14px; }
.profile-info h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; font-family: 'Playfair Display', serif; }
.profile-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.profile-meta .tag { font-size: 12px; padding: 6px 14px; }
.profile-bio-short { font-size: 16px; color: var(--muted); max-width: 60ch; line-height: 1.6; margin-bottom: 20px; }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.profile-section { padding: 48px 0; }
.profile-section h2 { font-size: 22px; margin-bottom: 20px; font-family: 'Playfair Display', serif; }

/* Video del mes */
.video-hero {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.video-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a2a25 0%, #0f1f1c 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  gap: 12px;
  position: relative;
}
.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.video-placeholder .play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(196,149,106,0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(196,149,106,0.4);
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
  position: relative;
  S-index: 1;
}
.video-placeholder .play-btn:hover { transform: scale(1.1); background: rgba(196,149,106,0.3); }
.video-placeholder p { font-size: 14px; opacity: 0.8; position: relative; S-index: 1; margin: 0; }
.video-info { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.video-info h3 { font-size: 16px; font-family: 'Playfair Display', serif; }
.video-info .mono { font-size: 12px; color: var(--muted); }

/* Especialidades chips */
.chips-list { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
}

/* Bio */
.bio-text { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 72ch; }

/* Videos anteriores grid */
.past-videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.past-video-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.past-video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.past-video-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a2a25, #0f1f1c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
}
.past-video-info { padding: 14px 16px; }
.past-video-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; line-height: 1.3; font-family: 'Inter', sans-serif; }
.past-video-info .mono { font-size: 11px; color: var(--muted); }

/* Ubicación */
.location-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.location-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  background: var(--forest-light);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.location-details h3 { font-size: 16px; margin-bottom: 6px; font-family: 'Playfair Display', serif; }
.location-details p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 4px; }
.location-details a { color: var(--forest); font-weight: 600; font-size: 14px; }
.location-details a:hover { text-decoration: underline; }

/* Verificado footer */
.verified-footer {
  text-align: center;
  padding: 32px;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  margin-top: 32px;
}
.verified-footer p {
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

@media (max-width: 960px) {
  .why-grid, .process-grid, .doc-grid, .past-videos-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px; }
  .profile-hero .wrap { flex-direction: column; align-items: center; text-align: center; }
  .profile-meta { justify-content: center; }
  .profile-actions { justify-content: center; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: clamp(32px, 8vw, 40px); }
  .hero-sub { font-size: 15px; }
  .why-grid, .process-grid, .doc-grid, .past-videos-grid { grid-template-columns: 1fr; gap: 16px; }
  .dir-header { flex-direction: column; align-items: flex-start; }
  .dir-search { width: 100%; flex-direction: column; }
  .dir-search input { max-width: 100%; }
  .cta-banner { padding: 28px; text-align: center; justify-content: center; }
  .cta-banner .btn-copper { width: 100%; }
  footer .wrap { flex-direction: column; text-align: center; }
  .nav-actions .btn-ghost { display: none; }
  .profile-avatar { width: 96px; height: 96px; font-size: 32px; }
  .location-card { flex-direction: column; }
}
