@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --ink: #0b1524;
  --ink-soft: #1a2740;
  --mist: #e7eef7;
  --paper: #f4f7fb;
  --brass: #c9a227;
  --brass-deep: #9a7a14;
  --line: rgba(11, 21, 36, 0.12);
  --text: #152033;
  --muted: #5b6b82;
  --ok: #1f6b4a;
  --shadow: 0 24px 60px rgba(11, 21, 36, 0.18);
  --radius: 2px;
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Outfit", system-ui, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-ui);
  line-height: 1.55;
  overflow-x: hidden;
}
body.rtl { direction: rtl; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.saltar {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.saltar:focus { left: 8px; }

.topbar {
  background: var(--ink);
  color: #d7e0ee;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 5vw;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar span { opacity: 0.85; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(244, 247, 251, 0.92);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
.langs {
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--line);
  padding: 3px;
  background: #fff;
}
.langs a {
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  color: var(--muted);
}
.langs a[aria-current="true"],
.langs a.activo {
  background: var(--ink);
  color: #fff;
}
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav a[aria-current="page"] {
  color: var(--brass-deep);
  box-shadow: inset 0 -2px 0 var(--brass);
}

/* HERO — one composition, brand first, full-bleed */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: #f4f7fb;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 21, 36, 0.35) 0%, rgba(11, 21, 36, 0.72) 48%, rgba(11, 21, 36, 0.92) 100%),
    linear-gradient(90deg, rgba(11, 21, 36, 0.55), transparent 55%);
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12vh 5vw 8vh;
}
.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.95;
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 12ch;
  animation: rise 0.9s ease both;
}
.hero__brand em {
  font-style: normal;
  color: var(--brass);
}
.hero__lead {
  margin: 0 0 28px;
  max-width: 36rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: #d7e0ee;
  animation: rise 0.9s ease 0.12s both;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise 0.9s ease 0.22s both;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 14px 22px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--brass {
  background: var(--brass);
  color: var(--ink);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  outline: 1px solid rgba(255,255,255,0.55);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 5vw;
}
.section__head {
  max-width: 40rem;
  margin-bottom: 36px;
}
.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 12px;
  line-height: 1.15;
}
.section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.rail {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .rail { grid-template-columns: 1fr; }
}

.story {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.story:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.story__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ink-soft);
}
.story__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story__body { padding: 22px 24px 28px; }
.story__meta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 8px;
}
.story__body h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 10px;
  line-height: 1.2;
}
.story__body p {
  margin: 0;
  color: var(--muted);
}

.aside-panel {
  background: var(--ink);
  color: #dce5f2;
  padding: 28px 24px;
}
.aside-panel h3 {
  font-family: var(--font-display);
  margin: 0 0 12px;
  font-size: 1.4rem;
  color: #fff;
}
.aside-panel p { margin: 0 0 18px; color: #aebbd0; }
.aside-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.aside-panel li {
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.95rem;
}
.aside-panel li strong { color: var(--brass); display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; }

.anuncio {
  margin: 28px 0;
}
.anuncio-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.anuncio-caja {
  min-height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px dashed var(--line);
}
.anuncio-caja iframe,
.anuncio-caja img { max-width: 100% !important; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--ink);
  color: #e8eef8;
}
.split__visual {
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(201,162,39,0.28), transparent 45%),
    url("/assets/img/hero-karachi.webp") center/cover;
}
.split__copy {
  padding: 72px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 0 0 16px;
  line-height: 1.1;
}
.split__copy p { color: #b7c4d8; margin: 0 0 22px; max-width: 34rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__visual { min-height: 240px; }
}

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 5vw 80px;
}
.article h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 0 0 16px;
}
.article .deck {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 28px;
}
.article p, .article li { font-size: 1.05rem; }
.article h2 {
  font-family: var(--font-display);
  margin-top: 2rem;
}

.page-hero {
  background: linear-gradient(160deg, var(--ink), var(--ink-soft));
  color: #fff;
  padding: 72px 5vw 56px;
}
.page-hero__inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 12px;
  max-width: 14ch;
}
.page-hero p { margin: 0; max-width: 36rem; color: #c5d0e0; }

.site-footer {
  background: var(--ink);
  color: #aab6c9;
  padding: 48px 5vw 28px;
  margin-top: 40px;
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
.site-footer strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.site-footer a { color: #d5deed; text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.site-footer nav { display: grid; gap: 8px; }
.site-footer__legal {
  max-width: var(--max);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
}
@media (max-width: 800px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    right: 5vw;
    top: 72px;
    background: #fff;
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    min-width: 200px;
    box-shadow: var(--shadow);
  }
  .nav.abierto { display: flex; }
}

.aviso-cookies {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
}
.aviso-cookies p { margin: 0 0 12px; font-size: 0.92rem; color: var(--muted); }
.aviso-cookies__acciones { display: flex; gap: 8px; flex-wrap: wrap; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.on {
  opacity: 1;
  transform: none;
}
