:root {
  --bg: #f8f9fc;
  --bg-soft: #f0f2f7;
  --surface: #ffffff;
  --surface-strong: #f4f6fb;
  --border: #e2e6ef;
  --border-2: #cdd4e0;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #f58220;
  --accent-2: #ffb23e;
  --brand-50: #fff4ea;
  --brand-100: #ffe8cc;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.08), 0 1px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.10), 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.13), 0 4px 12px rgba(15, 23, 42, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.cppa-v2 {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

/* ── HEADER (oscuro para logo blanco) ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 11, 18, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

#mobile-menu {
  display: none;
  background: rgba(8, 14, 25, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#mobile-menu.show {
  display: block;
}

.nav-link {
  color: #dde6f6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent);
}

/* ── LAYOUT ── */
.site-main {
  padding: 30px 16px 80px;
}

.site-main.home-open {
  padding-top: 0;
}

.section-intro {
  padding: clamp(32px, 7vw, 72px) 0;
}

.section-shell {
  width: min(1160px, 100%);
  margin: 0 auto;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 44px);
}

.home-open .section-shell {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

/* Sección alternada clara */
.home-open > #soluciones,
.home-open > #metodo,
.home-open > #contacto,
.home-open > #portal-profesor {
  background: var(--bg-soft);
}

/* Sección ALMA y quiénes somos: fondo con toque cálido */
.home-open > #alma,
.home-open > #quienes-somos,
.home-open > #experiencia-alumno,
.home-open > #alma-beneficios {
  background: linear-gradient(160deg, #ffffff 0%, #f4f7ff 55%, var(--brand-50) 100%);
}

/* ── HERO ── */
.hero-clean {
  position: relative;
  overflow: hidden;
  margin-left: 0;
  margin-right: 0;
  padding: clamp(76px, 12vw, 136px) 0 clamp(56px, 9vw, 108px);
  background: linear-gradient(160deg, #ffffff 0%, #eef2ff 55%, #fff4ea 100%);
}

.hero-clean::before,
.hero-clean::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero-clean::before {
  top: -180px;
  left: -160px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.10), transparent 72%);
}

.hero-clean::after {
  top: -180px;
  right: -160px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(90, 140, 255, 0.07), transparent 72%);
}

.hero-clean > .max-w-7xl {
  position: relative;
  z-index: 1;
}

.hero-clean__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}

.hero-clean__layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.hero-clean__content {
  max-width: 780px;
}

.hero-clean__lead {
  max-width: 700px;
}

.hero-clean__visual img {
  width: clamp(180px, 24vw, 360px);
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 38px rgba(15, 23, 42, 0.12));
}

.hero-clean .kpi-row {
  margin: 24px 0 30px;
  gap: 12px;
}

.hero-clean .kpi-chip {
  border-color: var(--border);
  background: var(--surface);
  color: #374151;
  font-weight: 600;
}

.hero-clean .btn-ghost {
  background: var(--surface);
  border-color: var(--border-2);
  color: var(--text);
}

/* ── KPI CHIPS ── */
.kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 24px;
}

.kpi-chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: #374151;
  font-size: 0.92rem;
  font-weight: 500;
}

/* ── HERO MEDIA ── */
.hero-media {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 14px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-note {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 22px;
}

.hero-points {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.hero-metrics {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-metrics article {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 12px;
}

.hero-metric-value {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.hero-metric-label {
  margin: 2px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

/* ── SECTION HEAD ── */
.section-head {
  text-align: center;
  margin-bottom: 22px;
}

.section-head p {
  margin: 10px auto 0;
  max-width: 760px;
  color: var(--muted);
}

/* ── FEATURE GRID ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: box-shadow 0.15s, transform 0.15s;
}

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

.feature-card p {
  color: var(--muted);
}

.feature-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.feature-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px;
}

/* ── STEP GRID ── */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 28px 22px;
  box-shadow: var(--shadow);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px rgba(245, 130, 32, 0.22);
}

/* ── VALUES GRID ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.value-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.value-icon {
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}

/* ── ALMA GALLERY ── */
.alma-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 14px;
}

.alma-shot {
  margin: 0;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 10px;
  box-shadow: var(--shadow);
}

.alma-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
}

.alma-shot--phone {
  width: 100%;
  max-width: 420px;
  justify-self: center;
}

.alma-shot--phone img {
  aspect-ratio: 632 / 760;
  object-fit: cover;
  background: transparent;
}

.alma-shot--main img {
  aspect-ratio: 16 / 9;
}

.alma-shot figcaption {
  margin-top: 8px;
  color: #374151;
  font-weight: 600;
  font-size: 0.92rem;
}

.alma-portal {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
}

.alma-portal__head {
  margin-bottom: 0;
}

.alma-shot--portal-wide {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.alma-shot--portal-wide img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--bg-soft);
}

/* ── ALMA INTRO (sección en home) ── */
.alma-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, 0.92fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
}

.alma-intro__copy h2 {
  margin: 0;
}

.alma-intro__lead {
  margin: 18px 0 26px;
  max-width: 760px;
  font-size: clamp(1.1rem, 1.9vw, 1.26rem);
  color: var(--muted);
}

.alma-intro__items {
  display: grid;
  gap: 20px;
}

.alma-intro__item h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.alma-intro__item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.45vw, 1.16rem);
}

.alma-intro__visual {
  margin: 0;
  justify-self: end;
  text-align: center;
}

.alma-intro__visual img {
  width: min(100%, 440px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 18px 40px rgba(15, 23, 42, 0.12));
}

.alma-intro__visual figcaption {
  margin-top: 14px;
  color: var(--text);
  font-weight: 700;
  font-size: clamp(1.22rem, 2vw, 2rem);
  letter-spacing: -0.012em;
}

/* ── ALMA LANDING (sección home rediseñada) ── */
.alma-landing-hero {
  text-align: center;
  padding: clamp(48px, 8vw, 80px) clamp(16px, 4vw, 32px) clamp(32px, 5vw, 56px);
}

.alma-landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 130, 32, 0.10);
  border: 1px solid rgba(245, 130, 32, 0.25);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.alma-landing-hero h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 20px;
}

.alma-landing-hero h2 span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.alma-landing-hero .alma-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.alma-landing-hero .hero-note-light {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 12px;
}

.alma-features-mini {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 40px 0;
  text-align: left;
}

.alma-feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s, transform 0.15s;
}

.alma-feat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.alma-feat-card .feat-icon {
  font-size: 26px;
  margin-bottom: 12px;
  display: block;
}

.alma-feat-card h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--text);
}

.alma-feat-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.alma-pricing-mini {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 820px;
  margin: 0 auto 40px;
}

.alma-plan-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 32px 28px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s;
}

.alma-plan-card:hover {
  box-shadow: var(--shadow-md);
}

.alma-plan-card.featured {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(245, 130, 32, 0.16);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.alma-plan-card .plan-name {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}

.alma-plan-card .plan-price {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.alma-plan-card .plan-price sup {
  font-size: 20px;
  vertical-align: super;
}

.alma-plan-card .plan-period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.alma-plan-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  text-align: left;
}

.alma-plan-card .plan-features li {
  font-size: 13px;
  color: #374151;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.alma-plan-card .plan-features li:last-child {
  border-bottom: none;
}

.alma-plan-card .plan-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
  flex-shrink: 0;
}

/* ── TEAM PHOTO ── */
.hero-media.team-photo {
  max-width: 500px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-media.team-photo img {
  aspect-ratio: auto;
  object-fit: contain;
  width: 100%;
  height: auto;
  max-height: 520px;
}

/* ── SECTION CTA ── */
.section-cta {
  margin-top: 26px;
  text-align: center;
}

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(245, 130, 32, 0.25);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--border-2);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: background 0.15s, border-color 0.15s;
}

.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--border);
}

.btn-plan-primary {
  display: block;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(245, 130, 32, 0.22);
  transition: filter 0.12s, transform 0.12s;
  text-align: center;
  text-decoration: none;
}

.btn-plan-primary:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.btn-plan-secondary {
  display: block;
  width: 100%;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: background 0.12s, transform 0.12s;
  text-align: center;
  text-decoration: none;
}

.btn-plan-secondary:hover {
  background: var(--bg-soft);
  transform: translateY(-1px);
}

/* ── ACTIONS ── */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── TYPOGRAPHY ── */
body.cppa-v2 h1 {
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

body.cppa-v2 h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  line-height: 1.14;
  margin: 0;
  letter-spacing: -0.015em;
  color: var(--text);
}

body.cppa-v2 h3 {
  margin: 0;
  font-size: clamp(1.08rem, 2.4vw, 1.3rem);
  color: var(--text);
}

body.cppa-v2 p {
  line-height: 1.65;
}

.muted {
  color: var(--muted);
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── CONTACT FORM ── */
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 12px 13px;
  font: inherit;
  transition: border-color 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form label {
  color: #374151;
  font-weight: 500;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 700px);
  gap: clamp(24px, 4.5vw, 64px);
  align-items: start;
}

.contact-visual {
  margin: 0;
  padding-top: 34px;
  display: flex;
  justify-content: center;
}

.contact-visual img {
  width: min(100%, 240px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(15, 23, 42, 0.12));
}

.contact-panel {
  width: 100%;
  max-width: 700px;
  justify-self: end;
}

.contact-head {
  text-align: left;
}

.contact-head p {
  margin-left: 0;
  margin-right: 0;
}

.contact-direct {
  text-align: left;
}

/* ── FOOTER (oscuro para logo blanco) ── */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 10, 17, 0.97);
}

.site-footer a {
  color: #c8d2e6;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.site-footer .muted {
  color: #7a8fa8;
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  display: none;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  color: var(--text);
}

.cookie-banner.show {
  display: block;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  top: 18px;
  right: 18px;
  display: none;
  z-index: 220;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
}

.toast.show {
  display: block;
}

/* ── PAGE HERO ── */
.page-hero {
  text-align: center;
  margin-bottom: 20px;
}

.page-hero p {
  max-width: 760px;
  margin: 12px auto 0;
  color: var(--muted);
}

/* ── DETAIL GRID ── */
.detail-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow);
}

.detail-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.text-blocks {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.text-block {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 18px;
}

/* ── ALMA BENEFICIOS ── */
.alma-beneficios-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.alma-beneficio-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 22px;
}

.alma-beneficio-icon {
  width: 78px;
  height: 78px;
  object-fit: contain;
  display: block;
  margin: 0;
}

.alma-beneficio-copy h3 {
  margin: 0 0 8px;
}

.alma-beneficio-copy p {
  margin: 0;
  max-width: 32ch;
  line-height: 1.55;
}

.alma-beneficios-cta {
  margin-top: 30px;
  padding: 36px 24px;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.alma-beneficios-cta h3 {
  margin: 0;
}

.alma-beneficios-cta .btn-primary {
  min-width: 252px;
}

.page-cta {
  margin-top: 26px;
  text-align: center;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-panel {
    max-width: 100%;
    justify-self: stretch;
  }

  .contact-visual {
    justify-content: flex-start;
    padding-top: 0;
  }

  .contact-visual img {
    width: min(42vw, 180px);
  }

  .contact-head,
  .contact-direct {
    text-align: center;
  }

  .contact-head p {
    margin-left: auto;
    margin-right: auto;
  }

  .alma-intro__layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .alma-intro__visual {
    justify-self: center;
  }

  .alma-intro__visual img {
    width: min(84vw, 340px);
  }

  .hero-clean__layout {
    grid-template-columns: 1fr;
  }

  .hero-clean__visual {
    justify-self: start;
  }

  .hero-clean__visual img {
    width: clamp(150px, 34vw, 260px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .step-grid,
  .values-grid,
  .detail-grid,
  .text-blocks {
    grid-template-columns: 1fr 1fr;
  }

  .alma-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .alma-shot--main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .site-main {
    padding: 24px 12px 66px;
  }

  .site-main.home-open {
    padding-top: 0;
  }

  .site-header .h-20 {
    height: 64px;
  }

  .site-header img {
    height: 48px;
    width: auto;
  }

  .hero-clean {
    padding: 68px 0 48px;
  }

  .hero-clean h1 {
    font-size: clamp(2rem, 11vw, 2.85rem);
    line-height: 1.06;
  }

  .hero-clean__content {
    text-align: center;
  }

  .hero-clean__lead {
    max-width: 100%;
  }

  .hero-clean .kpi-row {
    justify-content: center;
  }

  .kpi-chip {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .hero-clean__visual {
    display: none;
  }

  .contact-visual {
    justify-content: center;
  }

  .contact-visual img {
    width: min(46vw, 150px);
  }

  .alma-intro__item h3 {
    font-size: 1.4rem;
  }

  .alma-intro__item p {
    font-size: 1.03rem;
  }

  .alma-shot--phone {
    max-width: 320px;
  }

  .alma-shot--portal-wide {
    max-width: 100%;
  }

  .alma-beneficio-card {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
    padding: 18px;
  }

  .alma-beneficio-icon {
    width: 72px;
    height: 72px;
  }

  .alma-beneficio-copy p {
    max-width: none;
  }

  .alma-beneficios-cta {
    padding: 26px 18px;
    gap: 12px;
  }

  .alma-beneficios-cta .btn-primary {
    min-width: 0;
  }

  .hero-media.team-photo {
    max-width: 360px;
  }

  .section-shell {
    border-radius: 18px;
    padding: 18px;
  }

  .feature-grid,
  .step-grid,
  .values-grid,
  .alma-gallery,
  .detail-grid,
  .text-blocks,
  .alma-beneficios-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions .btn-primary,
  .actions .btn-ghost {
    width: 100%;
  }

  .alma-features-mini {
    grid-template-columns: 1fr 1fr;
  }

  .alma-pricing-mini {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

@media (max-width: 540px) {
  .section-intro {
    padding: 28px 0;
  }

  .section-head {
    text-align: left;
  }

  .section-head p {
    margin-left: 0;
    margin-right: 0;
  }

  .contact-head {
    text-align: left;
  }

  .contact-direct {
    text-align: left;
  }

  .alma-features-mini {
    grid-template-columns: 1fr;
  }
}
