/*
Theme Name: Sensual Baires
Theme URI: https://sensualbaires.com.ar/
Author: Sensual Baires
Description: Tema editorial ultraliviano para un directorio de perfiles en Buenos Aires.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: sensual-baires
*/

:root {
  --ink: #13101a;
  --muted: #6d6575;
  --paper: #fffaf7;
  --card: #ffffff;
  --rose: #c62867;
  --rose-dark: #8d1749;
  --peach: #ffb199;
  --wine: #301326;
  --line: rgba(48, 19, 38, .12);
  --shadow: 0 18px 50px rgba(55, 22, 42, .10);
  --radius: 22px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(255, 177, 153, .25), transparent 26rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rose-dark); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--rose); }
button, input { font: inherit; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px; clip: auto; background: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(255,250,247,.94); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--wine); font-weight: 900; letter-spacing: -.04em; text-decoration: none; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--rose), var(--peach)); box-shadow: 0 8px 24px rgba(198,40,103,.24); }
.brand-mark::before { content: "S"; font-family: Georgia, serif; font-style: italic; font-size: 1.25rem; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; }
.site-nav a:hover { color: var(--rose); }
.nav-toggle { display: none; margin-left: auto; border: 0; border-radius: 12px; padding: 9px 12px; color: #fff; background: var(--wine); }

.hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 118px) 0 70px; color: #fff; background: linear-gradient(125deg, #24121f 0%, #47162f 55%, #8f1f52 100%); }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.03), 0 0 0 140px rgba(255,255,255,.025); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: end; gap: 48px; }
.eyebrow { margin: 0 0 14px; color: #ffd8ca; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; }
.hero h1 { max-width: 820px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(2.55rem, 7.4vw, 6.2rem); letter-spacing: -.055em; line-height: .98; }
.hero-copy { max-width: 720px; margin: 26px 0 0; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.6vw, 1.18rem); }
.hero-note { padding: 24px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.08); box-shadow: inset 0 1px rgba(255,255,255,.12); }
.hero-note strong { display: block; margin-bottom: 8px; color: #ffd4c6; font-size: 1.05rem; }
.hero-note p { margin: 0; color: rgba(255,255,255,.78); font-size: .92rem; }
.search-panel { position: relative; z-index: 3; width: min(100% - 32px, 900px); margin: -30px auto 0; }
.site-search { display: flex; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.site-search input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 12px 14px; color: var(--ink); background: transparent; }
.button, .site-search button { border: 0; border-radius: 13px; padding: 12px 20px; color: #fff; background: linear-gradient(135deg, var(--rose), #a61d58); font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap; }
.button:hover, .site-search button:hover { color: #fff; filter: brightness(1.05); }

.section { padding: clamp(52px, 7vw, 88px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2, .archive-header h1, .entry-header h1 { margin: 0; color: var(--wine); font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
.section-heading p { max-width: 530px; margin: 0; color: var(--muted); }
.profile-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.profile-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: 0 12px 36px rgba(55,22,42,.07); transition: transform .2s ease, box-shadow .2s ease; }
.profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.profile-card > a:first-child { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #eee6e8; }
.profile-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.profile-card:hover img { transform: scale(1.025); }
.card-fallback { display: grid; place-items: center; height: 100%; color: #fff; background: linear-gradient(145deg, #42172f, #c52a68); font-family: Georgia, serif; font-size: 3rem; }
.card-body { padding: 18px 18px 20px; }
.profile-name { margin: 0 0 8px; color: var(--wine); font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.1; }
.profile-name a { color: inherit; text-decoration: none; }
.zone-link { display: inline-flex; align-items: center; gap: 7px; color: var(--rose-dark); font-size: .82rem; font-weight: 800; text-decoration: none; }
.zone-link::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 4px rgba(255,177,153,.2); }
.profile-excerpt { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.zone-cloud { display: flex; flex-wrap: wrap; gap: 11px; }
.zone-cloud a { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--wine); background: #fff; font-weight: 750; text-decoration: none; box-shadow: 0 7px 20px rgba(55,22,42,.045); }
.zone-cloud a:hover { border-color: rgba(198,40,103,.38); color: var(--rose); }

.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.editorial article, .faq-list details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.editorial article { padding: clamp(24px, 4vw, 42px); }
.editorial h2, .editorial h3 { color: var(--wine); font-family: Georgia, serif; font-weight: 500; line-height: 1.15; }
.editorial h2 { margin-top: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.editorial p { color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 18px 20px; }
.faq-list summary { color: var(--wine); font-weight: 850; cursor: pointer; }
.faq-list p { margin: 12px 0 0; color: var(--muted); }

.content-wrap { width: min(100% - 32px, 900px); margin-inline: auto; }
.archive-header { padding: 58px 0 22px; }
.archive-header h1, .entry-header h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
.archive-description { max-width: 720px; color: var(--muted); }
.breadcrumbs { margin: 0 0 18px; color: var(--muted); font-size: .84rem; }
.breadcrumbs a { color: inherit; }
.single-profile { padding: 54px 0 84px; }
.entry-header { margin-bottom: 32px; }
.entry-zone { margin-top: 14px; }
.entry-content { font-size: 1.05rem; }
.entry-content > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.entry-content img, .entry-content figure { max-width: min(100%, 860px); margin-top: 24px; margin-bottom: 24px; border-radius: 18px; }
.entry-content a[href*="whatsapp"] { display: inline-flex; padding: 12px 18px; border-radius: 999px; color: #fff; background: #147d55; font-weight: 850; text-decoration: none; }
.pagination { margin-top: 38px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination a, .pagination span { display: grid; min-width: 40px; height: 40px; place-items: center; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.pagination .current { color: #fff; background: var(--wine); }
.empty-state { padding: 44px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; background: #fff; }

.site-footer { padding: 48px 0 30px; color: rgba(255,255,255,.76); background: var(--wine); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer h2 { color: #fff; font-family: Georgia, serif; font-weight: 500; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #ffd5c7; }
.footer-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); font-size: .82rem; }

@media (max-width: 980px) {
  .profile-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-note { max-width: 620px; }
}
@media (max-width: 720px) {
  .header-inner { min-height: 66px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; padding: 18px 16px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; gap: 4px; }
  .site-nav a { display: block; padding: 9px; }
  .hero { padding-top: 55px; }
  .hero h1 { font-size: clamp(2.6rem, 14vw, 4.4rem); }
  .search-panel { margin-top: -24px; }
  .site-search { align-items: stretch; flex-direction: column; }
  .profile-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .card-body { padding: 14px; }
  .profile-name { font-size: 1.3rem; }
  .profile-excerpt { display: none; }
  .section-heading { align-items: start; flex-direction: column; }
  .editorial, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .profile-grid { gap: 10px; }
  .card-body { padding: 12px; }
  .zone-link { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
