/* =========================================================
   PAGINAWEBIA — styles.css
   ========================================================= */

:root {
  --font-primary: "Sora", Arial, Helvetica, sans-serif;

  --brand-primary: #102752;
  --brand-primary-dark: #071426;
  --brand-secondary: #60738F;
  --brand-accent: #2BB8D6;
  --brand-accent-violet: #7667E8;
  --brand-background: #F6F8FC;
  --brand-surface: #FFFFFF;
  --brand-text: #17233A;
  --brand-muted: #68758A;
  --brand-border: #DCE4EE;
  --brand-radius: 22px;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: var(--brand-radius);
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(16, 39, 82, 0.06);
  --shadow-md: 0 12px 32px rgba(16, 39, 82, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 39, 82, 0.14);

  --container: 1180px;
  --header-h: 76px;
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--brand-text);
  background: var(--brand-background);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding-block: clamp(56px, 9vw, 108px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-accent-violet);
  margin-bottom: 14px;
}

h1, h2, h3 { font-family: var(--font-primary); color: var(--brand-primary-dark); }

.section-title {
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 30ch;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 44px;
}

.section-lede {
  color: var(--brand-muted);
  font-size: 1.05rem;
  max-width: 56ch;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--brand-primary-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--brand-primary-dark); }
.btn-secondary {
  background: var(--brand-surface);
  color: var(--brand-primary-dark);
  border-color: var(--brand-border);
}
.btn-secondary:hover { border-color: var(--brand-accent); }
.btn-ghost {
  background: transparent;
  color: var(--brand-primary-dark);
  border-color: var(--brand-border);
}
.btn-whatsapp {
  background: #1F9E56;
  color: #fff;
}
.btn-whatsapp:hover { background: #17803F; }
.btn-block { width: 100%; }
.btn[hidden] { display: none !important; }

/* -------------------- Header -------------------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(246, 248, 252, 0.82);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--brand-border);
  box-shadow: var(--shadow-sm);
  background: rgba(246, 248, 252, 0.96);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.site-logo img {
  display: block;
  width: auto;
  height: 42px;
  max-width: min(280px, 38vw);
  object-fit: contain;
}

@media (max-width: 768px) {
  .site-logo img {
    height: 34px;
    max-width: 190px;
  }
}

@media (max-width: 390px) {
  .site-logo img {
    height: 30px;
    max-width: 165px;
  }
}

.nav-desktop {
  display: none;
}
.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-desktop a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--brand-text);
  padding: 8px 2px;
  position: relative;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-desktop a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-border);
  background: var(--brand-surface);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-mobile {
  position: fixed;
  inset-inline: 16px;
  top: calc(var(--header-h) + 8px);
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  z-index: 99;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 2px; }
.nav-mobile a, .nav-mobile .btn {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding-inline: 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.nav-mobile a:hover { background: var(--brand-background); }
.nav-mobile .mobile-cta { margin-top: 8px; }

@media (min-width: 960px) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* -------------------- Hero -------------------- */
.hero {
  padding-top: calc(var(--header-h) + clamp(40px, 8vw, 80px));
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-copy { max-width: 760px; }

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--brand-primary-dark);
  margin-bottom: 24px;
}

.hero-text {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--brand-secondary);
  max-width: 56ch;
  margin-bottom: 10px;
}

.hero-microcopy {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-primary);
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-subline {
  font-size: 0.85rem;
  color: var(--brand-muted);
  max-width: 52ch;
}

/* Browser window mockup */
.browser-window {
  width: 100%;
  max-width: 550px;
  margin: 48px auto 0;
  background: var(--brand-surface);
  border-radius: 22px;
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: linear-gradient(180deg, #101E3A, #0C1730);
}
.browser-dots { display: flex; gap: 7px; }
.browser-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.browser-address {
  flex: 1;
  height: 30px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  padding-inline: 14px;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
}

.canvas-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 16px 0;
  background: var(--brand-background);
  border-bottom: 1px solid var(--brand-border);
}
.canvas-tabs [role="tab"] {
  background: transparent;
  border: none;
  padding: 12px 18px;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand-muted);
  border-bottom: 3px solid transparent;
}
.canvas-tabs [role="tab"]:hover { color: var(--brand-primary); }
.canvas-tabs [role="tab"][aria-selected="true"] {
  color: var(--brand-primary-dark);
  background: var(--brand-surface);
  border-bottom-color: var(--brand-accent);
}

.canvas-panels {
  background: var(--brand-surface);
  padding: clamp(20px, 4vw, 44px);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.canvas-panel { width: 100%; }
.canvas-panel[hidden] { display: none; }
.canvas-panel img { width: 100%; height: auto; }
/* Vista previa de la página real de PROLI */
.proli-live-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--brand-border);
  background: #ffffff;
}

/* La página se muestra reducida dentro del recuadro */
.proli-live-preview iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 125%;
  height: 125%;
  border: 0;
  transform: scale(0.8);
  transform-origin: top left;
  pointer-events: none;
}

/* Toda la vista previa funciona como enlace */
.proli-live-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
  cursor: pointer;
}

.proli-live-overlay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(7, 20, 38, 0.92);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(7, 20, 38, 0.24);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.proli-live-overlay:hover span {
  transform: translateY(-2px);
  background: var(--brand-primary);
}

@media (max-width: 600px) {
  .browser-window {
    max-width: 100%;
    margin-top: 36px;
  }

  .canvas-tabs {
    overflow-x: auto;
  }

  .canvas-tabs [role="tab"] {
    flex-shrink: 0;
    padding-inline: 14px;
    font-size: 0.8rem;
  }

  .canvas-panels {
    min-height: 0;
    padding: 14px;
  }

  .proli-live-preview {
    aspect-ratio: 4 / 3;
  }

  .proli-live-preview iframe {
    width: 125%;
    height: 125%;
    transform: scale(0.8);
  }

  .proli-live-overlay {
    padding: 10px;
  }

  .proli-live-overlay span {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
}
.canvas-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-secondary);
  background: var(--brand-background);
  border: 1px solid var(--brand-border);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}
.canvas-note .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-accent);
}

.ai-note {
  font-size: 0.82rem;
  color: var(--brand-muted);
  margin-top: 18px;
}

/* -------------------- Trust strip -------------------- */
.trust-strip {
  padding-block: 40px;
  border-block: 1px solid var(--brand-border);
  background: var(--brand-surface);
}
.trust-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-item .icon-wrap {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-background);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-primary);
}
.trust-item .icon-wrap svg { width: 22px; height: 22px; }
.trust-item span { font-weight: 500; font-size: 0.92rem; color: var(--brand-text); }

/* -------------------- How it works -------------------- */
.steps {
  display: grid;
  gap: 28px;
  counter-reset: step;
  position: relative;
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--brand-border) 0 10px, transparent 10px 18px);
    z-index: 0;
  }
}
.step {
  position: relative;
  z-index: 1;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.step-index {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.step h3 {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.step p { color: var(--brand-muted); font-size: 0.96rem; }

.steps-highlight {
  margin-top: 34px;
  text-align: center;
  font-weight: 600;
  color: var(--brand-primary);
  font-size: 1.02rem;
}

/* -------------------- Options -------------------- */
.options-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 860px) {
  .options-grid { grid-template-columns: repeat(2, 1fr); }
}
.option-card {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.option-card.is-featured {
  border-color: var(--brand-accent-violet);
  box-shadow: var(--shadow-md);
}
.option-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--brand-background);
  color: var(--brand-accent-violet);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.option-card h3 { font-size: 1.3rem; font-weight: 700; }
.option-card > p { color: var(--brand-muted); }
.option-list { display: flex; flex-direction: column; gap: 10px; }
.option-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--brand-text);
}
.option-list svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  color: var(--brand-accent);
}
.option-card .btn { margin-top: auto; }

.options-footnote {
  margin-top: 28px;
  text-align: center;
  color: var(--brand-muted);
  font-size: 0.95rem;
}

/* -------------------- PROLI case -------------------- */
.proli-section {
  background: var(--brand-primary-dark);
  color: #EAF1FB;
  border-radius: 32px;
  margin-inline: 16px;
}
.proli-section .container { max-width: calc(var(--container) - 32px); }
.proli-section .eyebrow { color: var(--brand-accent); }
.proli-section .section-title { color: #fff; }
.proli-section .section-lede { color: #B7C4DA; }

.proli-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .proli-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.proli-visual {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.proli-visual img { border-radius: 14px; }
.proli-visual figcaption {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #9FB0CC;
  text-align: center;
}

.proli-actions { margin-top: 28px; }

/* -------------------- Form -------------------- */
.contact-form {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  gap: 20px;
}
@media (min-width: 720px) {
  .contact-form { grid-template-columns: 1fr 1fr; }
  .form-full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field .optional { font-weight: 400; color: var(--brand-muted); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-primary);
  font-size: 0.98rem;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-border);
  background: var(--brand-background);
  color: var(--brand-text);
  min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand-accent);
  background: var(--brand-surface);
}
.field-help {
  font-size: 0.82rem;
  color: var(--brand-muted);
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
}

.form-privacy-note {
  font-size: 0.82rem;
  color: var(--brand-muted);
}
.form-privacy-note a { text-decoration: underline; }

/* -------------------- Quiénes somos -------------------- */
.nosotros-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 40px;
}
@media (min-width: 960px) {
  .nosotros-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

.nosotros-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.nosotros-intro p { color: var(--brand-text); font-size: 1.02rem; }
.nosotros-intro p:first-child { color: var(--brand-primary-dark); font-weight: 500; }

.philosophy-card {
  position: relative;
  overflow: hidden;
  background: var(--brand-primary-dark);
  color: #EAF1FB;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 40px);
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.philosophy-h {
  position: absolute;
  top: -0.15em;
  right: 0.1em;
  font-size: clamp(7rem, 14vw, 11rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
  user-select: none;
}
.philosophy-quote {
  position: relative;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  color: #FFFFFF;
  margin-bottom: 18px;
  max-width: 46ch;
}
.philosophy-text {
  position: relative;
  color: #B7C4DA;
  font-size: 0.98rem;
  max-width: 48ch;
}

.principles-grid {
  display: grid;
  gap: 22px;
  margin-bottom: 26px;
}
@media (min-width: 860px) {
  .principles-grid { grid-template-columns: repeat(3, 1fr); }
}
.principle-card {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.principle-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.principle-card p { color: var(--brand-muted); font-size: 0.95rem; }

.principles-closing {
  text-align: center;
  color: var(--brand-secondary);
  font-style: italic;
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: 48px;
}

.team-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-primary-dark);
  margin-bottom: 20px;
  text-align: center;
}
.team-grid {
  display: grid;
  gap: 22px;
}
@media (min-width: 720px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
.team-card {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: left;
}
.team-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-background);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.team-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--brand-primary-dark);
  margin-bottom: 2px;
}
.team-role {
  color: var(--brand-accent-violet);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.team-card > p:last-child { color: var(--brand-muted); font-size: 0.95rem; }

/* -------------------- Footer meta -------------------- */
.footer-meta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-meta p {
  font-size: 0.78rem;
  color: var(--brand-muted);
}

/* -------------------- Footer -------------------- */
.site-footer {
  padding-block: 48px 32px;
  border-top: 1px solid var(--brand-border);
  background: var(--brand-surface);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.footer-brand p { color: var(--brand-muted); font-size: 0.9rem; }

.footer-logo { display: inline-flex; line-height: 0; }
.footer-logo img {
  display: block;
  width: auto;
  height: 54px;
  max-width: 300px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .footer-logo img {
    height: 44px;
    max-width: 230px;
  }
}
.footer-nav { display: flex; gap: 46px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-muted);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; }
.footer-col a:hover { color: var(--brand-accent-violet); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--brand-border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: var(--brand-muted);
  font-size: 0.84rem;
}

/* -------------------- Simple pages (gracias / 404 / privacidad) -------------------- */
.simple-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.simple-page main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 24px 60px;
}
.simple-card {
  max-width: 560px;
  text-align: center;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-md);
}
.simple-card img { height: 40px; margin-inline: auto; margin-bottom: 24px; }
.simple-card h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 14px;
}
.simple-card p { color: var(--brand-muted); margin-bottom: 26px; }
.simple-card .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* -------------------- Legal page -------------------- */
.legal-page main {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
}
.legal-page h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin-bottom: 8px;
}
.legal-updated { color: var(--brand-muted); font-size: 0.9rem; margin-bottom: 36px; }
.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 34px;
  margin-bottom: 12px;
}
.legal-page p, .legal-page li { color: var(--brand-text); font-size: 0.98rem; }
.legal-page ul { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; padding-left: 20px; list-style: disc; }
.legal-page a { text-decoration: underline; }
.legal-back { margin-top: 44px; }

/* -------------------- Utility animations -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
/* Separación entre la filosofía y los principios */
#nosotros .principles-grid {
  margin-top: clamp(32px, 4vw, 56px) !important;
}
@media (max-width: 768px) {
  #nosotros .principles-grid {
    margin-top: 28px !important;
  }
}