
:root {
  --navy: #0E2233;
  --lila: #B9B2E1;
  --purpura: #6F5BA7;
  --laurel: #69B369;
  --verde-cta: #2E7D6E;
  --marfil: #F4EFE8;
  --gris-suave: #E6E9F2;
  --bg-body: #F7F7FA;
  --text-main: #1A2433;
  --text-soft: #5B6475;
  --radius-lg: 24px;
  --shadow-soft: 0 18px 40px rgba(10, 23, 44, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(185, 178, 225, 0.2), transparent 55%), var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--purpura);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container.narrow {
  max-width: 760px;
}

.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purpura);
  margin: 0 0 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--verde-cta), var(--purpura));
  color: #fff;
  box-shadow: 0 10px 25px rgba(14, 34, 51, 0.22);
}

.btn.secondary {
  background: #fff;
  color: var(--navy);
  border-color: rgba(14, 34, 51, 0.1);
}

.btn.ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(14, 34, 51, 0.16);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(10, 23, 44, 0.18);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(247, 247, 250, 0.85);
  border-bottom: 1px solid rgba(230, 233, 242, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: radial-gradient(circle at 20% 20%, var(--lila), var(--navy));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(14, 34, 51, 0.28);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  color: var(--text-soft);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background: rgba(111, 91, 167, 0.04);
  color: var(--navy);
}

.nav-link.active {
  background: rgba(111, 91, 167, 0.08);
  color: var(--navy);
}

.nav-link.nav-cta {
  border: 1px solid rgba(111, 91, 167, 0.35);
}

.nav-link.nav-cta.active {
  background: linear-gradient(135deg, var(--navy), var(--purpura));
  color: #fff;
  border-color: transparent;
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #e2f5ee;
  color: #0c5132;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.header-whatsapp:hover {
  text-decoration: none;
  background: #d4eee3;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(14, 34, 51, 0.2);
  background: #fff;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  background: var(--navy);
  border-radius: 999px;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 2.8rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-subtitle {
  margin: 0 0 1.75rem;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.hero-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-badges li {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(230, 233, 242, 0.8);
}

.hero-visual {
  position: relative;
  min-height: 260px;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.4rem;
}

.hero-card-main {
  top: 8%;
  right: 4%;
  max-width: 250px;
}

.hero-card-secondary {
  bottom: 5%;
  left: 0;
  max-width: 220px;
}

.hero-card-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purpura);
  margin: 0 0 0.4rem;
}

.hero-card-price {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
}

.hero-card-text {
  margin: 0.4rem 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.hero-floating-tag {
  position: absolute;
  inset-inline: auto 10%;
  bottom: 50%;
  transform: translateY(50%);
  background: rgba(14, 34, 51, 0.96);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  box-shadow: 0 14px 30px rgba(14, 34, 51, 0.6);
}

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.feature-card,
.service-card,
.service-detail-card,
.plan-card,
.plan-detail,
.branches-card,
.blog-card,
.blog-list-item,
.form-card,
.contact-panel,
.contact-form-panel,
.branch-section {
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 14px 30px rgba(10, 23, 44, 0.08);
}

.feature-card h3,
.service-card h3,
.service-detail-card h2,
.plan-card h3,
.plan-detail h2,
.blog-card h3,
.blog-list-item h2 {
  margin-top: 0;
}

/* Plan cards */
.section-planes-preview {
  background: linear-gradient(180deg, rgba(185, 178, 225, 0.12), transparent);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.plan-card {
  position: relative;
  overflow: hidden;
}

.plan-card h3 {
  margin-bottom: 0.5rem;
}

.plan-tag {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}

.plan-card ul {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.plan-economico {
  background: linear-gradient(145deg, #e1f5ea, #ffffff);
  border: 1px solid rgba(105, 179, 105, 0.3);
}

.plan-celestial {
  background: linear-gradient(145deg, #ebe6ff, #ffffff);
  border: 1px solid rgba(185, 178, 225, 0.7);
}

.plan-deluxe {
  background: linear-gradient(145deg, #f9f4e8, #ffffff);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.plan-premium {
  background: radial-gradient(circle at top left, rgba(185, 178, 225, 0.4), rgba(14, 34, 51, 0.96));
  color: #fff;
  border: 1px solid rgba(230, 233, 242, 0.3);
}

.plan-premium .plan-tag,
.plan-premium ul {
  color: #e6e9f2;
}

/* Plan detail page */
.plans-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: 2rem;
}

.plans-aside {
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1.6rem;
  box-shadow: 0 18px 40px rgba(10, 23, 44, 0.12);
  position: sticky;
  top: 90px;
  height: fit-content;
}

.check-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 1.4rem;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 0.4rem;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.8rem;
  color: var(--verde-cta);
}

.plans-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.plan-detail-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.plan-detail-tag {
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* Branches */
.branches-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.branches-card {
  background: radial-gradient(circle at top, rgba(185, 178, 225, 0.5), rgba(14, 34, 51, 0.98));
  color: #fff;
}

.branches-label {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}

.branches-card ul {
  padding-left: 1.2rem;
}

.branches-note {
  font-size: 0.9rem;
  opacity: 0.9;
}

.branch-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
}

.branch-list h3 {
  margin: 0 0 0.2rem;
}

.branch-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 1.8rem;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.branch-info {
  background: #fff;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 30px rgba(10, 23, 44, 0.08);
}

.branch-map .map-embed iframe {
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(10, 23, 44, 0.18);
}

/* Blog */
.section-blog-preview {
  background: radial-gradient(circle at top right, rgba(111, 91, 167, 0.12), transparent 60%);
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.blog-card h3 {
  margin: 0 0 0.7rem;
}

.blog-card p {
  margin: 0;
  color: var(--text-soft);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.blog-list-item h2 {
  margin: 0.2rem 0 0.5rem;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.blog-link {
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-article h1 {
  font-size: 2.1rem;
  margin-top: 0.4rem;
}

.blog-article h2 {
  margin-top: 1.8rem;
}

.blog-article h3 {
  margin-top: 1.3rem;
}

.blog-intro {
  font-size: 1.02rem;
  color: var(--text-soft);
}

.blog-article ul {
  padding-left: 1.2rem;
}

.blog-article li {
  margin-bottom: 0.3rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2rem;
}

.contact-panel {
  background: linear-gradient(145deg, rgba(185, 178, 225, 0.15), rgba(46, 125, 110, 0.1));
}

.contact-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.contact-list li + li {
  margin-top: 0.3rem;
}

/* Forms */
.form-card {
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 14px 30px rgba(10, 23, 44, 0.12);
  padding: 1.6rem 1.7rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.4rem;
  margin-bottom: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
}

input,
select,
textarea {
  border-radius: 12px;
  border: 1px solid rgba(14, 34, 51, 0.14);
  padding: 0.7rem 0.8rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--purpura);
  box-shadow: 0 0 0 1px rgba(111, 91, 167, 0.2);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 0.5rem;
}

/* CTAs */
.section-cta-center {
  margin-top: 2rem;
  text-align: center;
}

.section-note {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-top: 1rem;
}

.section-cta {
  padding: 3.5rem 0;
  background: radial-gradient(circle at top, rgba(185, 178, 225, 0.25), rgba(14, 34, 51, 0.98));
  color: #fff;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.8rem;
}

.cta-inner h2 {
  margin-top: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Footer */
.site-footer {
  background: #0b1724;
  color: #e6e9f2;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
  margin-bottom: 1.8rem;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
}

.footer-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.9rem;
}

.footer-list li + li {
  margin-top: 0.3rem;
}

.footer-list a {
  color: #e6e9f2;
  text-decoration: none;
}

.footer-list a:hover {
  text-decoration: underline;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #c6cbe0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(230, 233, 242, 0.12);
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #aeb4cc;
}

.footer-small {
  margin: 0;
}

/* Floating WhatsApp */
.whatsapp-floating {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #6fe7b6, #128c7e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

/* Page hero */
.page-hero {
  padding: 3.5rem 0 1.5rem;
}

/* Animations: reveal on scroll */
.section-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.section-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .branches-grid,
  .plans-layout,
  .branch-section,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .plans-aside {
    position: static;
  }

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

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

@media (max-width: 768px) {
  .header-inner {
    align-items: center;
  }

  .main-nav {
    position: fixed;
    inset: 0 auto auto 0;
    right: 0;
    top: 60px;
    background: rgba(247, 247, 250, 0.98);
    box-shadow: 0 14px 30px rgba(10, 23, 44, 0.2);
    border-radius: 0 0 0 18px;
    padding: 0.6rem 1rem 1rem;
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: flex;
  }

  .header-whatsapp {
    display: none;
  }

  .hero {
    padding-top: 3.2rem;
  }

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

  .hero-visual {
    min-height: 200px;
  }

  .hero-floating-tag {
    position: static;
    transform: none;
    margin-top: 1rem;
  }

  .grid-3,
  .grid-2,
  .plans-grid,
  .blog-preview-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .section {
    padding: 3.2rem 0;
  }
}
