/* ═══════════════════════════════════════════════════
   KAZALO — main.css (Unified stylesheet)
   Combina styles.css + contacto.css para todas las páginas
   ═══════════════════════════════════════════════════ */

/* ─── RESET & ROOT ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #F5F5F7;
  --bg-white:    #FFFFFF;
  --text-primary:#1D1D1F;
  --text-muted:  #6E6E73;
  --text-light:  #A1A1A6;
  --accent:      #0071E3;
  --accent-hover:#0077ED;
  --accent-dark: #0051A2;
  --border:      rgba(0,0,0,0.08);
  --radius:      18px;
  --radius-lg:   28px;
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 40px rgba(0,0,0,0.10);
  --shadow-lg:   0 24px 80px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Mona Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: 52px;
  background: rgba(245,245,247,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.nav-logo {
  font-family: 'Mona Sans', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 400;
  color: var(--text-primary); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 980px;
  text-decoration: none; transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--accent-hover); transform: scale(1.02); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(0,113,227,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,113,227,0.08);
  padding: 5px 14px; border-radius: 980px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease both;
}
.hero h1 {
  font-family: 'Mona Sans', sans-serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  max-width: 900px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 em {
  font-style: normal;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.5;
  margin: 24px auto 0;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  animation: fadeUp 0.7s 0.3s ease both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-size: 17px; font-weight: 600;
  padding: 14px 30px; border-radius: 980px;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,113,227,0.35);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
  box-shadow: 0 6px 28px rgba(0,113,227,0.45);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.06); color: var(--text-primary);
  font-size: 17px; font-weight: 600;
  padding: 14px 30px; border-radius: 980px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-secondary:hover { background: rgba(0,0,0,0.10); transform: scale(1.02); }

.hero-scroll-hint {
  margin-top: 60px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-light); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  animation: fadeUp 0.7s 0.5s ease both;
}
.scroll-arrow { width: 20px; height: 20px; animation: bounce 2s infinite; }
.scroll-arrow svg { display: block; }

/* ─── SECTION SHARED ─── */
section { padding: 120px 24px; }
.container { max-width: 1080px; margin: 0 auto; }
.section-label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-title {
  font-family: 'Mona Sans', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
}
.section-title em {
  font-style: normal;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
}
.section-sub {
  font-size: 18px; font-weight: 300; color: var(--text-muted);
  line-height: 1.6; max-width: 500px; margin-top: 16px;
}

/* ─── FEATURES GRID ─── */
#funciones { background: var(--bg-white); }
.features-intro { text-align: center; margin-bottom: 72px; }
.features-intro .section-sub { max-width: 600px; margin: 16px auto 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.feature-card {
  background: var(--bg);
  padding: 44px 36px;
  transition: background .2s;
  border-radius: 0;
}
.feature-card:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.feature-card:last-child  { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.feature-card:hover { background: #EBEBED; }
.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.feature-icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.8; }
.feature-card h3 {
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text-primary); margin-bottom: 10px;
}
.feature-card p { font-size: 15px; font-weight: 300; color: var(--text-muted); line-height: 1.6; }

/* ─── SHOWCASE SECTIONS ─── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.showcase.reverse { direction: rtl; }
.showcase.reverse > * { direction: ltr; }
.showcase-text .section-sub { max-width: 420px; }
.showcase-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform .4s ease, box-shadow .4s ease;
}
.showcase-img:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 40px 100px rgba(0,0,0,0.18);
}
.showcase-img img { width: 100%; display: block; }
.showcase-disclaimer {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
  margin-top: 10px;
  opacity: 0.7;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag {
  font-size: 13px; font-weight: 600;
  padding: 5px 14px; border-radius: 980px;
  background: rgba(0,113,227,0.1); color: var(--accent);
}

/* ─── ALTERNATING BG ─── */
.bg-white { background: var(--bg-white); }
.bg-gray  { background: var(--bg); }

/* ─── COMMUNITY / CONTACT SECTION ─── */
#contacto {
  background: var(--text-primary);
  padding: 120px 24px;
}
.contact-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.contact-title {
  font-family: 'Mona Sans', sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800; letter-spacing: -0.03em;
  color: #fff; line-height: 1.05;
}
.contact-title em {
  font-style: normal;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  color: #6CB8FF;
}
.contact-sub { font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.55); margin-top: 16px; line-height: 1.6; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 24px 28px;
  text-decoration: none;
  display: flex; align-items: center; gap: 18px;
  transition: background .2s, transform .15s, border-color .2s;
}
.contact-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
  transform: translateX(4px);
}
.contact-card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card-icon.email  { background: rgba(0,113,227,0.25); }
.contact-card-icon.discord { background: rgba(88,101,242,0.30); }
.contact-card-icon svg { width: 22px; height: 22px; }
.contact-card-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.contact-card-value { font-size: 16px; font-weight: 500; color: #fff; }

/* ─── FOOTER ─── */
footer {
  background: var(--text-primary);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-logo {
  font-family: 'Mona Sans', sans-serif;
  font-weight: 800; font-size: 18px;
  letter-spacing: -0.5px;
  color: #fff; text-decoration: none;
}
.footer-logo span { color: #6CB8FF; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); font-weight: 300; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,0.75); }

/* ═══════════════════════════════════════════════════
   CONTACT PAGE LAYOUT & FORMS
   ═══════════════════════════════════════════════════ */

/* ─── PAGE LAYOUT ─── */
.contact-page {
  min-height: 100vh;
  padding-top: 52px; /* nav height */
  display: grid;
  grid-template-columns: 420px 1fr;
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
}

/* ─── LEFT SIDEBAR ─── */
.contact-sidebar {
  background: var(--text-primary);
  padding: 80px 52px 60px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: sticky;
  top: 52px;
  height: calc(100vh - 52px);
  overflow-y: auto;
}

.sidebar-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.sidebar-title {
  font-family: 'Mona Sans', sans-serif;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  color: #fff;
}
.sidebar-title em {
  font-style: normal;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  color: #6CB8FF;
}
.sidebar-sub {
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,0.50);
  line-height: 1.65; margin-top: 14px;
}

/* Channel cards */
.sidebar-channels { display: flex; flex-direction: column; gap: 12px; }

.channel-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .15s;
}
.channel-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.16);
  transform: translateX(4px);
}
.channel-icon {
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.channel-icon.email   { background: rgba(0,113,227,0.28); color: #6CB8FF; }
.channel-icon.discord { background: rgba(88,101,242,0.32); color: #A5ADFF; }
.channel-icon svg     { width: 20px; height: 20px; }
.channel-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.channel-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.channel-value { font-size: 14px; font-weight: 500; color: #fff; }
.channel-arrow { width: 16px; height: 16px; color: rgba(255,255,255,0.25); flex-shrink: 0; }

/* Note */
.sidebar-note {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.30);
}
.sidebar-note svg { flex-shrink: 0; color: rgba(255,255,255,0.25); }

/* ─── FORM WRAPPER ─── */
.contact-form-wrap {
  background: var(--bg);
  padding: 80px 64px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 52px 48px;
  width: 100%;
  max-width: 560px;
}

.form-header { margin-bottom: 40px; }
.form-title {
  font-family: 'Mona Sans', sans-serif;
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text-primary);
}
.form-sub {
  font-size: 15px; font-weight: 300; color: var(--text-muted);
  margin-top: 6px; line-height: 1.5;
}

/* ─── FORM FIELDS ─── */
.contact-form { display: flex; flex-direction: column; gap: 24px; }

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-group { display: flex; flex-direction: column; gap: 7px; }

.field-group label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--text-primary);
}

/* Input wrapper */
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute; left: 14px;
  width: 16px; height: 16px;
  color: var(--text-light);
  pointer-events: none;
  transition: color .2s;
  z-index: 1;
}
.select-chevron {
  position: absolute; right: 14px;
  width: 16px; height: 16px;
  color: var(--text-light);
  pointer-events: none;
}

/* Base input/select/textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: 'Mona Sans', sans-serif;
  font-size: 15px; font-weight: 400;
  color: var(--text-primary);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px 11px 38px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form select { cursor: pointer; }
.contact-form textarea {
  resize: vertical;
  min-height: 130px;
  padding: 14px 14px 32px;
  line-height: 1.55;
  padding-left: 14px;
}
.textarea-wrap .input-icon { display: none; }

/* Focus */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.12);
}
.contact-form input:focus ~ .input-icon,
.contact-form select:focus ~ .input-icon { color: var(--accent); }

/* Char counter */
.char-count {
  position: absolute; bottom: 10px; right: 14px;
  font-size: 11px; font-weight: 500; color: var(--text-light);
  pointer-events: none;
  transition: color .2s;
}
.char-count.near-limit { color: #FF6B35; }

/* ─── VALIDATION STATES ─── */
.field-error {
  font-size: 12px; font-weight: 500;
  color: #D70015;
  display: none;
}
.field-group.has-error .field-error { display: block; }

.field-group.has-error input,
.field-group.has-error select,
.field-group.has-error textarea {
  border-color: #D70015;
  box-shadow: 0 0 0 3px rgba(215,0,21,0.10);
}
.field-group.is-valid input,
.field-group.is-valid select,
.field-group.is-valid textarea {
  border-color: #30A84B;
}
.field-group.is-valid .input-icon { color: #30A84B; }

/* ─── CHECKBOX ─── */
.form-footer-row { display: flex; flex-direction: column; gap: 6px; }
.checkbox-label  { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }

.checkbox-label input[type="checkbox"] { display: none; }

.checkbox-custom {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  background: var(--bg);
  transition: background .15s, border-color .15s;
  position: relative;
}
.checkbox-label input:checked + .checkbox-custom {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  position: absolute; top: 2px; left: 5px;
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}
.checkbox-text { font-size: 13px; font-weight: 400; color: var(--text-muted); line-height: 1.5; }
.checkbox-text a { color: var(--accent); text-decoration: none; }
.checkbox-text a:hover { text-decoration: underline; }

.checkbox-error { margin-left: 28px; }
.form-footer-row.has-error .checkbox-custom { border-color: #D70015; }
.form-footer-row.has-error .checkbox-error  { display: block; }

/* ─── SUBMIT BUTTON ─── */
.form-submit {
  border: none; cursor: pointer;
  width: 100%; justify-content: center;
  font-size: 16px;
  margin-top: 4px;
}
.form-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none !important; }
.spin { animation: spinAnim 0.8s linear infinite; }

/* ─── SUCCESS STATE ─── */
.form-success[hidden] { display: none !important; }
.form-success:not([hidden]) {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 40px 0;
  gap: 16px;
}
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(48,168,75,0.10);
  display: flex; align-items: center; justify-content: center;
}
.success-icon svg { width: 32px; height: 32px; stroke: #30A84B; }
.form-success h3 {
  font-family: 'Mona Sans', sans-serif;
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text-primary);
}
.form-success p { font-size: 15px; font-weight: 300; color: var(--text-muted); max-width: 340px; line-height: 1.6; }
.reset-btn { cursor: pointer; border: none; margin-top: 8px; font-size: 15px; }

/* ═══════════════════════════════════════════════════
   POLICY & PRIVACY PAGE STYLES
   ═══════════════════════════════════════════════════ */

/* Table of Contents */
.policy-toc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.toc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .15s;
  cursor: pointer;
}
.toc-item:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.16);
  transform: translateX(4px);
}
.toc-item.active { background: rgba(255,255,255,0.10); }
.toc-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  width: 18px; flex-shrink: 0; text-align: right;
}
.toc-text {
  font-size: 14px; font-weight: 500;
  color: #fff;
  line-height: 1.3;
  transition: color .2s;
  flex: 1;
}
.toc-item:hover .toc-text,
.toc-item.active .toc-text { color: #fff; }
.toc-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0; margin-left: auto;
  transition: background .2s;
}
.toc-item.active .toc-dot { background: #6CB8FF; }

.sidebar-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 48px 0;
}

.sidebar-meta {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.sidebar-meta p {
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.30);
  line-height: 1.6;
  margin: 0;
}
.sidebar-meta strong { font-weight: 600; color: rgba(255,255,255,0.40); }

/* Policy content */
.policy-wrap {
  background: var(--bg);
  padding: 80px 64px;
  min-height: calc(100vh - 52px);
}
.policy-content {
  max-width: 620px;
}

.policy-intro {
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.policy-intro .section-label { margin-bottom: 12px; }
.policy-intro h1 {
  font-family: 'Mona Sans', sans-serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  color: var(--text-primary);
}
.policy-intro h1 em {
  font-style: normal;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
}
.policy-intro p {
  font-size: 16px; font-weight: 300; color: var(--text-muted);
  margin-top: 16px; line-height: 1.7; max-width: 540px;
}
.policy-date {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-light);
  margin-top: 20px;
}
.policy-date svg { width: 13px; height: 13px; color: var(--text-light); }

/* Sections */
.policy-section {
  margin-bottom: 56px;
  scroll-margin-top: 80px;
}
.policy-section-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.policy-section-num {
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(0,113,227,0.08);
  padding: 3px 9px; border-radius: 980px;
  flex-shrink: 0;
}
.policy-section h2 {
  font-family: 'Mona Sans', sans-serif;
  font-size: 20px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text-primary);
}
.policy-section p {
  font-size: 15px; font-weight: 300; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 14px;
}
.policy-section p:last-child { margin-bottom: 0; }
.policy-section strong { font-weight: 600; color: var(--text-primary); }

/* Info box */
.info-box {
  background: rgba(0,113,227,0.06);
  border: 1px solid rgba(0,113,227,0.14);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 18px 0;
  display: flex; gap: 12px; align-items: flex-start;
}
.info-box svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.info-box p { font-size: 14px; font-weight: 400; color: var(--text-primary); margin: 0; line-height: 1.6; }

/* List */
.policy-list {
  list-style: none; padding: 0; margin: 14px 0;
  display: flex; flex-direction: column; gap: 8px;
}
.policy-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; font-weight: 300; color: var(--text-muted); line-height: 1.6;
}
.policy-list li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 8px;
}

/* Rights grid */
.rights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}
.right-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.right-card-title {
  font-size: 13px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 5px; display: flex; align-items: center; gap: 7px;
}
.right-card-title svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 2; }
.right-card p { font-size: 13px; font-weight: 300; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* Divider */
.policy-divider {
  border: none; border-top: 1px solid var(--border); margin: 48px 0;
}

/* Contact inline */
.policy-contact-row {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px;
}
.policy-contact-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 980px;
  padding: 9px 18px;
  font-size: 14px; font-weight: 500; color: var(--text-primary);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.policy-contact-pill svg { width: 15px; height: 15px; stroke: var(--accent); fill: none; stroke-width: 2; }
.policy-contact-pill:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.10);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}
@keyframes spinAnim {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Scroll-reveal */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: 1fr; gap: 2px; }
  .feature-card:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .feature-card:last-child  { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .showcase, .showcase.reverse, .contact-inner {
    grid-template-columns: 1fr; direction: ltr; gap: 48px;
  }
  .nav-links { display: none; }
  .contact-page {
    grid-template-columns: 1fr;
  }
  .contact-sidebar {
    position: static;
    height: auto;
    padding: 72px 32px 52px;
  }
  .policy-wrap { padding: 48px 28px; }
  .rights-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .contact-form-wrap { padding: 40px 20px; }
  .form-card         { padding: 36px 24px; }
  .form-row.two-col  { grid-template-columns: 1fr; }
  .policy-wrap { padding: 36px 20px; }
}

/* ═══════════════════════════════════════════════════
   PRICING PAGE
   ═══════════════════════════════════════════════════ */

.pricing-page {
  padding: 100px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.pricing-header h1 {
  font-family: 'Mona Sans', sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-top: 8px;
}
.pricing-header h1 em {
  font-style: normal;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
}
.pricing-intro {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 18px;
}
.pricing-note {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 14px;
}

/* ── Toggle mensual / anual ── */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  position: relative;
}

.pricing-toggle-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .25s;
  user-select: none;
}
.pricing-toggle-label.active {
  color: var(--text-primary);
  font-weight: 700;
}

.pricing-toggle-switch {
  position: relative;
  width: 52px;
  height: 29px;
  border: none;
  border-radius: 980px;
  background: var(--accent);
  cursor: pointer;
  padding: 0;
  transition: background .3s;
  flex-shrink: 0;
}
.pricing-toggle-switch[aria-checked="true"] {
  background: var(--accent-dark);
}
.pricing-toggle-switch:hover {
  opacity: 0.9;
}

.pricing-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.16);
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pricing-toggle-switch[aria-checked="true"] .pricing-toggle-thumb {
  transform: translateX(23px);
}

.pricing-toggle-save {
  position: absolute;
  top: -28px;
  right: -20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #30A84B;
  background: rgba(48,168,75,0.10);
  padding: 3px 11px;
  border-radius: 980px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.pricing-toggle-save.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Visibilidad precios mensual/anual ── */
.pricing-price-annual { display: none !important; }
.pricing-grid.show-annual .pricing-price-monthly { display: none !important; }
.pricing-grid.show-annual .pricing-price-annual { display: flex !important; }

.pricing-annual-billing {
  display: block;
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
  flex-basis: 100%;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: 0 12px 48px rgba(0,113,227,0.18);
  transform: scale(1.02);
  z-index: 1;
}
.pricing-card-featured:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,113,227,0.22);
}

.pricing-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 5px 14px;
  border-radius: 980px;
  white-space: nowrap;
}

.pricing-card-top { margin-bottom: 24px; }
.pricing-plan-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.pricing-plan-tagline {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
  min-height: 2.8em;
}

.pricing-plan-hint {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent);
  background: rgba(0,113,227,0.08);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 980px;
  margin-top: 12px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 20px;
}
.pricing-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
}
.pricing-card-featured .pricing-amount { color: var(--accent); }
.pricing-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-left: 2px;
}
.pricing-period {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}
.pricing-iva {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  margin-left: 8px;
  align-self: center;
  white-space: nowrap;
}

.pricing-features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
  padding: 0;
}
.pricing-features li {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.45;
  padding-left: 22px;
  position: relative;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,113,227,0.25);
}
.pricing-card-featured .pricing-features li::before {
  background: var(--accent);
}
.pricing-features strong { font-weight: 600; color: var(--text-primary); }
.pricing-features-muted {
  opacity: 0.55;
}
.pricing-features-muted::before {
  background: var(--text-light) !important;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 12px 20px;
  margin-top: auto;
}

.pricing-faq {
  margin-top: 88px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.pricing-faq-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 40px;
}
.pricing-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  max-width: 800px;
  margin: 0 auto;
}
.pricing-faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.pricing-faq-item p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}
.pricing-faq-item a {
  color: var(--accent);
  text-decoration: none;
}
.pricing-faq-item a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .pricing-card-featured {
    transform: none;
  }
  .pricing-card-featured:hover {
    transform: translateY(-4px);
  }
  .pricing-toggle-save {
    position: static;
    margin-left: 4px;
  }
}

@media (max-width: 620px) {
  .pricing-page { padding: 88px 16px 60px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-faq-grid { grid-template-columns: 1fr; }
}