/*
Theme Name: App Capital
Theme URI: https://appcapital.eu
Author: APP CAPITAL UK LTD
Author URI: https://appcapital.eu
Description: Institutional Digital Asset Advisory — Bilingual EN/ES theme for APP CAPITAL UK LTD
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: Proprietary
Text Domain: app-capital
*/

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --white: #FFFFFF;
  --offwhite: #F8F9FA;
  --light-grey: #F1F3F5;
  --border: #E5E7EB;
  --border-light: #F0F0F0;
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-tertiary: #9CA3AF;
  --teal: #1A7A6E;
  --teal-dark: #145F56;
  --teal-light: rgba(26, 122, 110, 0.06);
  --teal-border: rgba(26, 122, 110, 0.15);
  --pad-x: clamp(24px, 6vw, 120px);
  --max-w: 1080px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* ===== LANGUAGE SYSTEM ===== */
[lang="en"] .es { display: none !important; }
[lang="es"] .en { display: none !important; }

/* ===== LANGUAGE MODAL ===== */
.lang-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.4s, visibility 0.4s;
}
.lang-modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lang-modal {
  text-align: center;
  max-width: 480px;
  padding: 40px;
}

.lang-modal-logo { margin-bottom: 48px; }
.lang-modal-logo svg { width: 48px; height: 48px; }
.lang-modal-logo .lm-name {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-top: 12px;
}
.lang-modal-logo .lm-sub {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  margin-top: 4px;
  text-transform: uppercase;
}

.lang-prompt {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-weight: 300;
}

.lang-options {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.lang-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 44px;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  background: none;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.lang-option:hover {
  border-color: var(--teal);
  background: var(--teal-light);
}
.lang-option .flag { font-size: 28px; line-height: 1; }
.lang-option .lang-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}
.lang-option .lang-native {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 300;
}

.lang-modal-footer {
  margin-top: 56px;
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
}

/* ===== SITE (hidden until language chosen) ===== */
.site-wrapper { display: none; }
.site-wrapper.visible { display: block; }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--pad-x);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}
.logo-icon { width: 32px; height: 32px; }
.logo-text {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
}

.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 450;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.lang-btn {
  background: none;
  border: none;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-tertiary);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.lang-btn.active { background: var(--teal); color: var(--white); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-secondary);
  margin: 4px 0;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px var(--pad-x) 100px;
  background:
    radial-gradient(ellipse 85% 55% at 12% 75%, rgba(26, 122, 110, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 65% 45% at 88% 20%, rgba(26, 122, 110, 0.06) 0%, transparent 65%),
    var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Círculo decorativo de fondo */
.hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(26, 122, 110, 0.07);
  pointer-events: none;
}

/* Hero con imagen cargada desde el Customizer */
.hero.has-bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero.has-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.86);
  z-index: 0;
}
.hero.has-bg-image::after { display: none; }
.hero.has-bg-image .hero-content { position: relative; z-index: 1; }
.hero-content { max-width: 800px; }
.hero h1 {
  font-weight: 600;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero-jurisdictions {
  font-size: 14px;
  font-weight: 450;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.hero-b2b {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--teal-border);
  background: var(--teal-light);
  padding: 6px 16px;
  border-radius: 3px;
  margin-bottom: 36px;
}
.hero-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 44px;
  font-weight: 300;
}
.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 3px;
  transition: background 0.2s;
}
.cta-btn:hover { background: var(--teal-dark); }

/* ===== COMMON SECTION ===== */
section { padding: 100px var(--pad-x); }
.s-white { background: var(--white); }
.s-grey { background: var(--offwhite); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.inner { max-width: var(--max-w); margin: 0 auto; }

.s-label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 16px;
}
.s-title {
  font-weight: 600;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
}
.s-intro {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
  font-weight: 300;
}

.body-text { margin-top: 40px; max-width: 720px; }
.body-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 18px;
  font-weight: 300;
}

/* ===== ABOUT — LEADERSHIP ===== */
.leader-card {
  margin-top: 48px;
  padding: 36px 40px;
  border: 1px solid var(--border);
  border-radius: 4px;
  max-width: 720px;
}
.leader-role {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 8px;
}
.leader-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.leader-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
  font-weight: 300;
}
.leader-card a { color: var(--teal); text-decoration: none; font-size: 14px; font-weight: 450; }

/* ===== ABOUT — APPROACH ===== */
.approach-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.approach-item {
  padding: 24px;
  background: var(--teal-light);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

/* ===== ABOUT — DELIVER ===== */
.deliver-block { margin-top: 48px; max-width: 720px; }
.deliver-block p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
  font-weight: 300;
}
.deliver-tags {
  font-size: 13px;
  color: var(--text-tertiary);
  letter-spacing: 0.3px;
  font-weight: 400;
}

/* ===== SERVICES ===== */
.services-grid {
  margin-top: 56px;
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.svc-item {
  padding: 32px 36px;
  border-bottom: 1px solid var(--border-light);
}
.svc-item:last-child { border-bottom: none; }
.svc-item h3 {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.svc-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  max-width: 640px;
}

/* ===== SERVICES — ENGAGEMENT ===== */
.engagement-block {
  margin-top: 56px;
  padding: 36px 40px;
  border: 1px solid var(--teal-border);
  background: var(--teal-light);
  border-radius: 4px;
  max-width: 720px;
}
.engagement-block h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.engagement-block p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== SERVICES — COUNTERPARTY ===== */
.cp-list { margin-top: 48px; max-width: 720px; }
.cp-list h3 { font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.cp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
}
.cp-item:last-child { border-bottom: none; }
.cp-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== SERVICES FOOTER ===== */
.svc-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 720px;
}
.svc-footer h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.svc-footer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== REGULATORY ===== */
.reg-subsection { margin-top: 48px; max-width: 720px; }
.reg-subsection h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.reg-subsection p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 14px;
  font-weight: 300;
}
.reg-subsection strong { font-weight: 500; color: var(--text-primary); }

/* ===== PILLARS ===== */
.pillars {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.pillar {
  padding: 20px 22px;
  border-left: 2px solid var(--teal);
  background: var(--teal-light);
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.5;
}

/* ===== DOWNLOADS ===== */
.downloads {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.downloads h4 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 20px;
}
.dl-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 450;
  transition: color 0.2s;
}
.dl-link:last-child { border-bottom: none; }
.dl-link:hover { color: var(--teal); }
.dl-link svg {
  width: 16px; height: 16px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}
.dl-badge {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-left: auto;
}

/* ===== CONTACT ===== */
.contact-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-block h4 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 14px;
}
.contact-block p, .contact-block a {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  text-decoration: none;
  font-weight: 300;
}
.contact-block a:hover { color: var(--teal); }

.contact-cta {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ===== FOOTER ===== */
footer {
  padding: 36px var(--pad-x);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-left p {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.7;
}
.footer-right {
  font-size: 11px;
  color: var(--teal);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */

/* Tablet ancho (1025px – 1280px) */
@media (max-width: 1280px) {
  :root { --pad-x: clamp(24px, 5vw, 80px); }
}

/* Tablet (769px – 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  :root { --pad-x: clamp(24px, 4vw, 56px); }
  .approach-grid { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile nav (≤ 768px) */
@media (max-width: 768px) {
  .mobile-toggle { display: flex; flex-direction: column; justify-content: center; gap: 0; }
  .mobile-toggle.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .mobile-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .mobile-toggle.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .mobile-toggle span { transition: transform 0.25s, opacity 0.2s, background 0.2s; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 20px 28px 28px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 15px; padding: 10px 0; display: block; border-bottom: 1px solid var(--border-light); }
  .nav-links li:last-child a { border-bottom: none; }

  /* Corrige top del menú cuando admin bar está visible */
  .admin-bar .nav-links { top: 100px; }

  .hero { min-height: auto; padding: 100px 20px 64px; }
  section { padding: 64px 20px; }

  .approach-grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .lang-options { flex-direction: column; align-items: center; }
  .lang-option { width: 100%; max-width: 280px; padding: 20px 24px; flex-direction: row; gap: 16px; justify-content: flex-start; }

  .leader-card { padding: 24px; }
  .engagement-block { padding: 24px; }

  .contact-form { max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
}

/* Phones (≤ 480px) */
@media (max-width: 480px) {
  .approach-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .services-grid .svc-item { padding: 24px 20px; }
  .hero h1 { font-size: clamp(22px, 6vw, 28px); }
  .hero-sub { font-size: 15px; }
  .cta-btn { display: block; text-align: center; }
  .s-title { font-size: clamp(20px, 5vw, 26px); }
  .nav-links a { font-size: 16px; }
  .lang-btn { padding: 6px 12px; font-size: 12px; }
}

/* Phones pequeños (≤ 375px) */
@media (max-width: 375px) {
  nav { padding: 0 16px; }
  .hero { padding: 88px 16px 56px; }
  section { padding: 52px 16px; }
  .leader-card { padding: 20px 16px; }
  .hero-b2b { font-size: 10px; padding: 5px 12px; }
  .submit-btn { width: 100%; text-align: center; }
}

/* Pantallas grandes (≥ 1440px) */
@media (min-width: 1440px) {
  :root { --max-w: 1160px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mobile-toggle span { transition: none; }
}

/* ===== ADMIN BAR FIX ===== */
.admin-bar nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar nav { top: 46px; } }

/* ===== ADMIN BAR FIX (WordPress logged-in bar) ===== */
.admin-bar nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar nav { top: 46px; } }

/* ===== MANIFESTO (sección oscura institucional) ===== */
.manifesto {
  background: #0D1117;
  padding: 96px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  left: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 122, 110, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.manifesto-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.manifesto-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(45, 212, 192, 0.7);
  font-weight: 500;
  margin-bottom: 36px;
}
.manifesto-quote {
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 860px;
  margin: 0 auto 36px;
  letter-spacing: -0.2px;
  font-style: normal;
  border: none;
  padding: 0;
}
.manifesto-quote strong {
  color: #2DD4C0;
  font-weight: 600;
}
.manifesto-attr {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 500;
}
.manifesto-divider {
  width: 40px;
  height: 1px;
  background: rgba(45, 212, 192, 0.4);
  margin: 0 auto 28px;
}

/* ===== STATS BAR ===== */
.stats-section {
  padding: 72px var(--pad-x);
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}
.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat-item {
  text-align: center;
  padding: 24px 16px;
  border-left: 1px solid var(--border-light);
}
.stat-item:first-child { border-left: none; }
.stat-value {
  display: block;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  line-height: 1.5;
}

/* ===== CEO PHOTO ===== */
.leader-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.ceo-photo-wrap {
  flex-shrink: 0;
}
.ceo-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal-border);
  display: block;
}
.ceo-photo-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 2px solid var(--teal-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 26px;
  line-height: 1;
  font-weight: 600;
}
.leader-info { flex: 1; }
.leader-info .leader-role { margin-bottom: 4px; }
.leader-info .leader-name { margin-bottom: 0; }

/* ===== ABOUT FEATURE IMAGE ===== */
.about-feature {
  margin-top: 56px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  max-height: 420px;
  position: relative;
}
.about-feature img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.about-feature-placeholder {
  height: 240px;
  background:
    linear-gradient(135deg, rgba(26, 122, 110, 0.07) 0%, rgba(26, 122, 110, 0.03) 100%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(26, 122, 110, 0.03) 20px,
      rgba(26, 122, 110, 0.03) 21px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ===== RESPONSIVE — nuevas secciones ===== */
@media (max-width: 768px) {
  .manifesto { padding: 72px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-item { border-left: none; border-bottom: 1px solid var(--border-light); padding: 24px 12px; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border-light); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 32px; }
  .manifesto-quote { font-size: 18px; }
  .leader-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ===== SWEETALERT2 — selector de idioma ===== */
.lang-swal-popup {
  border-radius: 6px !important;
  padding: 48px 40px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.10) !important;
  max-width: 520px !important;
  width: 92vw !important;
}
.lang-swal-popup .lang-modal { padding: 0; }
.lang-swal-popup .lang-prompt { margin-top: 0; }
.swal2-html-container { margin: 0 !important; padding: 0 !important; overflow: visible !important; }

/* ===== CONTACT FORM ===== */
.contact-form {
  margin-top: 48px;
  max-width: 620px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}
.form-field label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 600;
}
.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-light);
}
.form-field input.field-error,
.form-field textarea.field-error {
  border-color: #dc2626;
}
.form-field textarea { resize: vertical; min-height: 130px; }

.form-spacer { margin-bottom: 20px; }

.form-notice {
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
  display: none;
}
.form-notice.success {
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  color: var(--teal-dark);
  display: block;
}
.form-notice.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  display: block;
}

.submit-btn {
  margin-top: 8px;
  padding: 14px 36px;
  background: var(--teal);
  color: var(--white);
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.submit-btn:hover:not(:disabled) { background: var(--teal-dark); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
