/*
Theme Name: Inverso Holding
Theme URI: https://inversoholding.com
Author: Inverso Holding
Description: Copia idéntica del sitio de Inverso Holding. Editable desde Páginas, Proyectos y Apariencia.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.8
Text Domain: inverso
*/

:root {
  --bg: #f5f3f0;
  --surface: #ebe8e3;
  --fg: #2c2c2c;
  --muted: #6a6a6a;
  --accent: #5d8496;
  --accent-fg: #f5f3f0;
  --steel: #3d5f6e;
  --slate: #b7cdd4;
  --border: #d6d2cc;
  --font-display: "Syne", "Avenir Next", "Segoe UI", sans-serif;
  --font-sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.03em; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
@media (min-width: 640px) { .wrap { width: min(72rem, calc(100% - 3rem)); } }

.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.logo img { height: 2.4rem; width: auto; }
.nav-desktop { display: none; gap: 1.75rem; }
.nav-desktop a {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.nav-desktop a:hover, .nav-desktop a.is-active { color: var(--fg); }
.header-tools { display: flex; align-items: center; gap: 0.5rem; }
.lang {
  display: flex; border: 1px solid var(--border); border-radius: 0.375rem;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.16em;
}
.lang button {
  height: 2.25rem; min-width: 2.5rem; border: 0; background: transparent; color: var(--muted);
}
.lang button.is-on { background: var(--fg); color: var(--bg); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  height: 2.75rem; padding: 0 1rem; border-radius: 0.375rem; border: 0;
  background: var(--fg); color: var(--bg); font-size: 0.875rem; font-weight: 500;
}
.btn-outline {
  background: transparent; color: var(--fg); border: 1px solid var(--border);
}
.btn-light { background: var(--bg); color: var(--fg); }
.btn-ghost { background: transparent; color: var(--bg); border: 1px solid color-mix(in srgb, var(--bg) 40%, transparent); }
.menu-toggle { width: 2.75rem; height: 2.75rem; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.nav-mobile { display: none; padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--border); }
.nav-mobile.is-open { display: grid; gap: 0.75rem; }
.nav-mobile a { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
}

.hero { position: relative; min-height: 100dvh; overflow: hidden; background: var(--fg); color: var(--bg); }
.hero img.cover, .band img.cover {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero .shade { position: absolute; inset: 0; background: linear-gradient(to top, #2c2c2c, color-mix(in srgb, #2c2c2c 45%, transparent), color-mix(in srgb, #2c2c2c 10%, transparent)); }
.hero-copy { position: relative; min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end; padding: 7rem 0 5rem; }
.kicker { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--steel); }
.hero .kicker { color: var(--slate); letter-spacing: 0.34em; }
.rule { display: block; height: 1px; width: 3.5rem; background: var(--steel); margin-top: 1.25rem; }
.hero h1 { margin-top: 1.5rem; max-width: 64rem; font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 600; line-height: 1.08; }
.hero .lead { margin-top: 1.5rem; max-width: 36rem; font-weight: 300; font-size: 1.125rem; color: color-mix(in srgb, var(--bg) 80%, transparent); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }

.section { padding: 5rem 0; }
.section h2 { margin-top: 0.75rem; font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; max-width: 36rem; }
.muted { color: var(--muted); }
.signals { display: grid; gap: 2rem; padding: 4rem 0; }
@media (min-width: 768px) { .signals { grid-template-columns: repeat(3, 1fr); } }
.signals img { height: 3.5rem; width: auto; }
.signals h3 { margin-top: 1rem; font-size: 1.25rem; }

.cards { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--surface); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.card:hover .thumb img { transform: scale(1.04); }
.card h3 { margin-top: 1.25rem; font-size: 1.875rem; font-weight: 600; }
.card ul { margin: 0.75rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.9rem; }
.more { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }

.grid-2 { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.split { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.values { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 640px) { .values { grid-template-columns: 1fr 1fr; } }
.values li { list-style: none; border-top: 1px solid var(--border); padding-top: 1.25rem; }
.history p { color: var(--muted); line-height: 1.7; }

.band { position: relative; min-height: 60dvh; overflow: hidden; background: var(--fg); color: var(--bg); }
.band .shade { position: absolute; inset: 0; background: linear-gradient(to top, #2c2c2c, color-mix(in srgb, #2c2c2c 40%, transparent), color-mix(in srgb, #2c2c2c 15%, transparent)); }
.band-logo { position: absolute; left: 1.5rem; top: 7rem; }
.band-logo img { height: 3.5rem; width: auto; max-width: 12rem; filter: drop-shadow(0 2px 12px rgba(0,0,0,.55)); }
.band-copy { position: relative; min-height: 60dvh; display: flex; flex-direction: column; justify-content: flex-end; padding: 6rem 0 4rem; }
.facts { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.fact { border-top: 1px solid var(--border); padding-top: 0.75rem; }
.fact dt { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 0.35rem 0 0; }
.gallery { display: grid; gap: 0.75rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.form { background: color-mix(in srgb, var(--surface) 50%, transparent); border: 1px solid var(--border); border-radius: 0.75rem; padding: 2rem; }
.form label { display: block; font-size: 0.875rem; margin-bottom: 0.35rem; }
.form input, .form textarea {
  width: 100%; margin-bottom: 1rem; padding: 0.7rem 0.8rem; border: 1px solid var(--border);
  border-radius: 0.375rem; background: var(--bg); font: inherit;
}
.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; }
.consent input { width: auto; margin: 0.2rem 0 0; }

.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-meta { border-top: 1px solid var(--border); padding: 1.25rem 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.75rem; color: var(--muted); }
.foot-meta nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.tiny { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.wa-dock {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
  width: 3.25rem; height: 3.25rem; border-radius: 999px;
  background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 24px rgb(0 0 0 / 0.18);
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.en-only { display: none; }
html[lang="en"] .es-only { display: none; }
html[lang="en"] .en-only { display: initial; }
html[lang="en"] p.en-only, html[lang="en"] li.en-only, html[lang="en"] div.en-only { display: block; }
