/* ==========================================================================
   VozATexto — Design System
   ========================================================================== */

/* --- @font-face declarations --- */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-serif-display-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-serif-display-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/outfit-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/outfit-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/outfit-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/outfit-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/outfit-700.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-500.woff2') format('woff2');
}

/* --- Design Tokens --- */
:root {
  --ink:          #1a1a1f;
  --paper:        #faf9f6;
  --warm:         #f5f0e8;
  --accent:       #c45d3e;
  --accent-light: #e8a28c;
  --accent-dark:  #9e3a20;
  --muted:        #8a8680;
  --subtle:       #d4cfc7;
  --glass:        rgba(250, 249, 246, 0.85);

  --serif: 'DM Serif Display', Georgia, serif;
  --sans:  'Outfit', system-ui, sans-serif;
  --mono:  'JetBrains Mono', monospace;

  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  20px;
  --shadow:     0 2px 12px rgba(26, 26, 31, 0.06);
  --shadow-md:  0 4px 20px rgba(26, 26, 31, 0.10);
  --shadow-lg:  0 8px 30px rgba(26, 26, 31, 0.14);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Reset & Typography --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: 2.2rem; margin-bottom: 0.6em; }
h2 { font-size: 1.6rem; margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }

p { margin-bottom: 1em; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-dark); }

code, pre { font-family: var(--mono); }

hr {
  border: none;
  border-top: 1px solid var(--subtle);
  margin: 2rem 0;
}

/* --- Buttons --- */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em 1.6em;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(196, 93, 62, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--subtle);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  color: var(--ink);
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em 1.6em;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid #d32f2f;
  background: #d32f2f;
  color: #fff;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}
.btn-danger:hover {
  background: #b71c1c;
  border-color: #b71c1c;
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45em 1em;
  font-size: 0.85rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 2rem;
  transition: box-shadow var(--transition);
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(26, 26, 31, 0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo .accent { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links .btn-primary {
  padding: 0.5em 1.2em;
  font-size: 0.85rem;
}
.nav-links .btn-primary:hover { color: #fff; }

/* Language switcher in nav */
.lang-switcher {
  display: inline-flex;
  align-items: center;
}
.lang-switcher select {
  background: transparent;
  border: 1px solid var(--subtle);
  border-radius: var(--radius-sm);
  padding: 0.3em 0.5em;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink);
  cursor: pointer;
  outline: none;
}
.lang-switcher select:hover {
  border-color: var(--muted);
}

/* Logout button in nav */
.nav-logout-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: color var(--transition);
}
.nav-logout-btn:hover { color: var(--accent); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: var(--transition);
}

/* --- Footer --- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
}
.footer-logo .accent { color: var(--accent-light); }
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- App Layout (authenticated pages) --- */
.app-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 2rem 2rem;
  min-height: calc(100vh - 200px);
}

/* --- Messages / Alerts --- */
.messages-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
.alert {
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  border: 1px solid transparent;
}
.alert-info {
  background: #e8f0fe;
  color: #1a56db;
  border-color: #c6dbf7;
}
.alert-success {
  background: #ecfdf5;
  color: #166534;
  border-color: #bbf7d0;
}
.alert-warning {
  background: #fff8e1;
  color: #92400e;
  border-color: #fde68a;
}
.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

/* --- Cards --- */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* --- Form Card (auth pages) --- */
.form-card {
  max-width: 500px;
  margin: 2rem auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-card h1 {
  text-align: center;
  margin-bottom: 0.3em;
}
.form-card > p:first-of-type {
  text-align: center;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* --- Form Elements --- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="tel"],
input[type="url"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 0.7em 0.9em;
  border: 1px solid var(--subtle);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 93, 62, 0.12);
}

textarea { resize: vertical; min-height: 100px; }

label {
  display: inline-block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.3em;
  color: var(--ink);
}

/* Django form <p> wrapper */
form p {
  margin-bottom: 1rem;
}
form p label {
  display: block;
  margin-bottom: 0.3em;
}

/* Fieldset */
fieldset {
  border: 1px solid var(--subtle);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
legend {
  font-family: var(--serif);
  font-size: 1.1rem;
  padding: 0 0.5em;
  color: var(--ink);
}

/* Standalone button (non-classed) fallback */
button:not([class]),
form button[type="submit"]:not([class]) {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em 1.6em;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
  transition: all var(--transition);
}
button:not([class]):hover,
form button[type="submit"]:not([class]):hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(196, 93, 62, 0.3);
}

/* Error lists (Django) */
.errorlist {
  list-style: none;
  padding: 0;
  color: #991b1b;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.errorlist li {
  padding: 0.3em 0;
}

/* --- Tables --- */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.table thead th {
  background: var(--warm);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  border-bottom: 2px solid var(--subtle);
}
.table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--subtle);
  vertical-align: middle;
}
.table tbody tr:hover {
  background: rgba(245, 240, 232, 0.4);
}
.table tbody tr:last-child td {
  border-bottom: none;
}

/* --- Badges --- */
.badge {
  display: inline-block;
  padding: 0.2em 0.65em;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--warm);
  color: var(--ink);
}
.badge-accent {
  background: var(--accent);
  color: #fff;
}

/* --- Pagination --- */
.pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}
.pagination a {
  padding: 0.4em 0.8em;
  border: 1px solid var(--subtle);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
}
.pagination a:hover {
  border-color: var(--accent);
  background: rgba(196, 93, 62, 0.05);
}

/* --- Section Headers (app pages) --- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Filter Forms --- */
.filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  background: var(--warm);
  border-radius: var(--radius-sm);
}
.filter-form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}
.filter-form input,
.filter-form select {
  width: auto;
  min-width: 140px;
  font-size: 0.85rem;
  padding: 0.5em 0.7em;
}
.filter-form .btn-primary,
.filter-form .btn-ghost {
  padding: 0.5em 1em;
  font-size: 0.85rem;
}

/* --- Status badge colors --- */
.status-completed { color: #166534; }
.status-processing { color: #1a56db; }
.status-failed { color: #991b1b; }

/* --- Upload form area --- */
.upload-area {
  border: 2px dashed var(--subtle);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: border-color var(--transition);
  margin-bottom: 1.5rem;
}
.upload-area:hover {
  border-color: var(--accent-light);
}

/* --- Active job banner --- */
.active-job {
  padding: 1rem 1.5rem;
  background: var(--warm);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Landing Page
   ========================================================================== */

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
}
.hero::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  top: -10%;
  right: -10%;
  animation: heroFloat1 8s ease-in-out infinite;
}
.hero::after {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--warm) 0%, transparent 70%);
  bottom: -5%;
  left: -8%;
  animation: heroFloat2 10s ease-in-out infinite;
}
@keyframes heroFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 25px); }
}
@keyframes heroFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

/* Hero badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.4em 1.2em;
  border-radius: 999px;
  background: var(--warm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 0.5em;
}
.hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 30px;
  background: var(--accent);
  animation: scrollBounce 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* --- Section Base --- */
.landing-section {
  padding: 5rem 2rem;
}
.landing-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.landing-section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.4em;
}
.landing-section .section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 3rem;
}

/* Warm background sections */
.section-warm { background: var(--warm); }

/* Dark background section (Transparencia) */
.section-dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
}
.section-dark h2 { color: #fff; }
.section-dark .section-subtitle { color: rgba(255, 255, 255, 0.6); }

/* --- Steps Grid (#como) --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-number {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.step-card h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.step-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- Tier Grid (#servicios) --- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}
.tier-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
}
.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.tier-card.featured {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
}
.tier-card.featured h3 { color: #fff; }
.tier-card.featured .tier-price { color: #fff; }
.tier-card.featured .tier-feature::before { color: var(--accent-light); }
.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3em 1em;
  border-radius: 999px;
  white-space: nowrap;
}
.tier-card h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.tier-price {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.tier-price-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.tier-features {
  list-style: none;
  margin-bottom: 2rem;
}
.tier-feature {
  padding: 0.4em 0;
  font-size: 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 0.5em;
}
.tier-feature::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.tier-cta {
  display: block;
  text-align: center;
  width: 100%;
}

/* --- Use Cases Grid (#para-quien) --- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.usecase-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.usecase-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}
.usecase-card h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.usecase-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- Honesty Grid (#transparencia) --- */
.honesty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.honesty-item {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
}
.honesty-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
}
.honesty-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.honesty-item h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.3rem;
}
.honesty-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- CTA Final --- */
.cta-final {
  text-align: center;
  padding: 5rem 2rem;
}
.cta-final h2 {
  font-size: 2.2rem;
  max-width: 600px;
  margin: 0 auto 0.5em;
}
.cta-final p {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Section Label
   ========================================================================== */

.section-label {
  display: block;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   Privacidad y Seguridad Section
   ========================================================================== */

.privacy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.privacy-text .section-label {
  text-align: left;
}

.privacy-text h2 {
  text-align: left;
  font-size: 2.5rem;
}

.privacy-text > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35em 0.85em;
  border-radius: 999px;
  border: 1px solid var(--subtle);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
}

.privacy-cards-outer {
  background: var(--warm);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.privacy-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.privacy-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--subtle);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all var(--transition);
}

.privacy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.privacy-card-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 26, 31, 0.06);
  border-radius: var(--radius-sm);
}

.privacy-card h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.privacy-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Precios Section
   ========================================================================== */

.pricing-features-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--subtle);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}

.pricing-features-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.pricing-features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.5rem;
}

.pricing-features-list span {
  font-size: 0.85rem;
  color: var(--ink);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
}

.pricing-card-featured h3 {
  color: var(--accent);
}

.pricing-card-featured .pricing-price {
  color: #fff;
}

.pricing-card-featured .pricing-minutes {
  color: var(--accent);
}

.pricing-card-featured .pricing-tax {
  color: rgba(255, 255, 255, 0.5);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3em 1em;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.pricing-card h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.pricing-price {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.pricing-currency {
  font-size: 1.4rem;
}

.pricing-minutes {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.pricing-tax {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.pricing-cta {
  display: block;
  text-align: center;
  width: 100%;
}

.pricing-ppm {
  text-align: center;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-ppm a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.pricing-ppm a:hover {
  color: var(--accent);
}

.pricing-tax-promo {
  color: var(--accent);
  font-weight: 500;
}

.btn-pricing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 1.6em;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid var(--subtle);
  background: var(--warm);
  color: var(--ink);
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}
.btn-pricing:hover {
  background: var(--subtle);
  border-color: var(--muted);
  color: var(--ink);
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(26, 26, 31, 0.1);
    gap: 1rem;
  }
  .nav-cta-mobile {
    display: inline-flex !important;
  }
  .nav-toggle {
    display: block;
  }

  .hero h1 { font-size: 2.4rem; }
  .hero-subtitle { font-size: 1rem; }

  .steps-grid,
  .tier-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .usecase-grid,
  .honesty-grid {
    grid-template-columns: 1fr;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .privacy-text h2 {
    text-align: center;
  }
  .privacy-text .section-label {
    text-align: center;
  }
  .trust-badges {
    justify-content: center;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }

  /* App tables scroll */
  .table { min-width: 600px; }
}

@media (max-width: 600px) {
  .nav { padding: 0 1rem; }
  .landing-section { padding: 3rem 1rem; }
  .hero { padding: 100px 1rem 3rem; }
  .hero h1 { font-size: 2rem; }
  .app-container { padding: 80px 1rem 1.5rem; }
  .form-card { padding: 1.5rem; margin: 1rem auto; }
  .card { padding: 1.2rem; }
  .filter-form { padding: 0.75rem; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
}
