/*
Theme Name: Actualmente no está disponible
Theme URI: https://solveig.robbie.work
Author: Media Plus Agency
Description: Theme del proyecto expositivo "Actualmente no está disponible en su país o región", de Solveig Font. Basado en el sistema de diseño de Demos/ (identidad-visual.md).
Version: 0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: solveig-font
*/

/* ============================================================
   Solveig Font — "Actualmente no está disponible en tu país o región"
   Sistema de diseño basado en identidad-visual.md
   Portado desde Demos/assets/css/style.css
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-dark: #000000;
  --window-light: #d0d0d0;
  --window-dark: #414143;
  --blue: #5388e5;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --divider-light: rgba(0, 0, 0, 0.1);
  --divider-dark: rgba(255, 255, 255, 0.16);
  --radius-window: 26px;
  --radius-sm: 20px;
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  letter-spacing: -0.011em;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.76rem;
  margin: 0 0 0.7rem;
}

h1, h2, h3 { line-height: 1.1; margin: 0 0 0.6rem; font-weight: 700; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
p { color: var(--ink-soft); line-height: 1.6; }

.section { padding: 6rem 0; position: relative; overflow: hidden; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-title {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  margin: 0;
  max-width: none;
}
.section-title strong { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) { .section-title { white-space: normal; } }
.section-head.center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section--tight { padding: 3.2rem 0; }
.section--soft { background: var(--bg-soft); }

.hero, .section, footer { position: relative; overflow: hidden; }

.hero::before, .hero::after,
.section::before, .section::after,
footer::before, footer::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(0, 0, 0, 0.045);
  border-radius: 44px;
  pointer-events: none;
  z-index: 0;
}

.hero::before { width: 380px; height: 280px; top: -70px; right: -110px; transform: rotate(-9deg); }
.hero::after { width: 200px; height: 200px; bottom: -70px; left: -70px; border-radius: 36px; transform: rotate(7deg); }

.section:nth-of-type(odd)::before { width: 320px; height: 240px; top: -60px; left: -90px; transform: rotate(6deg); }
.section:nth-of-type(odd)::after { width: 160px; height: 160px; bottom: -50px; right: 6%; border-radius: 28px; transform: rotate(-10deg); }

.section:nth-of-type(even)::before { width: 260px; height: 340px; top: -80px; right: -80px; border-radius: 52px; transform: rotate(-7deg); }
.section:nth-of-type(even)::after { width: 140px; height: 140px; bottom: -40px; left: 8%; border-radius: 24px; transform: rotate(11deg); }

footer::before {
  width: 300px; height: 220px; top: -60px; right: 4%;
  border-color: rgba(255, 255, 255, 0.06); transform: rotate(-8deg);
}
footer::after {
  width: 170px; height: 170px; bottom: -60px; left: 10%; border-radius: 30px;
  border-color: rgba(255, 255, 255, 0.055); transform: rotate(9deg);
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.btn--primary:hover { background: #3f70c9; border-color: #3f70c9; }
.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }
.btn--link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  color: var(--blue); font-weight: 500; font-size: 0.98rem; border: none; padding: 0;
}
.btn--link::after { content: "›"; font-size: 1.1em; transition: transform 0.2s ease; }
.btn--link:hover::after { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--divider-light);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(10px);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.nav-brand { font-weight: 600; font-size: 0.92rem; white-space: nowrap; letter-spacing: -0.01em; }
.nav-brand span { color: var(--blue); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; font-size: 0.84rem; font-weight: 400; }
.nav-links a:hover { color: var(--blue); }
.nav-lang { display: flex; gap: 0.4rem; font-size: 0.82rem; font-weight: 700; }
.nav-lang span { padding: 0.15rem 0.4rem; border-radius: 4px; }
.nav-lang .active { background: var(--ink); color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav-links { position: fixed; inset: 52px 0 0 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; gap: 1.4rem; transform: translateY(-110%); transition: transform 0.25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; background: none; border: none; font-size: 1.4rem; cursor: pointer; }
}

/* ---------- Dialog window (elemento central de identidad) ---------- */
.dialog {
  background: linear-gradient(180deg, #e2e2e2 0%, #d4d4d4 100%);
  border-radius: var(--radius-window);
  padding: 2.6rem 2.4rem;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 30px 60px -20px rgba(20, 20, 30, 0.35),
    0 10px 24px -12px rgba(20, 20, 30, 0.22);
}
.dialog--onblack {
  background: var(--bg-dark);
  padding: 1.6rem;
  border-radius: calc(var(--radius-window) + 8px);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55);
}
.dialog--onblack .dialog-inner {
  background: linear-gradient(180deg, #4c4c4f 0%, #38383a 100%);
  color: #fff;
  border-radius: var(--radius-window);
  padding: 2.3rem 2.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.dialog-title { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 500; text-align: center; letter-spacing: -0.01em; }
.dialog-sub { color: var(--blue); font-weight: 700; text-align: center; margin-top: 0.9rem; }
.dialog-meta { color: var(--blue); text-align: center; font-weight: 600; font-size: 0.95rem; }
.dialog-divider { border: none; height: 1px; background: linear-gradient(90deg, transparent, var(--divider-light) 15%, var(--divider-light) 85%, transparent); margin: 1.6rem 0; }
.dialog--onblack .dialog-divider { background: linear-gradient(90deg, transparent, var(--divider-dark) 15%, var(--divider-dark) 85%, transparent); }
.dialog-ok {
  display: block; width: 100%; background: none; border: none; color: var(--blue);
  font-size: 1.3rem; font-weight: 700; text-align: center; padding: 0.5rem; cursor: pointer;
  font-family: inherit; border-radius: 10px; transition: background 0.15s ease;
}
.dialog-ok:hover { background: rgba(83, 136, 229, 0.1); }

.dialog-event {
  background: linear-gradient(180deg, #4c4c4f 0%, #38383a 100%);
  color: #fff;
  border-radius: calc(var(--radius-window) + 6px);
  padding: 1.9rem 2rem;
  margin-top: -1.8rem;
  margin-left: 1.8rem;
  margin-right: -0.8rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 24px 50px -16px rgba(0, 0, 0, 0.5);
}
.dialog-event .chrome { display: flex; justify-content: flex-end; gap: 0.4rem; margin: -0.7rem -0.7rem 1.1rem auto; }
.dialog-event .chrome span { width: 24px; height: 24px; border: 1px solid rgba(255,255,255,0.5); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: rgba(255,255,255,0.8); }
.accept-btn { transition: background 0.15s ease, border-color 0.15s ease; }
.accept-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.9); }
.dialog-event p { color: rgba(255,255,255,0.92); margin: 0 0 1rem; }
.dialog-event strong { color: var(--blue); }
.accept-btn { border: 1px dashed rgba(255,255,255,0.6); color: #fff; background: none; padding: 0.5rem 1.4rem; border-radius: 6px; font-family: inherit; font-weight: 600; cursor: pointer; }

.sponsor-row { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; margin-top: 1.8rem; }
.sponsor-badge {
  border: 1px solid var(--divider-light);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: #fff;
}
.dialog--onblack ~ .sponsor-row .sponsor-badge,
.on-black .sponsor-badge { background: transparent; border-color: var(--divider-dark); color: rgba(255,255,255,0.85); }

/* ---------- Cita destacada estilo "hero oscuro" ---------- */
.quote-hero {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  padding: 3.5rem;
  background-color: #000;
  isolation: isolate;
}
.quote-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: grayscale(0.15) brightness(0.55);
}
.quote-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.92) 100%);
}
.quote-hero-content { position: relative; z-index: 2; max-width: 780px; }
.quote-eyebrow {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.76rem;
  margin: 0 0 1rem;
}
.quote-hero blockquote {
  margin: 0 0 1.3rem;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #ffffff 0%, #dbe6f7 40%, #7ea6e8 75%, #5388e5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote-hero cite {
  display: block;
  font-style: normal;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  font-weight: 500;
}
@media (max-width: 640px) {
  .quote-hero { padding: 2.2rem; min-height: 380px; }
}

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 0 3.5rem; text-align: center; }
.hero .dialog { max-width: 640px; margin: 0 auto; }
.hero-lede { max-width: 560px; margin: 1.8rem auto 0; font-size: 1.05rem; }
.hero .btn-row { justify-content: center; margin-top: 1.6rem; }

.hero--photo {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 2s ease;
}
.hero-bg-slide.active { opacity: 1; }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.6) 0%, rgba(10, 10, 12, 0.4) 45%, rgba(10, 10, 12, 0.68) 100%);
}
.hero--photo > .wrap { z-index: 2; }
.hero--photo::before, .hero--photo::after { border-color: rgba(255, 255, 255, 0.16); z-index: 1; }
.hero--photo .hero-lede { color: rgba(255, 255, 255, 0.92); }
.hero--photo .btn:not(.btn--primary) { border-color: rgba(255, 255, 255, 0.85); color: #fff; }
.hero--photo .btn:not(.btn--primary):hover { background: #fff; color: #111; }

/* ---------- Grids ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }

.card-obj { display: block; }
.card-obj figure {
  margin: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-sm);
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
  padding: 1.6rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card-obj img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.card-obj:hover figure { box-shadow: 0 24px 44px -20px rgba(0, 0, 0, 0.22); transform: translateY(-3px); }
.card-obj:hover img { transform: scale(1.035); }
.card-obj figcaption { margin-top: 0.9rem; }
.card-obj .obj-name { font-weight: 590; font-size: 0.98rem; }
.card-obj .obj-owner { color: var(--ink-soft); font-size: 0.84rem; }

.card-expo {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 40px -28px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-expo:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 30px 50px -24px rgba(0,0,0,.28); }
.card-expo .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.card-expo .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-expo .body { padding: 1.5rem 1.6rem 1.7rem; }
.card-expo .tag { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 999px; margin-bottom: 0.7rem; }
.tag--live { background: #e6f0ff; color: var(--blue); }
.tag--past { background: var(--bg-soft); color: var(--ink-soft); }

/* ---------- Carrusel de objetos ---------- */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 1rem;
}
.carousel-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0 1.5rem;
  animation: carousel-scroll 34s linear infinite;
}
.carousel:hover .carousel-track { animation-play-state: paused; }
@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.carousel-track .card-obj { width: 240px; flex: 0 0 auto; }
.carousel-fade {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 10%;
  background: linear-gradient(90deg, transparent, var(--bg) 88%);
  pointer-events: none;
}
.section--soft .carousel-fade { background: linear-gradient(90deg, transparent, var(--bg-soft) 88%); }
.carousel-arrow {
  position: absolute;
  top: 50%; right: 1.4rem;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--ink);
  pointer-events: none;
}

/* ---------- Filter bar ---------- */
.filterbar { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.filterbar select, .filterbar input {
  font-family: inherit; font-size: 0.9rem; padding: 0.6rem 1rem; border-radius: 999px; border: none; background: var(--bg-soft);
}

/* ---------- Object detail ---------- */
.obj-detail { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .obj-detail { grid-template-columns: 1fr; } }
.obj-detail figure { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16/9; background: var(--bg-soft); }
.obj-detail img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.4rem; display: inline-block; }
.breadcrumb:hover { color: var(--blue); }
.obj-owner-box { display: flex; align-items: center; gap: 0.8rem; padding: 1.1rem 1.3rem; background: var(--bg-soft); border-radius: 16px; margin-top: 1.6rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ink-soft); flex-shrink: 0; }
.shown-in li { margin-bottom: 0.5rem; }
.shown-in a { color: var(--blue); font-weight: 600; }
.placeholder-note { font-size: 0.8rem; color: #9a9a9a; border-left: 2px solid var(--divider-light); padding-left: 0.8rem; margin-top: 2rem; }

/* ---------- Events list ---------- */
.event-list { display: grid; gap: 1rem; }
.event-row { display: flex; gap: 1rem; align-items: baseline; padding: 1rem 1.2rem; background: var(--window-light); border-radius: 14px; }
.event-row .kind { color: var(--blue); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; flex-shrink: 0; width: 110px; }

/* ---------- Press list ---------- */
.press-list { display: grid; gap: 0.9rem; }
.press-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--divider-light); }
.press-row .medio { color: var(--ink-soft); font-size: 0.85rem; white-space: nowrap; }

/* ---------- Footer ---------- */
footer { background: #0c0c0c; color: rgba(255,255,255,0.75); padding: 3rem 0 2rem; margin-top: 3rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
footer a:hover { color: var(--blue); }
.footer-brand { color: #fff; font-weight: 700; }
.footer-links { display: flex; gap: 1.4rem; font-size: 0.88rem; flex-wrap: wrap; }
.fineprint { width: 100%; font-size: 0.76rem; color: rgba(255,255,255,0.4); margin-top: 1.5rem; }

/* ---------- Colabora ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.2rem 0; }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }
.stat { text-align: center; padding: 1.8rem 1rem; background: var(--bg-soft); border-radius: 18px; }
.stat b { font-size: 2.1rem; display: block; color: var(--blue); letter-spacing: -0.02em; }
.stat span { font-size: 0.85rem; color: var(--ink-soft); }

.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1rem; }
@media (max-width: 780px) { .help-grid { grid-template-columns: 1fr; } }
.help-card { background: var(--bg-soft); border-radius: 18px; padding: 1.6rem; }
.help-card h3 { font-size: 1.02rem; }
.help-card p { font-size: 0.9rem; margin: 0; }

.form-box { background: var(--window-light); border-radius: var(--radius-window); padding: 2.2rem; max-width: 640px; }
.form-box label { display: block; font-size: 0.85rem; font-weight: 700; margin: 1rem 0 0.35rem; }
.form-box input, .form-box textarea, .form-box select {
  width: 100%; font-family: inherit; font-size: 0.94rem; padding: 0.7rem 0.85rem; border-radius: 8px; border: none; background: #fff;
}
.form-box textarea { min-height: 100px; resize: vertical; }

/* aviso de contenido de prueba (equivalente al demo-banner de Demos/) */
.demo-banner {
  background: #111; color: #fff; font-size: 0.78rem; text-align: center; padding: 0.5rem 1rem;
}
.demo-banner b { color: var(--blue); }
