/* =========================================
   1. CORE & VARIABLES
   ========================================= */
:root {
  --bg-main: #050608;
  --bg-grad-top: #181b24;
  --bg-grad-bottom: #050608;
  --bg-section: #0b0e14;
  --bg-card: #11141a;
  --text-main: #f5f5f5;
  --text-muted: #b2b6c2;
  --accent-gold: #d4af37;
  --accent-gold-soft: #c39b2e;
  --accent-red-soft: #8f2b32;
  --border-soft: rgba(255, 255, 255, 0.08);
  --radius-xl: 26px;
  --radius-pill: 999px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --transition-fast: 0.25s ease;
  --shadow-soft: 0 10px 40px rgba(0,0,0,0.5);
}

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

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, var(--bg-grad-top) 0, var(--bg-grad-bottom) 55%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
html { scroll-behavior: smooth; }
.page { min-height: 100vh; display: flex; flex-direction: column; }

/* Typo Helpers */
.text-gold { color: var(--accent-gold-soft); }
.text-gold-margin-top { margin-top: 10px; color: var(--accent-gold-soft); }
.text-tittle { font-size: 24px; font-weight: 600; color: #fff8e6; }

/* =========================================
   2. NAVIGATION (MENU)
   ========================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 6, 8, 0.96), rgba(5, 6, 8, 0.9), rgba(5, 6, 8, 0));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand { display: flex; align-items: center; gap: 10px; }

.nav-mark {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 40%;
  border: 1px solid rgba(212, 175, 55, 0.7);
  background: radial-gradient(circle at 30% 0, #f5f5f5 0, #d4af37 30%, #050608 80%);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.55);
  position: relative;
}
.nav-mark::after {
  content: ""; position: absolute; inset: 8px; border-radius: inherit; border: 1px solid rgba(0, 0, 0, 0.7);
}

.nav-title { display: flex; flex-direction: column; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.nav-subtitle { display: flex; flex-direction: column; font-size: 8px; text-transform: uppercase; color: var(--text-muted); }
.nav-title span:first-child { font-weight: 600; color: var(--text-main); }

.nav-links { display: none; align-items: center; gap: 16px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-muted); }
.nav-links a { position: relative; padding-bottom: 4px; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-red-soft));
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.text-gold { color: var(--accent-gold); font-weight: 600; }

.nav-cta { display: none; }

@media (min-width: 880px) {
  .nav-links { display: flex; }
  .nav-cta {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 18px; border-radius: var(--radius-pill);
    border: 1px solid rgba(212, 175, 55, 0.7);
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.22), #050608);
    font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--accent-gold); cursor: pointer; transition: 0.25s ease;
  }
  .nav-cta:hover {
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.32), #050608);
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.3);
  }
}

/* ============================
   NAV MOBILE
   ============================ */

.nav-toggle{
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(17,20,26,0.55);
  cursor: pointer;
}

.nav-toggle span{
  display: block;
  height: 2px;
  width: 18px;
  margin-left: 12px;
  background: rgba(245,245,245,0.85);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Panel */
.nav-mobile{
  display: none;
  padding: 10px 18px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(5,6,8,0.96);
  backdrop-filter: blur(16px);
}

.nav-mobile a{
  display: block;
  padding: 12px 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  border-radius: 12px;
}

.nav-mobile a:hover{
  background: rgba(255,255,255,0.04);
  color: var(--text-main);
}

.nav-mobile-cta{
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212,175,55,0.8);
  background: radial-gradient(circle at top left, rgba(212,175,55,0.22), #050608);
  color: var(--accent-gold);
}

/* Estado abierto */
.nav.is-open .nav-mobile{ display: block; }

.nav.is-open .nav-toggle span:nth-child(1){
  transform: translateY(8px) rotate(45deg);
}
.nav.is-open .nav-toggle span:nth-child(2){
  opacity: 0;
}
.nav.is-open .nav-toggle span:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}

/* En desktop: ocultamos toggle y panel móvil */
@media (min-width: 880px){
  .nav-toggle{ display: none; }
  .nav-mobile{ display: none !important; }
}


/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
  padding-top: 88px; padding-bottom: 76px;
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), #050608 60%);
}
.hero-blog {
  padding-top: 88px; padding-bottom: 0px;
  background: #000000;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 3fr); gap: 40px; align-items: center; }
.hero-grid-method { display: grid; grid-template-columns: minmax(0, 2fr); align-items: center; }

@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); } }
@media (min-width: 900px) { .hero-grid-method { grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); } }

.hero-title { font-size: clamp(40px, 5vw, 54px); line-height: 1.02; letter-spacing: 0.02em; margin-bottom: 16px; }
.hero-title-em { display: inline-block; background: linear-gradient(120deg, #fdf7e6, #d4af37, #f2d1a1); -webkit-background-clip: text; color: transparent; font-weight: 650; }
.hero-subtitle-emp { display: inline-block; color: #fff; font-size: clamp(40px, 5vw, 48px); line-height: 1.02; letter-spacing: 0.02em; margin-bottom: 16px; font-weight: 400; margin-top: 8px; }
.hero-subtitle-emp-mail { display: inline-block; color: #fff; font-size: clamp(18px, 5vw, 24px); line-height: 1.02; letter-spacing: 0.02em; margin-bottom: 16px; font-weight: 400; margin-top: 8px; }
.hero-subtitle, .hero-subtitle-gold { font-size: 16px; max-width: 540px; margin-bottom: 22px; }
.hero-subtitle { color: var(--text-muted); }
.hero-subtitle-gold { color: var(--accent-gold-soft); }
.hero-eyebrow-sub { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-gold-soft); margin-bottom: 14px; }

.hero-card { overflow: hidden; position: relative; }
.hero-ribbon {
  position: absolute; left: 24px; bottom: 22px; padding: 10px 12px;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 6, 8, 0.95); font-size: 11px; color: var(--text-muted); max-width: 280px;
}
.hero-ribbon strong { display: block; margin-bottom: 3px; color: var(--accent-gold-soft); }

@media (max-width: 900px) {
  .hero { padding-top: 78px; }
  .hero-card { max-width: 420px; margin: 0 auto; }
}

/* =========================================
   4. COMMON SECTIONS
   ========================================= */
main { flex: 1; }
section { padding: 40px 18px; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.28em; color: var(--accent-gold-soft); margin-bottom: 14px; }
.section-title { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; margin-bottom: 18px; }
.section-title-elements { margin-bottom: 50px; }
.section-subtitle { font-size: 15px; color: var(--text-muted); max-width: 560px; } 
.section-subtitle-max { font-size: 15px; color: var(--text-muted); max-width: auto; }
.section-subtitle-max-strong { font-size: 16px; font-weight: 450; margin-top: 10px; color: var(--text-muted); }

.section-subtitle-max-bullet-list {
  font-size: 15px; color: var(--text-muted); list-style-position: outside;
  padding-left: 40px; padding-top: 15px; padding-bottom: 15px; margin-left: 0;
}
.section-subtitle-max-bullet-list li { padding-left: 5px; margin-bottom: 10px; line-height: 20px; }

/* =========================================
   5. METHOD / WHAT SECTION
   ========================================= */
.what { background: radial-gradient(circle at top, #10131c 0, #050608 60%); }
.what-grid { margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 880px) { .what-grid { grid-template-columns: minmax(0, 1fr); } }

.what-text { font-size: 14px; color: var(--text-muted); display: flex; flex-direction: column; gap: 12px; }
.what-highlight {
  margin-top: 6px; padding: 16px 16px 14px; border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), #050608);
  font-size: 13px; color: #fff8e6;
}
.what-highlight strong { color: #ffe9a4; }

.what-list { font-size: 13px; list-style: none; display: grid; gap: 8px; margin-top: 6px; }
.what-list li::before { content: "•"; margin-right: 6px; color: var(--accent-gold-soft); }

.what-card {
  border-radius: 22px; background: var(--bg-card); border: 1px solid var(--border-soft);
  padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--text-muted);
}
.what-card-title { font-size: 15px; color: var(--text-main); margin-bottom: 3px; }
.what-card-title-gold { font-size: 15px; color: var(--accent-gold-soft); margin-bottom: 3px; }

.what-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip {
  padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-muted);
}

/* =========================================
   6. SERVICES
   ========================================= */
.services { background: radial-gradient(circle at top, #11141b 0, #050608 50%); }
.services-grid { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.service-card {
  border-radius: var(--radius-xl); background: var(--bg-card); border: 1px solid var(--border-soft);
  padding: 22px 20px 24px; position: relative; overflow: hidden; transition: var(--transition-fast);
}
.service-card::before {
  content: ""; position: absolute; inset: -40%; opacity: 0;
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.28), transparent 60%);
  transform: translateY(12px); transition: var(--transition-fast); pointer-events: none;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, 0.55); box-shadow: var(--shadow-soft); }
.service-card:hover::before { opacity: 1; transform: translateY(0); }

.service-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.24em; color: var(--accent-gold-soft); margin-bottom: 8px; }
.service-title { font-size: 17px; margin-bottom: 10px; }
.service-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.service-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }
.service-meta span { opacity: 0.7; }
.service-cta {
  margin-top: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.72);
  display: inline-flex; align-items: center; gap: 8px;
}
.service-cta::after { content: "→"; font-size: 12px; transform: translateY(1px); }

/* =========================================
   7. METHOD STEPS (APLICACIÓN)
   ========================================= */
   
.metodo-aplicacion { padding: 50px 0; }
.metodo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: flex-start; }
@media (max-width: 980px) { .metodo-grid { grid-template-columns: 1fr; } }

.metodo-steps { display: flex; flex-direction: column; gap: 26px; }
.metodo-card {
  padding: 24px 24px 22px; border-radius: 18px; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(240,212,138,0.18); backdrop-filter: blur(6px); transition: 0.3s ease;
}
.metodo-card:hover { border-color: rgba(240,212,138,0.45); background: rgba(255,255,255,0.06); transform: translateY(-4px); }
.metodo-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.metodo-step-label { color: var(--accent-gold-soft); text-transform: uppercase; font-size: 11px; letter-spacing: 0.14em; margin-bottom: 2px; }
.metodo-card h3 { color: #fff8e6; font-size: 1.25rem; }
.metodo-card p { opacity: 0.86; line-height: 1.6; font-size: 0.98rem; }

.metodo-icon {
  width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(240,212,138,0.7), rgba(5,6,8,1));
  box-shadow: 0 0 16px rgba(240,212,138,0.25); flex-shrink: 0;
}
.metodo-icon svg { width: 26px; height: 26px; }

/* Icon Styles */
.metodo-icon-1 .ico-ring, .metodo-icon-4 .ico-ring { fill: none; stroke: #050608; stroke-width: 1.4; opacity: 0.9; }
.metodo-icon-1 .ico-line { stroke: #050608; stroke-width: 1.6; stroke-linecap: round; }
.metodo-icon-1 .ico-dot { fill: #050608; }
.metodo-icon-2 .ico-layer { fill: rgba(5,6,8,0.9); stroke: rgba(5,6,8,1); stroke-width: 0.8; }
.metodo-icon-2 .ico-layer.mid { opacity: 0.85; }
.metodo-icon-2 .ico-layer.low { opacity: 0.7; }
.metodo-icon-3 .ico-bar { fill: rgba(5,6,8,0.8); }
.metodo-icon-3 .ico-wave { fill: none; stroke: #050608; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.metodo-aside { padding-top: 6px; }
.metodo-aside-text { font-size: 1.05rem; opacity: 0.86; line-height: 1.7; margin-bottom: 26px; }

/* =========================================
   8. TABS VERTICALES (Perfil CEO)
   ========================================= */
.tabs-vertical { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 24px; align-items: flex-start; }
@media (max-width: 880px) { .tabs-vertical { grid-template-columns: minmax(0, 1fr); } .tabs-vertical-list { flex-direction: row; flex-wrap: wrap; } }

.tabs-vertical-list { display: flex; flex-direction: column; gap: 8px; }
.tab-trigger {
  width: 100%; text-align: left; border-radius: 20px; border: 1px solid var(--border-soft); background: var(--bg-card);
  padding: 10px 14px; font-size: 13px; color: var(--text-muted); cursor: pointer;
  display: flex; flex-direction: column; gap: 2px; transition: 0.25s ease;
}
.tab-trigger span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent-gold-soft); }
.tab-trigger:hover { border-color: rgba(212, 175, 55, 0.7); background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), var(--bg-card)); color: var(--text-main); }
.tab-trigger.is-active { border-color: rgba(212, 175, 55, 0.9); background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.26), #050608); color: #fff8e6; }

.tabs-vertical-panels { border-radius: var(--radius-xl); background: var(--bg-card); border: 1px solid var(--border-soft); padding: 22px 20px; min-height: 210px; }
.tab-panel { display: none; animation: tabFade 0.25s ease-out; }
.tab-panel.is-active { display: block; }
.tab-panel h3 { font-size: 17px; margin-bottom: 10px; color: #fff8e6; }
.tab-panel p { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
@keyframes tabFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   9. FORMS & CONTACT (DEFINITIVO)
   - 1 columna en móviles/táctiles SIEMPRE
   - 2 columnas solo en “desktop real” (ratón + hover)
   ========================================= */

.contacto-section { padding: 80px 0 100px; }

.contact-form{
  margin-top: 30px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(240,212,138,0.18);
  padding: 32px 34px;
  border-radius: 18px;
  backdrop-filter: blur(6px);
}

/* ✅ Base: 1 columna */
.form-grid{
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 18px;
  min-width: 0;
}

.form-field{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.contact-form label{
  font-size: 0.85rem;
  opacity: 0.8;
  letter-spacing: 0.03em;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  width: 100%;
  max-width: 100%;
  display: block;
  background: #050608;
  border: 1px solid rgba(240,212,138,0.25);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #f5f5f5;
  transition: 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color: #6b6b6b;
  opacity: 0.85;
}

.contact-form select:invalid{ color: #6b6b6b; }
.contact-form select:valid{ color: #f5f5f5; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color: rgba(240,212,138,0.6);
  outline: none;
}

.contact-form textarea{
  min-height: 120px;
  resize: vertical;
}

/* ✅ “Mensaje” a ancho completo (en 1 col es igual, pero evita bugs) */
.form-field.form-full{
  grid-column: 1 / -1 !important;
}

/* ✅ Botón en móvil: full width SIEMPRE */
.form-submit{
  margin-top: 32px;
  width: 100% !important;
}

/* ✅ Solo “desktop real”: 2 columnas + botón estrecho
   (evita iPhone/iPad/webviews que reportan anchos grandes)
*/
@media (min-width: 1024px) and (hover: hover) and (pointer: fine){
  .form-grid{
    grid-template-columns: 1fr 1fr !important;
    gap: 22px 28px;
  }

  .form-field.form-full{
    grid-column: 1 / -1 !important;
  }

  .form-submit{
    width: 200px !important;
  }
}

/* 📱 Ajuste padding en móvil */
@media (max-width: 520px){
  .contact-form{
    padding: 18px 16px;
  }
}

/* ============================
   INPUTS CON ICONO (si los usas)
   ============================ */

.input-with-icon{
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 📱 En táctil: icono arriba, input debajo */
@media (max-width: 1023px){
  .input-with-icon{
    flex-direction: column;
    align-items: stretch;
  }

  .input-icon{
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}







.contact-form input, .contact-form select, .contact-form textarea {
  background: #050608; border: 1px solid rgba(240,212,138,0.25); padding: 12px 14px;
  border-radius: 12px; font-size: 0.85rem; color: #f5f5f5; transition: 0.25s ease;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: #6b6b6b; font-size: 0.85rem; opacity: 0.85;
}
.contact-form select {
  font-size: 0.85rem;
}
.contact-form select option[disabled] {
  color: #6b6b6b;
}
.contact-form select:invalid {
  color: #6b6b6b;
}
.contact-form select:valid {
  color: #f5f5f5; font-size: 0.85rem;
}
.contact-form input:not(:placeholder-shown), .contact-form textarea:not(:placeholder-shown) {
  color: #f5f5f5; font-size: 0.85rem;
}


.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.form-full { grid-column: span 2; }
.contact-form label { font-size: 0.85rem; opacity: 0.8; letter-spacing: 0.03em; }
.contact-form input, .contact-form select, .contact-form textarea {
  background: #050608; border: 1px solid rgba(240,212,138,0.25); padding: 12px 14px;
  border-radius: 12px; font-size: 0.95rem; color: #f5f5f5; transition: 0.25s ease; 
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: rgba(240,212,138,0.6); outline: none; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-submit { margin-top: 32px; width: 200px; }

/* Botones genéricos */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 175, 55, 0.9); background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.3), #18120a);
  color: #fff9ea; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9); cursor: pointer; transition: 0.25s ease;
}
.btn-primary:hover { box-shadow: 0 18px 46px rgba(0, 0, 0, 1); background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.38), #1d150b); }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.75);
  display: flex; align-items: center; justify-content: center; z-index: 999;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.modal-overlay.is-visible { opacity: 1; pointer-events: auto; }
.modal-card {
  background: rgba(5, 6, 8, 0.96); border-radius: 18px; border: 1px solid rgba(240, 212, 138, 0.4);
  padding: 26px 24px 22px; max-width: 420px; width: 90%; text-align: left;
}
.modal-close-btn { width: 100%; }

/* =========================================
   10. TEST & CTA
   ========================================= */
.test-hero-title { font-size: clamp(40px, 5vw, 50px); line-height: 1.02; letter-spacing: 0.02em; margin-bottom: 16px; }
.test-hero-title-em { display: inline-block; background: linear-gradient(120deg, #fdf7e6, #d4af37, #f2d1a1); -webkit-background-clip: text; color: transparent; font-weight: 650; }
.test-hero-subtitle-emp { display: inline-block; font-size: clamp(40px, 5vw, 48px); line-height: 1.02; letter-spacing: 0.02em; margin-bottom: 16px; color: #ffffff; font-weight: 400; margin-top: 16px; }

.section-cta { padding: 40px 18px; }
.test-box {
  border-radius: 30px; border: 1px solid rgba(212, 175, 55, 0.5);
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.25), #050608);
  padding: 26px 20px 24px; display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.3fr);
  gap: 22px; align-items: center; box-shadow: 0 20px 58px rgba(0, 0, 0, 0.85);
}
@media (max-width: 880px) { .test-box { grid-template-columns: minmax(0, 1fr); } }

.test-title { font-size: 22px; margin-bottom: 10px; }
.test-title-cta { font-size: 18px; margin-bottom: 6px; }
.test-title span { background: linear-gradient(120deg, #fdf7e6, #d4af37, #f2d1a1); -webkit-background-clip: text; color: transparent; }
.test-text { font-size: 14px; color: #fff8e6; max-width: 580px; }
.test-note { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255, 245, 220, 0.78); margin-top: 10px; }
.test-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* Test Question Styles */
.container { max-width: 1100px; margin: 0 auto; padding: 24px 16px 48px; }
.question-card { border: 1px solid #333; border-radius: 10px; margin-bottom: 24px; padding: 18px 18px 14px; animation: fadeInUp 0s ease forwards; }
.question-text { margin-bottom: 12px; font-size: 1rem; }
.options { margin-top: 16px; }
.options label { display: flex; align-items: center; margin-bottom: 6px; font-size: 0.92rem; cursor: pointer; padding: 1px; color: #f5f5f5; }
.options input { margin-right: 10px; accent-color: #e08f38; width: 14px; height: 14px; }

/* Progress Bar */
.progress-wrapper { margin-bottom: 16px; }
.progress-text { display: flex; justify-content: space-between; font-size: 0.9rem; color: #ccc; margin-bottom: 4px; }
.progress-bar { width: 100%; height: 8px; background: #1b1b1b; border-radius: 999px; overflow: hidden; border: 1px solid #333; }
.progress-bar-inner { height: 100%; width: 0%; background: linear-gradient(90deg, #f0d48a, #e39a3a); transition: width 0.2s ease-out; }

/* Results */
.results { margin-top: 32px; padding: 18px 18px 10px; border-radius: 12px; background: rgba(15, 12, 3, 0.95); border: 1px solid #f0d48a33; }
.test-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.8rem; margin-right: 6px; margin-bottom: 4px; min-width: 120px; border: 1px solid #f0d48a55; background: rgba(0,0,0,0.4); }
.section-label-small { font-size: 0.7rem; color: #f2e8cc; }
.section-label-small-info { font-size: 0.8rem; padding-left: 14px; }

/* Grid for Results */
#elementsSummary, #alignmentDetails { display: grid; grid-template-columns: auto auto 1fr; gap: 12px 15px; align-items: center; margin-top: 16px; }
#elementsSummary .arrow, #alignmentDetails .arrow { color: #999; font-size: 1.1rem; }
@media (max-width: 768px) {
  #elementsSummary, #alignmentDetails { grid-template-columns: 1fr; gap: 8px; }
  #elementsSummary .arrow, #alignmentDetails .arrow { display: none; }
}
/* ============================
   TEST · Email results block
   ============================ */

.email-section{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-top: 14px;
}

#emailInput{
  width: 100%;
  max-width: 100%;
  display: block;
  background: #050608;
  border: 1px solid rgba(240,212,138,0.25);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #f5f5f5;
  transition: 0.25s ease;
}

#emailInput::placeholder{
  color: #6b6b6b;
  opacity: 0.85;
}

#emailInput:focus{
  border-color: rgba(240,212,138,0.6);
  outline: none;
}

/* Checkboxes */
.email-consents{
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.consent-check{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: rgba(245,245,245,0.78);
  line-height: 1.35;
}

.consent-check input{
  margin-top: 3px;
  accent-color: #e39a3a;
  width: 14px;
  height: 14px;
}

.consent-check a{
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-check a:hover{
  opacity: 0.9;
}

/* Disabled button state */
#sendEmailBtn:disabled{
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Responsive: stack button under input */
@media (max-width: 680px){
  .email-section{
    grid-template-columns: 1fr;
  }
  #sendEmailBtn{
    width: 100%;
  }
}

/* =========================================
   11. FAQ / ACORDEÓN
   ========================================= */
.faq-section { background-color: #0b0b0b; padding-top: 40px; padding-bottom: 60px; }
.faq-title { font-size: 1.5rem; text-align: center; margin-bottom: 30px; }
.faq-accordion { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-accordion-item { border-radius: 20px; border: 1px solid var(--border-soft); background: var(--bg-card); overflow: hidden; transition: 0.25s ease; }
.faq-accordion-item.is-open { border-color: rgba(212, 175, 55, 0.9); background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.22), #050608); }
.faq-accordion-trigger { width: 100%; padding: 12px 16px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: var(--text-muted); }
.faq-accordion-panel { max-height: 0; overflow: hidden; padding: 0 16px; transition: 0.25s ease; }
.faq-accordion-item.is-open .faq-accordion-panel { padding-bottom: 12px; }

/* =========================================
   12. FOOTER
   ========================================= */
.site-footer { margin-top: 80px; background: radial-gradient(circle at top left, rgba(240,212,138,0.08), #050608); border-top: 1px solid rgba(255,255,255,0.06); color: #d3d3d3; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 20px; padding: 40px 16px 26px; max-width: 1200px; margin: 0 auto; }
.footer-logo { font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.9rem; color: #f0d48a; margin-bottom: 10px; }
.footer-tagline { max-width: 320px; font-size: 0.9rem; line-height: 1.6; opacity: 0.9; padding-top: 20px; }
.footer-title { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.16em; color: #f0d48a; margin-bottom: 10px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 6px; }
.footer-links-mail { list-style: none; }
.footer-links-mail li { margin-bottom: 0px; }
.footer-links a { color: #d9d9d9; opacity: 0.85; transition: 0.2s ease; }
.footer-links a:hover { opacity: 1; color: #fff; }
.footer-social { margin-top: 10px; display: flex; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 10px 0 14px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.footer-copy { opacity: 0.75; padding-bottom: 90px; }
.footer-legal { display: flex; align-items: center; gap: 6px; opacity: 0.8; padding-bottom: 90px; }
.footer-legal a:hover { color: #f0d48a; }


.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.footer-social .social-pill {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  border: 1px solid rgba(240,212,138,0.45);

  background: radial-gradient(
    circle at top left,
    rgba(240,212,138,0.18),
    rgba(5,6,8,0.9)
  );

  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  transition: 
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.footer-social .social-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(240,212,138,0.85);
  box-shadow: 0 8px 22px rgba(240,212,138,0.25);
  background: radial-gradient(
    circle at top left,
    rgba(240,212,138,0.28),
    rgba(5,6,8,0.95)
  );
}

/* WhatsApp pill - estilos específicos con mayor especificidad */
.footer-social a.social-pill.social-pill-wa {
  border-color: #25D366 !important;
  color: #ffffff !important;
  background: radial-gradient(
    circle at top left,
    rgba(37, 211, 102, 0.18),
    rgba(5, 6, 8, 0.9)
  );
}

.footer-social a.social-pill.social-pill-wa:hover {
  border-color: #1EBE57 !important;
  background: radial-gradient(
    circle at top left,
    rgba(37, 211, 102, 0.28),
    rgba(5, 6, 8, 0.95)
  );
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}



@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } .footer-bottom-inner { flex-direction: column; align-items: flex-start; } }



/* =========================================
   13. COOKIES
   ========================================= */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; transform: translateY(100%); opacity: 0; pointer-events: none; transition: 0.3s ease; font-size: 0.95rem; }
.cookie-banner.is-visible { transform: translateY(0%); opacity: 1; pointer-events: auto; }
.cookie-banner-inner { max-width: 1100px; margin: 0 auto 18px auto; padding: 14px 20px; border-radius: 16px; background: rgba(5, 6, 8, 0.98); border: 1px solid rgba(240, 212, 138, 0.35); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9); display: flex; align-items: center; gap: 18px; }
.cookie-text p { font-size: 0.88rem; color: #d6d6d6; line-height: 1.5; }
.cookie-text a { color: #f0d48a; text-decoration: underline; }
.btn-secondary-ghost { padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(240, 212, 138, 0.6); background: transparent; color: #f0d48a; font-size: 0.9rem; cursor: pointer; transition: 0.2s ease; }
.btn-secondary-ghost:hover { background: rgba(240, 212, 138, 0.12); }
@media (max-width: 768px) { .cookie-banner-inner { flex-direction: column; align-items: flex-start; } .cookie-actions { width: 100%; justify-content: flex-end; } }

/* =========================================
   14. QUOTE & KANJI ICONS
   ========================================= */
.quote-block { display: flex; gap: 16px; padding: 23px 22px; border-radius: 14px; background: rgba(5, 6, 8, 0.9); border: 1px solid rgba(240, 212, 138, 0.25); }
.quote-line { width: 3px; border-radius: 999px; background: linear-gradient(180deg, rgba(240, 212, 138, 0.85), rgba(240, 212, 138, 0.35)); flex-shrink: 0; }
.quote-text { margin: 0 0 8px 0; font-size: 0.95rem; line-height: 1.6; color: #f5f5f5; }
.quote-author { margin: 0; font-size: 0.85rem; text-align: right; color: #f0d48a; letter-spacing: 0.03em; text-transform: uppercase; }


.quote-block-method { display: flex; gap: 16px; padding: 23px 22px;  background: rgba(5, 6, 8, 0.9);  }
.quote-line-method { width: 3px; border-radius: 999px; background: linear-gradient(180deg, rgba(240, 212, 138, 0.85), rgba(240, 212, 138, 0.35)); flex-shrink: 0; }
.quote-text-method { margin: 0 0 8px 0; font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); }
.quote-author-method { margin: 0; font-size: 0.85rem; text-align: right; color: #f0d48a; letter-spacing: 0.03em; text-transform: uppercase; }

.ico-kanji { font-size: 18px; font-weight: 500; fill: #050608; text-anchor: middle; dominant-baseline: central; font-family: "Noto Sans JP", sans-serif; }
.ico-ring { fill: none; stroke: #050608; stroke-width: 1.4; opacity: 0.9; }


/* ============================
   SECCIÓN CITA / AGENDA
   ============================ */

.cita-section {
  background: radial-gradient(circle at top, #10131c 0, #050608 60%);
}

.cita-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: flex-start;
}

.cita-copy .section-subtitle-max-bullet-list {
  margin-top: 12px;
}

.cita-embed {
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: 18px 18px 14px;
}

.cita-iframe-wrapper {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  background: #050608;
  border: 1px solid rgba(240,212,138,0.25);
}

.cita-iframe-wrapper iframe {
  width: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}

/* Responsive agenda */
@media (max-width: 880px) {
  .cita-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
 
/* CTA post-test dentro de resultsSection */
.post-test-cta {
  margin-top: 18px;
}

.post-test-cta-text {
  margin: 8px 0 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

		
		
/* ============================
   LISTADO BLOG (grid dentro de blog-main)
   ============================ */

/* Sobrescribimos el layout por defecto de .question-list solo cuando también es .blog-list */
.question-list.blog-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

/* responsive: en escritorio, 2 columnas */
@media (min-width: 900px) {
  .question-list.blog-list {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
  }
}

/* La card se convierte en contenedor flex vertical para fijar el meta abajo */
.blog-card {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.75);
  border-color: rgba(240,212,138,0.55);
}

.blog-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold-soft);
  margin-bottom: 4px;
}

.blog-card-title a {
  color: var(--text-main);
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--accent-gold);
}

/* Excerpt con “…” automáticos al superar X líneas */
.blog-card-excerpt {
  margin-top: 6px;
  font-size: 0.96rem;
  color: var(--text-muted);

  /* Ellipsis multi-línea */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;          /* nº de líneas visibles */
  -webkit-box-orient: vertical;
}

/* Meta SIEMPRE pegado al final de la tarjeta */
.blog-card-meta {
  margin-top: auto;               /* empuja esta línea hacia abajo */
  padding-top: 10px;
  font-size: 0.58rem;

  color: var(--text-muted);
}

.blog-card-date {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  margin: -2px 0 10px 0;
}

/* ============================
   Blog Card Images (1:1)
   ============================ */

.blog-card-image {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 14px;
  background: #0b0b0b;
  border: 1px solid rgba(240,212,138,0.15);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================
   BLOG · BUSCADOR
   ============================ */
.blog-search-card{
  margin-bottom: 14px;
}

.blog-search-wrap{
  position: relative;
}

.blog-search-input{
  width: 100%;
  padding: 12px 42px 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(240,212,138,0.28);
  background: radial-gradient(circle at top left, rgba(240,212,138,0.10), rgba(5,6,8,0.95));
  color: var(--text-main);
  outline: none;
}

.blog-search-input::placeholder{
  color: var(--text-muted);
  opacity: 0.9;
}

.blog-search-input:focus{
  border-color: rgba(240,212,138,0.65);
  box-shadow: 0 10px 28px rgba(240,212,138,0.16);
}

.blog-search-clear{
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);

  width: 18px;
  height: 18px;

  border-radius: 50%;
  border: none;
  background: transparent;

  color: var(--accent-gold);
  font-size: 14px;
  line-height: 1;

  opacity: 0.7;
  cursor: pointer;
  display: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.blog-search-clear:hover{
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}


.blog-search-help{
  margin: 10px 2px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.9;
}

/* DESTACADO */
.blog-featured-wrap { margin-top: 22px; margin-bottom: 14px; }
.blog-featured-card { grid-column: 1 / -1; }

/* CHIPS */
.blog-filters { margin: 6px 0 14px; }
.blog-chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(240,212,138,0.35);
  background: rgba(5,6,8,0.75);
  color: rgba(255,255,255,0.82);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.chip:hover{ border-color: rgba(240,212,138,0.55); }
.chip.is-active{
  color: var(--accent-gold);
  border-color: rgba(240,212,138,0.65);
  background: radial-gradient(circle at top left, rgba(240, 212, 138, 0.16), rgba(5, 6, 8, 0.85));
}

/* ============================
   BLOG · SEARCH – eliminar UI nativa del navegador
   ============================ */

/* Chrome / Safari */
.blog-search-input::-webkit-search-decoration,
.blog-search-input::-webkit-search-cancel-button,
.blog-search-input::-webkit-search-results-button,
.blog-search-input::-webkit-search-results-decoration {
  display: none;
}

/* Autofill / suggestions visual cleanup */
.blog-search-input::-webkit-textfield-decoration-container {
  display: contents;
}

/* Firefox */
.blog-search-input[type="search"]::-moz-search-clear {
  display: none;
}

/* ============================
   Blog Layout + Sidebar (flex)
   ============================ */

.blog-layout {
  margin-top: 24px;
  display: flex;
  align-items: stretch;
  gap: 26px;
}

.blog-main {
  flex: 2 1 0;
  min-width: 0;
}

.blog-sidebar {
  flex: 1 1 0;
  min-width: 260px;
  margin-top: 22px;
}

/* Sidebar card */
.blog-sidebar-card {
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: 16px 16px 14px;
}

.blog-sidebar-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-gold-soft);
  margin-bottom: 12px;
}

.blog-sidebar-list {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.blog-sidebar-list li a {
  color: var(--text-main);
  text-decoration: none;
}

.blog-sidebar-list li a:hover {
  color: var(--accent-gold);
}

/* ============================
   BLOG · PAGINACIÓN (cargar 4 en 4)
   ============================ */
.blog-pagination-card{
  margin-bottom: 14px;
}

.blog-pagination-meta{
  margin: 0 0 12px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.9;
}

.blog-pagination-btn{
  width: 100%;
}

.blog-pagination-btn:disabled{
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Responsive: en pantallas pequeñas el sidebar baja abajo (esto sí es intencionado) */
@media (max-width: 880px) {
  .blog-layout {
    flex-direction: column;
  }

  .blog-sidebar {
    min-width: 0;
  }
}

/* ============================
   BLOG · FEATURED (16:9 + fix línea)
   ============================ */
.blog-featured-card{
  overflow: hidden;
}

.blog-featured-card .blog-card-image{
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  line-height: 0;
  background: #000;
}

.blog-featured-card .blog-card-image img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ============================
   BLOG · FEATURED – FIX CHROME HAIRLINE
   ============================ */

/* Forzamos stacking context para Chrome */
.blog-featured-card .blog-card-image {
  transform: translateZ(0);
}

/* Eliminamos el gap forzando overflow */
.blog-featured-card .blog-card-image {
  overflow: hidden;
}

/* Ajuste sub-pixel específico Chrome */
.blog-featured-card .blog-card-image img {
  transform: translateY(-0.10px);
}

/* ============================
   BLOG · FEATURED – FIX DEFINITIVO LÍNEA (CHROME)
   ============================ */
.blog-featured-card .blog-card-image{
  position: relative;
  overflow: hidden;
}

.blog-featured-card .blog-card-image::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;          /* sube a 3px si tu pantalla es retina y aún se ve */
  background: #000;     /* mismo negro que ya usamos en el wrapper */
  pointer-events: none;
}

/* ============================
   BLOG · SIDEBAR STICKY
   ============================ */

/* Solo desktop */
@media (min-width: 1024px) {
  .blog-sidebar {
    position: sticky;
    top: 120px; /* ajusta si tu header es más alto/bajo */
    align-self: flex-start;
  }
}


.post-title { font-size: clamp(40px, 5vw, 54px); line-height: 1.02; letter-spacing: 0.02em; margin-bottom: 16px;  display: inline-block; background: linear-gradient(120deg, #fdf7e6, #d4af37, #f2d1a1); -webkit-background-clip: text; color: transparent; font-weight: 650; }
.post-date { color: var(--accent-gold-soft); }
.post-content { font-size: 14px; color: var(--text-muted); max-width: auto; }
.post-readtime { font-size: 10px; max-width: 540px; margin-bottom: 22px; color: var(--text-muted);}
.post-subtitle-emp { display: inline-block; color: #fff; font-size: clamp(40px, 5vw, 48px); line-height: 1.02; letter-spacing: 0.02em; margin-bottom: 16px; font-weight: 400; margin-top: 8px; }
.post-subtitle { font-size: 16px; max-width: 540px; margin-bottom: 22px; }
.post-subtitle-gold { color: var(--accent-gold-soft); }
.post-subtitle-h2 { display: inline-block; color: #fff; font-size: clamp(14px, 5vw, 24px); line-height: 1.02; letter-spacing: 0.02em; margin-bottom: 16px; font-weight: 400; margin-top: 8px; }
.post-subtitle-h3 { display: inline-block; color: #fff; font-size: clamp(12px, 5vw, 18px); line-height: 1.02; letter-spacing: 0.02em; margin-bottom: 16px; font-weight: 400; margin-top: 8px; }
.post-list { font-size: 14px; list-style: none; display: grid; gap: 8px; margin-top: 12px; margin-bottom: 12px; margin-left: 10px;  }
.post-list li::before { content: "•"; margin-right: 6px; }
.post-quote-block { display: flex; gap: 16px; padding: 23px 22px; border-radius: 14px; background: rgba(5, 6, 8, 0.9); border: 0px solid rgba(240, 212, 138, 0.25); }
.post-quote-line { width: 3px; border-radius: 999px; background: linear-gradient(180deg, rgba(240, 212, 138, 0.85), rgba(240, 212, 138, 0.35)); flex-shrink: 0; }
.post-quote-text { margin: 0 0 8px 0; font-size: 0.95rem; line-height: 1.6; color: #f5f5f5; }
.post-quote-author { margin: 0; font-size: 0.85rem; text-align: right; color: #f0d48a; letter-spacing: 0.03em;  }



/* ============================
   POST · SEPARADOR DORADO
   ============================ */

.post-divider {
  width: 100%;
  height: 1px;
  margin: 56px 0 42px;
  background: linear-gradient(
    90deg,
    rgba(240,212,138,0),
    rgba(240,212,138,0.55),
    rgba(240,212,138,0)
  );
}

/* ============================
   POST · NEXT ARTICLE CTA
   ============================ */

.post-next {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.post-next a {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 22px;
  border-radius: 999px;

  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: var(--accent-gold);
  border: 1px solid rgba(240,212,138,0.45);

  background: radial-gradient(
    circle at top left,
    rgba(240,212,138,0.18),
    rgba(5,6,8,0.95)
  );

  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.post-next a:hover {
  border-color: rgba(240,212,138,0.85);
  box-shadow: 0 10px 28px rgba(240,212,138,0.28);
}

/* ============================
   POST · FAQS
   ============================ */

.post-faq {
  margin-top: 64px;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding-right: 24px;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent-gold);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 2px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.post-inline-cta {
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,0.02);
}

.post-inline-cta p {
  margin-bottom: 0.75rem;
}

.post-inline-cta a {
  font-weight: 600;
}



/* ============================
   BLOG · FEATURED POST (Artículo destacado)
   ============================ */

.featured-post{
  margin-top: 22px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(240,212,138,0.22);
  background: radial-gradient(circle at top left, rgba(240,212,138,0.12), rgba(5,6,8,0.96));
  box-shadow: 0 18px 50px rgba(0,0,0,0.75);
}

.featured-post-link{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0;
}

.featured-post-media{
  position: relative;
  min-height: 320px;
  background: #0b0b0b;
}

.featured-post-media img{
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.featured-post-content{
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.featured-post-kicker{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--accent-gold-soft);
  opacity: 0.95;
}

.featured-post-title{
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  color: #fff8e6;
}

.featured-post-excerpt{
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.featured-post-meta{
  margin-top: 2px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.70);
}

.featured-post-cta{
  margin-top: 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-gold);
}

.featured-post:hover{
  border-color: rgba(240,212,138,0.55);
  transform: translateY(-2px);
}

@media (max-width: 900px){
  .featured-post-link{ grid-template-columns: 1fr; }
  .featured-post-media, .featured-post-media img{ min-height: 260px; }
}


/* =========================================
   TEST – INPUTS NOMBRE / EMAIL
   (mismos estilos que el form de contacto)
   ========================================= */


.test-form-fields{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  min-width: 0;
}

.test-form-field{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.test-form-field label{
  font-size: 0.85rem;
  opacity: 0.8;
  letter-spacing: 0.03em;
  color: #f5f5f5;
}

/* INPUT BASE (text + email idénticos) */
.test-form-field input,
.test-form-field input[type="email"]{
  width: 100%;
  max-width: 100%;
  display: block;
  background-color: #050608 !important;
  border: 1px solid rgba(240,212,138,0.25);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #f5f5f5 !important;

  /* 🔥 mata estilos nativos */
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;

  transition: border-color 0.25s ease;
}

.test-form-field input::placeholder{
  color: #6b6b6b;
  opacity: 0.85;
}

/* FOCO */
.test-form-field input:focus,
.test-form-field input:focus-visible{
  border-color: rgba(240,212,138,0.6);
  background-color: #050608 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* AUTOFILL (Chrome / Safari) */
.test-form-field input:-webkit-autofill,
.test-form-field input:-webkit-autofill:hover,
.test-form-field input:-webkit-autofill:focus,
.test-form-field input:-webkit-autofill:active{
  -webkit-box-shadow: 0 0 0 1000px #050608 inset !important;
  -webkit-text-fill-color: #f5f5f5 !important;
  caret-color: #f5f5f5;
}

/* BOTÓN */
.test-form-field-button{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.test-form-field-button button{
  height: 48px;
  white-space: nowrap;
}

/* DESKTOP: 3 columnas */
@media (min-width: 1024px) and (hover:hover) and (pointer:fine){
  .test-form-fields{
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
    gap: 22px 28px;
  }
}

/* =========================================
   HARD FIX: dropdown de sugerencias (Chrome)
   Evita que al hover/selección cambie el marco
   ========================================= */

/* Mantén el borde SIEMPRE igual durante focus/interaction */
.test-form-field input:focus,
.test-form-field input:focus-visible,
.test-form-field input:active{
  background-color: #050608 !important;
  border-color: rgba(240,212,138,0.6) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Cuando Chrome mete estados especiales por email/autocomplete,
   evita que añada sombras blancas */
.test-form-field input[type="email"]{
  box-shadow: none !important;
  outline: none !important;
}

/* Autofill (y cuando navegas por sugerencias) */
.test-form-field input:-webkit-autofill,
.test-form-field input:-webkit-autofill:hover,
.test-form-field input:-webkit-autofill:focus,
.test-form-field input:-webkit-autofill:active{
  border-color: rgba(240,212,138,0.6) !important;
  -webkit-box-shadow: 0 0 0 1000px #050608 inset !important;
  box-shadow: 0 0 0 1000px #050608 inset !important;
  -webkit-text-fill-color: #f5f5f5 !important;
  caret-color: #f5f5f5;
}

/* Evita “glow” interno que Chrome aplica al validar/sugerir */
.test-form-field input[type="email"]:user-invalid,
.test-form-field input[type="email"]:user-valid{
  box-shadow: none !important;
  outline: none !important;
}

/* Si alguna regla global de tu web aplica :hover a inputs, la anulamos aquí */
.test-form-field input:hover{
  box-shadow: none !important;
  outline: none !important;
}





