/*
Theme Name: Nomad Spain
Theme URI: https://nomadspain.example
Author: Safae
Author URI: https://nomadspain.example
Description: The ultimate insider guide for digital nomads in Spain. Bold Mediterranean editorial design with a live budget calculator, price comparison and survival guides. Adapted from the Stillframe editorial template.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nomadspain
*/

:root {
  --white:        #fbf6ec;
  --bone:         #f3ebd9;
  --paper:        #ece1c9;

  --ink:          #1a120b;
  --ink-soft:     #2a1d12;
  --gray:         #7a6a55;
  --gray-2:       #b3a48c;

  --hot-red:      #e24a1a;   /* terracotta / sun-soaked */
  --safety:       #ff7a1a;   /* orange */
  --acid:         #ffcf33;   /* sun yellow */
  --hot-blue:     #1763ff;   /* electric mediterranean blue */
  --bubble:       #ff3399;

  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-serif:   'PT Serif', Georgia, serif;
  --font-body:    'Space Grotesk', sans-serif;
  --font-mono:    'Space Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img { max-width: 100%; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Newsprint grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.06;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; position: relative; }
.container-full { padding: 0 24px; }

/* Anchor offset under sticky nav */
section[id], .manifesto[id] { scroll-margin-top: 84px; }

/* ═══════════════ ALERT BANNER ═══════════════ */
.alert-bar {
  background: var(--ink);
  color: var(--white);
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}
.alert-track { display: flex; gap: 50px; white-space: nowrap; animation: alert-scroll 50s linear infinite; }
.alert-item { display: inline-flex; align-items: center; gap: 16px; }
.alert-item::after { content: '◆'; color: var(--hot-red); }
@keyframes alert-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ═══════════════ NAV ═══════════════ */
nav {
  background: var(--white);
  border-bottom: 2px solid var(--ink);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.logo {
  display: inline-flex; align-items: center; gap: 4px; text-decoration: none;
  font-family: var(--font-display); font-size: 32px; color: var(--ink);
  letter-spacing: 1px; line-height: 1; position: relative;
}
.logo .slash { display: inline-block; width: 4px; height: 28px; background: var(--hot-red); transform: skewX(-15deg); margin: 0 4px; }
.logo-issue { font-family: var(--font-mono); font-size: 9px; color: var(--gray); letter-spacing: 1.5px; margin-left: 8px; text-transform: uppercase; vertical-align: top; margin-top: 4px; }

.nav-menu { display: flex; gap: 0; list-style: none; justify-self: start; margin-left: 24px; }
.nav-menu li { position: relative; }
.nav-menu a {
  color: var(--ink); text-decoration: none; font-family: var(--font-display);
  font-size: 18px; letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 14px; display: block; position: relative; transition: all 0.15s ease;
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: 4px; left: 14px; right: 14px; height: 3px;
  background: var(--hot-red); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.nav-menu a:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.subscribe-btn {
  background: var(--ink); color: var(--white); padding: 10px 20px; text-decoration: none;
  font-family: var(--font-display); font-size: 16px; letter-spacing: 1.5px; text-transform: uppercase;
  transition: all 0.15s ease; border: 2px solid var(--ink); position: relative; overflow: hidden; cursor: pointer;
}
.subscribe-btn::before { content: ''; position: absolute; inset: 0; background: var(--hot-red); transform: translateY(100%); transition: transform 0.2s ease; z-index: 0; }
.subscribe-btn span { position: relative; z-index: 1; }
.subscribe-btn:hover::before { transform: translateY(0); }
.subscribe-btn:hover { border-color: var(--hot-red); }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 38px; padding: 8px; background: var(--ink); border: none; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--white); transition: transform .25s ease, opacity .2s ease; }
nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════ HERO ═══════════════ */
.hero { padding: 50px 0 70px; position: relative; border-bottom: 2px solid var(--ink); }
.hero-meta-row { display: flex; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--gray); margin-bottom: 24px; flex-wrap: wrap; }
.hero-meta-row .issue { background: var(--hot-red); color: var(--white); padding: 4px 10px; font-weight: 700; }
.hero-meta-row .divider { width: 20px; height: 1px; background: var(--gray); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; }
.hero-headline { font-family: var(--font-display); font-size: clamp(70px, 13vw, 200px); line-height: 0.82; letter-spacing: -3px; text-transform: uppercase; margin-bottom: 28px; color: var(--ink); }
.hero-headline .line1 { display: block; }
.hero-headline .accent { color: var(--hot-red); }
.hero-headline .invert { background: var(--ink); color: var(--white); padding: 0 14px; }
.hero-headline .highlight { background: var(--acid); padding: 0 8px; }
.hero-dek { font-family: var(--font-serif); font-size: 22px; font-style: italic; color: var(--ink); margin-bottom: 28px; max-width: 580px; line-height: 1.4; }
.hero-byline-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin-bottom: 28px; flex-wrap: wrap; }
.byline-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); }
.byline-name { font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.byline-divider { width: 1px; height: 24px; background: var(--ink); }
.byline-info { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; color: var(--gray); text-transform: uppercase; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-mag { display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; background: var(--ink); color: var(--white); text-decoration: none; font-family: var(--font-display); font-size: 18px; letter-spacing: 1.5px; text-transform: uppercase; transition: all 0.15s ease; border: 2px solid var(--ink); position: relative; overflow: hidden; cursor: pointer; }
.btn-mag span { position: relative; z-index: 1; }
.btn-mag::before { content: ''; position: absolute; inset: 0; background: var(--hot-red); transform: translateY(100%); transition: transform 0.2s ease; z-index: 0; }
.btn-mag:hover::before { transform: translateY(0); }
.btn-mag:hover { border-color: var(--hot-red); }
.btn-mag.outline { background: transparent; color: var(--ink); }
.btn-mag.outline::before { background: var(--ink); }
.btn-mag.outline:hover { color: var(--white); border-color: var(--ink); }
.btn-mag.blue::before { background: var(--hot-blue); }

.hero-photo { position: relative; aspect-ratio: 3/4; border: 2px solid var(--ink); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(1.1); }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(26,18,11,0.5)); }
.photo-tag { position: absolute; top: 16px; left: 16px; background: var(--white); color: var(--ink); padding: 8px 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; z-index: 2; border: 2px solid var(--ink); }
.photo-score { position: absolute; bottom: 16px; right: 16px; background: var(--hot-red); color: var(--white); font-family: var(--font-display); font-size: 30px; padding: 8px 16px; line-height: 1; z-index: 2; border: 2px solid var(--ink); }
.photo-score sup { font-size: 13px; font-family: var(--font-mono); font-weight: 700; vertical-align: top; }
.photo-caption { position: absolute; bottom: 16px; left: 16px; right: 100px; font-family: var(--font-serif); font-style: italic; font-size: 13px; color: var(--white); z-index: 2; text-shadow: 0 2px 4px rgba(0,0,0,0.6); }

/* ═══════════════ TAKES STRIP ═══════════════ */
.takes-strip { background: var(--hot-red); color: var(--white); padding: 14px 0; border-bottom: 2px solid var(--ink); overflow: hidden; }
.takes-track { display: flex; gap: 60px; white-space: nowrap; animation: alert-scroll 40s linear infinite; font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; text-transform: uppercase; }
.takes-item { display: inline-flex; align-items: center; gap: 18px; }
.takes-item::after { content: '✷'; color: var(--acid); font-size: 24px; }

/* ═══════════════ SECTIONS ═══════════════ */
section.section { padding: 80px 0; border-bottom: 2px solid var(--ink); position: relative; }
.section-head { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: end; margin-bottom: 44px; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.section-num-big { font-family: var(--font-display); font-size: 72px; line-height: 0.85; color: var(--hot-red); letter-spacing: -2px; }
.section-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
h2 { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); line-height: 0.9; letter-spacing: -1px; color: var(--ink); text-transform: uppercase; }
h2 .accent { color: var(--hot-red); }
h2 .invert { background: var(--ink); color: var(--white); padding: 0 12px; }
h2 .highlight { background: var(--acid); padding: 0 8px; }
.section-intro { font-family: var(--font-serif); font-size: 19px; font-style: italic; color: var(--ink); max-width: 760px; margin-bottom: 36px; line-height: 1.5; }
.view-all { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 18px; letter-spacing: 1.5px; color: var(--ink); text-decoration: none; text-transform: uppercase; padding-bottom: 4px; border-bottom: 2px solid var(--ink); transition: all 0.2s ease; }
.view-all:hover { color: var(--hot-red); border-color: var(--hot-red); gap: 14px; }

/* ═══════════════ BUDGET CALCULATOR ═══════════════ */
.calc-section { background: var(--bone); }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--ink); background: var(--white); }
.calc-controls { padding: 36px; border-right: 2px solid var(--ink); }
.calc-results { padding: 36px; background: var(--ink); color: var(--white); }
.calc-field { margin-bottom: 26px; }
.calc-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); margin-bottom: 10px; display: block; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  flex: 1; min-width: 90px; padding: 12px 10px; background: transparent; border: 2px solid var(--ink);
  font-family: var(--font-display); font-size: 18px; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: all .15s ease; color: var(--ink);
}
.seg button:hover { background: var(--paper); }
.seg button.active { background: var(--hot-red); color: var(--white); border-color: var(--hot-red); }
.calc-select {
  width: 100%; padding: 14px 16px; border: 2px solid var(--ink); background: var(--white);
  font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); cursor: pointer;
}
.kids-row { display: none; align-items: center; gap: 14px; margin-top: 14px; }
.kids-row.show { display: flex; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--ink); }
.stepper button { width: 42px; height: 42px; border: none; background: var(--ink); color: var(--white); font-family: var(--font-display); font-size: 24px; cursor: pointer; line-height: 1; }
.stepper button:hover { background: var(--hot-red); }
.stepper .val { width: 50px; text-align: center; font-family: var(--font-display); font-size: 26px; }

.calc-results .calc-label { color: var(--acid); }
.result-city { font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.result-total { font-family: var(--font-display); font-size: clamp(60px, 10vw, 110px); line-height: 0.85; color: var(--acid); letter-spacing: -2px; margin-bottom: 4px; }
.result-total span { font-size: 32px; vertical-align: top; }
.result-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-2); margin-bottom: 26px; }
.result-rows { display: flex; flex-direction: column; gap: 12px; }
.result-row { }
.result-row .rr-top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 5px; }
.result-row .rr-top b { font-family: var(--font-body); font-weight: 700; }
.rr-bar { height: 10px; background: rgba(255,255,255,0.12); position: relative; overflow: hidden; }
.rr-fill { position: absolute; inset: 0 100% 0 0; background: var(--hot-red); transition: right .6s cubic-bezier(.2,.9,.3,1); }
.result-row:nth-child(2) .rr-fill { background: var(--safety); }
.result-row:nth-child(3) .rr-fill { background: var(--acid); }
.result-row:nth-child(4) .rr-fill { background: var(--hot-blue); }
.result-row:nth-child(5) .rr-fill { background: var(--bubble); }
.result-row:nth-child(6) .rr-fill { background: #19c37d; }
.result-row:nth-child(7) .rr-fill { background: #b3a48c; }

/* Daily mini calc */
.daily { margin-top: 36px; border: 2px solid var(--ink); padding: 28px; background: var(--white); }
.daily h3 { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.5px; text-transform: uppercase; margin-bottom: 4px; }
.daily-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0; }
.daily-item { border: 2px solid var(--ink); padding: 14px; text-align: center; }
.daily-item .di-emoji { font-size: 28px; }
.daily-item .di-name { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); margin: 6px 0; }
.daily-item .di-price { font-family: var(--font-mono); font-size: 11px; color: var(--gray); }
.daily-item .stepper { margin-top: 8px; }
.daily-item .stepper button { width: 34px; height: 34px; font-size: 20px; }
.daily-item .stepper .val { width: 38px; font-size: 22px; }
.daily-total { display: flex; justify-content: space-between; align-items: center; border-top: 2px solid var(--ink); padding-top: 18px; }
.daily-total .dt-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); }
.daily-total .dt-val { font-family: var(--font-display); font-size: 44px; color: var(--hot-red); line-height: 1; }
.daily-total .dt-month { font-family: var(--font-mono); font-size: 11px; color: var(--gray); }

/* ═══════════════ PRICE COMPARISON ═══════════════ */
.cmp-table-wrap { overflow-x: auto; border: 2px solid var(--ink); -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 680px; background: var(--white); }
.cmp-table th, .cmp-table td { padding: 14px 16px; text-align: center; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-family: var(--font-mono); font-size: 14px; }
.cmp-table th { background: var(--ink); color: var(--white); font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; text-transform: uppercase; }
.cmp-table td:first-child, .cmp-table th:first-child { text-align: left; font-family: var(--font-body); font-weight: 700; background: var(--paper); }
.cmp-table th:first-child { background: var(--ink); }
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table .total-row td { background: var(--acid); font-family: var(--font-display); font-size: 26px; }
.cmp-table .cheapest { background: var(--hot-red) !important; color: var(--white); position: relative; }
.cmp-emoji { margin-right: 8px; }

.transport-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--ink); border-bottom: none; margin-top: 40px; }
.tr-cell { border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 22px; }
.tr-cell:nth-child(3n) { border-right: none; }
.tr-name { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.tr-price { font-family: var(--font-display); font-size: 40px; color: var(--hot-red); line-height: 1; }
.tr-price small { font-family: var(--font-mono); font-size: 12px; color: var(--gray); }
.tr-note { font-family: var(--font-serif); font-style: italic; font-size: 14px; color: var(--gray); margin-top: 6px; }

/* ═══════════════ CITY CARDS (asymmetric) ═══════════════ */
.cards-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.city-card { background: var(--white); border: 2px solid var(--ink); cursor: pointer; transition: all 0.2s ease; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; position: relative; }
.city-card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.cc-7 { grid-column: span 7; }
.cc-5 { grid-column: span 5; }
.cc-4 { grid-column: span 4; }
.cc-6 { grid-column: span 6; }
.city-img { position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); aspect-ratio: 16/10; }
.cc-5 .city-img { aspect-ratio: 4/5; }
.cc-4 .city-img { aspect-ratio: 1/1; }
.city-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; filter: contrast(1.05) saturate(1.1); }
.city-card:hover .city-img img { transform: scale(1.05); }
.city-cat { position: absolute; top: 12px; left: 12px; background: var(--white); color: var(--ink); padding: 4px 10px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; z-index: 2; border: 2px solid var(--ink); }
.city-cost { position: absolute; top: 12px; right: 12px; background: var(--ink); color: var(--acid); font-family: var(--font-display); font-size: 20px; padding: 4px 10px; line-height: 1; z-index: 2; }
.city-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.cc-7 .city-body { padding: 28px; }
.city-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; color: var(--gray); text-transform: uppercase; margin-bottom: 10px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.city-meta .dot { width: 3px; height: 3px; background: var(--gray); border-radius: 50%; }
.city-name { font-family: var(--font-display); font-size: 34px; letter-spacing: -0.5px; text-transform: uppercase; line-height: 0.95; margin-bottom: 8px; }
.cc-7 .city-name { font-size: 52px; }
.city-text { font-family: var(--font-serif); font-size: 15px; color: var(--ink); line-height: 1.5; margin-bottom: 16px; flex-grow: 1; }
.city-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--ink); font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.city-foot .arrow { font-family: var(--font-display); font-size: 22px; transition: transform .2s ease; }
.city-card:hover .city-foot .arrow { transform: translateX(4px); color: var(--hot-red); }

/* ═══════════════ INFO GRID (vibes / culture / survival) ═══════════════ */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-grid.two { grid-template-columns: repeat(2, 1fr); }
.info-card { border: 2px solid var(--ink); padding: 26px; background: var(--white); transition: all .2s ease; }
.info-card:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--ink); }
.info-card .ic-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: var(--hot-red); text-transform: uppercase; margin-bottom: 10px; }
.info-card h3 { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.5px; text-transform: uppercase; line-height: 0.95; margin-bottom: 12px; }
.info-card h3 .emoji { -webkit-text-fill-color: initial; }
.info-card p { font-family: var(--font-serif); font-size: 15.5px; line-height: 1.55; color: var(--ink); margin-bottom: 10px; }
.info-card ul { list-style: none; margin-top: 10px; }
.info-card li { font-family: var(--font-body); font-size: 14px; padding: 7px 0 7px 22px; position: relative; border-top: 1px solid var(--paper); }
.info-card li::before { content: '→'; position: absolute; left: 0; color: var(--hot-red); font-weight: 700; }
.info-card .tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.mini-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; border: 1.5px solid var(--ink); padding: 3px 8px; }
.mini-tag.blue { background: var(--hot-blue); color: var(--white); border-color: var(--hot-blue); }
.mini-tag.red { background: var(--hot-red); color: var(--white); border-color: var(--hot-red); }
.mini-tag.acid { background: var(--acid); }

/* ═══════════════ MANIFESTO / DARK FEATURE ═══════════════ */
.manifesto { padding: 80px 0; border-bottom: 2px solid var(--ink); background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: center; }
.manifesto-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--acid); margin-bottom: 16px; }
.manifesto h2 { color: var(--white); margin-bottom: 20px; }
.manifesto h2 .accent { color: var(--acid); }
.manifesto-body p { font-family: var(--font-serif); font-size: 21px; line-height: 1.55; color: var(--white); margin-bottom: 18px; }
.manifesto-body p:first-child::first-letter { font-family: var(--font-display); font-size: 96px; line-height: 0.8; float: left; padding: 12px 16px 0 0; color: var(--hot-red); }
.manifesto-body em { background: var(--acid); color: var(--ink); padding: 0 4px; font-style: normal; font-weight: 700; }

/* ═══════════════ VISA STAT POSTER WALL ═══════════════ */
.poster-wall { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--ink); }
.poster { position: relative; aspect-ratio: 3/4; border-right: 2px solid var(--ink); overflow: hidden; padding: 20px; color: var(--white); display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.poster:last-child { border-right: none; }
.poster:nth-child(1) { background: var(--hot-red); }
.poster:nth-child(2) { background: var(--ink); }
.poster:nth-child(3) { background: var(--acid); color: var(--ink); }
.poster:nth-child(4) { background: var(--hot-blue); }
.poster .p-big { font-family: var(--font-display); font-size: clamp(60px, 9vw, 110px); line-height: 0.82; letter-spacing: -2px; }
.poster .p-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.poster .p-tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.85; }

/* ═══════════════ RANKING (festivals / music) ═══════════════ */
.rank-list { }
.rank-item { display: grid; grid-template-columns: 90px 1fr 220px auto; gap: 24px; padding: 22px 0; border-bottom: 2px solid var(--ink); align-items: center; cursor: pointer; transition: all 0.2s ease; text-decoration: none; color: var(--ink); }
.rank-item:hover { background: var(--ink); color: var(--white); padding-left: 24px; padding-right: 24px; margin: 0 -24px; }
.rank-item:hover .rank-num { color: var(--acid); }
.rank-item:hover .rank-meta { color: var(--gray-2); }
.rank-num { font-family: var(--font-display); font-size: 72px; line-height: 0.85; color: var(--hot-red); letter-spacing: -2px; transition: color 0.2s ease; }
.rank-title { font-family: var(--font-display); font-size: 38px; line-height: 0.95; letter-spacing: -1px; text-transform: uppercase; margin-bottom: 4px; }
.rank-director { font-family: var(--font-serif); font-style: italic; font-size: 16px; color: var(--gray); }
.rank-item:hover .rank-director { color: var(--gray-2); }
.rank-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); transition: color 0.2s ease; }
.rank-arrow { font-family: var(--font-display); font-size: 32px; line-height: 1; transition: transform 0.2s ease; }
.rank-item:hover .rank-arrow { transform: translateX(6px); }

/* ═══════════════ EMERGENCY ═══════════════ */
.emergency { background: var(--hot-red); color: var(--white); }
.emergency h2 { color: var(--white); }
.emergency h2 .invert { background: var(--white); color: var(--hot-red); }
.emerg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.emerg-card { border: 3px solid var(--white); padding: 24px; text-align: center; }
.emerg-num { font-family: var(--font-display); font-size: 80px; line-height: 0.85; letter-spacing: -2px; }
.emerg-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 8px; }

/* ═══════════════ MUSIC (La Movida) ═══════════════ */
.music-section { background: var(--ink); color: var(--white); }
.music-section h2 { color: var(--white); }
.music-section .section-head { border-color: rgba(255,255,255,0.25); }
.music-section .section-kicker { color: var(--acid); }
.track { display: grid; grid-template-columns: 60px 1fr auto; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.18); transition: all .2s ease; }
.track:hover { padding-left: 14px; }
.track-num { font-family: var(--font-display); font-size: 32px; color: var(--acid); }
.track-band { font-family: var(--font-display); font-size: 30px; letter-spacing: 0.5px; text-transform: uppercase; line-height: 1; }
.track-song { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--gray-2); }
.track-play { width: 44px; height: 44px; border: 2px solid var(--acid); color: var(--acid); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all .2s ease; }
.track:hover .track-play { background: var(--acid); color: var(--ink); }

/* ═══════════════ NEWSLETTER ═══════════════ */
.newsletter { padding: 100px 0; background: var(--acid); color: var(--ink); border-bottom: 2px solid var(--ink); text-align: center; position: relative; overflow: hidden; }
.newsletter::before { content: '☀'; position: absolute; top: 20px; left: 40px; font-size: 90px; color: var(--ink); transform: rotate(-15deg); opacity: 0.12; }
.newsletter::after { content: '✷'; position: absolute; bottom: 20px; right: 40px; font-size: 100px; color: var(--ink); transform: rotate(15deg); opacity: 0.12; }
.newsletter-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
.newsletter h2 { font-size: clamp(48px, 7vw, 96px); margin-bottom: 16px; }
.newsletter-sub { font-family: var(--font-serif); font-style: italic; font-size: 20px; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; gap: 0; max-width: 540px; margin: 0 auto; border: 2px solid var(--ink); background: var(--white); }
.newsletter-input { flex: 1; padding: 18px 20px; border: none; background: var(--white); font-family: var(--font-mono); font-size: 14px; color: var(--ink); outline: none; font-weight: 500; }
.newsletter-input::placeholder { color: var(--gray); text-transform: lowercase; }
.newsletter-submit { background: var(--ink); color: var(--white); padding: 18px 32px; border: none; font-family: var(--font-display); font-size: 18px; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: all 0.15s ease; }
.newsletter-submit:hover { background: var(--hot-red); }

/* ═══════════════ STICKY CTA ═══════════════ */
.sticky-cta { position: fixed; right: 20px; bottom: 88px; z-index: 95; background: var(--hot-red); color: var(--white); border: 2px solid var(--ink); padding: 16px 22px; font-family: var(--font-display); font-size: 20px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; box-shadow: 5px 5px 0 var(--ink); transition: transform .2s ease; display: inline-flex; align-items: center; gap: 10px; }
.sticky-cta:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.sticky-cta.hide { transform: translateY(220%); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 96; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 4px 4px 0 var(--ink); animation: waPulse 2.4s infinite; transition: transform .15s ease; }
.wa-float:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
@keyframes waPulse {
  0%, 100% { box-shadow: 4px 4px 0 var(--ink), 0 0 0 0 rgba(37,211,102,0.5); }
  50%      { box-shadow: 4px 4px 0 var(--ink), 0 0 0 13px rgba(37,211,102,0); }
}

/* ═══════════════ FOOTER ═══════════════ */
.site-footer { background: var(--ink); color: var(--white); padding: 80px 0 30px; }
.footer-big { font-family: var(--font-display); font-size: clamp(70px, 13vw, 220px); line-height: 0.85; letter-spacing: -4px; margin-bottom: 50px; color: var(--white); text-transform: uppercase; }
.footer-big .slash { display: inline-block; width: 12px; height: 70px; background: var(--hot-red); transform: skewX(-15deg); margin: 0 12px; vertical-align: middle; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 2px solid rgba(255,255,255,0.2); }
.footer-brand p { font-family: var(--font-serif); font-size: 15px; color: rgba(255,255,255,0.7); max-width: 280px; line-height: 1.6; margin-bottom: 24px; font-style: italic; }
.footer-col h4 { font-family: var(--font-display); font-size: 18px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--acid); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255,255,255,0.85); text-decoration: none; font-family: var(--font-body); font-size: 14px; font-weight: 500; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--hot-red); }
.footer-bottom { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px; }
.footer-disclaimer { font-family: var(--font-serif); font-style: italic; font-size: 13px; color: rgba(255,255,255,0.55); max-width: 900px; margin-top: 24px; line-height: 1.6; }

/* ═══════════════ REVEAL ═══════════════ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.9,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ═══════════════ BLOG (single / index) ═══════════════ */
.post-wrap { max-width: 820px; margin: 0 auto; padding: 60px 24px 90px; }
.post-title { font-family: var(--font-display); font-size: clamp(40px,7vw,84px); line-height: 0.88; letter-spacing: -2px; text-transform: uppercase; margin: 10px 0 14px; }
.post-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); margin-bottom: 30px; }
.post-content { font-family: var(--font-serif); font-size: 18px; line-height: 1.7; }
.post-content h2 { font-size: 36px; margin: 34px 0 12px; }
.post-content h3 { font-family: var(--font-display); font-size: 26px; text-transform: uppercase; margin: 24px 0 10px; }
.post-content p { margin-bottom: 16px; }
.post-content a { color: var(--hot-red); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.blog-card { border: 2px solid var(--ink); background: var(--white); transition: all .2s ease; }
.blog-card:hover { transform: translate(-4px,-4px); box-shadow: 8px 8px 0 var(--ink); }
.blog-card a { text-decoration: none; color: inherit; display: block; }
.blog-card .b-img { aspect-ratio: 1200/630; overflow: hidden; border-bottom: 2px solid var(--ink); }
.blog-card .b-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .b-text { padding: 22px; }
.blog-card h3 { font-family: var(--font-display); font-size: 26px; text-transform: uppercase; line-height: 0.95; margin-bottom: 10px; }
.blog-card p { font-family: var(--font-serif); font-size: 15px; color: var(--gray); }
.post-cover { border: 2px solid var(--ink); margin-bottom: 28px; overflow: hidden; }
.post-cover img { display: block; width: 100%; height: auto; }

/* ═══════════════ GLOWING FREE-TRIAL BUTTON ═══════════════ */
.btn-glow { background: var(--hot-red) !important; color: var(--white); animation: glowPulse 2.2s ease-in-out infinite; }
.btn-glow::before { background: var(--acid) !important; }
.btn-glow:hover { color: var(--ink); }
.btn-glow span { position: relative; z-index: 3; }
.btn-glow::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg); animation: shine 2.8s ease-in-out infinite; z-index: 1; pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 4px 4px 0 var(--ink), 0 0 0 0 rgba(255,207,51,0); }
  50%      { box-shadow: 4px 4px 0 var(--ink), 0 0 26px 5px rgba(255,207,51,0.75); }
}
@keyframes shine { 0% { left: -70%; } 55%, 100% { left: 130%; } }

.hero-iptv-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); margin-top: 14px; display: flex; align-items: center; gap: 8px; }

/* ═══════════════ IPTV SECTION ═══════════════ */
.iptv { background: var(--ink); color: var(--white); }
.iptv h2 { color: var(--white); }
.iptv .accent { color: var(--acid); }
.iptv .section-head { border-color: rgba(255,255,255,0.25); }
.wc-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--hot-red); color: var(--white); border: 2px solid var(--white); padding: 8px 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; white-space: nowrap; align-self: end; }
.wc-badge::before { content: '⚽'; animation: glowPulse 2s ease-in-out infinite; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.plan { border: 2px solid var(--white); padding: 30px 26px; position: relative; display: flex; flex-direction: column; }
.plan.featured { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.plan .p-tag { position: absolute; top: -14px; left: 22px; background: var(--hot-red); color: var(--white); font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; padding: 4px 12px; border: 2px solid var(--ink); }
.plan .p-name { font-family: var(--font-display); font-size: 30px; letter-spacing: 0.5px; text-transform: uppercase; }
.plan .p-price { font-family: var(--font-display); font-size: 64px; line-height: 0.85; color: var(--acid); letter-spacing: -1px; margin: 6px 0 4px; }
.plan.featured .p-price { color: var(--ink); }
.plan .p-price sup { font-size: 26px; vertical-align: top; }
.plan .p-price small { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0; color: var(--gray-2); }
.plan.featured .p-price small { color: var(--ink-soft); }
.plan ul { list-style: none; margin: 16px 0 22px; flex-grow: 1; }
.plan li { font-family: var(--font-body); font-size: 14px; padding: 8px 0 8px 22px; position: relative; border-top: 1px solid rgba(255,255,255,0.16); }
.plan.featured li { border-color: rgba(0,0,0,0.12); }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--hot-red); font-weight: 700; }
.plan .p-buy { width: 100%; justify-content: center; }
.plan-trial-row { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.plan-trial-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* ═══════════════ LGBTQ+ SECTION ═══════════════ */
.lgbtq { position: relative; }
.pride-stripe { position: absolute; top: 0; left: 0; right: 0; height: 8px; background: linear-gradient(90deg, #e40303 0 16.6%, #ff8c00 16.6% 33.3%, #ffed00 33.3% 50%, #008026 50% 66.6%, #004dff 66.6% 83.3%, #750787 83.3% 100%); }
.lgbtq .section-num-big { font-size: 56px; }
.lgbtq .info-card { background: linear-gradient(180deg, var(--white) 70%, var(--bone)); }

/* ═══════════════ IN-ARTICLE IPTV REMINDER ═══════════════ */
.iptv-cta { background: var(--ink); color: var(--white); border: 2px solid var(--ink); padding: 32px; margin: 40px 0; box-shadow: 9px 9px 0 var(--hot-red); }
.iptv-cta-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--acid); display: block; }
.iptv-cta h3 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; letter-spacing: -0.5px; color: var(--white); line-height: 0.95; margin: 8px 0 12px; }
.iptv-cta p { font-family: var(--font-serif); font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.85); margin-bottom: 22px; }
.iptv-cta strong { color: var(--acid); }

.iptv-cta-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.iptv-cta .ic-plan { display: flex; flex-direction: column; gap: 2px; text-decoration: none; border: 2px solid rgba(255,255,255,0.4); padding: 20px 16px; color: var(--white); position: relative; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.iptv-cta .ic-plan:hover { transform: translateY(-5px); border-color: var(--acid); background: rgba(255,255,255,0.05); box-shadow: 5px 5px 0 var(--hot-red); }
.iptv-cta .ic-plan.featured { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.iptv-cta .ic-tag { position: absolute; top: -13px; left: 14px; background: var(--hot-red); color: #fff; font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; padding: 3px 10px; border: 2px solid var(--ink); }
.iptv-cta .ic-name { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.5px; text-transform: uppercase; }
.iptv-cta .ic-price { font-family: var(--font-display); font-size: 50px; line-height: 0.85; color: var(--acid); letter-spacing: -1px; }
.iptv-cta .ic-plan.featured .ic-price { color: var(--ink); }
.iptv-cta .ic-per { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.iptv-cta .ic-plan.featured .ic-per { color: var(--ink-soft); }
.iptv-cta .ic-buy { margin-top: 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--acid); }
.iptv-cta .ic-plan.featured .ic-buy { color: var(--ink); }

.iptv-cta .iptv-cta-trial { display: inline-block; background: var(--hot-red); color: #fff; border: 2px solid #fff; padding: 14px 26px; font-family: var(--font-display); font-size: 20px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; animation: glowPulse 2.2s ease-in-out infinite; }
.iptv-cta .iptv-cta-trial:hover { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.iptv-cta-foot { display: block; margin-top: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* World Cup 2026 countdown (used in article reminder + home IPTV section) */
.wc-count { margin: 4px 0 24px; }
.wc-label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--acid); margin-bottom: 10px; }
.wc-units { display: flex; gap: 10px; flex-wrap: wrap; }
.wc-unit { display: flex; flex-direction: column; align-items: center; border: 2px solid rgba(255,255,255,0.35); padding: 8px 14px; min-width: 64px; }
.wc-unit b { font-family: var(--font-display); font-size: 40px; line-height: 0.9; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.wc-unit i { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.55); font-style: normal; margin-top: 5px; }
.wc-count.live .wc-units { display: none; }
.wc-count.live .wc-label { color: var(--hot-red); }
.wc-count.live .wc-label::after { content: ' — LIVE NOW! ⚽'; }

/* Light variant (for the cream hero) */
.wc-count.on-light .wc-label { color: var(--hot-red); }
.wc-count.on-light .wc-unit { border-color: var(--ink); }
.wc-count.on-light .wc-unit b { color: var(--ink); }
.wc-count.on-light .wc-unit i { color: var(--gray); }
.hero-wc { margin: 18px 0 0; }
.hero-wc .wc-unit { padding: 6px 12px; min-width: 58px; }
.hero-wc .wc-unit b { font-size: 34px; }
@media (max-width: 640px) {
  .iptv-cta { padding: 22px; box-shadow: 6px 6px 0 var(--hot-red); }
  .iptv-cta-plans { grid-template-columns: 1fr; }
}

/* ═══════════════ ARTICLE EXTRAS ═══════════════ */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); margin-bottom: 18px; }
.breadcrumb a { color: var(--hot-red); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }

.post-content ul, .post-content ol { margin: 0 0 18px 22px; }
.post-content li { margin-bottom: 8px; }
.post-content strong { color: var(--ink); }
.post-table { overflow-x: auto; margin: 0 0 22px; border: 2px solid var(--ink); -webkit-overflow-scrolling: touch; }
.post-table table { width: 100%; border-collapse: collapse; min-width: 460px; }
.post-table th, .post-table td { padding: 11px 14px; text-align: left; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-family: var(--font-body); font-size: 14px; }
.post-table th { background: var(--ink); color: var(--white); font-family: var(--font-display); font-size: 18px; letter-spacing: 1px; text-transform: uppercase; }
.post-table td:first-child { font-weight: 700; background: var(--paper); }
.post-table tr:last-child td { border-bottom: none; }

.post-cta { border: 2px solid var(--ink); background: var(--acid); padding: 28px; margin: 32px 0; box-shadow: 6px 6px 0 var(--ink); }
.post-cta h3 { font-family: var(--font-display); font-size: 32px; text-transform: uppercase; letter-spacing: -0.5px; margin-bottom: 8px; }
.post-cta p { font-family: var(--font-serif); font-size: 16px; margin-bottom: 16px; }
.post-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════ SOUND TOGGLE ═══════════════ */
.sound-toggle { position: fixed; left: 20px; bottom: 20px; z-index: 95; width: 48px; height: 48px; border: 2px solid var(--ink); background: var(--white); font-size: 20px; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s ease; }
.sound-toggle:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.sound-toggle.off { opacity: 0.55; }
@media (max-width: 640px) { .sound-toggle { left: 12px; bottom: 12px; width: 42px; height: 42px; } }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--white); border-bottom: 2px solid var(--ink); margin: 0; padding: 8px 24px 16px; }
  nav.menu-open .nav-menu { display: flex; }
  .nav-menu a { padding: 14px 0; border-bottom: 1px solid var(--paper); }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .calc { grid-template-columns: 1fr; }
  .calc-controls { border-right: none; border-bottom: 2px solid var(--ink); }
  .daily-grid { grid-template-columns: repeat(2,1fr); }
  .cards-grid { grid-template-columns: repeat(6,1fr); }
  .cc-7, .cc-5, .cc-4, .cc-6 { grid-column: span 6; }
  .info-grid, .info-grid.two { grid-template-columns: 1fr 1fr; }
  .poster-wall { grid-template-columns: 1fr 1fr; }
  .poster:nth-child(2) { border-right: none; }
  .poster:nth-child(1), .poster:nth-child(2) { border-bottom: 2px solid var(--ink); }
  .manifesto-grid { grid-template-columns: 1fr; gap: 28px; }
  .rank-item { grid-template-columns: 56px 1fr auto; }
  .rank-meta { display: none; }
  .emerg-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .section-num-big { font-size: 48px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .cc-7, .cc-5, .cc-4, .cc-6 { grid-column: span 1; }
  .info-grid, .info-grid.two { grid-template-columns: 1fr; }
  .transport-grid { grid-template-columns: 1fr; }
  .tr-cell { border-right: none; }
  .daily-grid { grid-template-columns: 1fr 1fr; }
  .poster-wall { grid-template-columns: 1fr; }
  .poster { border-right: none; border-bottom: 2px solid var(--ink); aspect-ratio: 16/10; }
  .emerg-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .blog-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .sticky-cta { right: 12px; bottom: 74px; padding: 13px 16px; font-size: 16px; }
  .wa-float { right: 12px; bottom: 12px; width: 50px; height: 50px; }
  .post-wrap { padding: 40px 16px 70px; }
  .post-title { font-size: clamp(34px, 11vw, 56px); }
  .post-content { font-size: 16.5px; }
  .post-content h2 { font-size: 30px; }
  .newsletter-input, .calc-select { font-size: 16px; }
}

/* ── Tablet polish (portrait tablets, big phones) ── */
@media (max-width: 900px) {
  .iptv .plan-grid { grid-template-columns: 1fr 1fr; }
  .plan { padding: 26px 22px; }
  .plan .p-price { font-size: 54px; }
  .iptv-cta-plans { grid-template-columns: 1fr; }   /* article column is narrow */
  .transport-grid { grid-template-columns: 1fr 1fr; }
  .tr-cell:nth-child(3n) { border-right: 2px solid var(--ink); }
  .tr-cell:nth-child(2n) { border-right: none; }
  .wc-unit { min-width: 58px; padding: 7px 12px; }
  .wc-unit b { font-size: 34px; }
}
@media (max-width: 560px) {
  .iptv .plan-grid { grid-template-columns: 1fr; }
  .transport-grid { grid-template-columns: 1fr; }
  .tr-cell, .tr-cell:nth-child(3n) { border-right: none; }
  .hero-wc .wc-unit { min-width: 0; flex: 1; padding: 6px 6px; }
  .hero-wc .wc-unit b { font-size: 28px; }
  .wc-units { gap: 8px; }
}

/* iOS safe areas (notch / home bar) */
@supports (padding: max(0px)) {
  .container { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
  .post-wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .wa-float { bottom: max(20px, env(safe-area-inset-bottom)); }
  .sticky-cta { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .sound-toggle { bottom: max(20px, env(safe-area-inset-bottom)); }
}
/* Prevent iOS auto-zoom on inputs */
input, select, textarea { font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
