/* ===== VARIABLES Y BASE ===== */
:root {
  color-scheme: dark;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0a0f1f;
  color: #eef1fb;
  font-size: 16px;
  --primary-blue: #4da3ff;
  --secondary-blue: #6b9eff;
  --accent-gold: #F5A623;
  --dark-bg: #08101f;
  --card-bg: rgba(15, 23, 42, 0.7);
  --border-color: rgba(77, 163, 255, 0.15);
  --glow: rgba(77, 163, 255, 0.4);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background-color: #050812;
  background-image: url("img/fondo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  body {
    background-attachment: scroll;
  }
}

/* Capa sobre la foto + brillo suave (legibilidad del contenido) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      180deg,
      rgba(5, 8, 18, 0.72) 0%,
      rgba(5, 8, 18, 0.82) 45%,
      rgba(5, 8, 18, 0.88) 100%
    ),
    radial-gradient(circle at 20% 50%, rgba(77, 163, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(77, 163, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.page-wrapper {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
  position: relative;
  z-index: 1;
}

/* ===== TOP NAV ===== */
.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(77, 163, 255, 0.14);
  backdrop-filter: blur(16px);
}

.topnav__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #e9efff;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.topnav__logo {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(77, 163, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(10, 15, 31, 0.6),
    0 8px 22px rgba(77, 163, 255, 0.22);
  background: rgba(10, 15, 31, 0.85);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.topnav__brand:hover .topnav__logo {
  border-color: rgba(77, 163, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(10, 15, 31, 0.6),
    0 10px 28px rgba(77, 163, 255, 0.35);
  transform: scale(1.04);
}

.topnav__logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 768px) {
  .topnav__logo {
    width: 70px;
    height: 70px;
  }
}

@media (min-width: 1024px) {
  .topnav__logo {
    width: 80px;
    height: 80px;
  }
}

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

.topnav__link {
  text-decoration: none;
  color: #b8c9ff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.topnav__link:hover {
  color: #ffffff;
  border-color: rgba(77, 163, 255, 0.25);
  background: rgba(10, 15, 31, 0.45);
}

.topnav__link--cta {
  color: #ffffff;
  border-color: var(--accent-gold);
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.25) 0%, rgba(245, 166, 35, 0.1) 100%);
  transition: all 0.3s ease;
}

.topnav__link--cta:hover {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.4) 0%, rgba(245, 166, 35, 0.2) 100%);
  color: var(--accent-gold);
}

/* ===== ANIMACIONES KEYFRAMES PREMIUM ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(77, 163, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(77, 163, 255, 0.6);
  }
}

@keyframes floatingSoft {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ===== CLASES DE ANIMACIÓN ===== */
.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-in-left {
  animation: fadeInLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-in-right {
  animation: fadeInRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* ===== HERO / HEADER ===== */
.hero {
  display: grid;
  gap: 28px;
  padding: 48px 40px;
  background: linear-gradient(-45deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.7) 25%, rgba(31, 58, 94, 0.7) 50%, rgba(15, 23, 42, 0.7) 75%, rgba(15, 23, 42, 0.8));
  background-size: 400% 400%;
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  animation: fadeIn 0.8s ease-out, gradientShift 15s ease infinite;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatingSoft 6s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatingSoft 8s ease-in-out infinite reverse;
}

.hero:hover {
  border-color: rgba(77, 163, 255, 0.3);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 8px 32px rgba(77, 163, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero__subtitle {
  margin: 0 0 14px;
  max-width: 540px;
  color: #a8b9d1;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.hero__info {
  position: relative;
  z-index: 2;
}

.hero__info h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  max-width: 720px;
  background: linear-gradient(135deg, #ffffff 0%, #a8c9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero__info p {
  margin: 20px 0 0;
  max-width: 720px;
  line-height: 1.8;
  color: #c1cce0;
  font-size: 1.05rem;
}

/* Trust */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-pill {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(77, 163, 255, 0.22);
  background: rgba(10, 15, 31, 0.35);
  color: #dbe6ff;
  font-weight: 750;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
}

/* Achievements */
.hero__achievements {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
  color: #a8b9d1;
  font-weight: 600;
  font-size: 0.95rem;
}

.hero__achievements span:nth-child(even) {
  color: var(--accent-gold);
  font-weight: 800;
}

/* ===== BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 16px 32px;
  font-weight: 700;
  border: 2px solid rgba(77, 163, 255, 0.3);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #e08a1a 100%);
  color: #0a0f1f;
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.4),
              0 0 40px rgba(245, 166, 35, 0.2);
  border-color: var(--accent-gold);
  font-weight: 800;
}

.btn--primary:hover {
  transform: translateY(-6px);
  background: linear-gradient(135deg, #e08a1a 0%, #d97d0f 100%);
  box-shadow: 0 16px 40px rgba(245, 166, 35, 0.45),
              0 0 60px rgba(245, 166, 35, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: var(--accent-gold);
}

.btn--primary:active {
  transform: translateY(-2px);
}

.btn--hero {
  padding: 20px 48px;
  font-size: 1.1rem;
  margin-top: 24px;
}

.btn--plan-button {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #e08a1a 100%);
  color: #0a0f1f;
  border-color: var(--accent-gold);
  margin-top: 20px;
  transition: all 0.3s ease;
  font-weight: 800;
}

.btn--plan-button:hover {
  background: linear-gradient(135deg, #e08a1a 0%, #d97d0f 100%);
  color: #0a0f1f;
  transform: translateY(-3px);
}

.plan-card--premium .btn--plan-button {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #e08a1a 100%);
  color: #0a0f1f;
  border-color: var(--accent-gold);
}

.plan-card--premium .btn--plan-button:hover {
  background: linear-gradient(135deg, #e08a1a 0%, #d97d0f 100%);
  color: #0a0f1f;
}

.btn--full {
  width: 100%;
}

/* ===== ICONOS SUTILMENTE BRAND ===== */
.icon-badge {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.3);
  color: var(--accent-gold);
  margin-right: 10px;
  transform: translateY(-1px);
}

/* ===== SECCIONES DE CONTENIDO (QUIÉNES SOMOS / QUÉ OFRECEMOS / PLANES) ===== */
.content-section,
.plans-section {
  margin-top: 40px;
  padding: 40px;
  border-radius: 28px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.content-section:first-of-type {
  margin-top: 48px;
}

.content-section:hover,
.plans-section:hover {
  border-color: rgba(77, 163, 255, 0.25);
  box-shadow: 0 8px 32px rgba(77, 163, 255, 0.08);
}

.section-heading {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #a8c9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-heading--center {
  text-align: center;
}

.section-lead {
  margin: 0 0 16px;
  max-width: 720px;
  line-height: 1.8;
  color: #c1cce0;
  font-size: 1.05rem;
}

.section-lead strong {
  color: #e8eeff;
  font-weight: 700;
}

.section-lead--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-text {
  margin: 0;
  max-width: 720px;
  line-height: 1.8;
  color: #a8b9d1;
  font-size: 1rem;
}

.section-text--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.content-section .highlights {
  margin: 28px 0 0;
}

.plans-section .section-heading {
  margin-bottom: 12px;
}

.plans-section .section-lead {
  margin-bottom: 0;
}

/* ===== PLANES / CARDS ===== */
.plans {
  display: grid;
  gap: 28px;
  margin: 56px 0 48px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.plans-section .plans {
  margin: 28px 0 0;
}

/* ===== INSTAGRAM ===== */
.instagram-block .section-lead {
  margin-bottom: 22px;
}

.instagram-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 24px;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(225, 48, 108, 0.28);
  background: linear-gradient(
    135deg,
    rgba(131, 58, 180, 0.14) 0%,
    rgba(225, 48, 108, 0.1) 50%,
    rgba(253, 29, 29, 0.08) 100%
  );
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  max-width: 520px;
}

.instagram-card:hover {
  transform: translateY(-3px);
  border-color: rgba(225, 48, 108, 0.5);
  box-shadow: 0 14px 36px rgba(225, 48, 108, 0.18);
}

.instagram-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

.instagram-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(221, 42, 123, 0.35);
}

.instagram-card__icon svg {
  width: 36px;
  height: 36px;
}

.instagram-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.instagram-card__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8bee0;
}

.instagram-card__handle {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.instagram-card__cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f9b4d6;
  margin-top: 6px;
}

.plan-card {
  padding: 40px;
  border-radius: 28px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 2px solid var(--border-color);
  position: relative;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  overflow: hidden;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(77, 163, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  border-radius: 28px;
}

.plan-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(77, 163, 255, 0.6), transparent);
}

.plan-card.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.plan-card:nth-child(2) {
  animation-delay: 0.15s;
}

.plan-card:nth-child(3) {
  animation-delay: 0.3s;
}

.plan-card:hover {
  transform: translateY(-12px);
  border-color: rgba(77, 163, 255, 0.6);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 32px 64px rgba(77, 163, 255, 0.2),
              0 0 60px rgba(77, 163, 255, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.plan-card__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(245, 166, 35, 0.08) 100%);
  border: 1px solid rgba(245, 166, 35, 0.4);
  border-radius: 999px;
  color: var(--accent-gold);
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.plan-card:hover .plan-card__badge {
  background: rgba(245, 166, 35, 0.25);
  color: #ffffff;
  border-color: var(--accent-gold);
}

.plan-card h2 {
  position: relative;
  margin: 0 0 12px;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.plan-card__description {
  margin: 0 0 28px;
  line-height: 1.8;
  color: #b8c9ff;
  font-size: 0.95rem;
}

.plan-card__features p,
.plan-card__calendar p {
  margin: 0 0 14px;
  line-height: 1.75;
  color: #d6e1ff;
}

.plan-card__list,
.plan-card__calendar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-card__list li,
.plan-card__calendar-list li {
  margin-bottom: 14px;
  line-height: 1.75;
  color: #d6e1ff;
  padding-left: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.plan-card:hover .plan-card__list li,
.plan-card:hover .plan-card__calendar-list li {
  color: #ffffff;
  transform: translateX(4px);
}

.plan-card__list li::before,
.plan-card__calendar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b86b5 0%, #4da3ff 100%);
  transform: translateY(-50%);
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(77, 163, 255, 0.3);
}

.plan-card:hover .plan-card__list li::before,
.plan-card:hover .plan-card__calendar-list li::before {
  background: linear-gradient(135deg, #4da3ff 0%, #7fb3ff 100%);
  box-shadow: 0 0 20px rgba(77, 163, 255, 0.5);
}

.plan-card__calendar {
  margin-top: 24px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(77, 163, 255, 0.15);
  background: rgba(10, 15, 31, 0.6);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.plan-card:hover .plan-card__calendar {
  background: rgba(10, 15, 31, 0.8);
  border-color: rgba(77, 163, 255, 0.3);
}

.plan-card__calendar h3 {
  margin: 0 0 14px;
  color: #d6e1ff;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card__price {
  margin-top: 28px;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(31, 58, 94, 0.3) 0%, rgba(10, 15, 31, 0.5) 100%);
  border: 2px solid rgba(77, 163, 255, 0.2);
  font-weight: 700;
  color: #f1f5ff;
  transition: all 0.3s ease;
}

.plan-card:hover .plan-card__price {
  background: linear-gradient(135deg, rgba(77, 163, 255, 0.15) 0%, rgba(31, 58, 94, 0.2) 100%);
  border-color: rgba(77, 163, 255, 0.5);
}

.plan-card__price span {
  display: block;
  margin-top: 10px;
  font-size: 2.4rem;
  color: var(--accent-gold);
  letter-spacing: -0.02em;
}

/* ===== HIGHLIGHTS ===== */
.highlights {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 48px 0;
}

.highlight-item {
  padding: 32px;
  border-radius: 24px;
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border: 2px solid var(--border-color);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  position: relative;
  overflow: hidden;
}

.highlight-item::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 0.5s ease;
}

.highlight-item.fade-in-left,
.highlight-item.fade-in-right {
  animation: 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.highlight-item.fade-in-left {
  animation-name: fadeInLeft;
}

.highlight-item.fade-in-right {
  animation-name: fadeInRight;
}

.highlight-item:nth-child(2) {
  animation-delay: 0.15s;
}

.highlight-item:nth-child(3) {
  animation-delay: 0.3s;
}

.highlight-item:hover {
  transform: translateY(-8px);
  border-color: rgba(77, 163, 255, 0.6);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 24px 48px rgba(77, 163, 255, 0.2),
              0 0 60px rgba(77, 163, 255, 0.1);
}

.highlight-item:hover::before {
  top: 0;
  right: 0;
}

.highlight-item h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  color: #ffffff;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.highlight-item:hover h3 {
  color: var(--primary-blue);
}

.highlight-item p {
  margin: 0;
  line-height: 1.8;
  color: #b8c9ff;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.highlight-item:hover p {
  color: #d6e1ff;
}

/* ===== FOOTER / FORMULARIO ===== */
.footer {
  margin-top: 56px;
  padding: 48px;
  border-radius: 28px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 2px solid var(--border-color);
  color: #cddcff;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer__title {
  margin: 0 0 36px;
  font-size: 2.2rem;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #a8c9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.cotization-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group:nth-child(3) {
  grid-column: 2 / 3;
}

.form-group:nth-child(4) {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 800;
  color: var(--accent-gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  background: rgba(10, 15, 31, 0.6);
  border: 2px solid rgba(77, 163, 255, 0.2);
  border-radius: 14px;
  color: #d6e1ff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(214, 225, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(10, 15, 31, 0.8);
  border-color: rgba(77, 163, 255, 0.6);
  box-shadow: 0 0 24px rgba(77, 163, 255, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn--full {
  grid-column: 1 / -1;
  margin-top: 12px;
}

.footer:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(77, 163, 255, 0.4);
}

/* ===== RESPONSIVE - TABLETS GRANDES (1024px) ===== */
@media (max-width: 1024px) {
  .page-wrapper {
    width: calc(100% - 24px);
  }

  .hero {
    padding: 40px 32px;
  }

  .plans {
    gap: 24px;
  }

  .plan-card {
    padding: 32px;
  }

  .footer {
    padding: 40px 32px;
  }
}

/* ===== MENÚ HAMBURGUESA ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  align-items: center;
  justify-content: center;
  z-index: 101;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(12px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-12px);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: calc(100% - 28px);
  background: rgba(10, 15, 31, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(77, 163, 255, 0.15);
  border-radius: 24px;
  margin: 12px 14px 0;
  padding: 20px;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.mobile-menu.active {
  display: flex;
  animation: fadeInUp 0.3s ease-out;
}

.mobile-menu a {
  text-decoration: none;
  color: #b8c9ff;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: block;
}

.mobile-menu a:hover {
  background: rgba(77, 163, 255, 0.1);
  color: #ffffff;
}

.mobile-menu a.cta {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #e08a1a 100%);
  color: #0a0f1f;
  font-weight: 800;
  text-align: center;
}

.mobile-menu a.cta:hover {
  background: linear-gradient(135deg, #e08a1a 0%, #d97d0f 100%);
}

/* ===== RESPONSIVE - TABLETS (768px) ===== */
@media (max-width: 768px) {
  :root {
    font-size: 15px;
  }

  .page-wrapper {
    width: calc(100% - 20px);
    padding: 24px 0 40px;
  }

  .topnav {
    padding: 12px 14px;
    border-radius: 16px;
    position: relative;
  }

  .topnav__links {
    display: none;
    gap: 6px;
  }

  .hamburger {
    display: flex;
  }

  .content-section,
  .plans-section {
    padding: 32px 24px;
    margin-top: 24px;
    border-radius: 24px;
  }

  .content-section:first-of-type {
    margin-top: 40px;
  }

  .section-heading {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }

  .section-lead {
    font-size: 1rem;
  }

  .section-text {
    font-size: 0.95rem;
  }

  .hero {
    gap: 24px;
    padding: 32px 24px;
    border-radius: 24px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero__info h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero__info p {
    font-size: 1rem;
    margin-top: 16px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.9rem;
    margin-top: 24px;
  }

  .plans {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
  }

  .plan-card {
    padding: 28px;
    border-radius: 20px;
  }

  .plan-card h2 {
    font-size: 2rem;
  }

  .plan-card__description {
    font-size: 0.9rem;
  }

  .plan-card__price span {
    font-size: 2rem;
  }

  .highlights {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .highlight-item {
    padding: 24px;
    border-radius: 20px;
  }

  .highlight-item h3 {
    font-size: 1.1rem;
  }

  .highlight-item p {
    font-size: 0.9rem;
  }

  .footer {
    margin-top: 40px;
    padding: 32px 24px;
    border-radius: 24px;
  }

  .footer::before {
    display: none;
  }

  .footer__title {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }

  .cotization-form {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
  }

  .form-group:nth-child(3) {
    grid-column: 1 / -1;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .form-group label {
    font-size: 0.8rem;
  }

  .btn--full {
    margin-top: 8px;
  }
}

/* ===== RESPONSIVE - TELEFÓNICO GRANDE (600px) ===== */
@media (max-width: 600px) {
  :root {
    font-size: 14px;
  }

  .page-wrapper {
    width: calc(100% - 16px);
    padding: 16px 0 32px;
  }

  .topnav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .topnav__links {
    width: 100%;
    justify-content: flex-start;
  }

  .content-section,
  .plans-section {
    padding: 24px 16px;
    margin-top: 20px;
    border-radius: 20px;
  }

  .content-section:first-of-type {
    margin-top: 32px;
  }

  .section-heading {
    font-size: 1.5rem;
  }

  .hero {
    gap: 20px;
    padding: 24px 16px;
    border-radius: 20px;
  }

  .hero__subtitle {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .hero__info h1 {
    font-size: 1.7rem;
    line-height: 1.3;
  }

  .hero__info p {
    font-size: 0.9rem;
    margin-top: 12px;
    line-height: 1.6;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.8rem;
    margin-top: 20px;
    border-radius: 24px;
  }

  .btn::before {
    display: none;
  }

  .btn--primary:hover {
    transform: translateY(-2px);
  }

  .plans {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 32px 0;
  }

  .plan-card {
    padding: 20px;
    border-radius: 16px;
  }

  .plan-card::after {
    display: none;
  }

  .plan-card:hover {
    transform: translateY(-6px);
  }

  .plan-card h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .plan-card__badge {
    padding: 8px 12px;
    font-size: 0.65rem;
    margin-bottom: 14px;
  }

  .plan-card__description {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  .plan-card__list li,
  .plan-card__calendar-list li {
    font-size: 0.85rem;
    margin-bottom: 10px;
    padding-left: 20px;
  }

  .plan-card__calendar {
    margin-top: 14px;
    padding: 14px;
  }

  .plan-card__calendar h3 {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }

  .plan-card__price {
    margin-top: 18px;
    padding: 16px;
    font-size: 0.9rem;
  }

  .plan-card__price span {
    font-size: 1.6rem;
    margin-top: 6px;
  }

  .highlights {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .highlight-item {
    padding: 18px;
    border-radius: 16px;
  }

  .highlight-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .highlight-item p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .footer {
    margin-top: 32px;
    padding: 24px 16px;
    border-radius: 20px;
  }

  .footer__title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .cotization-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-group {
    gap: 6px;
  }

  .form-group label {
    font-size: 0.75rem;
    font-weight: 700;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 16px;
    border-width: 1px;
  }

  .form-group textarea {
    min-height: 100px;
    resize: none;
  }

  .btn--full {
    padding: 12px 16px;
    font-size: 0.8rem;
    margin-top: 6px;
  }
}

/* ===== RESPONSIVE - TELEFÓNICO PEQUEÑO (420px) ===== */
@media (max-width: 420px) {
  :root {
    font-size: 13px;
  }

  .page-wrapper {
    width: calc(100% - 12px);
    padding: 12px 0 24px;
  }

  .topnav__link {
    font-size: 0.85rem;
    padding: 9px 10px;
  }

  .content-section,
  .plans-section {
    padding: 20px 14px;
    margin-top: 16px;
    border-radius: 16px;
  }

  .hero {
    gap: 16px;
    padding: 18px 12px;
    border-radius: 16px;
  }

  .hero__subtitle {
    font-size: 0.8rem;
  }

  .hero__info h1 {
    font-size: 1.5rem;
  }

  .hero__info p {
    font-size: 0.85rem;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.75rem;
    margin-top: 16px;
  }

  .plans {
    margin: 24px 0;
    gap: 12px;
  }

  .plan-card {
    padding: 16px;
  }

  .plan-card h2 {
    font-size: 1.4rem;
  }

  .plan-card__description {
    font-size: 0.8rem;
  }

  .plan-card__list li,
  .plan-card__calendar-list li {
    font-size: 0.8rem;
    padding-left: 18px;
  }

  .plan-card__price span {
    font-size: 1.4rem;
  }

  .highlight-item {
    padding: 14px;
  }

  .highlight-item h3 {
    font-size: 0.9rem;
  }

  .highlight-item p {
    font-size: 0.8rem;
  }

  .footer {
    margin-top: 24px;
    padding: 18px 12px;
  }

  .footer__title {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }

  .cotization-form {
    gap: 12px;
  }

  .form-group input,
  .form-group textarea {
    padding: 9px 10px;
    font-size: 16px;
  }

  .form-group textarea {
    min-height: 90px;
  }

  .btn--full {
    padding: 10px 12px;
    font-size: 0.7rem;
  }
}

/* ===== RESPONSIVE - LANDSCAPE MOBILE ===== */
@media (max-height: 500px) and (max-width: 1024px) {
  .hero {
    padding: 20px 16px;
  }

  .hero__info h1 {
    font-size: 1.4rem;
  }

  .btn {
    margin-top: 12px;
  }
}

/* ===== DESABILITAR ANIMACIONES PESADAS EN MÓVILES ===== */
@media (max-width: 768px) {
  @media (prefers-reduced-motion: no-preference) {
    .fade-in-up,
    .fade-in-left,
    .fade-in-right {
      animation-duration: 0.5s !important;
    }
  }

  .hero::before,
  .hero::after {
    animation: none !important;
  }

  .highlight-item::before {
    animation: none !important;
  }

  .plan-card:hover {
    transform: translateY(-4px) !important;
  }
}
