/* ═══════════════════════════════════════════════════
   Roldán Psicoanálisis — main.css
   Generado a partir del diseño aprobado v1.0
   ═══════════════════════════════════════════════════ */

:root {
  --black: #080808;
  --dark:  #0f0f0f;
  --card:  #141414;
  --border: #222222;
  --white: #f0ece4;
  --muted: #8a8580;
  --orange: #c4612a;
  --orange-light: #d97b47;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Josefin Sans', sans-serif;
  --mono:  'DM Mono', monospace;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ─── HEADER ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
}
.logo-name {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
}
.logo-title {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 200;
  letter-spacing: 0.35em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 10px;
}

nav { display: flex; align-items: center; gap: 1.6rem; }
nav a {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}
nav a:hover { color: var(--orange); }
nav .nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  transition: background var(--transition);
}
nav .nav-cta:hover { background: var(--orange-light); }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block; width: 24px; height: 1px;
  background: var(--white); transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── MOBILE NAV ─── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(8,8,8,0.99);
  backdrop-filter: blur(16px);
  z-index: 99;
  flex-direction: column;
  padding: 1.5rem clamp(1.5rem, 6vw, 3rem);
  border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--white); }
.mobile-nav .nav-cta-mobile {
  background: var(--orange);
  color: var(--white);
  padding: 1rem 1.5rem;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  margin-top: 1.2rem;
}

/* ─── SECTIONS ─── */
section {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 8vw, 10rem);
  position: relative;
}
#inicio { padding-top: calc(72px + clamp(3rem, 6vw, 5rem)); }

.section-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 2rem;
  display: block;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  max-width: 680px;
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--orange-light); }
.section-subtitle {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 560px;
  line-height: 1.65;
}

/* ─── HERO ─── */
#inicio {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
#inicio::before {
  content: '';
  position: absolute; top: -20%; right: -10%;
  width: 55vw; height: 55vw;
  background: radial-gradient(ellipse, rgba(13,27,42,0.55) 0%, transparent 70%);
  pointer-events: none;
}
#inicio::after {
  content: '';
  position: absolute; bottom: 10%; left: -5%;
  width: 35vw; height: 35vw;
  background: radial-gradient(ellipse, rgba(196,97,42,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
  max-width: 820px;
  margin-bottom: 3rem;
}
.hero-headline em { font-style: italic; color: var(--orange-light); }

.hero-blocks {
  display: flex;
  flex-direction: column;
  max-width: 660px;
  margin-bottom: 3.5rem;
}
.hero-block {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
}
.hero-block:first-child { padding-top: 0; }
.hero-block:last-child  { border-bottom: none; }

.hero-block-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--orange);
  opacity: 0.7;
  display: block;
  margin-bottom: 0.75rem;
}
.hero-text-large {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--white);
  line-height: 1.65;
  font-weight: 300;
}
.hero-text-large em { font-style: italic; color: var(--orange-light); }
.hero-text-body {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.hero-text-body strong { color: var(--white); font-weight: 400; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--orange);
  color: var(--white);
  padding: 1rem 2.2rem;
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--orange);
  transform: translateX(-101%);
  transition: transform var(--transition);
  z-index: 0;
}
.btn:hover::before { transform: translateX(0); }
.btn span { position: relative; z-index: 1; }
.btn-filled { background: var(--orange); border-color: var(--orange); }
.btn-filled::before { background: var(--orange-light); }

/* ─── SECTION BACKGROUNDS ─── */
#para-quien  { background: var(--dark); }
#que-esperar { background: var(--black); }
#modalidades { background: var(--dark); }
#formacion   { background: var(--black); }
#matriculas  { background: var(--dark); }
#contacto    { background: var(--black); border-top: 1px solid var(--border); }

/* ─── CHECK LIST ─── */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
  max-width: 580px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--white);
  line-height: 1.65;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.check-list li:first-child { border-top: 1px solid var(--border); }
.check-list li::before {
  content: '—';
  color: var(--orange);
  font-weight: 400;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.closing-text {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-style: italic;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.65;
  border-left: 2px solid var(--orange);
  padding-left: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

/* ─── EXPECT GRID ─── */
.expect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--border);
  margin: 2rem 0;
  border: 1px solid var(--border);
}
.expect-card {
  background: var(--card);
  padding: 2.2rem 2rem;
  transition: background var(--transition);
  overflow: hidden;
}
.expect-card:hover { background: #1a1a1a; }
.expect-card-num {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--orange);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  display: block;
}
.expect-card-text {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--white);
  line-height: 1.75;
}

/* Grilla de imágenes dentro de secciones */
.img-grid .expect-card {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-grid .expect-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── TECHNICAL NOTE ─── */
.technical-note {
  background: #0a0f14;
  border: 1px solid #1e3050;
  border-left: 3px solid #2d5077;
  padding: 1.6rem 2rem;
  max-width: 700px;
  margin-top: 3rem;
}
.technical-note p {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: #8aaccc;
  letter-spacing: 0.02em;
  line-height: 1.8;
}
.technical-note-label {
  font-family: var(--sans);
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #4a7099;
  display: block;
  margin-bottom: 0.75rem;
}

/* ─── MODALIDADES ─── */
.modalities-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.tab-btn {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn.active { color: var(--white); border-bottom-color: var(--orange); }
.tab-btn:hover  { color: var(--white); }

.tab-panel {
  display: none;
  padding: 3rem 0;
  max-width: 700px;
  animation: fadeUp 0.4s ease forwards;
}
.tab-panel.active { display: block; }

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

.modality-headline {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.modality-headline em { font-style: italic; color: var(--orange-light); }
.modality-text {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}
.modality-text strong { color: var(--white); font-weight: 400; }

/* ─── INFO CARDS ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.info-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.info-card-accent {
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--orange);
  transition: height var(--transition);
}
.info-card:hover .info-card-accent { height: 100%; }
.info-card-tag {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.8rem;
}
.info-card-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.info-card-sub { 
  font-size: 0.95rem; 
  color: var(--muted); 
  line-height: 1.65; 
}

/* ─── CONTACT ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
}
.contact-text {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--muted);
  line-height: 1.9;
  margin-top: 1.5rem;
}

/* Contact Form 7 overrides */
.wpcf7 form { display: flex; flex-direction: column; gap: 1.25rem; }
.wpcf7 .form-group,
.wpcf7 p { display: flex; flex-direction: column; gap: 0.5rem; }
.wpcf7 label {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.05rem;
  padding: 0.9rem 1rem;
  width: 100%;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color var(--transition);
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder { color: #333; }
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.form-group input:focus,
.form-group textarea:focus { border-color: var(--orange); }
.wpcf7 textarea,
.form-group textarea { resize: vertical; min-height: 130px; }

.wpcf7 input[type="submit"],
.form-submit {
  background: var(--orange);
  border: none;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.67rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1.1rem 2rem;
  cursor: pointer;
  width: 100%;
  transition: background var(--transition);
  border-radius: 0;
}
.wpcf7 input[type="submit"]:hover,
.form-submit:hover { background: var(--orange-light); }

/* ─── LINE SEPARATOR ─── */
.line-separator { width: 100%; height: 1px; background: var(--border); }

/* ─── FOOTER ─── */
footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 2.5rem clamp(1.5rem, 8vw, 10rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-name { font-family: var(--serif); font-size: 0.95rem; color: var(--muted); letter-spacing: 0.08em; }
.footer-copy { font-family: var(--mono); font-size: 0.6rem; color: #2e2e2e; letter-spacing: 0.1em; }

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 200;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 0 rgba(37,211,102,0.4);
  animation: wa-pulse 2.5s infinite;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover { transform: scale(1.08); animation: none; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-tooltip {
  position: absolute;
  right: calc(100% + 0.8rem);
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.wa-float:hover .wa-tooltip { opacity: 1; }

@keyframes wa-pulse {
  0%   { box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 0 rgba(37,211,102,0.45); }
  70%  { box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1050px) {
  nav { gap: 1.2rem; }
  nav a { font-size: 0.56rem; letter-spacing: 0.15em; }
}
@media (max-width: 860px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .expect-grid { grid-template-columns: 1fr; }
  .wa-float { bottom: 1.2rem; right: 1.2rem; width: 52px; height: 52px; }
  .wa-tooltip { display: none; }
}

/*Para las opciones del formulario de contacto*/
/* CONTENEDOR */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* TARJETAS */
.radio-card {
  position: relative;
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: all 0.25s ease;
}

/* ocultar radio nativo */
.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* texto */
.radio-card span {
  font-size: 0.95rem;
  color: #ddd;
}

/* hover */
.radio-card:hover {
  border-color: rgba(255,107,0,0.5);
  background: rgba(255,107,0,0.05);
}

/* seleccionado */
.radio-card input:checked + span {
  color: #fff;
  font-weight: 500;
}

/* tarjeta seleccionada (efecto visual) */
.radio-card:has(input:checked) {
  border-color: #ff6b00;
  background: rgba(255,107,0,0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* MENSAJE DE ERROR AL ENVIAR FORMULARIO*/
.form-mensaje {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.25);
  color: #ffb3b3;
  font-size: 0.90rem;
  line-height: 1.4;
  display: none; /* oculto por defecto */
}
/* cuando está activo */
.form-mensaje.active {
  display: block;
  animation: fadeInError 0.3s ease;
}

@keyframes fadeInError {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*PARA EL MODAL DE SALIDA*/
  #ei-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.82);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: eiFadeIn 0.35s ease forwards;
  }
  #ei-overlay.visible { display: flex; }

  @keyframes eiFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  .ei-modal {
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-top: 3px solid #c4612a;
    max-width: 520px;
    width: 100%;
    padding: clamp(2rem, 5vw, 3rem) clamp(1.8rem, 5vw, 2.8rem) 2.5rem;
    position: relative;
    animation: eiSlideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }

  @keyframes eiSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .ei-close {
    position: absolute;
    top: 1.1rem; right: 1.3rem;
    background: none;
    border: none;
    color: #555;
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    text-transform: uppercase;
    transition: color 0.3s;
    padding: 0;
    line-height: 1;
  }
  .ei-close:hover { color: #f0ece4; }

  .ei-tag {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.58rem;
    font-weight: 300;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: #c4612a;
    display: block;
    margin-bottom: 1.4rem;
  }

  .ei-headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 300;
    line-height: 1.2;
    color: #f0ece4;
    margin-bottom: 1.2rem;
  }
  .ei-headline em { font-style: italic; color: #d97b47; }

  .ei-divider {
    width: 36px;
    height: 1px;
    background: #c4612a;
    opacity: 0.5;
    margin-bottom: 1.4rem;
  }

  .ei-body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #8a8580;
    line-height: 1.85;
    margin-bottom: 2rem;
    font-weight: 300;
  }
  .ei-body strong { color: #f0ece4; font-weight: 400; }

  .ei-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .ei-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #c4612a;
    border: 1px solid #c4612a;
    color: #f0ece4;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
    text-align: center;
  }
  .ei-btn-primary:hover { background: #d97b47; color: #f0ece4; }

  .ei-btn-secondary {
    background: none;
    border: none;
    color: #444;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    padding: 0.4rem;
    transition: color 0.3s;
    width: 100%;
  }
  .ei-btn-secondary:hover { color: #8a8580; }

  .ei-note {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    color: #333;
    text-align: center;
    margin-top: 1.4rem;
    letter-spacing: 0.05em;
    line-height: 1.6;
  }


/* ─── Hero de páginas internas ─── */
.page-hero-inner {
  padding: calc(72px + clamp(3rem, 6vw, 5rem)) clamp(1.5rem, 8vw, 10rem) clamp(3rem, 5vw, 4.5rem);
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.page-hero-inner::before {
  content: '';
  position: absolute; top: -20%; right: -10%;
  width: 55vw; height: 55vw;
  background: radial-gradient(ellipse, rgba(13,27,42,0.55) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
  max-width: 820px;
  margin-bottom: 1.5rem;
}
.page-hero-title em { font-style: italic; color: var(--orange-light); }
.page-hero-sub {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
}



/* ─── Tarjeta de contacto ─── */
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  max-width: 480px;
}

.contact-card-header {
  padding: 2rem 2rem 1.5rem;
}
.contact-card-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin: 0.75rem 0 0.4rem;
}
.contact-card-title {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.contact-card-divider {
  height: 1px;
  background: var(--border);
  margin: 0 2rem;
}

.contact-card-body {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition);
}
.contact-item:hover { opacity: 0.7; }

.contact-item-icon {
  width: 36px;
  height: 36px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.contact-item-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: #555;
  text-transform: uppercase;
}
.contact-item-value {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.3;
}

.contact-card-social {
  padding: 1.5rem 2rem;
  display: flex;
  gap: 0.75rem;
}

.contact-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 0.6rem 1rem;
  flex: 1;
  transition: border-color var(--transition);
}
.contact-social-btn:hover { border-color: var(--orange); }
.contact-social-btn span {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 560px) {
  .contact-card { max-width: 100%; }
  .contact-item-value { font-size: 0.95rem; }
}
