/* Mi perfume ideal — blog. Comparte lenguaje visual con la home. */
:root {
  --bg: #0C0A0E;
  --bg-glow: #1C1226;
  --panel: #141019;
  --panel-2: #1A1522;
  --surface: #211A2B;
  --line: #302838;
  --line-soft: #241E2E;
  --ink: #F3EBDB;
  --ink-dim: #CDC2CE;
  --muted: #948AA1;
  --gold: #C7A45C;
  --gold-bright: #E9D09A;
  --gold-deep: #7E6330;
  --wine-2: #A65268;
  --on-gold: #1A1206;
  --shadow: 0 24px 60px -24px rgba(0,0,0,.75);
  --radius: 14px;
  --f-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --f-body: "Jost", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink-dim);
  font-family: var(--f-body); font-weight: 300; font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0;
  background: radial-gradient(1100px 560px at 50% -12%, var(--bg-glow), transparent 68%);
  pointer-events: none;
}
main, header, footer { position: relative; z-index: 1; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.14; color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0 0 1.15rem; }
a { color: var(--gold-bright); text-underline-offset: 3px; text-decoration-color: rgba(199,164,92,.4); }
a:hover { text-decoration-color: var(--gold-bright); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: rgba(166,82,104,.4); color: #fff; }
img { max-width: 100%; height: auto; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 22px; }
.eyebrow {
  font-weight: 500; font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 16px;
}

/* header */
.topbar { border-bottom: 1px solid var(--line-soft); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; gap: 16px; }
.brand { font-family: var(--f-display); font-size: 22px; letter-spacing: .02em; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 11px; }
.brand i { width: 8px; height: 8px; background: var(--gold); display: inline-block; transform: rotate(45deg); }
.topnav { display: flex; gap: 26px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.topnav a { color: var(--muted); text-decoration: none; }
.topnav a:hover, .topnav a[aria-current] { color: var(--ink); }

/* blog index */
.blog-hero { text-align: center; padding: 60px 0 34px; }
.blog-hero h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
.blog-hero h1 em { font-style: italic; color: var(--gold-bright); }
.blog-hero p { max-width: 56ch; margin: 20px auto 0; color: var(--ink-dim); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; padding: 10px 0 40px; }
.post-card {
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-decoration: none; color: inherit;
  transition: border-color .16s, transform .12s;
}
.post-card:hover { border-color: var(--gold-deep); transform: translateY(-2px); }
.post-card .cat { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.post-card h2 { font-size: 1.5rem; font-style: italic; }
.post-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.post-card .more { margin-top: auto; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); }

/* ilustración de cabecera */
.a-illus { margin: 0 0 30px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #15111C; }
.a-illus svg { display: block; width: 100%; height: auto; }
.card-illus { margin: -24px -24px 4px; border-bottom: 1px solid var(--line); background: #15111C; }
.card-illus svg { display: block; width: 100%; height: auto; }
.hero-illus { max-width: 520px; margin: 26px auto 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #15111C; }
.hero-illus svg { display: block; width: 100%; height: auto; }

/* article */
.article { max-width: 760px; margin: 0 auto; padding: 40px 22px 20px; }
.article .a-cat { font-weight: 500; font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.article h1 { font-size: clamp(2.1rem, 5.4vw, 3.2rem); margin: 14px 0 14px; letter-spacing: .004em; }
.article h1 em { font-style: italic; color: var(--gold-bright); }
.article .a-meta { color: var(--muted); font-size: .85rem; letter-spacing: .04em; border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 26px; }
.article .a-body { font-size: 1.06rem; line-height: 1.85; }
.article .a-body > p:first-of-type { font-size: 1.16rem; color: var(--ink); }
.article .a-body h2 { font-size: clamp(1.5rem, 3.6vw, 2rem); font-style: italic; margin: 2.2rem 0 .9rem; }
.article .a-body h3 { font-size: 1.22rem; margin: 1.7rem 0 .6rem; color: var(--gold-bright); }
.article .a-body ul, .article .a-body ol { margin: 0 0 1.15rem; padding-left: 1.25rem; }
.article .a-body li { margin: .35rem 0; }
.article .a-body strong { color: var(--ink); font-weight: 400; }
.article .a-body blockquote {
  margin: 1.6rem 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--gold-deep);
  font-family: var(--f-display); font-style: italic; font-size: 1.3rem; color: var(--ink);
}
.tbl-wrap { overflow-x: auto; margin: 1.4rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--line); }
th { font-family: var(--f-body); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
td { color: var(--ink-dim); }

.pick {
  background: var(--panel); border: 1px solid var(--line); border-left: 2px solid var(--gold);
  border-radius: 0 10px 10px 0; padding: 16px 18px; margin: 1.3rem 0;
}
.pick .p-brand { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.pick .p-name { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; color: var(--ink); margin: 3px 0 6px; }
.pick p { margin: 0; font-size: .95rem; }

.cta-test {
  background: linear-gradient(180deg, rgba(166,82,104,.14), rgba(126,99,48,.10));
  border: 1px solid var(--gold-deep); border-radius: var(--radius);
  padding: 26px; margin: 2.4rem 0; text-align: center;
}
.cta-test h3 { font-size: 1.6rem; font-style: italic; margin-bottom: 8px; }
.cta-test p { color: var(--ink-dim); margin-bottom: 16px; }
.btn {
  display: inline-block; font-family: var(--f-body); font-weight: 500; font-size: .9rem;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  background: var(--gold); color: var(--on-gold); border-radius: 999px; padding: 13px 28px;
  transition: background .16s, transform .12s;
}
.btn:hover { background: var(--gold-bright); transform: translateY(-1px); }

.ad-ph {
  border: 1px dashed var(--gold-deep); background: rgba(199,164,92,.03); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; letter-spacing: .34em; text-transform: uppercase; border-radius: 10px;
  height: 110px; margin: 2.2rem 0;
}
.ad-unit { margin: 2.4rem 0; text-align: center; min-height: 90px; }
.ad-label { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.ad-unit .adsbygoogle { display: block; }

.related { border-top: 1px solid var(--line); margin-top: 2.6rem; padding-top: 1.6rem; }
.related h2 { font-size: 1.3rem; font-style: italic; margin-bottom: 12px; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.related a { color: var(--ink-dim); text-decoration: none; }
.related a:hover { color: var(--gold-bright); }
.related a::before { content: "\2192"; color: var(--gold); margin-right: 8px; }

footer { border-top: 1px solid var(--line-soft); padding: 40px 0 60px; margin-top: 40px; }
footer .wrap { display: grid; gap: 9px; color: var(--muted); font-size: .84rem; }
footer strong { font-family: var(--f-display); font-weight: 500; color: var(--ink); font-size: 1.05rem; }
footer a { color: var(--muted); }

.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--panel-2); border-top: 1px solid var(--gold-deep); padding: 16px 22px;
}
.cookie[hidden] { display: none; }
.cookie .inner { max-width: 1000px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; justify-content: space-between; }
.cookie p { margin: 0; font-size: .86rem; color: var(--ink-dim); max-width: 62ch; }
.cookie .cta { display: flex; gap: 10px; }
.cookie .btn { padding: 10px 20px; font-size: .78rem; }
.cookie .ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.cookie .ghost:hover { border-color: var(--gold); color: var(--gold-bright); background: transparent; }

@media (max-width: 600px) { body { font-size: 16px; } .article .a-body { font-size: 1.02rem; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
