/* ── Reset & base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #1a1410;
  --bg2:         #241c15;
  --bg3:         #2f261d;
  --accent:      #e8943a;
  --accent-h:    #c9762a;
  --accent2:     #d4543b;
  --gold:        #f0c674;
  --text:        #ede0d0;
  --text-muted:  #a3917c;
  --border:      #3a2e22;
  --radius:      10px;
  --font:        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font);
  line-height: 1.7; letter-spacing: .002em;
}
img  { max-width: 100%; display: block; }
a    { color: var(--accent); text-decoration: none; }
a:hover { color: var(--gold); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 1.75rem; }

/* ── Top bar horizontal sticky ─────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(26,20,16,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.topbar-brand { display: flex; align-items: center; gap: .65rem; }
.topbar-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
}
.topbar-logo {
  font-size: 1.15rem; font-weight: 800; color: var(--text);
  letter-spacing: .02em; font-family: Georgia, serif;
}
.topbar-logo:hover { color: var(--accent); }
.topbar-nav { display: flex; align-items: center; gap: 2rem; }
.topbar-nav a.nav-link {
  color: var(--text-muted); font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; position: relative;
}
.topbar-nav a.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--accent); transition: width .2s ease;
}
.topbar-nav a.nav-link:hover { color: var(--text); }
.topbar-nav a.nav-link:hover::after { width: 100%; }
.topbar-cta {
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  color: #1a1410 !important; font-weight: 800; padding: .55rem 1.3rem;
  border-radius: 50px; text-transform: uppercase; letter-spacing: .06em;
  font-size: .76rem;
}
.topbar-cta:hover { opacity: .9; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--accent); width: 42px; height: 42px; border-radius: var(--radius);
  font-size: 1.3rem; cursor: pointer;
}
.mobile-menu { display: none; }

/* ── Hero split: texto izquierda, foto derecha ─────────────────────────── */
.hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-inner {
  display: flex; align-items: center; gap: 3rem;
  padding: 3rem 0;
  min-height: 0;
}
.hero-text {
  flex: 1 1 0; min-width: 0;
}
.hero-photo {
  flex: 0 0 340px; max-width: 38%;
  position: relative; align-self: stretch;
}
.hero-photo img {
  width: 100%; height: 100%; min-height: 360px; max-height: 480px;
  object-fit: cover; object-position: top center;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,.6), 0 0 0 1px var(--border);
}
.hero-photo::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
  opacity: .35; z-index: -1;
}
.hero-eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .2em; color: var(--gold);
  margin-bottom: 1rem; padding: .35rem .9rem;
  border: 1px solid var(--gold); border-radius: 50px;
}
.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; color: #fff;
  line-height: 1.05; margin-bottom: 1rem; letter-spacing: -.02em;
  font-family: Georgia, serif;
}
.hero-sub {
  font-size: 1.1rem; color: var(--text); margin-bottom: 1.75rem;
  max-width: 480px; opacity: .9;
}
.hero-stats {
  display: flex; gap: 2rem; margin-top: 2rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(237,224,208,.18);
  flex-wrap: wrap;
}
.hero-stat-num {
  display: block; font-size: 1.8rem; font-weight: 800; color: var(--gold);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.hero-stat-label {
  display: block; font-size: .68rem; text-transform: uppercase;
  letter-spacing: .14em; color: var(--text-muted); margin-top: .4rem;
}
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; padding: 2rem 0; min-height: auto; }
  .hero-photo { flex: none; max-width: 100%; width: 100%; }
  .hero-photo img { max-height: 260px; }
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn-cta {
  display: inline-block;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  color: #1a1410; font-weight: 800; padding: .75rem 1.7rem;
  border-radius: 50px; transition: opacity .15s, transform .15s;
  text-transform: uppercase; letter-spacing: .05em; font-size: .82rem;
}
.btn-cta:hover { opacity: .9; transform: translateY(-2px); text-decoration: none; color: #1a1410; }
.btn-cta--hero { font-size: .95rem; padding: .9rem 2.2rem; }
.btn-cta--full { display: block; text-align: center; }
.btn-cta--tg   { background: #229ED9; }
.btn-cta--tg:hover { background: #1a87ba; }
.hero-cta-group, .banner-cta-group { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.btn-secondary {
  display: inline-block; border: 1.5px solid var(--accent); color: var(--accent);
  padding: .7rem 1.6rem; border-radius: 50px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; font-size: .8rem;
}
.btn-secondary:hover { background: var(--accent); color: var(--bg); text-decoration: none; }

/* ── Section titles ────────────────────────────────────────────────────── */
.section-title {
  font-size: 1.7rem; font-weight: 800; color: #fff; margin-bottom: 1.75rem;
  font-family: Georgia, serif; letter-spacing: -.01em;
  display: flex; align-items: center; gap: .75rem;
}
.section-title::before {
  content: ''; width: 32px; height: 3px; background: var(--accent);
  border-radius: 2px;
}

/* ── Masonry cards con overlay de texto ───────────────────────────────── */
.posts-section { padding: 3.5rem 0; }
.posts-masonry {
  columns: 3; column-gap: 1.25rem;
}
.post-card {
  break-inside: avoid; margin-bottom: 1.25rem;
  position: relative; border-radius: var(--radius); overflow: hidden;
  display: block; color: inherit; background: var(--bg2);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
  text-decoration: none;
}
.post-card-img { overflow: hidden; aspect-ratio: 3/4; }
.post-card-img img {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: center;
  transition: transform .4s;
}
.post-card:hover .post-card-img img { transform: scale(1.06); }
.post-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,15,11,.96) 8%, rgba(20,15,11,.6) 40%, transparent 75%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem;
}
.post-card-meta { display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.post-card-author-avatar {
  width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
  object-position: top; border: 1.5px solid var(--accent); flex-shrink: 0;
}
.post-card-author-name {
  font-size: .68rem; font-weight: 800; color: var(--gold);
  text-transform: uppercase; letter-spacing: .08em;
}
.post-card-title {
  font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: .35rem;
  line-height: 1.2; font-family: Georgia, serif;
}
.post-card-date {
  font-size: .68rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .08em;
}
.view-all { margin-top: 2.5rem; text-align: center; }

/* ── Feed con thumb pequeño lateral (recent strip) ────────────────────── */
.feed-list { display: flex; flex-direction: column; gap: 0; }
.feed-row {
  display: flex; gap: 1.1rem; align-items: center;
  padding: 1.1rem 0; border-bottom: 1px solid var(--border);
  transition: padding-left .2s;
}
.feed-row:hover { padding-left: .5rem; }
.feed-row a { display: flex; gap: 1.1rem; align-items: center; width: 100%; color: inherit; }
.feed-row a:hover { text-decoration: none; }
.feed-thumb {
  flex-shrink: 0; width: 84px; height: 84px; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
}
.feed-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.feed-body { flex: 1; min-width: 0; }
.feed-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; line-height: 1.3; }
.feed-row:hover .feed-title { color: var(--accent); }
.feed-desc {
  font-size: .85rem; color: var(--text-muted); margin-bottom: .35rem;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.feed-date { font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }

/* ── Model carousel (top-list posts) ──────────────────────────────────── */
.model-carousel { display: flex; gap: 1rem; margin: 2rem 0; overflow-x: auto; padding-bottom: .5rem; }
.model-carousel-card {
  flex: 0 0 190px; background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; text-align: center;
  color: inherit; transition: border-color .15s, transform .15s; display: block;
}
.model-carousel-card:hover { border-color: var(--accent); transform: translateY(-3px); text-decoration: none; }
.model-carousel-img { overflow: hidden; }
.model-carousel-img img { width: 100%; height: 210px; object-fit: cover; object-position: top; transition: transform .3s; }
.model-carousel-card:hover .model-carousel-img img { transform: scale(1.05); }
.model-carousel-info { padding: .8rem .9rem 1rem; }
.model-carousel-name { display: block; font-weight: 800; font-size: .98rem; color: var(--text); margin-bottom: .25rem; }
.model-carousel-cta { display: block; font-size: .76rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

/* ── CTA banner ────────────────────────────────────────────────────────── */
.cta-banner {
  background:
    radial-gradient(circle at 20% 50%, rgba(232,148,58,.16), transparent 50%),
    linear-gradient(120deg, var(--bg3), var(--bg2));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3rem 0;
}
.cta-banner-inner { display: flex; align-items: center; gap: 2rem; }
.cta-avatar {
  width: 110px; height: 110px; object-fit: cover; object-position: top;
  border-radius: 50%; border: 3px solid var(--gold); flex-shrink: 0;
}
.cta-banner-text h3 { font-size: 1.5rem; color: #fff; margin-bottom: .5rem; font-family: Georgia, serif; }
.cta-banner-text p  { color: var(--text-muted); margin-bottom: 1.1rem; font-size: 1.05rem; }

/* ── Inline CTAs ──────────────────────────────────────────────────────── */
.cta-inline {
  background: var(--bg3); border-left: 3px solid var(--accent2);
  padding: 1rem 1.4rem; margin: 1.75rem 0; border-radius: 0 var(--radius) var(--radius) 0;
}
.cta-inline p { margin: 0; color: var(--text-muted); }
.cta-link { color: var(--accent); font-weight: 700; }

/* ── SEO section ───────────────────────────────────────────────────────── */
.seo-section { padding: 3rem 0; }
.seo-content { max-width: 820px; }
.seo-content h1, .seo-content h2, .seo-content h3 { color: #fff; margin: 1.6rem 0 .7rem; font-family: Georgia, serif; }
.seo-content h1 { font-size: 1.9rem; }
.seo-content h2 { font-size: 1.4rem; }
.seo-content h3 { font-size: 1.15rem; }
.seo-content p  { margin-bottom: 1.1rem; color: var(--text-muted); }
.seo-content ul, .seo-content ol { padding-left: 1.5rem; margin-bottom: 1.1rem; color: var(--text-muted); }
.seo-content li { margin-bottom: .4rem; }
.seo-content a  { color: var(--accent); }
.seo-content strong { color: var(--text); }

/* ── Post full page ────────────────────────────────────────────────────── */
.post-full { padding: 2.5rem 0 4rem; }
.post-layout { display: grid; grid-template-columns: 200px 1fr 240px; gap: 2rem; align-items: start; }
.post-header { margin-bottom: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 1.25rem; }
.post-header .post-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); color: #fff; line-height: 1.15; margin-bottom: .75rem; font-family: Georgia, serif; }
.post-meta { display: flex; gap: 1.25rem; color: var(--text-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.post-meta .post-author { color: var(--accent); font-weight: 700; }
.post-body { color: var(--text-muted); font-size: 1.05rem; }
.post-body h1, .post-body h2, .post-body h3 { color: #fff; margin: 2rem 0 .75rem; font-family: Georgia, serif; }
.post-body h2 { font-size: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: .45rem; }
.post-body h3 { font-size: 1.2rem; }
.post-body p  { margin-bottom: 1.15rem; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.15rem; }
.post-body li { margin-bottom: .45rem; }
.post-body a  { color: var(--accent); }
.post-body strong { color: var(--text); }
.post-end-cta {
  background:
    radial-gradient(circle at 80% 20%, rgba(232,148,58,.14), transparent 55%),
    var(--bg2);
  border: 1px solid var(--gold); border-radius: var(--radius);
  padding: 2rem; margin-top: 2.5rem; text-align: center;
}
.post-end-cta p { color: var(--text-muted); margin-bottom: 1.1rem; font-size: 1.05rem; }

/* ── Sidebars (post page) ──────────────────────────────────────────────── */
.sidebar-left, .sidebar-right { position: sticky; top: 90px; }
.model-card-mini {
  text-align: center; padding: 1.25rem; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1.25rem;
}
.model-mini-img {
  width: 100%; height: 160px; object-fit: cover; object-position: top;
  border-radius: var(--radius); margin-bottom: .8rem;
}
.model-mini-name { font-weight: 800; font-size: 1.05rem; color: var(--text); margin-bottom: .6rem; font-family: Georgia, serif; }
.model-mini-cta {
  display: block;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  color: #1a1410; padding: .55rem 1rem; border-radius: 50px;
  font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em;
}
.model-mini-cta:hover { opacity: .9; color: #1a1410; text-decoration: none; }

.sidebar-section--left, .sidebar-section--right {
  padding: 1.25rem; background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 1.25rem;
}
.sidebar-title-left, .sidebar-title-right {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); font-weight: 800; margin-bottom: .75rem;
}
.sidebar-posts-list { list-style: none; padding: 0; margin: 0; }
.sidebar-posts-list li { padding: .5rem 0; border-bottom: 1px solid var(--border); }
.sidebar-posts-list li:last-child { border-bottom: none; }
.sidebar-posts-list a { color: var(--text-muted); font-size: .85rem; line-height: 1.4; display: block; }
.sidebar-posts-list a:hover { color: var(--accent); text-decoration: none; }
.mt-3 { margin-top: 1rem; }
.teaser-excerpt { font-size: .76rem; color: var(--text-muted); margin-top: .25rem; line-height: 1.35; }

.cta-sidebar {
  background:
    radial-gradient(circle at 50% 0%, rgba(232,148,58,.18), transparent 60%),
    linear-gradient(135deg, var(--bg3), var(--bg2));
  border: 1px solid var(--gold); border-radius: var(--radius);
  padding: 1.5rem; text-align: center; margin-bottom: 1.25rem;
}
.cta-sidebar-title { font-weight: 800; color: #fff; margin-bottom: .5rem; font-family: Georgia, serif; }
.cta-sidebar-text { font-size: .82rem; color: var(--text-muted); margin-bottom: 1rem; }
.cta-sidebar-btn {
  display: block; background: linear-gradient(120deg, var(--accent), var(--accent2));
  color: #1a1410; padding: .6rem 1rem; border-radius: 50px;
  font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em;
}
.cta-sidebar-btn:hover { opacity: .9; color: #1a1410; text-decoration: none; }
.personal-teaser-card { display: block; color: inherit; }
.personal-teaser-card:hover { text-decoration: none; }
.personal-teaser-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent2); font-weight: 800; }
.personal-teaser-title { font-weight: 700; color: var(--text); margin: .35rem 0; font-size: .95rem; font-family: Georgia, serif; }
.personal-teaser-arrow { font-size: .78rem; color: var(--accent); font-weight: 700; }

/* ── Posts list page (timeline) ────────────────────────────────────────── */
.posts-list-page { padding: 3rem 0; }
.page-title {
  font-size: 1.9rem; color: #fff; margin-bottom: 2.25rem;
  font-family: Georgia, serif; letter-spacing: -.01em;
  display: flex; align-items: center; gap: .75rem;
}
.page-title::before {
  content: ''; width: 32px; height: 3px; background: var(--accent); border-radius: 2px;
}
.timeline { position: relative; padding-left: 1.75rem; }
.timeline::before {
  content: ''; position: absolute; left: 5px; top: 4px; bottom: 4px;
  width: 2px; background: linear-gradient(var(--accent), var(--accent2));
}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -1.75rem; top: 5px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--bg);
  border: 2px solid var(--accent); box-shadow: 0 0 8px var(--accent);
}
.timeline-date { font-size: .72rem; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: .3rem; }
.timeline-title { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: .4rem; line-height: 1.25; font-family: Georgia, serif; }
.timeline-title a { color: inherit; }
.timeline-title a:hover { color: var(--accent); text-decoration: none; }
.timeline-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.55; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 2rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-inner span { color: var(--text-muted); font-size: .82rem; }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { color: var(--text-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-nav a:hover { color: var(--accent); text-decoration: none; }

/* ── Inline post photos ────────────────────────────────────────────────── */
.post-photo-link { display: block; margin: 1.5rem 0; }
.post-inline-img {
  width: 100%; height: 280px; object-fit: cover; object-position: top;
  border-radius: var(--radius); transition: opacity .2s; display: block;
}
.post-photo-link:hover .post-inline-img { opacity: .92; }

/* ── Sidebar media grid ────────────────────────────────────────────────── */
.sidebar-media { margin-top: 1.25rem; }
.sidebar-media h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: .75rem; }
.sidebar-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.sidebar-media-grid a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.sidebar-media-grid a:hover { border-color: var(--accent); }
.sidebar-media-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

/* ── Placeholder SVG ───────────────────────────────────────────────────── */
img[src="/img/placeholder.svg"] { background: var(--bg3); }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .posts-masonry { columns: 2; }
  .post-layout { grid-template-columns: 1fr 220px; }
  .sidebar-left { display: none; }
}
@media (max-width: 760px) {
  .topbar-nav { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .mobile-menu.open {
    display: flex; flex-direction: column; gap: .25rem;
    padding: 1rem 1.75rem 1.5rem; background: var(--bg2);
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu.open a {
    color: var(--text-muted); font-weight: 700; padding: .6rem 0;
    text-transform: uppercase; letter-spacing: .08em; font-size: .85rem;
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu.open a:last-child { border-bottom: none; }
  .posts-masonry { columns: 1; }
  .hero { min-height: 440px; }
  .hero-stats { gap: 1.5rem; }
  .post-layout { grid-template-columns: 1fr; }
  .sidebar-left, .sidebar-right { position: static; }
  .sidebar-right { display: none; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .footer-inner { flex-direction: column; gap: .85rem; text-align: center; }
}