/* ============================================================
   Valentina · Hablemos Claro — site.css  (v2)
   Desarrollado por SHAART AGENCY DIGITAL SOLUTIONS
   ============================================================ */

:root{
  --bg:#FAF6F0; --surface:#FFFFFF; --text:#2A2422; --muted:#6B6259;
  --gold:#C9A26B; --gold-soft:#F3EADB; --line:#E9E0D4;
  --rojo:#D7492E; --amarillo:#E8A33D; --verde:#3E8E5A; --azul:#3B7EA1;
  --rojo-soft:#FBEAE6; --amarillo-soft:#FBF1E1; --verde-soft:#E6F1EA; --azul-soft:#E4EEF4;
  --radius:16px; --maxw:1120px;
  --shadow:0 1px 2px rgba(42,36,34,.04), 0 8px 30px rgba(42,36,34,.06);
  --shadow-lg:0 10px 40px rgba(42,36,34,.10);
  --ff-serif:'Fraunces', Georgia, 'Times New Roman', serif;
  --ff-sans:'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:var(--ff-sans);font-size:17px;line-height:1.7;
  font-weight:400;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--ff-serif);font-weight:600;line-height:1.15;letter-spacing:-.01em;margin:0 0 .5em}
h1{font-size:clamp(2.1rem,5vw,3.4rem);font-weight:600}
h2{font-size:clamp(1.6rem,3.4vw,2.3rem)}
h3{font-size:clamp(1.25rem,2.2vw,1.5rem)}
p{margin:0 0 1.1em}
.wrap{max-width:var(--maxw);margin:0 auto;padding-left:32px;padding-right:32px}
.section{padding:88px 32px}
.section-tight{padding:56px 32px}

/* ---------- ICONS ---------- */
.ico{display:inline-block;width:20px;height:20px;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;fill:none;vertical-align:middle;flex:0 0 auto}
.ico-sm{width:16px;height:16px}
.ico-lg{width:26px;height:26px}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.5em;white-space:nowrap;
  font-family:var(--ff-sans);font-weight:600;font-size:1rem;
  padding:14px 26px;border-radius:999px;border:1.5px solid transparent;
  cursor:pointer;transition:transform .15s ease,box-shadow .2s ease,background .2s ease;
  min-height:48px;line-height:1;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--text);color:var(--bg)}
.btn-primary:hover{background:#3d3531}
.btn-gold{background:var(--gold);color:#2A2422}
.btn-gold:hover{background:#bb9256;box-shadow:var(--shadow-lg)}
.btn-ghost{background:transparent;color:var(--text);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--gold);background:var(--gold-soft)}
.btn-ico .ico{width:18px;height:18px}

/* ---------- HEADER / NAV ---------- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(250,246,240,.85);
  backdrop-filter:saturate(150%) blur(12px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;
  max-width:var(--maxw);margin:0 auto;padding:14px 32px;gap:16px}
.brand{font-family:var(--ff-serif);font-weight:600;font-size:1.32rem;letter-spacing:-.02em;
  display:inline-flex;align-items:center;white-space:nowrap}
.brand .dot{color:var(--gold);margin-left:1px}
.nav-links{display:flex;align-items:center;gap:6px}
.nav-links a{font-size:.97rem;font-weight:500;color:var(--muted);padding:9px 14px;border-radius:999px;
  transition:color .15s ease,background .15s ease;min-height:44px;display:inline-flex;align-items:center}
.nav-links a:hover{color:var(--text);background:var(--gold-soft)}
.nav-links a.active{color:var(--text)}
.nav-cta{margin-left:6px}
.burger{display:none;background:transparent;border:1px solid var(--line);border-radius:12px;
  width:46px;height:46px;min-height:44px;align-items:center;justify-content:center;cursor:pointer;color:var(--text)}
.burger .ico{width:22px;height:22px}
.mobile-menu{display:none;flex-direction:column;gap:2px;padding:8px 20px 22px;border-bottom:1px solid var(--line);background:var(--bg)}
.mobile-menu a{padding:13px 10px;font-weight:500;color:var(--text);border-radius:12px;min-height:44px;display:flex;align-items:center}
.mobile-menu a:hover{background:var(--gold-soft)}
.mobile-menu.open{display:flex}

/* ---------- HERO ---------- */
.hero{padding:96px 32px 72px;text-align:center;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(1000px 460px at 50% -8%, var(--gold-soft), transparent 70%)}
.hero .eyebrow{margin-bottom:20px}
.hero h1{max-width:16ch;margin-left:auto;margin-right:auto}
.hero .lead{font-size:clamp(1.05rem,2.2vw,1.28rem);color:var(--muted);max-width:60ch;margin:22px auto 32px}
.hero-cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

.eyebrow{display:inline-flex;align-items:center;gap:8px;font-family:var(--ff-sans);
  font-weight:600;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);
  background:var(--gold-soft);padding:7px 15px;border-radius:999px}
.eyebrow.c-rojo{color:var(--rojo);background:var(--rojo-soft)}
.eyebrow.c-amarillo{color:#c07d1e;background:var(--amarillo-soft)}
.eyebrow.c-verde{color:var(--verde);background:var(--verde-soft)}
.eyebrow.c-azul{color:var(--azul);background:var(--azul-soft)}

/* ---------- ANSWER BOX ---------- */
.answer-box{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--gold);
  border-radius:var(--radius);padding:26px 30px;box-shadow:var(--shadow);max-width:760px;margin:0 auto}
.answer-box .lbl{display:inline-flex;align-items:center;gap:7px;font-size:.76rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;color:var(--gold);margin-bottom:10px}
.answer-box p{margin:0;font-size:1.08rem;color:var(--text)}

/* ---------- SECTION HEADING ---------- */
.sec-head{text-align:center;max-width:64ch;margin:0 auto 48px}
.sec-head .eyebrow{margin-bottom:16px}
.sec-head p{color:var(--muted);font-size:1.08rem}

/* ---------- COLOR CARDS (4 biotipos) ---------- */
.colors-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;max-width:940px;margin:0 auto}
.color-card{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:30px 28px;box-shadow:var(--shadow);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease;
  border-top:5px solid var(--ac,var(--gold))}
.color-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.color-card .cc-top{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.color-card .cc-emoji{font-size:1.7rem;line-height:1}
.color-card .cc-name{font-family:var(--ff-serif);font-weight:600;font-size:1.35rem;color:var(--ac)}
.color-card .cc-temp{font-size:.8rem;color:var(--muted);font-weight:500;letter-spacing:.02em}
.color-card .cc-desc{color:var(--text);margin-bottom:16px}
.color-card .cc-anchor{font-family:var(--ff-serif);font-style:italic;font-size:1.05rem;color:var(--ac);
  border-top:1px solid var(--line);padding-top:15px;margin:0}

.c-rojo{--ac:var(--rojo)} .c-amarillo{--ac:#c07d1e} .c-verde{--ac:var(--verde)} .c-azul{--ac:var(--azul)}
.card-soft-rojo{background:var(--rojo-soft)} .card-soft-amarillo{background:var(--amarillo-soft)}
.card-soft-verde{background:var(--verde-soft)} .card-soft-azul{background:var(--azul-soft)}

/* ---------- BLOG GRID / CARDS ---------- */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.post-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);
  transition:transform .2s ease,box-shadow .2s ease}
.post-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.post-thumb{aspect-ratio:16/10;position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--ac,var(--gold)),color-mix(in srgb,var(--ac,var(--gold)) 55%,#000))}
.post-thumb img{width:100%;height:100%;object-fit:cover}
.post-thumb .thumb-emoji{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-size:2.6rem;opacity:.9}
.post-body{padding:22px 22px 24px;display:flex;flex-direction:column;flex:1}
.post-eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:700;
  letter-spacing:.09em;text-transform:uppercase;color:var(--ac,var(--gold));margin-bottom:11px}
.post-eyebrow .swatch{width:9px;height:9px;border-radius:50%;background:var(--ac,var(--gold))}
.post-card h3{font-size:1.22rem;margin-bottom:10px}
.post-card h3 a:hover{color:var(--ac,var(--gold))}
.post-card .excerpt{color:var(--muted);font-size:.96rem;margin-bottom:18px;flex:1}
.read-more{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:.95rem;color:var(--ac,var(--gold));margin-top:auto}
.read-more .ico{width:17px;height:17px;transition:transform .15s ease}
.post-card:hover .read-more .ico{transform:translateX(3px)}

/* ---------- FILTER CHIPS ---------- */
.filters{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:44px}
.chip{font-family:var(--ff-sans);font-weight:600;font-size:.9rem;padding:10px 18px;border-radius:999px;
  border:1.5px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;
  transition:all .15s ease;min-height:44px;display:inline-flex;align-items:center;gap:7px}
.chip:hover{border-color:var(--gold);color:var(--text)}
.chip.active{background:var(--text);color:var(--bg);border-color:var(--text)}
.chip .swatch{width:10px;height:10px;border-radius:50%}

/* ---------- ARTICLE ---------- */
.article-wrap{max-width:720px;margin:0 auto;padding:0 32px}
.breadcrumbs{font-size:.86rem;color:var(--muted);margin:0 auto 26px;max-width:720px;padding:0 32px;
  display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.breadcrumbs a:hover{color:var(--gold)}
.breadcrumbs .sep{opacity:.5}
.breadcrumbs .cur{color:var(--text)}
.article-header{max-width:720px;margin:0 auto 34px;padding:0 32px;text-align:center}
.article-header h1{margin-bottom:18px}
.article-meta{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;align-items:center;
  color:var(--muted);font-size:.9rem}
.article-meta .dot-sep{width:4px;height:4px;border-radius:50%;background:var(--line)}
.article-hero-thumb{max-width:900px;margin:0 auto 44px;padding:0 32px}
.article-hero-thumb .frame{aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-lg);
  background:linear-gradient(135deg,var(--ac,var(--gold)),color-mix(in srgb,var(--ac,var(--gold)) 55%,#000));
  display:flex;align-items:center;justify-content:center}
.article-hero-thumb .frame .thumb-emoji{font-size:4rem;opacity:.9}
.article-hero-thumb img{width:100%;height:100%;object-fit:cover}

.article-body{font-size:1.12rem;line-height:1.78}
.article-body h2{margin-top:2em;margin-bottom:.6em;font-size:clamp(1.4rem,2.6vw,1.85rem)}
.article-body h3{margin-top:1.6em}
.article-body p{margin-bottom:1.25em}
.article-body a{color:var(--ac,var(--gold));text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:color-mix(in srgb,var(--ac,var(--gold)) 40%,transparent)}
.article-body a:hover{text-decoration-color:var(--ac,var(--gold))}
.article-body strong{font-weight:700;color:var(--text)}
.article-body ul,.article-body ol{margin:0 0 1.25em;padding-left:1.3em}
.article-body li{margin-bottom:.5em}
.article-body hr{border:none;border-top:1px solid var(--line);margin:2.4em 0}
.pod-quote{margin:2em 0;padding:24px 28px;background:var(--ac-soft,var(--gold-soft));
  border-left:4px solid var(--ac,var(--gold));border-radius:0 var(--radius) var(--radius) 0}
.pod-quote p{margin:0;font-family:var(--ff-serif);font-style:italic;font-size:1.28rem;line-height:1.4;
  color:var(--text);font-weight:500}

/* ---------- AUTHOR BOX ---------- */
.author-box{display:flex;gap:20px;align-items:flex-start;max-width:760px;margin:48px auto 0;padding:28px 30px;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.author-avatar{width:72px;height:72px;border-radius:50%;flex:0 0 auto;overflow:hidden;
  border:2px solid var(--gold-soft);box-shadow:var(--shadow)}
.author-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.author-info{min-width:0}
.author-info .a-eyebrow{display:inline-block;font-size:.7rem;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--gold);margin-bottom:6px}
.author-info .an{font-family:var(--ff-serif);font-weight:600;font-size:1.25rem;margin:0 0 2px}
.author-info .ar{color:var(--text);font-weight:600;font-size:.9rem;margin:0 0 10px}
.author-info .abio{color:var(--muted);font-size:.92rem;line-height:1.6;margin:0 0 12px}
.author-info .abio strong{color:var(--text)}
.author-info .al{display:flex;gap:14px}
.author-info .al a{color:var(--muted);display:inline-flex;min-height:32px;align-items:center}
.author-info .al a:hover{color:var(--gold)}

/* ---------- KEEP READING ---------- */
.keep-reading{max-width:900px;margin:56px auto 0;padding:0 32px}
.keep-reading h2{text-align:center;font-size:1.5rem;margin-bottom:26px}
.kr-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}

/* ---------- CTA BANNER ---------- */
.cta-banner{background:var(--text);color:var(--bg);border-radius:24px;padding:56px 44px;text-align:center;
  max-width:var(--maxw);margin:0 auto;position:relative;overflow:hidden}
.cta-banner::before{content:"";position:absolute;inset:0;z-index:0;
  background:radial-gradient(600px 300px at 50% 0%,rgba(201,162,107,.28),transparent 70%)}
.cta-banner>*{position:relative;z-index:1}
.cta-banner h2{color:var(--bg);margin-bottom:14px}
.cta-banner p{color:rgba(250,246,240,.78);max-width:52ch;margin:0 auto 28px;font-size:1.08rem}
.cta-banner .btn-gold{color:#2A2422}

/* ---------- BIOTIPO DEEP SECTIONS ---------- */
.bio-block{position:relative;max-width:920px;margin:0 auto 44px;background:var(--surface);
  border:1px solid var(--line);border-top:6px solid var(--ac);border-radius:22px;
  padding:38px 40px;box-shadow:var(--shadow);scroll-margin-top:90px;overflow:hidden}
.bio-block::before{content:"";position:absolute;top:0;right:0;width:240px;height:240px;
  background:radial-gradient(circle at 82% 0,var(--ac-soft),transparent 68%);pointer-events:none}
.bio-block>*{position:relative;z-index:1}
.bio-hero{display:flex;align-items:center;gap:18px;margin-bottom:18px}
.bio-badge{width:66px;height:66px;border-radius:50%;flex:0 0 auto;background:var(--ac-soft);
  display:flex;align-items:center;justify-content:center;border:1px solid var(--ac)}
.bio-badge .be{font-size:2rem;line-height:1}
.bio-id .bn{font-family:var(--ff-serif);font-weight:600;font-size:clamp(1.7rem,3.2vw,2.3rem);
  color:var(--ac);margin:0 0 9px}
.bio-chips{display:flex;flex-wrap:wrap;gap:8px}
.chip-mini{display:inline-flex;align-items:center;gap:5px;font-size:.75rem;font-weight:600;
  color:var(--ac);background:var(--ac-soft);padding:5px 12px;border-radius:999px;white-space:nowrap}
.chip-mini .ico{width:13px;height:13px}
.bio-quien{font-size:1.06rem;line-height:1.65;color:var(--text);margin:0 0 18px}
.bio-anchor-hero{font-family:var(--ff-serif);font-style:italic;font-size:clamp(1.2rem,2.4vw,1.5rem);
  line-height:1.35;color:var(--ac);background:var(--ac-soft);border-left:4px solid var(--ac);
  border-radius:0 14px 14px 0;padding:18px 24px;margin:0 0 28px}
.bio-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin-bottom:20px}
.bd{background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:16px 18px;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.bd:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--ac)}
.bd-lbl{display:flex;align-items:center;gap:7px;font-size:.72rem;font-weight:700;letter-spacing:.07em;
  text-transform:uppercase;color:var(--ac);margin-bottom:7px}
.bd-lbl .ico{width:15px;height:15px;flex:0 0 auto}
.bd p{margin:0;font-size:.94rem;line-height:1.55;color:var(--text)}
.bio-tratar{background:var(--ac-soft);border-radius:16px;padding:20px 22px}
.bio-tratar .bd-lbl{margin-bottom:8px}
.bio-tratar p{margin:0;font-size:.99rem;line-height:1.6;color:var(--text)}

/* ---------- BIOTIPOS: intro, matriz, frases, faq ---------- */
.narrow-w{max-width:800px}
.prose-block p{font-size:1.08rem;line-height:1.75;color:var(--text)}
.prose-block strong{color:var(--text)}

.matrix-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);
  border-radius:16px;box-shadow:var(--shadow)}
.bio-matrix{width:100%;border-collapse:collapse;min-width:720px;background:var(--surface)}
.bio-matrix th,.bio-matrix td{padding:14px 16px;text-align:left;vertical-align:top;
  border-bottom:1px solid var(--line);font-size:.92rem;line-height:1.5}
.bio-matrix thead th{font-family:var(--ff-serif);font-size:1.02rem;font-weight:600;white-space:nowrap;
  background:var(--bg);position:sticky;top:0}
.bio-matrix thead th.c-rojo{color:var(--rojo)} .bio-matrix thead th.c-amarillo{color:#c07d1e}
.bio-matrix thead th.c-verde{color:var(--verde)} .bio-matrix thead th.c-azul{color:var(--azul)}
.bio-matrix tbody th[scope=row]{font-weight:700;color:var(--muted);font-size:.76rem;letter-spacing:.06em;
  text-transform:uppercase;white-space:nowrap;background:var(--bg)}
.bio-matrix tbody tr:last-child th,.bio-matrix tbody tr:last-child td{border-bottom:none}

.tells-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.tell{background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--ac);
  border-radius:16px;padding:22px 22px;box-shadow:var(--shadow);text-align:center;
  transition:transform .18s ease,box-shadow .18s ease}
.tell.c-rojo{--ac:var(--rojo)} .tell.c-amarillo{--ac:#c07d1e}
.tell.c-verde{--ac:var(--verde)} .tell.c-azul{--ac:var(--azul)}
.tell:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.tell-dot{font-size:1.5rem;line-height:1;display:block;margin-bottom:10px}
.tell-q{font-family:var(--ff-serif);font-style:italic;font-size:1.14rem;line-height:1.35;color:var(--text);margin:0 0 10px}
.tell-n{font-size:.8rem;font-weight:700;letter-spacing:.04em;color:var(--ac);margin:0;text-transform:uppercase}

.faq-list{display:flex;flex-direction:column;gap:12px}
.faq-item{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:4px 22px;
  box-shadow:var(--shadow)}
.faq-item summary{cursor:pointer;list-style:none;padding:18px 0;font-family:var(--ff-serif);
  font-weight:600;font-size:1.08rem;color:var(--text);display:flex;justify-content:space-between;align-items:center;gap:12px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";color:var(--gold);font-size:1.5rem;font-weight:400;line-height:1;flex:0 0 auto}
.faq-item[open] summary::after{content:"–"}
.faq-item p{margin:0 0 18px;color:var(--muted);font-size:.98rem;line-height:1.65}

/* ---------- TEST / QUIZ ---------- */
.quiz-shell{max-width:680px;margin:0 auto}
.quiz-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-lg);
  padding:40px 36px}
.quiz-progress{height:6px;background:var(--line);border-radius:999px;overflow:hidden;margin-bottom:30px}
.quiz-progress .bar{height:100%;background:var(--gold);border-radius:999px;transition:width .4s ease;width:0}
.quiz-step{display:none}
.quiz-step.active{display:block;animation:fadeIn .4s ease}
@keyframes fadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.quiz-qnum{font-size:.8rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);margin-bottom:12px}
.quiz-q{font-family:var(--ff-serif);font-weight:600;font-size:1.5rem;line-height:1.25;margin-bottom:26px}
.quiz-opts{display:flex;flex-direction:column;gap:12px}
.quiz-opt{display:flex;align-items:flex-start;gap:13px;text-align:left;width:100%;background:var(--bg);
  border:1.5px solid var(--line);border-radius:14px;padding:17px 19px;cursor:pointer;font-family:var(--ff-sans);
  font-size:1.02rem;color:var(--text);line-height:1.4;transition:all .15s ease}
.quiz-opt:hover{border-color:var(--gold);background:var(--gold-soft);transform:translateY(-1px)}
.quiz-opt .dot{width:14px;height:14px;border-radius:50%;flex:0 0 auto;margin-top:5px;background:var(--oc,var(--gold))}
.quiz-form{display:flex;flex-direction:column;gap:14px;margin-top:8px}
.quiz-form label{font-weight:600;font-size:.9rem;margin-bottom:-8px}
.quiz-form input{font-family:var(--ff-sans);font-size:1rem;padding:14px 16px;border:1.5px solid var(--line);
  border-radius:12px;background:var(--bg);color:var(--text);width:100%}
.quiz-form input:focus{outline:none;border-color:var(--gold)}
.quiz-note{font-size:.82rem;color:var(--muted);text-align:center;margin-top:4px}

.quiz-result{display:none;text-align:center}
.quiz-result.active{display:block;animation:fadeIn .5s ease}
.result-emoji{font-size:4rem;line-height:1;margin-bottom:8px}
.result-name{font-family:var(--ff-serif);font-weight:600;font-size:2.2rem;color:var(--ac);margin-bottom:6px}
.result-temp{color:var(--muted);font-weight:500;margin-bottom:22px}
.result-desc{background:var(--ac-soft);border-radius:16px;padding:24px 26px;margin-bottom:16px;color:var(--text)}
.result-anchor{font-family:var(--ff-serif);font-style:italic;font-size:1.2rem;color:var(--ac);margin:20px 0}

/* ---------- SOBRE / ABOUT ---------- */
.about-hero{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;max-width:var(--maxw);margin:0 auto}
.about-photo{aspect-ratio:4/5;border-radius:24px;overflow:hidden;box-shadow:var(--shadow-lg);
  background:radial-gradient(circle at 40% 30%,#f2dcb2,var(--gold))}
.about-photo img{width:100%;height:100%;object-fit:cover}
.about-photo .ph-init{width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  font-family:var(--ff-serif);font-size:5rem;color:#fff;font-weight:600}
.prose{max-width:720px;margin:0 auto}
.prose h2{margin-top:1.6em}
.prose p{color:var(--text)}
.social-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px}
.social-btn{display:inline-flex;align-items:center;gap:9px;padding:12px 20px;border-radius:999px;
  border:1.5px solid var(--line);background:var(--surface);font-weight:600;font-size:.95rem;
  transition:all .15s ease;min-height:44px}
.social-btn:hover{border-color:var(--gold);background:var(--gold-soft);transform:translateY(-2px)}

/* ---------- LEGAL ---------- */
.legal{max-width:760px;margin:0 auto}
.legal h2{margin-top:1.6em;font-size:1.4rem}
.legal p,.legal li{color:var(--text)}
.legal .updated{color:var(--muted);font-size:.9rem;margin-bottom:30px}

/* ---------- FOOTER ---------- */
.site-footer{background:var(--text);color:rgba(250,246,240,.7);padding:56px 32px 40px;margin-top:8px}
.footer-inner{max-width:var(--maxw);margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}
.footer-brand .brand{color:var(--bg);font-size:1.4rem;margin-bottom:12px;display:inline-flex}
.footer-brand p{font-size:.95rem;max-width:34ch;margin-bottom:18px}
.footer-social{display:flex;gap:14px}
.footer-social a{color:rgba(250,246,240,.7)}
.footer-social a:hover{color:var(--gold)}
.footer-col h4{font-family:var(--ff-sans);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(250,246,240,.5);font-weight:700;margin-bottom:16px}
.footer-col a{display:block;color:rgba(250,246,240,.72);font-size:.95rem;padding:5px 0}
.footer-col a:hover{color:var(--bg)}
.footer-disclaimer{max-width:var(--maxw);margin:34px auto 0;padding-top:24px;border-top:1px solid rgba(250,246,240,.14)}
.footer-disclaimer p{margin:0;font-size:.78rem;line-height:1.6;color:rgba(250,246,240,.55)}
.footer-disclaimer strong{color:rgba(250,246,240,.78)}
.footer-disclaimer a{color:var(--gold);font-weight:600}
.footer-bottom{max-width:var(--maxw);margin:26px auto 0;padding-top:22px;border-top:1px solid rgba(250,246,240,.14);
  display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;font-size:.86rem}
.footer-bottom a{color:var(--gold);font-weight:600}
.footer-bottom a:hover{text-decoration:underline}

/* ---------- COOKIE BANNER ---------- */
.cookie{position:fixed;left:20px;right:20px;bottom:20px;z-index:100;max-width:520px;margin:0 auto;
  background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-lg);
  padding:22px 24px;display:none}
.cookie.show{display:block;animation:fadeIn .35s ease}
.cookie p{font-size:.92rem;color:var(--muted);margin:0 0 16px}
.cookie p a{color:var(--gold);text-decoration:underline}
.cookie-actions{display:flex;gap:10px;flex-wrap:wrap}
.cookie-actions .btn{padding:11px 20px;font-size:.92rem;min-height:44px}

/* ---------- HERO SPLIT (home: texto + foto) ---------- */
.hero-split{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;text-align:left;
  max-width:var(--maxw);margin:0 auto;padding-top:80px;padding-bottom:80px}
.hero-split .hero-copy{max-width:none}
.hero-split h1{max-width:15ch;margin-left:0;margin-right:0}
.hero-split .lead{margin-left:0;margin-right:0;max-width:50ch}
.hero-split .hero-cta{justify-content:flex-start}
.hero-photo{position:relative;display:flex;justify-content:center}
.hero-photo::before{content:"";position:absolute;inset:-6% -4% -6% -4%;z-index:0;border-radius:32px;
  background:radial-gradient(65% 60% at 60% 35%,rgba(201,162,107,.42),transparent 72%);filter:blur(6px)}
.hero-photo img{position:relative;z-index:1;width:100%;max-width:420px;aspect-ratio:3/4;object-fit:cover;
  object-position:center 22%;border-radius:24px;border:1px solid rgba(201,162,107,.35);
  box-shadow:0 18px 50px rgba(120,86,38,.22),0 2px 8px rgba(42,36,34,.10)}

/* ---------- HERO SOCIAL PROOF / SEGUIR EN IG ---------- */
.hero-social-proof{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:30px;
  padding-top:24px;border-top:1px solid var(--line)}
.hero-social-proof .hsp-text{color:var(--muted);font-size:.98rem;font-weight:500;max-width:24ch}
.btn-ig{background:linear-gradient(45deg,#F58529,#DD2A7B 45%,#8134AF 75%,#515BD4);color:#fff;
  border-color:transparent}
.btn-ig:hover{filter:brightness(1.06);box-shadow:0 8px 24px rgba(221,42,123,.32)}
.btn-ig .ico{stroke:#fff}

/* ---------- SELECTOR INTERACTIVO DE BIOTIPO (/biotipos) ---------- */
.bio-selector{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:30px 32px;max-width:760px;margin:0 auto;text-align:center}
.bio-selector .bs-lead{font-family:var(--ff-serif);font-weight:600;font-size:1.25rem;margin:0 0 20px;color:var(--text)}
.bs-opts{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;max-width:600px;margin:0 auto}
.bs-opt{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;
  font-family:var(--ff-sans);font-weight:600;font-size:1rem;padding:15px 18px;border-radius:14px;
  border:1.5px solid var(--line);background:var(--bg);color:var(--text);cursor:pointer;min-height:52px;
  transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .2s ease}
.bs-opt .bs-dot{width:13px;height:13px;border-radius:50%;flex:0 0 auto;background:var(--oc,var(--gold))}
.bs-opt:hover{border-color:var(--oc,var(--gold));background:color-mix(in srgb,var(--oc,var(--gold)) 10%,var(--bg));transform:translateY(-2px)}
.bs-opt[aria-pressed="true"]{border-color:var(--oc,var(--gold));
  background:color-mix(in srgb,var(--oc,var(--gold)) 14%,var(--bg));box-shadow:0 0 0 3px color-mix(in srgb,var(--oc,var(--gold)) 22%,transparent)}
.bs-msg{margin:20px 0 0;font-size:1.08rem;color:var(--text);opacity:0;transform:translateY(6px);
  transition:opacity .3s ease,transform .3s ease;min-height:1.4em}
.bs-msg.show{opacity:1;transform:none}
.bio-block.bs-highlight{animation:bsPulse 1.6s ease}
@keyframes bsPulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--ac) 40%,transparent)}
  30%{box-shadow:0 0 0 8px color-mix(in srgb,var(--ac) 14%,transparent)}
  100%{box-shadow:0 0 0 0 transparent}}

/* ---------- FEATURED / PILLAR CARD (/blog) ---------- */
.featured-card{display:grid;grid-template-columns:1.1fr 1fr;gap:0;background:var(--surface);
  border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow);
  margin-bottom:44px;transition:transform .2s ease,box-shadow .2s ease}
.featured-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.fc-thumb{position:relative;overflow:hidden;min-height:280px;
  background:linear-gradient(135deg,var(--ac,var(--gold)),color-mix(in srgb,var(--ac,var(--gold)) 55%,#000))}
.fc-thumb img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.fc-thumb .thumb-emoji{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:3.4rem;opacity:.9}
.fc-body{padding:38px 40px;display:flex;flex-direction:column;justify-content:center}
.fc-body h2{font-size:clamp(1.5rem,2.6vw,2rem);margin:6px 0 12px}
.fc-body h2 a:hover{color:var(--ac,var(--gold))}
.fc-desc{color:var(--muted);font-size:1.02rem;margin-bottom:22px}
.fc-body .btn{align-self:flex-start}

/* ---------- BOTÓN FLOTANTE INSTAGRAM (site-wide) ---------- */
.ig-float{position:fixed;right:20px;bottom:20px;z-index:90;display:inline-flex;align-items:center;gap:0;
  height:56px;padding:0 16px;border-radius:999px;color:#fff;font-weight:600;font-size:.95rem;
  background:linear-gradient(45deg,#F58529,#DD2A7B 45%,#8134AF 75%,#515BD4);
  box-shadow:0 6px 20px rgba(221,42,123,.36);overflow:hidden;
  transition:transform .18s ease,box-shadow .2s ease;
  right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom))}
.ig-float .ico{width:26px;height:26px;stroke:#fff;flex:0 0 auto}
.ig-float .ig-float-label{max-width:0;opacity:0;white-space:nowrap;overflow:hidden;
  transition:max-width .25s ease,opacity .2s ease,margin-left .25s ease}
.ig-float:hover,.ig-float:focus-visible{transform:translateY(-2px);box-shadow:0 10px 28px rgba(221,42,123,.44)}
.ig-float:hover .ig-float-label,.ig-float:focus-visible .ig-float-label{max-width:90px;opacity:1;margin-left:9px}

/* ---------- REVEAL ON SCROLL (fade + rise) ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
  .btn:hover,.color-card:hover,.post-card:hover,.featured-card:hover,.ig-float:hover,
  .bs-opt:hover,.social-btn:hover,.quiz-opt:hover{transform:none}
  .bio-block.bs-highlight{animation:none}
  .quiz-step.active,.quiz-result.active,.cookie.show,.bs-msg{animation:none}
}

/* ============================================================
   📱 ÁREA MÓVIL / TABLET  (breakpoints de mayor a menor)
   ============================================================ */

@media (max-width:960px){
  .footer-inner{grid-template-columns:1fr 1fr;gap:32px}
  .footer-brand{grid-column:1 / -1;text-align:center}
  .footer-brand .brand{justify-content:center}
  .footer-brand p{margin-left:auto;margin-right:auto}
  .footer-social{justify-content:center}
  .blog-grid{grid-template-columns:repeat(2,1fr)}
  .about-hero{grid-template-columns:1fr;gap:32px}
  .about-photo{max-width:420px;margin:0 auto}

  /* Hero apilado y centrado */
  .hero-split{grid-template-columns:1fr;gap:36px;text-align:center;padding-top:64px;padding-bottom:56px}
  .hero-split h1{max-width:18ch;margin-left:auto;margin-right:auto}
  .hero-split .lead{margin-left:auto;margin-right:auto;max-width:56ch}
  .hero-split .hero-cta{justify-content:center}
  .hero-photo{order:-1}
  .hero-photo img{max-width:340px}
  .hero-social-proof{justify-content:center;text-align:center}
  .hero-social-proof .hsp-text{max-width:none}

  /* Featured pillar apilado */
  .featured-card{grid-template-columns:1fr}
  .fc-thumb{min-height:220px;aspect-ratio:16/10}
  .fc-body{padding:30px 30px 34px}
}

@media (max-width:768px){
  .nav-links{display:none}
  .nav .nav-cta{display:none}
  .burger{display:inline-flex}
  .colors-grid{grid-template-columns:1fr;max-width:520px}
  .bio-grid{grid-template-columns:1fr}
  .bs-opts{grid-template-columns:1fr;max-width:440px}
}

@media (max-width:640px){
  body{font-size:16px}
  .section{padding:64px 22px}
  .section-tight{padding:44px 22px}
  .wrap{padding-left:22px;padding-right:22px}
  .nav{padding:12px 22px}
  .hero{padding:72px 22px 56px}

  /* Centrado total en móvil */
  .sec-head,.hero,.article-header{text-align:center}
  .blog-grid{grid-template-columns:1fr;gap:20px}
  .kr-grid{grid-template-columns:1fr}
  .filters{gap:8px}

  .answer-box{padding:22px 22px}
  .article-wrap,.article-header,.breadcrumbs,.article-hero-thumb{padding-left:22px;padding-right:22px}
  .article-body{font-size:1.05rem}
  .breadcrumbs{justify-content:center}
  .article-meta{justify-content:center}

  .author-box{flex-direction:column;text-align:center}
  .author-info .al{justify-content:center}

  .cta-banner{padding:44px 24px;border-radius:20px}
  .quiz-card{padding:30px 22px}
  .quiz-q{font-size:1.3rem}

  .colors-grid .color-card{text-align:center}
  .color-card .cc-top{justify-content:center}
  .bio-block{padding:28px 20px;text-align:center}
  .bio-hero{flex-direction:column;text-align:center}
  .bio-chips{justify-content:center}
  .bio-anchor-hero{text-align:center;border-left:none;border-top:4px solid var(--ac);border-radius:0 0 14px 14px}
  .bd{text-align:left}
  .bd-lbl{justify-content:center}
  .bio-tratar{text-align:center}
  .bio-tratar .bd-lbl{justify-content:center}

  .footer-inner{grid-template-columns:1fr;text-align:center;gap:30px}
  .footer-brand{text-align:center}
  .footer-brand .brand{justify-content:center}
  .footer-brand p{margin-left:auto;margin-right:auto}
  .footer-social{justify-content:center}
  .footer-col a{padding:8px 0}
  .footer-disclaimer{text-align:center}
  .footer-bottom{flex-direction:column;text-align:center}

  .cookie{left:12px;right:12px;bottom:12px;padding:20px}
  .cookie-actions{justify-content:center}

  .btn{padding:13px 22px;font-size:.95rem}
  .social-row{justify-content:center}

  /* Hero móvil */
  .hero-split{padding:56px 22px 48px;gap:30px}
  .hero-photo img{max-width:280px}
  .hero-social-proof{flex-direction:column;gap:14px;padding-top:20px;margin-top:24px}
  .hero-social-proof .btn-ig{width:100%;justify-content:center;max-width:320px}

  /* Selector de biotipo móvil */
  .bio-selector{padding:26px 20px}
  .bio-selector .bs-lead{font-size:1.12rem}
  .bs-opt{font-size:.98rem}

  /* Featured pillar móvil */
  .fc-body{padding:26px 22px 30px;text-align:center}
  .fc-body .btn{align-self:center}
  .featured-card .post-eyebrow{justify-content:center}

  /* Botón flotante IG móvil: solo icono, más compacto */
  .ig-float{height:52px;padding:0 14px}
  .ig-float .ico{width:24px;height:24px}
}
