:root {
  --primary: #2625b6;
  --primary-dark: #1c1b87;
  --logo-blue: #4630A3;
  --accent: #4c4cff;
  --orange: #ff7a00;
  --orange-dark: #e26400;
  --text: #101234;
  --white: #ffffff;
  --soft: #f2f4ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: #090d29;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--logo-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: var(--white);
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--white);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.brand-text small {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.65rem;
  opacity: 0.75;
  margin-top: 0.25rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-weight: 600;
  align-items: center;
}

.nav-links a {
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-links .nav-cta {
  background: var(--orange);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-cta img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  overflow: hidden;
}

#inicio.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(28, 20, 102, 0.65), rgba(28, 20, 102, 0.65)),
    url("../images/portada.png") center/cover no-repeat;
  opacity: 0.6;
  z-index: 0;
}

.hero-small {
  padding: 3.2rem 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  z-index: 1;
}

.hero-orb-top {
  width: 340px;
  height: 340px;
  top: -120px;
  right: -60px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-orb-bottom {
  width: 260px;
  height: 260px;
  left: -70px;
  bottom: -90px;
  background: rgba(244, 114, 182, 0.2);
}

.eyebrow {
  margin: 0 0 0.6rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  opacity: 0.9;
}

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.1;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

h3 {
  margin-top: 0;
}

p {
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 0.75rem 1.1rem;
  font-weight: 700;
}

.btn img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 0.45rem;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  padding: 2rem 1.4rem;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.2);
}

.hero-logo {
  width: min(100%, 360px);
  border-radius: 12px;
  margin: 0 auto 0.9rem;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-card h2 {
  letter-spacing: 0.05em;
  margin: 0;
}

.hero-card p {
  margin: 0.35rem 0 0;
}

.section {
  padding: 4rem 0;
  background: #090d29;
  color: var(--white);
}

.hero-stats {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.7rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.1rem;
}

.stat span {
  font-size: 0.8rem;
  opacity: 0.9;
}

.promo-highlight {
  background: #0d1033;
  color: var(--white);
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.3rem;
  align-items: center;
}

.promo-media img {
  width: 100%;
  border-radius: 18px;
  border: 3px solid var(--orange);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.35);
}

.promo-copy h2 {
  margin-bottom: 0.6rem;
}

.promo-tag {
  display: inline-block;
  margin: 0 0 0.7rem;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.promo-copy p {
  max-width: 44ch;
}

.mini-plans {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.mini-plan {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  padding: 0.65rem;
}

.mini-plan h3 {
  margin: 0;
  font-size: 1rem;
}

.mini-plan p {
  margin: 0.2rem 0 0;
  font-weight: 700;
}

.plans-logo {
  margin-top: 1rem;
  width: min(260px, 100%);
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.42);
}

.plans-page {
  background: #f3f5ff;
  color: #11153d;
}

.plans-page .hero {
  background: linear-gradient(135deg, #4d39b4 0%, #3b2f8f 100%);
}

.plans-page .section {
  background: #f3f5ff;
  color: #11153d;
}

.plans-page .plans-grid {
  gap: 1.15rem;
}

.plans-page .card.plan-card {
  background: #ffffff;
  border: 1px solid #dfe4ff;
  color: #12163f;
  box-shadow: 0 10px 22px rgba(37, 50, 134, 0.1);
}

.plans-page .card.plan-card h2 {
  color: #2a2f7f;
}

.plans-page .card.plan-card strong {
  color: #1f245f;
}

.plans-page .price {
  color: #ff7a00;
}

.plans-page .note {
  color: #3d4379;
}

.section-alt {
  background: var(--soft);
  color: #0b1034;
}

.eyebrow-dark {
  color: var(--primary-dark);
}

.features,
.plans-grid {
  display: grid;
  gap: 1rem;
}

.features {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.plans-grid {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.section-plans {
  background: #ffffff;
  color: #0b1034;
}

.plans-grid-home {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.plan-box {
  border: 1px solid #dce2ff;
  border-radius: 18px;
  padding: 1.2rem;
  background: #fff;
  box-shadow: 0 10px 20px rgba(24, 33, 114, 0.06);
}

.plan-box.featured {
  background: linear-gradient(160deg, var(--primary) 0%, #3533c9 50%, var(--orange) 100%);
  color: var(--white);
  border-color: var(--primary);
}

.plan-subtitle {
  color: #58608f;
}

.plan-box.featured .plan-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.plan-price {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0.7rem 0;
}

.plan-box ul {
  margin: 0;
  padding-left: 1rem;
}

.plan-box li {
  margin: 0.3rem 0;
}

.plans-links {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.plans-links strong {
  color: var(--orange);
}

.card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-card li {
  margin: 0.45rem 0;
}

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

.note {
  font-size: 0.92rem;
}

.testimonials {
  background: #0d1033;
}

.testimonials-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.quote-card {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-color: rgba(255, 122, 0, 0.45);
}

.quote-card p {
  margin-top: 0;
}

.quote-card span {
  display: inline-block;
  margin-top: 0.6rem;
  opacity: 0.85;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
}

.socials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 999px;
  padding: 0.42rem 0.78rem 0.42rem 0.42rem;
  border: 2px solid;
  background: rgba(255, 255, 255, 0.92);
  color: #0b1034;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  background: #fff;
  border: 2px solid currentColor;
  flex-shrink: 0;
}

.social-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 50%;
}

.social-label {
  font-weight: 700;
  font-size: 0.92rem;
}

.social-instagram {
  border-color: #d13f8f;
  color: #d13f8f;
}

.social-facebook {
  border-color: #1877f2;
  color: #1877f2;
}

.social-whatsapp {
  border-color: #25d366;
  color: #1fae53;
}

#contacto h2,
#contacto h3,
#contacto p,
#contacto strong {
  color: #0b1034;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25d366;
  color: var(--white);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 0.95rem 0.55rem 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer {
  background: var(--logo-blue);
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.2rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
}

.footer-brand p {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-copy {
  width: 100%;
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 860px) {
  .hero-grid,
  .contact-grid,
  .promo-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .nav-wrap {
    flex-direction: column;
    gap: 0.7rem;
  }

  .hero {
    padding: 3.8rem 0 3rem;
  }
}
