/* ===== RESET Y CONFIGURACIÓN BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  background: #f7f7f7;
}
.section {
  padding: 60px 0;
}
.section-light {
  background: #fff;
}
.section-dark {
  background: #f0f4fa;
}
.section-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  text-align: center;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.services-grid,
.testimonial-list {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px #0001;
  padding: 30px;
  width: 300px;
  text-align: center;
}
.why-list,
.steps-list {
  list-style: none;
  padding: 0;
  text-align: center;
}
.why-list li,
.steps-list li {
  margin: 10px 0;
  font-size: 1.1em;
}
.testimonial-author {
  font-weight: bold;
  color: #2a5d9f;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 0 40px 0;
  background: linear-gradient(90deg, #eaf6ff 60%, #fff 100%);
}
.hero-content {
  max-width: 600px;
}
.hero-image img {
  max-width: 350px;
  border-radius: 20px;
}
.hero-buttons {
  margin-top: 30px;
}
.btn {
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-right: 10px;
}
.btn-primary {
  background: #2a5d9f;
  color: #fff;
}
.btn-secondary {
  background: #fff;
  color: #2a5d9f;
  border: 2px solid #2a5d9f;
}
.partners-logos img {
  height: 50px;
  margin: 0 15px;
}
/* .navbar {
  background: #2a5d9f;
  color: #fff;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.nav-links .active {
  text-decoration: underline;
}
.footer-logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #2a5d9f;
}
footer {
  background: #fff;
  text-align: center;
  padding: 30px 0 10px 0;
  margin-top: 40px;
}
.hidden {
  display: none !important;
}
  */

/* ===== COMPONENTES REUTILIZABLES ===== */
/* Botones base */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
  border: none;
}

.btn-primary {
  background: #fff;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.btn-primary:hover {
  background: #e0e7ff;
  transform: translateY(-1px);
  border: 2px solid #2563eb;
}

.btn-secondary {
  background: #fff;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.btn-secondary:hover {
  background: #2563eb;
  color: #fff;
}

.btn-login {
  background: #2563eb;
  color: #fff !important;
  border-radius: 6px;
  padding: 8px 20px;
  font-weight: 500;
}

.btn-login:hover {
  background: #1741a6;
}

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

/* Fondos gradientes reutilizables */
.gradient-bg {
  background: linear-gradient(120deg, #e0e7ffcc 0%, #f7f9fbcc 100%);
}

.hero-gradient {
  background: linear-gradient(120deg, #1544aa 0%, #60a5fa 100%);
}

/* ===== NAVEGACIÓN ===== */
/* .navbar {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 0 40px;
  display: flex;
  align-items: center;
  height: 70px;
  justify-content: space-between;
  position: relative;
}

.logo a {
  font-size: 1.7rem;
  font-weight: bold;
  color: #2563eb;
  text-decoration: none;
  letter-spacing: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: #222;
  text-decoration: none;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  background: #2563eb;
  color: #fff;
}

 Menú hamburguesa 
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #2563eb;
  margin-left: auto;
}
  */

/* ===== SECCIÓN HERO ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 40px;
  color: #fff;
  text-align: left;
}

.hero-content {
  max-width: 520px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-image img {
  max-width: 340px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ===== ABOUT PAGE STYLES ===== */
.about-hero {
  background: linear-gradient(120deg, #e0e7ffcc 0%, #f7f9fbcc 100%);
  text-align: center;
  padding: 60px 0 30px 0;
}
.about-hero h1 {
  font-size: 2.5em;
  color: #2563eb;
  margin-bottom: 10px;
}
.about-hero .subtitle {
  font-size: 1.2em;
  color: #1741a6;
  margin-bottom: 0;
}

.about-story,
.about-mission {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0001;
  margin-bottom: 40px;
  padding: 40px 0;
}
.flex-row {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.flex-row.reverse {
  flex-direction: row-reverse;
}
.about-img {
  flex: 1 1 320px;
  text-align: center;
}
.about-img img {
  max-width: 340px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.about-text {
  flex: 2 1 400px;
  min-width: 260px;
}
.about-text h2 {
  color: #2563eb;
  font-size: 2em;
  margin-bottom: 14px;
}
.about-text p {
  color: #333;
  font-size: 1.1em;
}

.about-team {
  background: #f7f9fb;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0001;
  margin-bottom: 40px;
  padding: 40px 0;
  text-align: center;
}
.team-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.team-member {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px #0001;
  padding: 30px 20px;
  text-align: center;
  width: 260px;
}
.team-member img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin-bottom: 12px;
}
.team-member h3 {
  color: #2563eb;
  margin-bottom: 8px;
}
.team-member p {
  color: #444;
  font-size: 1em;
}

.values {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0001;
  margin-bottom: 40px;
  padding: 40px 0;
  text-align: center;
}
.values-list {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.value-item {
  background: #f0f4fa;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  width: 220px;
  box-shadow: 0 2px 8px #0001;
}
.value-item i {
  font-size: 2em;
  color: #2563eb;
  margin-bottom: 10px;
}
.value-item h3 {
  color: #2563eb;
  margin-bottom: 8px;
}
.value-item p {
  color: #444;
  font-size: 1em;
}

.testimonials {
  background: #f7f9fb;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0001;
  margin-bottom: 40px;
  padding: 40px 0;
  text-align: center;
}
.testimonial-list {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.testimonial-list blockquote {
  background: #f1f1f1;
  border-left: 5px solid #2563eb;
  border-radius: 8px;
  padding: 20px;
  font-style: italic;
  margin: 0;
  min-width: 220px;
}
.testimonial-author {
  font-weight: bold;
  color: #2563eb;
  display: block;
  margin-top: 10px;
}

.cta {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0001;
  padding: 40px 0;
  text-align: center;
}
.cta-buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Responsive para about */
@media (max-width: 900px) {
  .flex-row,
  .flex-row.reverse {
    flex-direction: column;
    gap: 24px;
  }
  .team-grid,
  .values-list,
  .testimonial-list {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .about-img img {
    margin: 0 auto;
  }
}
/* Modern Services Page */
.services-title {
  font-size: 2.8em;
  color: #2563eb;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
}

.service-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.08);
  padding: 40px 30px;
}

.service-section.reverse {
  direction: rtl;
}
.service-section.reverse .text {
  direction: ltr;
}

.service-section .text h2 {
  color: #2563eb;
  margin-top: 0;
  font-size: 2em;
  font-weight: 600;
}
.service-section .text p {
  font-size: 1.1em;
  color: #222;
  margin-bottom: 18px;
}
.service-section .text ul {
  padding-left: 20px;
  margin-bottom: 0;
}
.service-section .text li {
  margin-bottom: 8px;
  font-size: 1em;
}

.graphic {
  text-align: center;
}
.graphic img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0001;
}

.cta-section {
  text-align: center;
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.05);
  margin-bottom: 40px;
}
.cta-section h2 {
  color: #2563eb;
  font-size: 2em;
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 1.1em;
  color: #222;
  margin-bottom: 18px;
}

/* Responsive */
@media (max-width: 900px) {
  .service-section {
    grid-template-columns: 1fr;
    padding: 24px 10px;
    gap: 24px;
  }
  .graphic img {
    margin: 0 auto;
  }
}

/* ===== SECCIÓN PRECIOS ===== */
.pricing {
  padding: 60px 40px;
  text-align: center;
}

.pricing h2 {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 32px;
}

.pricing-cards {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.pricing-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 32px 24px;
  text-align: center;
  width: 220px;
  transition: all 0.2s ease;
}

.pricing-card:hover {
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.pricing-card h3 {
  color: #2563eb;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.pricing-card .price {
  font-size: 2.2rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 8px;
}

.pricing-card span {
  color: #666;
  font-size: 0.95rem;
}

.pricing-contact-link {
  display: block;
  text-align: center;
  color: #2563eb;
  text-decoration: underline;
  margin-top: 18px;
  font-size: 1.05rem;
}

/* ===== SECCIÓN VALORES ===== */
.values {
  padding: 60px 40px;
  text-align: center;
}

.values h2 {
  color: #2563eb;
  font-size: 2rem;
  margin-bottom: 32px;
}

.values-list {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.value-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 28px 20px;
  width: 240px;
  text-align: center;
  transition: all 0.2s ease;
}

.value-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.1);
}

.value-item i {
  font-size: 2.2rem;
  color: #2563eb;
  margin-bottom: 14px;
}

.value-item h3 {
  margin-bottom: 10px;
  color: #2563eb;
  font-size: 1.1rem;
}

.value-item p {
  color: #444;
  font-size: 1rem;
}

/* Modern Contact Form */
.beautiful-contact {
  background: linear-gradient(120deg, #e0e7ff 0%, #f7f9fb 100%);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08);
  padding: 60px 0;
  margin-bottom: 40px;
}

.contact-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.contact-form {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.1);
  padding: 40px 32px;
  width: 100%;
  max-width: 420px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 auto;
  box-sizing: border-box;
}

.contact-form:hover {
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.18);
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #2563eb;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid #e0e7ff;
  font-size: 1em;
  margin-bottom: 12px;
  background: #f7f9fb;
  transition: border 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border: 1.5px solid #2563eb;
  box-shadow: 0 0 0 2px #2563eb22;
  outline: none;
}

.contact-form textarea {
  min-height: 90px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  margin-top: 10px;
  width: 100%;
  font-size: 1.1em;
  letter-spacing: 0.5px;
}

.instructions {
  background: #f0f4fa;
  border-radius: 10px;
  padding: 20px 28px;
  margin-bottom: 32px;
  font-size: 1em;
  box-shadow: 0 2px 8px #0001;
}

.contact-image.booking {
  flex: 1 1 340px;
  min-width: 260px;
  display: none;
  align-items: center;
  justify-content: center;
}

.contact-image.booking iframe {
  width: 100%;
  min-width: 320px;
  height: 440px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 2px 8px #0001;
  background: #fff;
  display: block;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
}
.form-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Responsive Modern Contact */
@media (max-width: 900px) {
  .contact-row {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  .contact-form,
  .contact-image.booking {
    width: 100%;
    min-width: 0;
  }
  .contact-image.booking iframe {
    min-width: 0;
    width: 100%;
    height: 400px;
  }
}
/* ===== SECCIÓN LOGIN ===== */
.login {
  background: #fff;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.login h2 {
  color: #2563eb;
  font-size: 2rem;
  margin-bottom: 24px;
}

.login-form {
  background: #f7f9fb;
  padding: 32px 28px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 400px;
}

.login-form input {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  transition: border 0.2s ease;
}

.login-form input:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ===== CHAT FLOTANTE ===== */
.chat-fab {
  position: fixed;
  bottom: 100px;
  right: 38px;
  width: 60px;
  height: 60px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.2s ease;
}

.chat-fab:hover {
  background: #1741a6;
  transform: translateY(-2px);
}

.live-chat {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 1002;
  display: block;
}

.live-chat.hidden {
  display: none;
}

.chat-window {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  width: 320px;
  max-width: 90vw;
}

.chat-header {
  background: #2563eb;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-chat {
  font-size: 1.4rem;
  cursor: pointer;
  color: #fff;
  margin-left: 12px;
  transition: opacity 0.2s ease;
}

.close-chat:hover {
  opacity: 0.8;
}

.chat-messages {
  height: 180px;
  overflow-y: auto;
  padding: 10px;
}

.chat-form {
  display: flex;
  border-top: 1px solid #eee;
}

.chat-input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 0 0 0 10px;
  outline: none;
}

.chat-send-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 0 16px;
  border-radius: 0 0 10px 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.chat-send-btn:hover {
  background: #1741a6;
}

/* ===== FOOTER ===== */
footer {
  background: #2563eb;
  color: #fff;
  text-align: center;
  padding: 8px 0 18px 0;
  margin-top: auto;
}

.footer-logo {
  margin-bottom: 8px;
}

.footer-brand {
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

/* ===== APLICACIÓN DE FONDOS ===== */
.hero {
  background: linear-gradient(120deg, #1544aa 0%, #60a5fa 100%);
}

.services,
.pricing,
.contact,
.values,
.partners {
  background: linear-gradient(120deg, #e0e7ffcc 0%, #f7f9fbcc 100%);
}

.about {
  background: linear-gradient(120deg, #e0e7ffcc 0%, #f7f9fbcc 100%), #f7f9fb;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
  /* Navegación móvil 
  .menu-toggle {
    display: block;
  }
    */

  /* .navbar {
    flex-direction: column;
    height: auto;
    padding: 0 16px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    z-index: 100;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
    */

  .nav-links.active {
    display: flex;
  }

  /* Secciones principales */
  .hero,
  .about {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-image img,
  .about-image img {
    margin: 0 auto;
  }

  .services-list,
  .pricing-cards,
  .partners-logos,
  .values-list {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .about,
  .services,
  .pricing,
  .contact,
  .login,
  .partners,
  .values {
    padding: 40px 16px;
  }

  /* Contacto responsive */
  .contact.beautiful-contact {
    flex-direction: column;
    gap: 24px;
    padding: 20px 8px;
    max-width: 98vw;
    align-items: center;
  }

  .contact-row {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .contact-info,
  .contact-image {
    min-width: 0;
    max-width: 98vw;
    padding-right: 0;
    text-align: center;
  }

  .contact-image img {
    max-width: 98vw;
  }

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

  .hero-buttons {
    justify-content: center;
  }
}

/* .hidden {
  display: none !important;
} */

/* ==== ESTILOS EXCLUSIVOS LOGIN ==== */
.login-container {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
  padding: 40px 32px 32px 32px;
  max-width: 370px;
  width: 100%;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-container h2 {
  color: #2563eb;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid #e0e7ff;
  font-size: 1em;
  background: #f7f9fb;
  transition: border 0.2s, box-shadow 0.2s;
}

.login-form input:focus {
  border: 1.5px solid #2563eb;
  box-shadow: 0 0 0 2px #2563eb22;
  outline: none;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #1e40af;
}

.btn-link {
  background: none;
  border: none;
  color: #2563eb;
  text-decoration: underline;
  cursor: pointer;
  font-size: 1em;
  padding: 0;
  margin-top: 8px;
  display: inline-block;
}

.form-label {
  font-weight: 600;
  color: #2563eb;
}

.login-msg,
.forgot-msg {
  margin-top: 8px;
  color: #e11d48;
  font-size: 0.98em;
  min-height: 20px;
  text-align: center;
}

.login-msg.success,
.forgot-msg.success {
  color: #2563eb;
}

.back-home {
  margin-top: 32px;
  margin-bottom: 24px;
  display: block;
  text-align: center;
  color: #2563eb;
  text-decoration: underline;
  font-size: 1em;
  font-weight: 500;
}

@media (max-width: 500px) {
  .login-container {
    padding: 24px 8px;
    max-width: 98vw;
  }
}

/* Contenedor general */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px 0 16px;
}

/* Título */
.section-title {
  text-align: center;
  color: #2563eb;
  font-size: 2.2em;
  font-weight: 800;
  margin-bottom: 36px;
}

/* Grid de planes */
.package-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

/* Card de cada plan */
.package {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
  padding: 32px 24px 24px 24px;
  max-width: 320px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}

.package:hover {
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.18);
}

.package-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
  max-width: 260px;
  align-self: center;
}

.price {
  color: #2563eb;
  font-weight: 700;
  margin-bottom: 10px;
}

.note {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 10px;
}

/* Responsive: en móvil, la info se muestra debajo */
@media (max-width: 900px) {
  .package {
    flex-direction: column;
    max-width: 98vw;
  }
  .package .expand-info {
    border-left: none;
    border-top: 3px solid #2563eb33;
    border-radius: 0 0 12px 12px;
    margin-left: 0;
    margin-top: 10px;
    min-width: 0;
    max-width: 100%;
    box-shadow: none;
    padding: 18px 12px;
    transform: scaleY(0.7);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
  }
  .package .expand-toggle:checked ~ .expand-info {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Servicios extra */
.service-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.service-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 28px 20px;
  max-width: 420px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 14px;
  max-width: 120px;
}

.service-box h3 {
  color: #2563eb;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .package-grid,
  .service-grid {
    flex-direction: column;
    align-items: center;
  }
  .package .hover-info {
    position: static;
    width: 100%;
    margin-top: 18px;
    left: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: 1px solid #e0e7ff;
  }
}

.expand-info {
  display: none;
  background: #f7f9fb;
  border-top: 2px solid #2563eb33;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 16px -8px rgba(37, 99, 235, 0.08);
  padding: 18px 18px 18px 22px;
  margin-top: 10px;
  animation: expandInfoDown 0.3s;
}
@keyframes expandInfoDown {
  from {
    opacity: 0;
    transform: scaleY(0.7);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}
.expand-toggle:checked + .expand-btn + .expand-info {
  display: block;
}
.expand-btn .collapse-text {
  display: none;
}
.expand-toggle:checked + .expand-btn .expand-text {
  display: none;
}
.expand-toggle:checked + .expand-btn .collapse-text {
  display: inline;
}
.expand-btn {
  display: block;
  color: #2563eb;
  cursor: pointer;
  margin-top: 14px;
  font-weight: 500;
  transition: color 0.2s;
  text-align: left;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.expand-btn:hover {
  color: #1741a6;
  text-decoration: underline;
}
