/* ─────────────────────────────────────────────────────
   BRANOR STUDIO — V11
   Neue Montreal · #5E0E14 · Mesh Gradient
   ───────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Tipografía: Inter (Google Fonts) — decisión consciente del proyecto. */

:root {
  --bg: #FFFFFF;
  --bg-dark: #0A0A0A;
  --bg-burgundy: #5E0E14;
  --text: #0A0A0A;
  --text-secondary: #333333;
  --text-light: #FFFFFF;
  --accent: #5E0E14;
  --accent-hover: #7A1A22;
  --border: #E0E0E0;
  --border-dark: rgba(255,255,255,0.12);
  --font-display: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color 0.3s, opacity 0.3s; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; border: none; background: none; outline: none; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

::selection { background: var(--accent); color: var(--text-light); }

/* Statement / palabra destacada en titulares: mismo tamaño, cursiva fina */
.accent {
  font-size: 1em;
  font-style: italic;
  font-weight: 300;
}

/* ─── LOADER ─── */
.loader {
  position: fixed; top:0; left:0; width:100%; height:100%;
  background: var(--bg-burgundy); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s;
}
.loader.loaded { opacity:0; visibility:hidden; pointer-events:none; }
.loader-text {
  font-family: var(--font-display); font-weight:700;
  font-size: clamp(2rem,5vw,3.5rem); letter-spacing:-0.02em;
  color: var(--text-light); opacity:0;
  animation: fadeUp 1s ease 0.2s forwards;
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(16px); }
  to { opacity:1; transform:translateY(0); }
}

/* ─── NAV ─── */
.site-nav {
  position:fixed; top:0; left:0; width:100%; z-index:1000;
  padding: 1.3rem 4rem;
  display:flex; align-items:center; justify-content:space-between;
  background:transparent;
  transition: background 0.4s, border-color 0.4s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.site-nav .nav-brand { color: var(--text-light); }
.site-nav .nav-links a { color: rgba(255,255,255,0.6); }
.site-nav .nav-links a:hover { color: var(--text-light); }
.site-nav .nav-hamburger span { background: var(--text-light); }
.site-nav.scrolled .nav-brand { color: var(--text); }
.site-nav.scrolled .nav-links a { color: var(--text-secondary); }
.site-nav.scrolled .nav-links a:hover { color: var(--text); }
.site-nav.scrolled .nav-hamburger span { background: var(--text); }

.nav-brand { font-family:var(--font-display); font-weight:700; font-size:0.85rem; letter-spacing:0.15em; text-transform:uppercase; }
.nav-links { display:flex; align-items:center; gap:2rem; }
.nav-links a { font-family:var(--font-body); font-size:0.68rem; font-weight:500; letter-spacing:0.04em; text-transform:uppercase; }
.nav-cta {
  display:inline-block; padding:0.5rem 1.2rem;
  background: var(--accent); color: var(--text-light) !important;
  font-size:0.68rem !important; font-weight:600 !important;
  letter-spacing:0.04em; text-transform:uppercase;
  border-radius: 8px; transition: background 0.3s, transform 0.15s;
}
.nav-cta:hover { background: var(--accent-hover); color: var(--text-light) !important; transform:translateY(-1px); }
.site-nav.scrolled .nav-cta { color: var(--text-light) !important; }

.nav-hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; z-index:1001; }
.nav-hamburger span { width:22px; height:1.5px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav-hamburger.active span:nth-child(1) { transform:translateY(6.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity:0; }
.nav-hamburger.active span:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); }

/* ─── SECTIONS ─── */
section { padding: 7rem 4rem; position:relative; }
.section-white { background: var(--bg); color: var(--text); }
.section-burgundy { background: var(--bg-burgundy); color: var(--text-light); }
.container { max-width: 960px; margin: 0 auto; }

.section-label {
  font-family:var(--font-body); font-size:0.6rem; font-weight:600;
  letter-spacing:0.12em; text-transform:uppercase;
  color: var(--accent); margin-bottom:1.8rem;
}
.section-burgundy .section-label { color: rgba(255,255,255,0.45); }

.section-title {
  font-family:var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight:700; letter-spacing:-0.035em; line-height:1.08;
  margin-bottom: 2.2rem; max-width: 680px;
}
.section-burgundy .section-title { color: var(--text-light); }
.section-burgundy .accent { color: var(--text-light); }

/* ─── HERO — Mesh Gradient ─── */
.section-hero {
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  text-align:center; overflow:hidden; position:relative;
  background: var(--bg-burgundy);
}
.hero-mesh { position:absolute; inset:0; z-index:0; overflow:hidden; }
.hero-mesh .mesh-blob {
  position:absolute; border-radius:50%; filter:blur(120px); opacity:0.32;
  animation: meshFloat 12s ease-in-out infinite alternate;
}
.hero-mesh .blob-1 { width:60vw; height:60vw; top:-20%; left:-10%; background:rgba(122,26,34,0.55); animation-duration:14s; }
.hero-mesh .blob-2 { width:50vw; height:50vw; bottom:-15%; right:-15%; background:rgba(160,30,40,0.35); animation-duration:18s; animation-delay:2s; }
.hero-mesh .blob-3 { width:35vw; height:35vw; top:30%; left:50%; background:rgba(255,255,255,0.05); animation-duration:10s; animation-delay:4s; }
.hero-mesh .blob-4 { width:28vw; height:28vw; bottom:5%; left:20%; background:rgba(40,6,9,0.5); animation-duration:16s; animation-delay:1s; }
@keyframes meshFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.06); }
  100% { transform: translate(-20px, 15px) scale(0.96); }
}

.hero-inner { max-width:900px; position:relative; z-index:1; }
.hero-label {
  font-family:var(--font-body); font-weight:400;
  font-size:0.72rem; letter-spacing:0.18em; text-transform:uppercase;
  color: rgba(255,255,255,0.7); margin-bottom:2.5rem;
  opacity:0; animation: fadeUp 0.9s var(--ease) 0.7s forwards;
}
.hero-title {
  font-family:var(--font-display); font-weight:700;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  letter-spacing:-0.02em; line-height:1.2;
  text-transform:uppercase;
  color: var(--text-light); max-width:650px; margin:0 auto 1.5rem;
  opacity:0; animation: fadeUp 1s var(--ease) 0.3s forwards;
}
.hero-title em { font-style:normal; }
.hero-subtitle {
  font-family:var(--font-body); font-weight:400;
  font-size:0.95rem; color:rgba(255,255,255,0.8); line-height:1.6;
  max-width:500px; margin:0 auto 2.5rem;
  opacity:0; animation: fadeUp 0.9s var(--ease) 0.9s forwards;
}
.hero-cta { opacity:0; animation: fadeUp 0.9s var(--ease) 1.1s forwards; }

/* ─── BUTTONS (design-system inspired) ─── */
.btn-primary {
  display:inline-flex; align-items:center; justify-content:center; gap:0.4rem;
  padding: 0.75rem 1.9rem; height:auto;
  font-family:var(--font-body); font-size:0.72rem; font-weight:600;
  letter-spacing:0.06em; text-transform:uppercase;
  border-radius: 8px; border: 1px solid rgba(255,255,255,0.35);
  background:transparent; color: var(--text-light);
  cursor:pointer; transition: background 0.2s var(--ease), border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-primary:hover { border-color:rgba(255,255,255,0.85); color:var(--text-light); transform:translateY(-1px); }
.btn-primary:active { transform:translateY(0); }

.section-white .btn-primary {
  background:var(--accent); color:var(--text-light); border-color:var(--accent);
}
.section-white .btn-primary:hover {
  background:var(--accent-hover); border-color:var(--accent-hover); color:var(--text-light);
}

/* Botón macizo granate (estilo "Quiero recibirlos") reutilizable */
.btn-solid {
  display:inline-flex; align-items:center; justify-content:center;
  padding:0.75rem 1.6rem; background:var(--accent); color:var(--text-light);
  font-family:var(--font-body); font-size:0.7rem; font-weight:600;
  letter-spacing:0.06em; text-transform:uppercase;
  border:1px solid var(--accent); border-radius:8px;
  transition:background 0.25s, transform 0.15s; cursor:pointer;
}
.btn-solid:hover { background:var(--accent-hover); transform:translateY(-1px); color:var(--text-light); }

/* ─── BODY TEXT ─── */
.section-body {
  font-family:var(--font-body); font-size:0.88rem; font-weight:400;
  line-height:1.55; max-width:600px; text-align:justify;
  color: var(--text-secondary);
}
.section-burgundy .section-body { color: rgba(255,255,255,0.9); max-width:540px; }
.section-body p + p { margin-top:0.8rem; }

/* Variante minimal (Qué es Branor) — negro sobre blanco, más respirado */
.section-body.section-body-minimal {
  font-size:0.92rem; line-height:1.6; max-width:620px; color:var(--text-secondary);
}

/* ─── MARQUEE ─── */
.marquee-wrap {
  overflow:hidden; padding:2.5rem 0; background:var(--bg);
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
}
.marquee-track { display:flex; width:max-content; animation: marquee 35s linear infinite; }
.marquee-track span {
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(1.8rem,4vw,3rem); letter-spacing:-0.02em;
  text-transform:uppercase; color:rgba(0,0,0,0.06);
  white-space:nowrap; padding:0 1.5rem;
}
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ─── MÉTODO HEADER (granate) ─── */
.metodo-header {
  padding: 7rem 4rem 4rem;
}
.metodo-header .services-intro {
  font-family:var(--font-body); font-size:0.88rem; font-weight:400;
  color:rgba(255,255,255,0.72); margin-bottom:0; line-height:1.55; max-width:560px;
}
/* línea separadora entre "cómo trabajamos" y los recuadros */
.metodo-divider {
  height:1px; background:rgba(255,255,255,0.18);
  max-width:960px; margin:2.5rem auto 0;
}

/* ─── MÉTODO CARDS (blanco) ─── */
.metodo-cards { padding: 4rem 4rem 7rem; }
.services-row { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--border); }
.services-row + .services-row { margin-top:1px; }

/* Invert cards — blanco por defecto, granate al pasar el cursor */
.service-card-invert {
  padding:2.5rem 2rem; display:flex; flex-direction:column;
  background:var(--bg); color:var(--text); border:none;
  transition: background 0.3s, color 0.3s;
}
.service-card-invert:hover {
  background:var(--bg-burgundy); color:var(--text-light);
}
.service-card-invert .service-card-name {
  font-family:var(--font-display); font-size:1rem; font-weight:700;
  letter-spacing:-0.01em; margin-bottom:0.8rem; line-height:1.2;
  text-transform:uppercase;
  color:var(--text); transition:color 0.3s;
}
.service-card-invert:hover .service-card-name { color:var(--text-light); }
.service-card-invert .service-card-desc {
  font-family:var(--font-body); font-size:0.8rem; font-weight:400;
  color:var(--text-secondary); line-height:1.55;
  margin-bottom:1.3rem; flex:1; text-align:justify; transition:color 0.3s;
}
.service-card-invert:hover .service-card-desc { color:rgba(255,255,255,0.72); }
.service-card-invert .service-card-link {
  font-family:var(--font-body); font-size:0.68rem; font-weight:600;
  color:var(--accent); letter-spacing:0.04em; text-transform:uppercase; transition:color 0.3s;
}
.service-card-invert:hover .service-card-link { color:rgba(255,255,255,0.7); }

/* ─── SPLIT (texto + foto en dos columnas) ─── */
.split { display:grid; grid-template-columns:1.05fr 0.95fr; gap:3.5rem; align-items:stretch; }
.split-text { display:flex; flex-direction:column; justify-content:center; }
.split-media { align-self:stretch; }
.split-media img {
  width:100%; height:100%; min-height:340px; max-height:560px;
  object-fit:cover; border-radius:4px; transition:transform 0.6s var(--ease);
}
.split-media img:hover { transform:scale(1.015); }
.split-reverse .split-text { order:2; }
.split-reverse .split-media { order:1; }

/* ─── MANIFESTO / DIRECTION ─── */
.manifesto-body {
  font-family:var(--font-body); font-size:0.88rem; font-weight:400;
  line-height:1.55; color:var(--text-secondary); max-width:600px; text-align:justify;
}
.manifesto-body p + p { margin-top:0.8rem; }

/* ─── SIGNATURE ─── */
.signature { margin-top:3rem; padding-top:2rem; border-top:1px solid var(--border); max-width:600px; display:flex; gap:1rem; align-items:flex-start; }
.signature-avatar {
  position:relative; width:52px; height:52px; border-radius:50%; overflow:hidden; flex-shrink:0;
  background:var(--bg-burgundy);
  display:flex; align-items:center; justify-content:center;
}
.signature-avatar .avatar-fallback {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:700; font-size:0.85rem; letter-spacing:0.02em;
  color:var(--text-light); z-index:0;
}
.signature-avatar img { position:relative; z-index:1; width:100%; height:100%; object-fit:cover; filter:grayscale(100%); }
.signature-info { flex:1; }
.signature-name { font-family:var(--font-display); font-weight:700; font-size:0.95rem; letter-spacing:-0.02em; margin-bottom:0.3rem; }
.signature-bio { font-family:var(--font-body); font-size:0.78rem; font-weight:400; color:var(--text-secondary); line-height:1.5; }

/* ─── PROBLEM / RECONOCIMIENTO ─── */
.problem-list { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--border); margin-top:1.5rem; }
.problem-item {
  background:var(--bg); padding:1.6rem 1.5rem;
  font-family:var(--font-body); font-size:0.84rem; font-weight:400;
  color:var(--text-secondary); line-height:1.5;
}
.problem-item strong { display:block; font-family:var(--font-display); font-weight:700; font-size:0.92rem; color:var(--text); margin-bottom:0.4rem; letter-spacing:-0.01em; }

/* ─── ANALYSIS ─── */
.analysis-intro {
  font-family:var(--font-body); font-size:0.86rem; font-weight:400;
  line-height:1.55; color:var(--text-secondary); max-width:580px;
  margin-bottom:3rem; text-align:justify;
}
.analysis-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border); }

.analysis-card-invert {
  padding:2.2rem 1.8rem; display:flex; flex-direction:column;
  background:var(--bg); transition:background 0.3s, color 0.3s;
}
.analysis-card-invert:hover { background:var(--bg-burgundy); }
.analysis-card-invert .analysis-card-brand {
  font-family:var(--font-display); font-size:1.05rem; font-weight:700;
  letter-spacing:-0.02em; margin-bottom:0.8rem; color:var(--text); transition:color 0.3s;
}
.analysis-card-invert:hover .analysis-card-brand { color:var(--text-light); }
.analysis-card-invert .analysis-card-desc {
  font-family:var(--font-body); font-size:0.78rem; font-weight:400;
  color:var(--text-secondary); line-height:1.55; margin-bottom:1.3rem; flex:1; text-align:justify; transition:color 0.3s;
}
.analysis-card-invert:hover .analysis-card-desc { color:rgba(255,255,255,0.72); }
.analysis-card-invert .analysis-card-link {
  font-family:var(--font-body); font-size:0.68rem; font-weight:600;
  color:var(--accent); letter-spacing:0.04em; text-transform:uppercase; transition:color 0.3s;
}
.analysis-card-invert:hover .analysis-card-link { color:rgba(255,255,255,0.7); }

/* ─── EXCLUSIVIDAD ─── */
.exclusive-body {
  font-family:var(--font-body); font-size:0.9rem; font-weight:400;
  line-height:1.6; color:rgba(255,255,255,0.9); max-width:560px; margin-bottom:2rem;
}
.exclusive-body p + p { margin-top:0.8rem; }
.exclusive-cta { margin-top:0.5rem; }

/* ─── NEWSLETTER ─── */
.newsletter-form { display:flex; gap:0; max-width:440px; margin-top:2rem; }
.newsletter-form input[type="email"] {
  flex:1; padding:0.7rem 1rem; border:1px solid var(--border); border-right:none;
  border-radius:8px 0 0 8px;
  background:var(--bg); font-size:0.82rem; font-weight:400; color:var(--text); transition:border-color 0.3s;
}
.newsletter-form input[type="email"]::placeholder { color:#B0B0B0; }
.newsletter-form input[type="email"]:focus { border-color:var(--accent); }
.newsletter-form button {
  padding:0.7rem 1.4rem; background:var(--accent); color:var(--text-light);
  font-size:0.68rem; font-weight:600; letter-spacing:0.06em; text-transform:uppercase;
  white-space:nowrap; transition:background 0.3s; border:1px solid var(--accent);
  border-radius:0 8px 8px 0; cursor:pointer;
}
.newsletter-form button:hover { background:var(--accent-hover); }

.form-message { margin-top:1rem; font-size:0.82rem; font-weight:400; line-height:1.6; display:none; }
.form-message.success { color:var(--text); display:block; }
.form-message.error { color:var(--accent); display:block; }

/* ─── CONTACT (estilo Análisis Branor: negro sobre blanco) ─── */
.contact-subtitle {
  font-family:var(--font-body); font-size:0.86rem; font-weight:400;
  color:var(--text-secondary); line-height:1.55; max-width:480px; margin-bottom:2.5rem; text-align:justify;
}
.contact-form { max-width:460px; display:flex; flex-direction:column; gap:0.7rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  padding:0.75rem 1rem; border:1px solid var(--border); border-radius:8px;
  background:var(--bg); font-size:0.82rem; font-weight:400; color:var(--text); transition:border-color 0.3s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color:#B0B0B0; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color:var(--accent); }
.contact-form textarea { resize:vertical; min-height:110px; }
/* botón "Enviar" como el de "Quiero recibirlos" */
.contact-form button[type="submit"] {
  align-self:flex-start; margin-top:0.4rem;
  padding:0.75rem 1.6rem; background:var(--accent); color:var(--text-light);
  font-family:var(--font-body); font-size:0.7rem; font-weight:600;
  letter-spacing:0.06em; text-transform:uppercase;
  border:1px solid var(--accent); border-radius:8px;
  transition:background 0.25s, transform 0.15s;
}
.contact-form button[type="submit"]:hover { background:var(--accent-hover); transform:translateY(-1px); }

/* ─── FOOTER ─── */
.site-footer { background:var(--bg-dark); color:var(--text-light); padding:4.5rem 4rem 2rem; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:3rem; max-width:960px; margin:0 auto 2.5rem; }
.footer-brand-name { font-family:var(--font-display); font-weight:700; font-size:0.85rem; letter-spacing:0.15em; text-transform:uppercase; margin-bottom:0.8rem; }
.footer-brand-text { font-family:var(--font-body); font-size:0.78rem; font-weight:400; color:rgba(255,255,255,0.72); line-height:1.7; max-width:270px; }
.footer-brand-location { margin-top:0.4rem; }
.footer-social { display:flex; gap:1rem; margin-top:1.2rem; }
.footer-social a { color:rgba(255,255,255,0.7); transition:color 0.3s, transform 0.15s; display:flex; }
.footer-social a:hover { color:var(--text-light); transform:translateY(-1px); }
.footer-social svg { width:18px; height:18px; }
.footer-col-title { font-family:var(--font-body); font-size:0.6rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:rgba(255,255,255,0.8); margin-bottom:0.8rem; }
.footer-grid a { display:block; font-size:0.78rem; font-weight:400; color:rgba(255,255,255,0.62); padding:0.18rem 0; transition:color 0.3s; }
.footer-grid a:hover { color:var(--text-light); }
.footer-bar { max-width:960px; margin:0 auto; padding-top:2rem; border-top:1px solid rgba(255,255,255,0.14); text-align:center; }
.footer-tagline { font-family:var(--font-display); font-style:italic; font-weight:300; font-size:0.82rem; color:rgba(255,255,255,0.6); margin-bottom:0.9rem; letter-spacing:0.01em; }
.footer-copy { font-size:0.66rem; font-weight:400; color:rgba(255,255,255,0.6); }

/* ─── CONSENTIMIENTO RGPD (discreto) ─── */
.form-consent { font-size:0.68rem; color:var(--text-secondary); line-height:1.5; margin-top:0.7rem; max-width:440px; }
.form-consent a { color:var(--accent); text-decoration:underline; }
.apply-consent { display:flex; gap:0.5rem; align-items:flex-start; font-size:0.72rem; color:var(--text-secondary); line-height:1.45; margin-top:0.2rem; }
.apply-consent input[type="checkbox"] { width:15px; height:15px; margin-top:0.15rem; flex-shrink:0; accent-color:var(--accent); cursor:pointer; }
.apply-consent a { color:var(--accent); text-decoration:underline; }

/* ─── DETAIL PAGES ─── */
.detail-hero { padding-top:10rem; padding-bottom:3.5rem; background:var(--bg); }
.detail-label { font-size:0.6rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:var(--accent); margin-bottom:1.5rem; }
.detail-title { font-family:var(--font-display); font-size:clamp(1.8rem,4.5vw,3rem); font-weight:700; letter-spacing:-0.03em; line-height:1.08; }
.detail-section { padding:3.5rem 4rem; border-top:1px solid var(--border); background:var(--bg); }
.detail-section-title { font-family:var(--font-display); font-size:1.05rem; font-weight:700; letter-spacing:-0.02em; margin-bottom:1.3rem; }
.detail-body { font-family:var(--font-body); font-size:0.86rem; font-weight:400; color:var(--text-secondary); line-height:1.55; max-width:580px; text-align:justify; }
.detail-body p + p { margin-top:0.8rem; }
.detail-list { margin-top:0.5rem; }
.detail-list li { font-size:0.84rem; font-weight:400; color:var(--text-secondary); line-height:1.55; padding-left:0.9rem; position:relative; margin-bottom:0.4rem; }
.detail-list li::before { content:''; position:absolute; left:0; top:0.8em; width:4px; height:1px; background:var(--accent); }
.detail-cta { padding:4.5rem 4rem; text-align:center; border-top:1px solid var(--border); background:var(--bg); }
.detail-back { display:inline-block; font-size:0.7rem; font-weight:500; color:var(--text-secondary); margin-top:1rem; letter-spacing:0.04em; text-transform:uppercase; }
.detail-back:hover { color:var(--accent); }

/* ─── APPLY PAGE ─── */
.apply-hero { padding:10rem 4rem 3.5rem; background:var(--bg-burgundy); color:var(--text-light); }
.apply-hero .detail-label { color:rgba(255,255,255,0.5); }
.apply-hero .detail-title { color:var(--text-light); max-width:760px; }
.apply-hero .apply-lead { font-family:var(--font-body); font-size:0.92rem; font-weight:400; color:rgba(255,255,255,0.85); line-height:1.6; max-width:560px; margin-top:1.5rem; }
.apply-section { padding:4rem; background:var(--bg); }
.apply-form { max-width:560px; display:flex; flex-direction:column; gap:0.9rem; }
.apply-field { display:flex; flex-direction:column; gap:0.35rem; }
.apply-field label { font-family:var(--font-body); font-size:0.66rem; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; color:var(--text-secondary); }
.apply-form input, .apply-form textarea, .apply-form select {
  padding:0.8rem 1rem; border:1px solid var(--border); border-radius:8px;
  background:var(--bg); font-size:0.85rem; font-weight:400; color:var(--text); transition:border-color 0.3s; width:100%;
}
.apply-form input::placeholder, .apply-form textarea::placeholder { color:#B0B0B0; }
.apply-form input:focus, .apply-form textarea:focus, .apply-form select:focus { border-color:var(--accent); }
.apply-form textarea { resize:vertical; min-height:120px; }
.apply-form select { appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235E0E14' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 1rem center; padding-right:2.4rem; }
.apply-note { font-family:var(--font-body); font-size:0.74rem; color:var(--text-secondary); line-height:1.5; margin-top:0.3rem; }
.apply-form button[type="submit"] {
  align-self:flex-start; margin-top:0.6rem;
  padding:0.85rem 2rem; background:var(--accent); color:var(--text-light);
  font-family:var(--font-body); font-size:0.72rem; font-weight:600;
  letter-spacing:0.06em; text-transform:uppercase;
  border:1px solid var(--accent); border-radius:8px;
  transition:background 0.25s, transform 0.15s;
}
.apply-form button[type="submit"]:hover { background:var(--accent-hover); transform:translateY(-1px); }

/* ─── REVEAL ─── */
.reveal { opacity:0; transform:translateY(24px); transition:opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.08s; }
.reveal-delay-2 { transition-delay:0.16s; }
.reveal-delay-3 { transition-delay:0.24s; }
.reveal-left { opacity:0; transform:translateX(-30px); transition:opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-left.visible { opacity:1; transform:translateX(0); }
.reveal-right { opacity:0; transform:translateX(30px); transition:opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-right.visible { opacity:1; transform:translateX(0); }
.reveal-scale { opacity:0; transform:scale(0.96); transition:opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-scale.visible { opacity:1; transform:scale(1); }

/* ─── RESPONSIVE ─── */
@media (max-width:900px) {
  .nav-links {
    display:none; position:fixed; top:0; left:0; width:100%; height:100vh;
    background:rgba(255,255,255,0.98); backdrop-filter:blur(16px);
    flex-direction:column; justify-content:center; align-items:center; gap:1.5rem; z-index:999;
  }
  .nav-links.open { display:flex; }
  .nav-links a, .nav-links.open a { font-size:0.85rem; color:var(--text) !important; }
  .nav-hamburger { display:flex; }
  .site-nav { padding:1rem 1.5rem; }
  .site-nav.scrolled { padding:0.8rem 1.5rem; }
  section { padding:5rem 1.5rem; }
  .metodo-header { padding:5rem 1.5rem 3rem; }
  .metodo-cards { padding:3rem 1.5rem 5rem; }
  .services-row { grid-template-columns:1fr; }
  .analysis-grid { grid-template-columns:1fr; }
  .split { grid-template-columns:1fr; gap:2rem; }
  .split-reverse .split-text { order:1; }
  .split-reverse .split-media { order:2; }
  .split-media img { min-height:240px; max-height:320px; }
  .problem-list { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:1.8rem; }
  .newsletter-form { flex-direction:column; }
  .newsletter-form input[type="email"] { border-right:1px solid var(--border); border-radius:8px; }
  .newsletter-form button { border-radius:8px; }
  .site-footer { padding:3rem 1.5rem 1.5rem; }
  .detail-section { padding:3rem 1.5rem; }
  .detail-cta { padding:3.5rem 1.5rem; }
  .apply-hero { padding:8rem 1.5rem 3rem; }
  .apply-section { padding:3rem 1.5rem; }
  /* textos compactos sobre granate en móvil — que no ocupen todo el ancho */
  .section-burgundy .section-body,
  .metodo-header .services-intro,
  .exclusive-body { max-width:38ch; font-size:0.82rem; text-align:left; }
  .manifesto-body { font-size:0.82rem; }
  .section-body.section-body-minimal { font-size:0.84rem; max-width:42ch; text-align:left; }
}
@media (max-width:500px) {
  section { padding:3.5rem 1rem; }
  .metodo-header { padding:3.5rem 1rem 2rem; }
  .metodo-cards { padding:2.5rem 1rem 3.5rem; }
  .site-nav { padding:0.8rem 1rem; }
  .site-footer { padding:2.5rem 1rem 1rem; }
  .apply-hero { padding:7rem 1rem 2.5rem; }
  .apply-section { padding:2.5rem 1rem; }
  .section-burgundy .section-body,
  .exclusive-body,
  .section-body.section-body-minimal { max-width:100%; }
}
