@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap");

:root {
  --primary: #1a6a31;
  --accent: #22c55e;
  --glow: #f97316;
  --text: #0f172a;
  --muted: #4b5563;
  --surface: #ffffff;
  --background: #f3f7fb;
  --shadow: rgba(15, 23, 42, 0.12);
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Inter", "Segoe UI", sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
  inset: 0;
}

body.nav-open .site-header {
  z-index: 2147483647;
}

/* Oculta el contenido de la página mientras el menú móvil está abierto para evitar textos superpuestos */
body.nav-open > *:not(.site-header) {
  visibility: hidden;
  pointer-events: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.container-extended {
  width: min(1400px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(82, 96, 109, 0.12);
  box-shadow: 0 18px 38px -30px var(--shadow);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
}

/* Contenedor del menú (desktop: inline, móvil: se colapsa) */
.nav-primary {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Botón hamburguesa: oculto por defecto (solo móvil) */
.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 32px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  padding: 0 8px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 24px -18px var(--shadow);
   z-index: 2147483648;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.brand-cluster {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a,
.nav-links button {
  color: var(--text);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links button:hover,
.nav-links button:focus {
  color: var(--surface);
  background: rgba(22, 22, 22, 0.863);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  font-size: 0.80rem;
  text-decoration: none;
  box-shadow: 0 12px 28px -26px var(--shadow), inset 0 0 0 1px rgba(15, 118, 110, 0.15);
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
  border: 1px solid rgba(15, 118, 110, 0.16);
}

.nav-price-badge__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  animation: badgePulse 1.6s ease-out infinite;
}

.nav-price-badge__value {
  color: var(--primary);
  font-weight: 800;
}

.nav-price-badge:hover,
.nav-price-badge:focus {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -26px var(--shadow), inset 0 0 0 1px rgba(34, 197, 94, 0.25);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.nav-price-badge:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2), 0 16px 34px -26px var(--shadow), inset 0 0 0 1px rgba(34, 197, 94, 0.25);
}

.nav-price-badge[data-state="loading"] .nav-price-badge__value {
  color: var(--muted);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 18vw, 110px) 0 clamp(84px, 20vw, 110px);
  background: radial-gradient(circle at 16% 20%, rgba(34, 197, 94, 0.18), transparent 32%),
    radial-gradient(circle at 86% 10%, rgba(15, 118, 110, 0.25), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(243, 247, 251, 0.92)),
    url("assets/hero1.png");
  background-size: auto, auto, auto, cover;
  background-repeat: no-repeat;
  background-position: 16% 20%, 86% 10%, center, center;
}

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

.hero::before {
  background: radial-gradient(circle at 40% 30%, rgba(249, 115, 22, 0.08), transparent 30%);
  filter: blur(4px);
}

.hero::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, #f3f7fb 90%, #f3f7fb),
    linear-gradient(135deg, rgba(34, 197, 94, 0.09), transparent 30%),
    linear-gradient(45deg, rgba(15, 118, 110, 0.1), transparent 50%);
    z-index: 0;
}

.hero-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-right: 170px;
}

.hero-top .hero-badges {
  margin: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background-color: rgba(13, 148, 136, 0.12);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 10px 22px -18px var(--shadow), inset 0 0 0 1px rgba(34, 197, 94, 0.22);
}

.brand__mark {
  display: block;
  height: 64px;
  width: auto;
}

.hero-content {
  position: relative;
  margin-top: clamp(28px, 8vw, 52px);
  max-width: 620px;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
}

.hero-subtitle {
  margin: clamp(22px, 6vw, 30px) 0;
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
  color: var(--muted);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.pill--glow {
  background: linear-gradient(120deg, rgba(34, 197, 94, 0.22), rgba(249, 115, 22, 0.18));
  box-shadow: 0 12px 26px -18px var(--shadow), 0 0 0 1px rgba(34, 197, 94, 0.32);
}

.pill--outline {
  border: 1px solid rgba(15, 118, 110, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 10px;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 118, 110, 0.18);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ghost-button:hover,
.ghost-button:focus {
  transform: translateY(-1px);
  border-color: rgba(34, 197, 94, 0.36);
  box-shadow: 0 16px 30px -24px var(--shadow);
}

.ghost-button--danger {
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.35);
  background: #fff1f2;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.1);
}

.ghost-button--danger:hover,
.ghost-button--danger:focus {
  color: #991b1b;
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 16px 30px -24px rgba(239, 68, 68, 0.5);
}

.hero-checks {
  margin: clamp(12px, 3vw, 18px) 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--text);
}

.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 500;
}

.hero-checks li::before {
  content: \"\u2022\";
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

.info-hero {
  padding: 84px 0 96px;
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
}

.info-hero__layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  align-items: center;
}

.info-hero__copy {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

.info-hero .pill {
  justify-self: start;
}

.info-hero__visual {
  justify-self: center;
}

.info-hero__visual img {
  display: block;
  width: min(520px, 92vw);
  border-radius: var(--radius-md);
  box-shadow: 0 28px 60px -38px rgba(31, 41, 51, 0.6), inset 0 0 0 1px rgba(34, 197, 94, 0.1);
}

.contact-main {
  background: var(--background);
}

.contact-options {
  padding: clamp(56px, 12vw, 84px) 0 clamp(72px, 14vw, 104px);
}

.contact-options h2 {
  margin: 0 0 40px;
  text-align: center;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
}

.contact-options__grid {
  display: grid;
  gap: clamp(18px, 5vw, 28px);
}

.contact-options__grid > * {
  min-width: 0;
}

.contact-card {
  background: var(--surface);
  padding: clamp(22px, 6vw, 28px);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px -35px rgba(31, 41, 51, 0.45);
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.16), rgba(59, 130, 246, 0.16));
  color: #047857;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(37, 211, 102, 0.25);
  box-shadow: 0 8px 22px -18px rgba(15, 23, 42, 0.4);
  position: relative;
  text-align: center;
  white-space: normal;
}

.contact-card__badge:hover,
.contact-card__badge:focus {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.24), rgba(59, 130, 246, 0.22));
  color: #065f46;
  transform: translateY(-1px);
}

.contact-card__badge-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.contact-card__badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  animation: badgePulse 1.6s ease-out infinite;
}

.contact-card__badge--online {
  margin-top: 4px;
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-card__actions .cta-button {
  flex: 1 1 220px;
  padding: 12px 24px;
  font-size: 0.95rem;
  box-shadow: 0 18px 36px -30px rgba(15, 23, 42, 0.45);
  text-align: center;
}

.contact-card__actions .cta-button--bright {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.contact-card__actions .cta-button--bright:hover,
.contact-card__actions .cta-button--bright:focus {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text);
}

@keyframes badgePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.contact-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.contact-card p,
.contact-card span,
.contact-card a {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
}

.contact-card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-card a:hover,
.contact-card a:focus {
  color: var(--primary);
}

.contact-form-section {
  padding: clamp(64px, 12vw, 92px) 0 clamp(80px, 14vw, 110px);
}

.contact-form-layout {
  display: grid;
  gap: clamp(24px, 6vw, 48px);
  background: var(--surface);
  padding: clamp(26px, 6vw, 44px);
  border-radius: var(--radius-md);
  box-shadow: 0 26px 54px -40px rgba(31, 41, 51, 0.65);
  width: 100%;
  max-width: 100%;
}

.contact-form-layout > * {
  min-width: 0;
  width: 100%;
}

.contact-form-copy {
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-form-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
}

.contact-form-copy p {
  margin: 0 0 16px;
  color: var(--muted);
}

.contact-form-benefits {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 100%;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 600;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  font: inherit;
  width: 100%;
  max-width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(82, 96, 109, 0.2);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-consent input[type="checkbox"] {
  margin-top: 4px;
}

.form-consent a {
  color: var(--accent);
  text-decoration: none;
}

.form-note {
  color: var(--muted);
  text-align: center;
}

.form-status {
  min-height: 1.2em;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: var(--accent);
}

.form-status[data-state="error"] {
  color: #b91c1c;
}

.form-status[data-state="info"] {
  color: #0ea5e9;
}

.cta-button--full {
  width: 100%;
  justify-content: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  border-radius: var(--radius-md);
  text-decoration: none;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-button:hover,
.cta-button:focus {
  background: linear-gradient(180deg, #1f1f1f, #494949);
  transform: translateY(-3px);
}

.cta-button--bright {
  background: linear-gradient(180deg, #f8f8f8, #e9e9e9);
  color: #0f172a;
}

.cta-button--bright:hover,
.cta-button--bright:focus {
  color: #f0f0f0;
  box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.13);
}

.hero-note {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}

.floating-cta__actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 10px;
}

.floating-cta__trigger,
.floating-cta__action {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 20px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(15, 118, 110, 0.95), rgba(34, 197, 94, 0.92));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 22px 45px -22px rgba(15, 23, 42, 0.48), 0 0 0 1px rgba(34, 197, 94, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.floating-cta__trigger:hover,
.floating-cta__trigger:focus,
.floating-cta__action:hover,
.floating-cta__action:focus {
  transform: translateY(-2px);
  box-shadow: 0 28px 58px -26px rgba(15, 23, 42, 0.6), 0 0 0 1px rgba(34, 197, 94, 0.24);
}

.floating-cta__trigger:focus-visible,
.floating-cta__action:focus-visible {
  outline: 3px solid rgba(34, 197, 94, 0.35);
  outline-offset: 3px;
}

.floating-cta__icon {
  font-size: 1.6rem;
  line-height: 1;
}

.floating-cta__icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.floating-cta__text {
  position: absolute;
  right: 82px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: 0 18px 38px -30px rgba(15, 23, 42, 0.55), 0 0 0 1px rgba(82, 96, 109, 0.15);
  font-weight: 700;
  white-space: nowrap;
}

.floating-cta__text::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  box-shadow: 0 18px 38px -30px rgba(15, 23, 42, 0.55), 0 0 0 1px rgba(82, 96, 109, 0.15);
}

.floating-cta__panel {
  position: absolute;
  bottom: 90px;
  right: 0;
  width: min(360px, 92vw);
  background: var(--surface);
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 30px 68px -34px rgba(15, 23, 42, 0.58), 0 0 0 1px rgba(34, 197, 94, 0.15);
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.floating-cta__eyebrow {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

.floating-cta__panel h3 {
  margin: 0;
  font-size: 1.25rem;
}

.floating-cta__panel p {
  margin: 0;
  color: var(--muted);
}

.floating-cta__meta {
  font-size: 0.95rem;
}

.floating-cta__form {
  display: grid;
  gap: 10px;
}

.floating-cta__form label {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.floating-cta__form input[type="tel"] {
  font: inherit;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(82, 96, 109, 0.2);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.floating-cta__form input[type="tel"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.floating-cta__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

.floating-cta__consent input[type="checkbox"] {
  margin-top: 3px;
}

.floating-cta__consent a {
  color: var(--accent);
  text-decoration: none;
}

.floating-cta__consent a:hover,
.floating-cta__consent a:focus {
  color: var(--primary);
  text-decoration: underline;
}

.floating-cta.is-open .floating-cta__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.floating-cta.is-open .floating-cta__trigger {
  box-shadow: 0 28px 58px -26px rgba(15, 23, 42, 0.6), 0 0 0 1px rgba(34, 197, 94, 0.24);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.steps {
  padding: clamp(56px, 12vw, 84px) 0 clamp(72px, 14vw, 104px);
}

.steps h2 {
  margin: 0 0 clamp(32px, 7vw, 48px);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  text-align: center;
}

.steps-grid {
  display: grid;
  gap: 24px;
}

.steps-note {
  margin: 32px auto 0;
  max-width: 880px;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
}

.benefits,
.comparison {
  padding: clamp(56px, 12vw, 84px) 0 clamp(72px, 14vw, 104px);
}

.benefits h2,
.comparison h2 {
  margin: 0 0 clamp(30px, 7vw, 44px);
  font-size: clamp(1.8rem, 3.1vw, 2.3rem);
  text-align: center;
}

.benefits-grid,
.comparison-grid {
  display: grid;
  gap: 24px;
}

.benefit-card,
.comparison-card {
  background: var(--surface);
  padding: clamp(22px, 6vw, 28px);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px -35px rgba(31, 41, 51, 0.45), 0 0 0 1px rgba(34, 197, 94, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover,
.comparison-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -35px rgba(31, 41, 51, 0.55);
}

.benefit-card h3,
.comparison-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.benefit-card p,
.comparison-card p {
  margin: 0;
  color: var(--muted);
}

.comparison-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.comparison-card--highlight {
  border: 2px solid rgba(34, 197, 94, 0.35);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(15, 118, 110, 0.06));
  box-shadow: 0 28px 50px -34px rgba(31, 138, 112, 0.55);
}

.comparison-saving {
  margin-top: clamp(28px, 8vw, 44px);
  text-align: center;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(15, 118, 110, 0.12));
  border-radius: var(--radius-md);
  padding: clamp(24px, 6vw, 32px) clamp(18px, 6vw, 24px);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.16);
}

.comparison-saving span {
  display: block;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.comparison-saving strong {
  display: block;
  margin: 12px 0 8px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary);
}

.transparency {
  padding: clamp(56px, 12vw, 88px) 0 clamp(72px, 14vw, 106px);
  background:
    linear-gradient(180deg, var(--background) 0%, rgba(34, 197, 94, 0.08) 45%, var(--background) 100%),
    radial-gradient(140% 120% at 12% 10%, rgba(34, 197, 94, 0.06), transparent 38%),
    radial-gradient(120% 100% at 88% 0%, rgba(15, 118, 110, 0.08), transparent 36%);
}

.transparency-card {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 34px);
  background:
    linear-gradient(160deg, rgba(26, 106, 49, 0.16), rgba(34, 197, 94, 0.08)),
    radial-gradient(circle at 18% 10%, rgba(249, 115, 22, 0.12), transparent 45%),
    radial-gradient(circle at 90% -10%, rgba(13, 148, 136, 0.18), transparent 55%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px -38px rgba(15, 23, 42, 0.38), inset 0 0 0 1px rgba(34, 197, 94, 0.18);
  display: grid;
  gap: 18px;
  overflow: hidden;
  border-left: 4px solid var(--accent);
  backdrop-filter: blur(2px);
}

.transparency-card::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto 30%;
  height: 120%;
  background: radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.22), transparent 50%);
  filter: blur(2px);
  opacity: 0.9;
  pointer-events: none;
}

.transparency-card::after {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 140px;
  height: 140px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.04),
      rgba(15, 23, 42, 0.04) 10px,
      transparent 10px,
      transparent 18px
    );
  border-radius: 18px;
  opacity: 0.8;
  transform: rotate(6deg);
  pointer-events: none;
}

.transparency-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.transparency-badges .pill {
  box-shadow: 0 12px 26px -18px rgba(15, 23, 42, 0.3);
}

.transparency-header {
  display: grid;
  gap: 10px;
  text-align: center;
}

.transparency-header h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
}

.transparency-note {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-weight: 500;
  font-size: 1.05rem;
}

.transparency-grid {
  margin-top: 6px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.transparency-item {
  position: relative;
  padding: 16px 14px 16px 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.86));
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.14), 0 18px 40px -32px rgba(15, 23, 42, 0.45);
  display: grid;
  gap: 8px;
  align-content: start;
}

.transparency-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(15, 118, 110, 0.12));
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.2), 0 10px 24px -18px rgba(15, 23, 42, 0.35);
}

.transparency-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.transparency-item h3 {
  margin: 0;
  font-size: 1.05rem;
}

.transparency-item p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.transparency-item--full {
  grid-column: 1 / -1;
}

.faq-more {
  margin: 0 0 clamp(48px, 12vw, 96px);
  text-align: center;
}

.faq-more .cta-button {
  padding: 12px 26px;
  box-shadow: 0 18px 36px -28px rgba(15, 23, 42, 0.6);
}

.savings-calculator {
  padding: clamp(48px, 12vw, 80px) 0 clamp(64px, 14vw, 104px);
}

.savings-calculator__header {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
  display: grid;
  gap: 10px;
}

.calculator-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.savings-calculator__layout {
  display: grid;
  gap: 18px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(15, 118, 110, 0.08));
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-md);
  box-shadow: 0 26px 54px -42px rgba(31, 41, 51, 0.65), inset 0 0 0 1px rgba(34, 197, 94, 0.12);
}

.calculator-form {
  display: grid;
  gap: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: clamp(18px, 3vw, 24px);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.1);
}

.calculator-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.calc-field {
  display: grid;
  gap: 6px;
}

.calc-field label {
  font-weight: 700;
  color: var(--text);
}

.calc-field input {
  font: inherit;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(82, 96, 109, 0.2);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.calc-field small {
  color: var(--muted);
}

.calc-field--full {
  grid-column: 1 / -1;
}

.calc-toggle {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.calc-toggle__option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(82, 96, 109, 0.2);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.calc-toggle__option:hover {
  border-color: rgba(34, 197, 94, 0.32);
  box-shadow: 0 12px 26px -20px var(--shadow);
  transform: translateY(-1px);
}

.calc-toggle__option input[type="radio"] {
  margin: 0;
  accent-color: var(--accent);
}

.calc-toggle__option input[type="radio"]:checked + span {
  color: var(--primary);
}

.slider-control {
  display: grid;
  gap: 10px;
}

.slider-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--muted);
}

.slider-current {
  color: var(--primary);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.25), rgba(15, 118, 110, 0.25));
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 4px 14px -6px var(--shadow);
  border: 2px solid #fff;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 4px 14px -6px var(--shadow);
  border: 2px solid #fff;
}

input[type="range"]::-moz-range-track {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.25), rgba(15, 118, 110, 0.25));
  height: 10px;
  border-radius: 999px;
}

.calculator-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.calculator-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.calculator-results {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.result-card {
  background: #fff;
  padding: 18px 16px;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 45px -35px rgba(31, 41, 51, 0.45), 0 0 0 1px rgba(34, 197, 94, 0.08);
  display: grid;
  gap: 6px;
}

.result-card--highlight {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(15, 118, 110, 0.12));
  border: 1px solid rgba(34, 197, 94, 0.22);
  box-shadow: 0 28px 50px -36px rgba(31, 138, 112, 0.55);
}

.result-label {
  font-weight: 700;
  color: var(--text);
}

.result-value {
  font-size: 1.6rem;
  color: var(--primary);
}

.result-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
}

.calculator-cta__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.calculator-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px -18px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.calculator-help:hover,
.calculator-help:focus {
  transform: translateY(-1px);
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(240, 253, 250, 0.95);
  box-shadow: 0 16px 30px -22px var(--shadow);
}

.calculator-cta {
  margin-top: 20px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 18px 18px 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 20px 45px -35px rgba(31, 41, 51, 0.45), 0 0 0 1px rgba(34, 197, 94, 0.08);
  flex-wrap: wrap;
}

.calculator-cta h3 {
  margin: 0 0 6px;
}

.calculator-cta p {
  margin: 0;
  color: var(--muted);
}

.faq {
  padding: clamp(48px, 10vw, 72px) 0 clamp(56px, 12vw, 84px);
}

.faq h2 {
  margin: 0 0 clamp(24px, 6vw, 36px);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-align: center;
}

.faq-list {
  display: grid;
  gap: clamp(12px, 4vw, 18px);
}

.faq-list details {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: clamp(16px, 4vw, 22px);
  border: 1px solid rgba(82, 96, 109, 0.14);
  box-shadow: 0 18px 42px -36px rgba(31, 41, 51, 0.6);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.faq-list details:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -32px rgba(31, 41, 51, 0.65);
}

.faq-list details[open] {
  border-color: rgba(34, 197, 94, 0.18);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.06), rgba(255, 255, 255, 0.98));
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-list summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--accent);
  background: rgba(34, 197, 94, 0.12);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.18);
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg) scale(1.05);
  background: rgba(34, 197, 94, 0.18);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.26), 0 8px 18px -12px rgba(15, 23, 42, 0.2);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.32s ease,
    opacity 0.24s ease,
    transform 0.24s ease,
    margin 0.24s ease;
}

.faq-list details[open] p {
  max-height: 320px;
  margin: 14px 0 0;
  opacity: 1;
  transform: translateY(0);
}

.cta-final {
  padding: clamp(56px, 12vw, 88px) 0 clamp(72px, 14vw, 104px);
  text-align: center;
}

.cta-final h2 {
  margin: 0 0 clamp(18px, 5vw, 28px);
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.cta-final__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-button--large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.step {
  background: var(--surface);
  padding: clamp(22px, 6vw, 28px);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px -35px rgba(31, 41, 51, 0.45), 0 0 0 1px rgba(34, 197, 94, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 46px -35px rgba(31, 41, 51, 0.55);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(15, 118, 110, 0.18));
  color: var(--text);
  font-weight: 700;
  margin-bottom: 22px;
}

.step h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.footer {
  padding: 32px 0 40px;
  background: radial-gradient(circle at 0% 0%, rgba(51, 65, 85, 0.72), transparent 40%),
    radial-gradient(circle at 100% 0%, rgba(15, 118, 110, 0.75), transparent 42%),
    #020617;
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.9rem;
  border-top: 1px solid rgba(148, 163, 184, 0.55);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f9fafb;
}

.footer-brand__logo {
  display: block;
  height: 128px;
  width: auto;
}

.footer-brand__logo--base {
  transition: opacity 0.25s ease;
}

.footer-brand__logo--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 0 0 rgba(94, 234, 212, 0.55));
}

.footer-brand:hover .footer-brand__logo--hover,
.footer-brand:focus-visible .footer-brand__logo--hover {
  opacity: 1;
  filter: drop-shadow(0 0 18px rgba(94, 234, 212, 0.55));
}

.footer-brand:hover .footer-brand__logo--base,
.footer-brand:focus-visible .footer-brand__logo--base {
  opacity: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(148, 163, 184, 0.95);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #f9fafb;
}

/* icono dentro del botón */
.nav-toggle__icon {
  width: 18px;   /* ajusta tamaño a tu gusto */
  height: 18px;
  display: block;
}

.nav-toggle__icon--close {
  display: none;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  width: 18px;
  height: 18px;
}

.nav-toggle.is-open .nav-toggle__icon--open {
  display: none;
}

.nav-toggle.is-open .nav-toggle__icon--close {
  display: block;
}

@media (max-width: 1024px) {
  .hero-top {
    padding-right: 0;
    gap: 14px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .hero-actions .cta-button,
  .hero-actions .ghost-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .nav-bar {
    flex-direction: row;
    align-items: center;
    padding-inline: 18px;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
  }

  .nav-price-badge {
    width: 100%;
    justify-content: center;
  }

  .floating-cta {
    bottom: 16px;
    right: 16px;
  }

  .floating-cta__text {
    display: none;
  }

  .hero-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-right: 0;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .hero-actions .cta-button,
  .hero-actions .ghost-button {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 720px) {
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .contact-options__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-consent {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    max-width: 680px;
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .benefits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .contact-options__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .contact-form-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 64px;
  }

  .savings-calculator__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* MENÚ MÓVIL/TABLET HASTA 1480px */
@media (max-width: 1480px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-bar {
    display: flex;
    align-items: center;          /* centra verticalmente logo + botón  */
    justify-content: space-between;
    flex-wrap: wrap;              /* permite que el menú baje a la 2ª fila */
  }

  .brand-cluster {
    order: 1;
  }

  .nav-toggle {
    order: 2;
    display: inline-flex;
    margin-left: auto;
  }

  .nav-primary {
    order: 3;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-top: 0;
    padding: 48px 24px;
    display: none;                /* cerrado por defecto */
    background: #ffffff;
    z-index: 2147483647;
    overflow: hidden;
    text-align: center;
  }

  .nav-primary.is-open {
    display: flex;                /* abierto cuando JS añade la clase */
  }

  .nav-links {
    width: min(420px, 90%);
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .nav-links a,
  .nav-links button {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .nav-actions {
    width: min(420px, 90%);
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding-top: 8px;
  }

  .nav-price-badge,
  .ghost-button {
    width: 100%;
    justify-content: center;
  }

  /* Ocultar elementos flotantes cuando el menú está abierto */
  body.nav-open .floating-cta {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 2147483648;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 0;
    background: #ffffff;
    box-shadow: 0 14px 38px -24px var(--shadow);
  }

  .nav-toggle.is-open {
    top: 16px;
    right: 16px;
    bottom: auto;
    left: auto;
    position: fixed;
    background: #ffffff;
  }
}

/* Banner de cookies (cumplimiento RGPD) */
.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 12px;
}

.cookie-banner__inner {
  width: min(1120px, 100%);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px -26px rgba(31, 41, 55, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.08);
  padding: 16px 18px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
  align-items: center;
  pointer-events: auto;
}

.cookie-banner__content {
  display: grid;
  gap: 6px;
}

.cookie-banner__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.cookie-banner__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-banner__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-banner__link {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(34, 197, 94, 0.6);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-banner__actions button {
  cursor: pointer;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  padding: 10px 14px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}

.cookie-banner__actions button:hover,
.cookie-banner__actions button:focus {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -16px rgba(15, 23, 42, 0.25);
}

.cookie-banner__actions .cookie-accept {
  background: var(--accent);
  border-color: rgba(34, 197, 94, 0.3);
  color: #052e16;
}

.cookie-banner__actions .cookie-accept:hover,
.cookie-banner__actions .cookie-accept:focus {
  background: #16a34a;
  color: #052e16;
}

.cookie-preferences {
  grid-column: 1 / -1;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--background);
  padding: 12px 14px;
  display: grid;
  gap: 10px;
}

.cookie-preferences__grid {
  display: grid;
  gap: 8px;
}

.cookie-option {
  display: grid;
  gap: 2px;
}

.cookie-option label {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cookie-option small {
  color: var(--muted);
}

.cookie-option input[type="checkbox"] {
  accent-color: var(--accent);
}

.cookie-preferences__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-preferences__actions button {
  cursor: pointer;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  padding: 10px 14px;
}

.cookie-preferences__actions .cookie-save {
  background: var(--text);
  color: var(--surface);
  border-color: rgba(15, 23, 42, 0.4);
}

.cookie-preferences__actions .cookie-save:hover,
.cookie-preferences__actions .cookie-save:focus {
  background: #0b1221;
}

.cookie-preferences-button {
  position: fixed;
  left: 12px;
  bottom: 96px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--surface);
  box-shadow: 0 16px 32px -20px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  z-index: 55;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cookie-preferences-button::after {
  content: none;
}

.cookie-preferences-button__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.cookie-preferences-button:hover,
.cookie-preferences-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px -22px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.cookie-preferences-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(3px);
  padding: 18px 12px;
  z-index: 60;
}

.cookie-preferences-modal__sheet {
  background: var(--surface);
  border-radius: var(--radius-md);
  width: min(520px, 100%);
  padding: 18px 18px 16px;
  box-shadow: 0 24px 52px -38px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 14px;
}

.cookie-preferences-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cookie-close {
  border: none;
  background: rgba(15, 23, 42, 0.05);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 800;
  cursor: pointer;
}

.cookie-preferences__actions--modal {
  justify-content: flex-end;
}

@media (min-width: 720px) {
  .cookie-preferences-modal {
    align-items: center;
  }

  .cookie-preferences-button {
    bottom: 24px;
  }
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 10px;
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }
}

/* Páginas legales */
.legal-hero {
  padding: clamp(64px, 12vw, 96px) 0 clamp(56px, 10vw, 72px);
  background:
    radial-gradient(120% 120% at 16% 8%, rgba(34, 197, 94, 0.14), transparent 45%),
    radial-gradient(140% 120% at 80% 0%, rgba(59, 130, 246, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(13, 148, 136, 0.08), transparent 55%),
    var(--background);
}

.legal-hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: end;
  gap: clamp(18px, 4vw, 36px);
}

.legal-hero__content {
  margin-top: 0;
  max-width: 780px;
  display: grid;
  gap: 12px;
}

.legal-hero__content h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3.5vw, 2.9rem);
  line-height: 1.05;
}

.legal-hero__content p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--muted);
  letter-spacing: 0.04em;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.legal-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(34, 197, 94, 0.08);
}

.legal-meta__item::before {
  content: "•";
  color: var(--accent);
  font-weight: 900;
}

.legal-hero__card {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(82, 96, 109, 0.16);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 40px -28px rgba(15, 23, 42, 0.4);
  overflow: hidden;
}

.legal-hero__card::after {
  content: "";
  position: absolute;
  inset: -18px auto auto -18px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.2), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.legal-hero__label {
  margin: 0 0 8px;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.legal-quicklist {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: grid;
  gap: 10px;
}

.legal-quicklist li {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  background: rgba(34, 197, 94, 0.08);
  color: var(--text);
  line-height: 1.45;
}

.legal-quicklist strong {
  color: var(--text);
}

.legal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.legal-link::after {
  content: ">";
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.legal-link:hover::after,
.legal-link:focus::after {
  transform: translateX(3px);
}

.legal-main {
  padding: 0 0 120px;
  background: var(--background);
}

.legal-content {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(82, 96, 109, 0.12);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 24px 52px -40px rgba(31, 41, 51, 0.55);
  display: grid;
  gap: 20px;
  backdrop-filter: blur(6px);
}

.legal-section {
  padding: 18px 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(82, 96, 109, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98));
  box-shadow: 0 18px 36px -28px rgba(15, 23, 42, 0.4);
}

.legal-section h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legal-section h2::before {
  content: "#";
  color: var(--accent);
  font-weight: 800;
  font-size: 0.95rem;
  opacity: 0.8;
}

.legal-section p {
  margin: 0 0 8px;
  color: var(--muted);
}

.legal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.legal-list li + li {
  margin-top: 6px;
}

/* Página de confirmación de factura */
.thankyou-page {
  background: var(--background);
  color: var(--text);
}

.thankyou-hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 6vw, 72px);
}

.thankyou-hero__card {
  background: linear-gradient(135deg, rgba(26, 106, 49, 0.08), rgba(34, 197, 94, 0.12)), #ffffff;
  border: 1px solid rgba(82, 96, 109, 0.14);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 26px 52px -42px var(--shadow);
  display: grid;
  gap: 14px;
}

.thankyou-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(26, 106, 49, 0.08);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  width: fit-content;
}

.thankyou-lead {
  margin: 0;
  color: var(--muted);
  max-width: 820px;
  font-size: 1.02rem;
}

.thankyou-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 10px;
}

.thankyou-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(26, 106, 49, 0.22);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 12px 28px -24px var(--shadow);
}

.thankyou-hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.thankyou-meta__item {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(82, 96, 109, 0.14);
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: 0 20px 40px -38px var(--shadow);
}

.thankyou-meta__item strong {
  display: block;
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.thankyou-meta__item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.thankyou-steps {
  padding: clamp(32px, 6vw, 72px) 0;
}

.thankyou-steps__header h2 {
  margin: 0 0 8px;
}

.thankyou-steps__header p {
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 760px;
}

.thankyou-steps__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.thankyou-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: #ffffff;
  border: 1px solid rgba(82, 96, 109, 0.12);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px -34px var(--shadow);
}

.thankyou-step__number {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 16px 32px -28px var(--shadow);
  flex-shrink: 0;
  margin-top: 4px;
}

.thankyou-step h3 {
  margin: 0 0 6px;
}

.thankyou-step p {
  margin: 0;
  color: var(--muted);
}

.thankyou-note {
  margin-top: 18px;
  background: #ffffff;
  border: 1px dashed rgba(26, 106, 49, 0.45);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  box-shadow: 0 14px 30px -26px var(--shadow);
}

.thankyou-support {
  padding: clamp(32px, 6vw, 80px) 0 clamp(48px, 6vw, 96px);
}

.thankyou-support__layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
}

.thankyou-support__copy p {
  margin: 0 0 12px;
  color: var(--muted);
}

.thankyou-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.thankyou-support__actions {
  display: grid;
  gap: 10px;
  align-content: flex-start;
}

.ghost-button--full {
  width: 100%;
  text-align: center;
}

.thankyou-support__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .thankyou-hero__card {
    padding: 20px;
  }

  .thankyou-step {
    align-items: center;
  }

  .cta-final__actions {
    width: 100%;
  }

  .cta-final__actions .cta-button {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .nav-price-badge {
    max-width: 100%;
    white-space: normal;
  }
}

/* Área privada comerciales */
.admin-shell {
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: clamp(16px, 3vw, 28px);
  background: linear-gradient(180deg, #f7f9fb 0%, #f4f6f8 100%);
  color: var(--text);
  font-family: "Inter", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.admin-shell--dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-topbar {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(82, 96, 109, 0.12);
  border-radius: 18px;
  padding: clamp(14px, 3vw, 18px);
  box-shadow: 0 18px 40px -34px var(--shadow);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(26, 106, 49, 0.12);
}

.admin-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 2px;
}

.admin-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
}

.admin-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: #f8fafc;
  border: 1px solid rgba(82, 96, 109, 0.12);
  border-radius: 12px;
}

.admin-tab {
  border: none;
  background: transparent;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-tab.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 10px 20px -18px var(--shadow), 0 0 0 1px rgba(26, 106, 49, 0.08);
}

.admin-session {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.admin-session__user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.admin-session__email {
  font-weight: 700;
}

.admin-main {
  width: min(1200px, 96vw);
  margin: 0 auto;
}

.admin-main--grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-section {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.admin-section.is-active {
  display: flex;
}

.admin-card {
  background: #fff;
  border: 1px solid rgba(82, 96, 109, 0.12);
  border-radius: 16px;
  padding: clamp(14px, 3vw, 20px);
  box-shadow: 0 18px 40px -34px var(--shadow);
}

.admin-card--flat {
  background: linear-gradient(180deg, #ffffff, #fdfefe);
}

.admin-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px dashed rgba(26, 106, 49, 0.16);
  background: #fafcfe;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(26, 106, 49, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(26, 106, 49, 0.14);
}

.admin-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(82, 96, 109, 0.12);
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgba(82, 96, 109, 0.12);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  font-weight: 700;
  color: var(--text);
  background: #f8fafc;
}

.admin-table__message {
  max-width: 420px;
  color: var(--muted);
}

.admin-table tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.02);
}

.admin-table tbody tr:hover {
  background: #f9fbfd;
}

.admin-empty {
  margin: 0;
  color: var(--muted);
}

.admin-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(26, 106, 49, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid rgba(26, 106, 49, 0.12);
}

.admin-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.admin-inline-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 6px;
  align-items: center;
}

.admin-inline-form + .admin-inline-form {
  margin-top: 6px;
}

.admin-inline-form--danger {
  grid-template-columns: 1fr;
  justify-items: start;
}

.admin-inline-form select,
.admin-inline-form input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(82, 96, 109, 0.2);
  border-radius: 10px;
  background: #f9fafb;
}

.admin-auth-shell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-auth-layout {
  width: min(1100px, 96vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.admin-auth-panel {
  background: #fff;
  border: 1px solid rgba(82, 96, 109, 0.12);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 24px);
  box-shadow: 0 18px 40px -34px var(--shadow);
}

.admin-auth-side {
  border: 1px dashed rgba(82, 96, 109, 0.16);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 24px);
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.admin-auth-meta {
  margin: 14px 0 0;
  color: var(--muted);
}

.admin-form {
  display: grid;
  gap: 10px;
}

.admin-form--stacked {
  gap: 12px;
}

.admin-form label {
  font-weight: 700;
  margin-top: 6px;
}

.admin-form input,
.admin-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(82, 96, 109, 0.2);
  border-radius: 12px;
  background: #fff;
}

.admin-form input:focus,
.admin-form select:focus {
  outline: 2px solid rgba(26, 106, 49, 0.2);
  border-color: rgba(26, 106, 49, 0.4);
}

/* Evitar overflow en formularios en móvil */
input,
select,
textarea {
  max-width: 100%;
}

.contact-form-layout,
.contact-form,
.calculator-form,
.savings-calculator__layout,
.admin-auth-layout {
  min-width: 0;
}

.contact-form,
.floating-cta__form,
.admin-auth-panel,
.admin-auth-layout {
  width: 100%;
  max-width: 100%;
}

.form-field,
.floating-cta__form {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-alert {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid;
  background: rgba(255, 255, 255, 0.8);
}

.admin-alert--error {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
}

.admin-alert--success {
  border-color: #a7f3d0;
  background: #ecfdf3;
  color: #166534;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.status-pill--success {
  background: rgba(34, 197, 94, 0.14);
  color: var(--primary);
}

.ghost-button--small {
  padding: 8px 12px;
  font-size: 0.9rem;
}

.admin-shell .cta-button {
  background: linear-gradient(135deg, #1a6a31, #22c55e);
  border: none;
  color: #fff;
  box-shadow: 0 16px 38px -24px rgba(34, 197, 94, 0.55);
}

.admin-shell .cta-button:hover,
.admin-shell .cta-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px -26px rgba(34, 197, 94, 0.65);
}

.admin-shell .ghost-button {
  background: #fff;
  border-color: rgba(82, 96, 109, 0.2);
  color: var(--text);
}

.admin-shell .ghost-button:hover,
.admin-shell .ghost-button:focus {
  border-color: rgba(26, 106, 49, 0.5);
  color: var(--primary);
}

.admin-shell .ghost-button--danger {
  background: #fff1f2;
  border-color: rgba(239, 68, 68, 0.45);
  color: #b91c1c;
}

.admin-shell .ghost-button--danger:hover,
.admin-shell .ghost-button--danger:focus {
  border-color: rgba(185, 28, 28, 0.7);
  color: #991b1b;
  box-shadow: 0 16px 30px -24px rgba(239, 68, 68, 0.5);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 720px) {
  .admin-topbar {
    position: static;
    grid-template-columns: 1fr;
  }

  .admin-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-inline-form {
    grid-template-columns: 1fr;
  }
}
