html {
  scroll-behavior: smooth;
}

main {
  flex: 1;
}

/* Fuente base */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #222;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

/* Top bar */
.top-bar {
  background-color: #1e1e2f;
  color: white;
  font-size: 14px;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Header principal */
.main-header {
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 50px;
  object-fit: contain;
}

.logo-text {
  font-size: 22px;
  font-weight: bold;
  color: #1e1e2f;
}


.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-menu a {
  text-decoration: none;
  color: #1e1e2f;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #00b56b;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 75vh;
  background: url('imagenes/GranadaSom.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 40px;
  text-align: center;
  color: white;
  border-radius: 10px;
}

.hero-overlay h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 20px;
}

/* Servicios */
.services {
  padding: 80px 10%;
  background-color: #fff;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.subtitle {
  color: #00b56b;
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 15px;
}

.services-header h2 {
  font-size: 36px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.services-header h2 span {
  color: #00b56b;
}

.call-box {
  background-color: #00b56b;
  color: white;
  display: flex;
  align-items: center;
  padding: 20px 30px;
  border-radius: 10px;
  gap: 20px;
  min-width: 260px;
}

.call-icon {
  font-size: 34px;
}

.call-info p {
  margin: 0;
  font-size: 15px;
}

.call-info h3 {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: bold;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
}

.service {
  background: #f9f9f9;
  border-radius: 10px;
  text-align: center;
  padding: 35px 20px;
  transition: all 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.service img {
  height: 48px;
  margin-bottom: 20px;
}

.service h4 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #222;
}

.service p {
  font-size: 15px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Ajustes para pantallas pequeñas */
#menu-toggle {
  display: none;
}

/* Icono de menú hamburguesa */
.menu-icon {
  display: none;
  font-size: 26px;
  cursor: pointer;
  user-select: none;
}

/* Mostrar icono en móvil */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
    color: #1e1e2f;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 998;
  }

  #menu-toggle:checked+.menu-icon+.nav-menu {
    display: flex;
  }

  .nav-menu a,
  .nav-menu select {
    padding: 10px 0;
    font-size: 16px;
  }

  .hero {
    height: 50vh;
  }

  .hero-overlay h1 {
    font-size: 28px;
  }

  .hero-overlay p {
    font-size: 16px;
  }

  .nav-menu a,
  .nav-menu select {
    font-size: 16px;
    padding: 8px 0;
  }

  .services-grid,
  .pricing-grid,
  .pricing-manual {
    grid-template-columns: 1fr !important;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .top-bar {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .call-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .schedule-container {
    flex-direction: column;
  }

  .price-card {
    min-height: auto;
    background-size: cover;
  }
}

/* Horario + Contacto */
.schedule-section {
  background: url('imagenes/4.jpg') no-repeat center center/cover;
  padding: 80px 0;
  color: white;
}

.schedule-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 60px 8%;
}

.schedule-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.schedule-box,
.contact-box {
  flex: 1 1 45%;
}

.schedule-box h2,
.contact-box h2 {
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: 600;
}

.schedule-box table,
.contact-box table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-box td,
.contact-box td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
}

.schedule-box td:first-child,
.contact-box td:first-child {
  font-weight: 500;
  width: 40%;
}

/* Responsive */
@media (max-width: 768px) {
  .schedule-container {
    flex-direction: column;
  }
}

/* Precios */
.pricing {
  padding: 80px 8%;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.pricing-header h2 {
  font-size: 32px;
  font-weight: 600;
  color: #222;
}

.pricing-header h2 span {
  color: #00b56b;
}

.btn-special {
  background-color: #00b56b;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: 0.3s;
}

.btn-special:hover {
  background-color: #009a51;
}

.pricing-subtitle {
  font-size: 24px;
  margin: 60px 0 20px;
  padding-top: 20px;
  border-top: 2px solid #eee;
  color: #1e1e2f;
  font-weight: 600;
}

/* Grid de precios */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.price-card {
  background-size: cover;
  background-position: center;
  height: 302px;
  /* Antes: 440px */
  position: relative;
  color: white;
  display: flex;
  align-items: flex-end;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-content {
  background-color: rgba(0, 0, 0, 0.65);
  padding: 10px 21px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  align-items: center;
}

.price-content h3 {
  font-size: 28px;
  color: #00b56b;
  margin: 0 0 10px;
}

.price-content h4 {
  font-size: 28px;
  /* Aumentado desde 20px */
  margin: 0 0 12px;
  font-weight: 700;
}

.price-box {
  background-color: white;
  color: #111;
  font-weight: 800;
  font-size: 22px;
  /* Aumentado desde 18px */
  width: fit-content;
  padding: 10px 20px;
  /* Más alto y ancho */
  border-radius: 8px;
  margin: 12px 0 20px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.price-content ul {
  padding: 0;
  list-style: none;
  margin: 0 0 20px;
}

.price-content ul li {
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
  font-size: 14px;
}

.price-content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #00ff99;
  font-size: 14px;
}

.btn-start {
  display: inline-block;
  padding: 8px 16px;
  background-color: transparent;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: 0.3s;
}

.btn-start:hover {
  background-color: white;
  color: #111;
}

/* Responsive ajustes */
@media (max-width: 992px) {
  .pricing-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-extras {
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 40px;
  background-color: #f4f4f4;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  font-family: 'Poppins', sans-serif;
}

.extras-box {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.extras-col {
  flex: 1;
  min-width: 260px;
}

.extras-col h3 {
  font-size: 22px;
  color: #00b56b;
  margin-bottom: 15px;
  border-bottom: 2px solid #00b56b;
  padding-bottom: 8px;
}

.extras-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.extras-col ul li {
  margin-bottom: 12px;
  font-size: 15px;
  position: relative;
  padding-left: 22px;
}

.extras-col ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #00b56b;
  font-size: 14px;
}

.price-note {
  margin: 0 0 15px;
  font-weight: 500;
  color: #333;
  font-size: 15px;
}

.footer {
  background-color: #1e1e2f;
  color: white;
  padding: 60px 8% 30px;
  font-family: 'Poppins', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 30px;
}

.footer-left h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #00b56b;
}

.footer-left p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 400px;
}

.footer-right h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #00b56b;
}

.footer-right p {
  font-size: 14px;
  margin: 6px 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

.language-selector {
  margin-left: 20px;
}

.language-selector select {
  padding: 5px 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  cursor: pointer;
}

.plan-title {
  font-size: 10px;
  margin-bottom: 6px;
  font-weight: 600;
  color: white;
}

.plan-duration {
  font-size: 25px;
  color: #ddd;
  margin-bottom: 20px;
}

