/*
  styles.css
  - Estilos globales y componentes visuales
  - Incluye fallbacks para colores custom por si Tailwind no carga
*/

/* =========================
   Base
   ========================= */
:root {
  --inaltum-dark: #0f172a;
  --inaltum-blue: #3b82f6;
  --inaltum-purple: #8b5cf6;
  --inaltum-slate: #475569;
  --inaltum-soft: #f8fafc;
  --inaltum-border: #e5e7eb;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  color: #0f172a;
  overflow-x: hidden;
  font-family: "Outfit", sans-serif;
}

/* =========================
   Fallbacks para clases custom
   ========================= */
.bg-inaltum-dark { background-color: var(--inaltum-dark) !important; }
.bg-inaltum-blue { background-color: var(--inaltum-blue) !important; }
.bg-inaltum-purple { background-color: var(--inaltum-purple) !important; }

.text-inaltum-blue { color: var(--inaltum-blue) !important; }
.text-inaltum-purple { color: var(--inaltum-purple) !important; }

/* =========================
   Navbar glass
   ========================= */
.glass-nav {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* =========================
   Texto gradiente
   ========================= */
.text-gradient {
  background: linear-gradient(135deg, var(--inaltum-blue) 0%, var(--inaltum-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================
   Reveal
   ========================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Hero split / efectos base
   ========================= */
.hero-section,
.projects-hero,
.plans-hero {
  position: relative;
}

/* =========================
   Botón principal reutilizable
   ========================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 9999px;
  background: var(--inaltum-dark);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.2px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  opacity: 0.98;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

/* =========================
   Carrusel de logos
   ========================= */
@keyframes scroll-animation {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-250px * 6)); }
}

.slider {
  height: 150px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider::before,
.slider::after {
  background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 150px;
  position: absolute;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slide-track {
  display: flex;
  width: calc(250px * 24);
  animation: scroll-animation 30s linear infinite;
}

.slide-track:hover {
  animation-play-state: paused;
}

.slide {
  height: 150px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.company-logo {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
  object-fit: contain;
}

.slide:hover .company-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.06);
}

.company-logo.logo--audi {
  max-height: 48px;
}

.company-logo.logo--forvia {
  max-height: 50px;
}

.slide:hover .company-logo.logo--audi,
.slide:hover .company-logo.logo--forvia {
  transform: scale(1.03);
}

/* =========================
   Metodología CTA
   ========================= */
.metodologia-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* =========================
   PROYECTOS
   ========================= */
.projects-hero,
.projects-section {
  background: #f8fafc;
}

.projects-hero--clean {
  padding-bottom: 56px;
}

.projects-section--figma {
  padding-top: 0;
  padding-bottom: 88px;
}

.projects-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.projects-trust-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  padding: 20px 22px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.projects-trust-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--inaltum-dark);
  margin-bottom: 6px;
}

.projects-trust-card span {
  display: block;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.projects-section {
  padding-top: 72px;
}

.projects-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.projects-eyebrow {
  color: var(--inaltum-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

.projects-title {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--inaltum-dark);
}

.projects-subtitle {
  max-width: 540px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.75;
}

.projects-grid,
.projects-grid--figma {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.project-case {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.92) 100%);
  padding: 30px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.project-case--figma {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  padding: 28px 28px 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-case::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(59,130,246,0.35), rgba(139,92,246,0.18), rgba(255,255,255,0));
}

.project-case--figma::before {
  display: none;
}

.project-case:hover,
.project-case--figma:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  border-color: #cfd9e6;
}

.project-case-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.project-case-top--figma {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.project-case-icon {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.project-case-icon--soft {
  box-shadow: none;
}

.project-case-icon--blue {
  background: #dbeafe;
  color: #2563eb;
}

.project-case-icon--purple {
  background: #f3e8ff;
  color: #9333ea;
}

.project-case-icon--green {
  background: #dcfce7;
  color: #16a34a;
}

.project-case-icon--orange {
  background: #ffedd5;
  color: #ea580c;
}

.project-case-heading {
  min-width: 0;
  flex: 1;
}

.project-case-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.project-case-badges--top {
  justify-content: flex-end;
  margin-bottom: 22px;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #d7dee8;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.project-badge--blue {
  background: #dbeafe;
  border-color: #bfdbfe;
  color: #2563eb;
}

.project-badge--purple {
  background: #f3e8ff;
  border-color: #e9d5ff;
  color: #9333ea;
}

.project-badge--green {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #16a34a;
}

.project-badge--orange {
  background: #ffedd5;
  border-color: #fed7aa;
  color: #ea580c;
}

.project-case h3 {
  font-size: 25px;
  line-height: 1.18;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.project-case-summary {
  color: #475569;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.project-divider {
  width: 100%;
  height: 1px;
  margin: 22px 0;
  background: linear-gradient(90deg, rgba(226,232,240,1) 0%, rgba(226,232,240,0.55) 65%, rgba(226,232,240,0) 100%);
}

.project-case-content {
  display: grid;
  gap: 20px;
}

.project-case-content--simple {
  display: grid;
  gap: 24px;
}

.project-case-block {
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(226,232,240,0.8);
  border-radius: 22px;
  padding: 18px 18px 16px 18px;
}

.project-case-block--flat {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.project-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin: 0 0 14px 0;
}

.project-text {
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.project-list {
  margin: 0;
  padding-left: 20px;
  color: #334155;
}

.project-list li {
  margin-bottom: 12px;
  line-height: 1.8;
  font-size: 15px;
}

.project-list li:last-child {
  margin-bottom: 0;
}

.project-list--clean {
  list-style: none;
  padding-left: 0;
}

.project-list--clean li {
  position: relative;
  padding-left: 0;
}

.project-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid #e5e7eb;
}

.project-capabilities span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #d7dee8;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
}

.projects-cta {
  margin-top: 42px;
}

.projects-cta-card {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 28px;
  border-radius: 24px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.24);
}

.projects-cta-eyebrow {
  color: var(--inaltum-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 12px 0;
}

.projects-cta-card h3 {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px 0;
}

.projects-cta-card p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.7;
}

.projects-cta-card--blue h3 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px 0;
}

.projects-cta-card--blue p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.7;
}

.projects-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 14px 32px;
  min-width: 225px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.projects-cta-button--light {
  background: #ffffff;
  color: #2563eb;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
}

.projects-cta-button--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  opacity: 0.98;
}

/* =========================
   TRAYECTORIA / RESULTADOS
   ========================= */
.trajectory-card {
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 18px;
  min-height: 210px;
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.trajectory-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  border-color: #cfd9e6;
}

.trajectory-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}

.trajectory-icon--blue {
  background: #dbeafe;
  color: #2563eb;
}

.trajectory-icon--purple {
  background: #f3e8ff;
  color: #9333ea;
}

.trajectory-icon--green {
  background: #dcfce7;
  color: #16a34a;
}

.trajectory-icon--orange {
  background: #ffedd5;
  color: #ea580c;
}

.trajectory-card h3 {
  margin: 0 0 8px 0;
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 500;
  color: #0f172a;
}

.trajectory-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

/* =========================
   PLANES
   ========================= */
.plans-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.plans-trust-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  padding: 20px 22px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.plans-trust-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--inaltum-dark);
}

.plans-trust-card span {
  display: block;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.plans-section {
  padding: 56px 0 84px 0;
  background: #fafafa;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  border-radius: 32px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.95) 100%);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
  border-color: rgba(191, 219, 254, 0.9);
}

.plan-card--featured {
  background:
    radial-gradient(500px 240px at 10% 0%, rgba(59,130,246,0.14), transparent 60%),
    linear-gradient(180deg, #0f172a 0%, #111c33 100%);
  border-color: rgba(59,130,246,0.28);
  box-shadow: 0 24px 65px rgba(15, 23, 42, 0.18);
}

.plan-card--featured:hover {
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
}

.plan-badge-featured {
  position: absolute;
  top: -14px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--inaltum-blue), var(--inaltum-purple));
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 26px rgba(59,130,246,0.24);
}

.plan-card-top {
  margin-bottom: 24px;
}

.plan-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-label--blue {
  color: var(--inaltum-blue);
  background: rgba(59,130,246,0.08);
  border-color: rgba(59,130,246,0.14);
}

.plan-label--purple {
  color: var(--inaltum-purple);
  background: rgba(139,92,246,0.09);
  border-color: rgba(139,92,246,0.16);
}

.plan-label--featured {
  color: #93c5fd;
  background: rgba(59,130,246,0.12);
  border-color: rgba(59,130,246,0.2);
}

.plan-title {
  margin: 16px 0 12px 0;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--inaltum-dark);
}

.plan-card--featured .plan-title {
  color: #ffffff;
}

.plan-description {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.75;
  min-height: 82px;
}

.plan-card--featured .plan-description {
  color: #cbd5e1;
}

.plan-price-box {
  margin-bottom: 24px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(226,232,240,0.9);
  background: rgba(255,255,255,0.72);
}

.plan-card--featured .plan-price-box {
  background: rgba(255,255,255,0.04);
  border-color: rgba(148,163,184,0.18);
}

.plan-price-prefix {
  display: block;
  margin-bottom: 8px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 56px;
}

.plan-price {
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  color: var(--inaltum-dark);
}

.plan-card--featured .plan-price {
  color: #ffffff;
}

.plan-currency {
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.plan-card--featured .plan-currency {
  color: #94a3b8;
}

.plan-price-note {
  display: block;
  margin-top: 10px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.plan-price--quote {
  font-size: 34px;
  background: linear-gradient(135deg, var(--inaltum-blue), var(--inaltum-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #334155;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 600;
}

.plan-features li i {
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.plan-card--featured .plan-features li {
  color: #e2e8f0;
}

.plan-card--featured .plan-features li i {
  background: rgba(59,130,246,0.16);
  color: #93c5fd;
}

.plan-footer {
  margin-top: 26px;
}

.plan-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--inaltum-dark);
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.plan-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  opacity: 0.98;
}

.plan-button--featured {
  background: var(--inaltum-blue);
  box-shadow: 0 16px 34px rgba(59,130,246,0.28);
}

.plan-button--featured:hover {
  background: #2563eb;
  box-shadow: 0 20px 42px rgba(59,130,246,0.34);
}

/* =========================
   Comparativa de planes
   ========================= */
.plans-comparison-section {
  padding: 90px 0 96px 0;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.plans-comparison-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.plans-eyebrow {
  color: var(--inaltum-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

.plans-comparison-title {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--inaltum-dark);
}

.plans-comparison-subtitle {
  max-width: 560px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.75;
}

.plans-table-card {
  border-radius: 32px;
  border: 1px solid rgba(226,232,240,0.9);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.95) 100%);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
}

.plans-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.plans-table thead th {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 22px 20px;
  color: var(--inaltum-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  vertical-align: middle;
}

.plans-table thead th:first-child {
  min-width: 260px;
}

.plans-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid #eef2f7;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  vertical-align: middle;
}

.plans-table tbody tr:last-child td {
  border-bottom: none;
}

.plans-table tbody tr:hover td {
  background: rgba(248,250,252,0.65);
}

.plans-table tbody td:first-child {
  font-weight: 700;
  color: #334155;
}

.table-check,
.table-minus,
.table-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.table-check {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #10b981;
  font-size: 12px;
}

.table-minus {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #f8fafc;
  color: #94a3b8;
  font-size: 12px;
}

.table-text {
  padding: 6px 10px;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.plans-cta {
  margin-top: 42px;
}

.plans-cta-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 42px 28px;
  border-radius: 32px;
  border: 1px solid rgba(226,232,240,0.9);
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(59,130,246,0.08), transparent 60%),
    radial-gradient(700px 300px at 90% 100%, rgba(139,92,246,0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.plans-cta-card h3 {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--inaltum-dark);
  margin: 0 0 14px 0;
}

.plans-cta-card p {
  max-width: 680px;
  margin: 0 auto;
  color: #64748b;
  font-size: 17px;
  line-height: 1.8;
}

.plans-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 15px 28px;
  border-radius: 9999px;
  background: var(--inaltum-dark);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.plans-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
  opacity: 0.98;
}

/* =========================
   FAQ
   ========================= */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 0.3s ease;
}

/* =========================
   Tarjeta de contacto
   ========================= */
.contact-card {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

/* =========================
   Mensajes del formulario
   ========================= */
#form-status {
  display: none;
  padding: 1rem;
  border-radius: 0.75rem;
  text-align: center;
  font-weight: 700;
  margin-top: 1rem;
}

#form-status.success {
  display: block;
  background-color: #dcfce7;
  color: #166534;
}

#form-status.info {
  display: block;
  background-color: #e0f2fe;
  color: #0369a1;
}

#form-status.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.form-status--info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.form-status--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.form-status--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* =========================
   Mobile menu / hamburguesa
   ========================= */
.mobile-menu-toggle {
  position: relative;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.mobile-menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(59, 130, 246, 0.22);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.mobile-menu-toggle:active {
  transform: scale(0.98);
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 9999px;
  background: var(--inaltum-dark);
  transition:
    transform 0.28s ease,
    opacity 0.2s ease,
    width 0.2s ease;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.25s ease,
    padding-top 0.25s ease;
}

.mobile-menu.is-open {
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  padding-top: 12px;
  padding-bottom: 14px;
}

.mobile-menu-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--inaltum-dark);
  font-size: 15px;
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.mobile-menu-link:hover {
  background: #f8fafc;
  color: var(--inaltum-blue);
}

.mobile-menu-link--active {
  background: rgba(59, 130, 246, 0.08);
  color: var(--inaltum-blue);
}

.mobile-menu-link--cta {
  margin-top: 6px;
  justify-content: center;
  background: var(--inaltum-dark);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
}

.mobile-menu-link--cta:hover {
  background: #111827;
  color: #ffffff;
}

body.menu-open {
  overflow: hidden;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 1200px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .projects-trust-row,
  .plans-trust-row {
    grid-template-columns: 1fr;
  }

  .projects-section-head,
  .plans-comparison-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .projects-subtitle,
  .plans-comparison-subtitle {
    max-width: none;
  }

  .projects-grid,
  .projects-grid--figma {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .projects-title,
  .plans-comparison-title {
    font-size: 28px;
  }

  .plans-section {
    padding: 42px 0 72px 0;
  }

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

  .plan-card {
    padding: 22px;
    border-radius: 24px;
  }

  .plan-title {
    font-size: 24px;
  }

  .plan-description {
    min-height: auto;
  }

  .plan-price {
    font-size: 38px;
  }

  .plan-price--quote {
    font-size: 28px;
  }

  .projects-hero--clean {
    padding-top: 7.5rem;
    padding-bottom: 2.5rem;
  }

  .project-case,
  .project-case--figma {
    padding: 22px;
    border-radius: 22px;
  }

  .project-case-top,
  .project-case-top--figma {
    gap: 14px;
  }

  .project-case-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 21px;
  }

  .project-case-badges--top {
    justify-content: flex-start;
    margin-bottom: 16px;
  }

  .project-case h3 {
    font-size: 22px;
  }

  .project-case-summary,
  .project-text,
  .project-list li {
    font-size: 15px;
    line-height: 1.75;
  }

  .project-capabilities {
    gap: 8px;
  }

  .project-capabilities span {
    font-size: 12px;
    padding: 8px 12px;
  }

  .trajectory-card {
    min-height: 190px;
    padding: 28px 20px;
  }

  .trajectory-card h3 {
    font-size: 2rem;
  }

  .projects-cta-card,
  .plans-cta-card {
    padding: 34px 20px;
    border-radius: 22px;
  }

  .projects-cta-card h3,
  .projects-cta-card--blue h3,
  .plans-cta-card h3 {
    font-size: 24px;
  }

  .projects-cta-card p,
  .projects-cta-card--blue p,
  .plans-cta-card p {
    font-size: 15px;
  }

  .projects-cta-button {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }

  .nav-brand-text {
    font-size: 1.1rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .nav-brand-text {
    max-width: 135px;
    font-size: 0.98rem;
  }

  .mobile-menu-panel {
    border-radius: 20px;
    padding: 12px;
  }

  .mobile-menu-link {
    min-height: 48px;
    padding: 13px 14px;
    font-size: 14px;
  }

  .mobile-menu-toggle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .project-case-badges {
    gap: 8px;
  }

  .project-badge {
    font-size: 11px;
    padding: 7px 12px;
  }

  .project-case h3 {
    font-size: 20px;
  }

  .project-case-summary,
  .project-list li,
  .trajectory-card p {
    font-size: 14px;
  }

  .trajectory-icon {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }

  .trajectory-card h3 {
    font-size: 1.85rem;
  }
}