/* ==========================================
   CONFIGURACIÓN GENERAL
========================================== */

:root {
  --green: #0ea36a;
  --green-dark: #0c8556;
  --dark: #0f1720;
  --muted: #64748b;

  --background: #f8fafc;
  --background-secondary: #f1f5f9;

  --glass: rgba(15, 23, 32, 0.04);
  --border: rgba(15, 23, 32, 0.08);
  --shadow: 0 4px 20px rgba(15, 23, 32, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--background);
  color: var(--dark);
  overflow-x: hidden;
}

button,
input,
textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
}

.content-width {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.section-padding {
  padding: 70px 18px;
}

.section-bg-padding {
  padding: 70px 18px;
  background-color: var(--background-secondary);
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-description {
  color: #475569;
  line-height: 1.7;
  max-width: 800px;
  margin-bottom: 32px;
  font-size: 15px;
}

/* ==========================================
   NAVBAR
========================================== */

.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  border-bottom: 1px solid rgba(15, 23, 32, 0.06);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 6px 15px rgba(14, 163, 106, 0.18);
}

.brand-name {
  font-weight: 800;
  font-size: 16px;
  color: var(--dark);
}

.brand-description {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.navlinks {
  display: flex;
  gap: 12px;
  align-items: center;
}

.navlinks a {
  color: var(--dark);
  text-decoration: none;
  padding: 9px 11px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.navlinks a.active,
.navlinks a:not(.cta):hover {
  background: var(--glass);
  color: var(--green-dark);
}

.navlinks .cta {
  background: var(--green);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid var(--green);
  box-shadow: 0 5px 14px rgba(14, 163, 106, 0.16);
}

.navlinks .cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  border: 0;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
  color: var(--dark);
  padding: 4px 8px;
}

/* ==========================================
   HERO
========================================== */

.hero {
  padding: 70px 18px 45px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
}

.hero-bg {
  background-image: linear-gradient(
      to right,
      rgba(248, 250, 252, 0.99) 20%,
      rgba(248, 250, 252, 0.82) 53%,
      rgba(248, 250, 252, 0.88) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(248, 250, 252, 0) 65%,
      rgba(248, 250, 252, 1) 100%
    ),
    url("jorgechaez.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.wrap-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 55px;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-left-text {
  max-width: 620px;
}

.pill {
  display: inline-block;
  background: rgba(14, 163, 106, 0.1);
  color: var(--green-dark);
  padding: 7px 13px;
  border: 1px solid rgba(14, 163, 106, 0.17);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.16;
  color: var(--dark);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero p {
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 26px;
}

.hero-action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-action-buttons .cta {
  background: var(--green);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(14, 163, 106, 0.17);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-action-buttons .cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.secondary-btn {
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  background: white;
  border: 1px solid rgba(15, 23, 32, 0.15);
  font-weight: 700;
  color: var(--dark);
  font-size: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.secondary-btn:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

/* ==========================================
   TARIFA HERO
========================================== */

.hero-price-card {
  padding: 28px;
}

.price-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.price-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}

.hero-price {
  font-weight: 800;
  color: var(--green);
  font-size: 20px;
  white-space: nowrap;
}

.price-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}

/* ==========================================
   HERO BENEFICIOS
========================================== */

.hero-bottom-cards-container {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-bottom-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1100px;
}

/* ==========================================
   CARDS
========================================== */

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 32, 0.05);
}

.bg-glass {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(5px);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.card-title {
  font-weight: 800;
  color: var(--dark);
  font-size: 15px;
}

.card-subtitle {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.flex-center {
  display: flex;
  gap: 16px;
  align-items: center;
}

.card-icon {
  font-size: 23px;
  background: #f1f5f9;
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

/* ==========================================
   NOSOTROS
========================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-item {
  border-left: 3px solid var(--green);
  padding: 6px 0 6px 16px;
}

.feature-title {
  font-weight: 800;
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 4px;
}

.feature-description {
  color: var(--muted);
  font-size: 14px;
}

/* ==========================================
   SERVICIOS
========================================== */

.services-description {
  margin-bottom: 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: white;
  padding: 26px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(15, 23, 32, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 163, 106, 0.08);
  border-radius: 10px;
  font-size: 22px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 9px;
}

.service-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

/* ==========================================
   CÓMO RESERVAR
========================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  position: relative;
  background: white;
  border-radius: 14px;
  padding: 26px;
  border: 1px solid var(--border);
}

.step-number {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: white;
  border-radius: 50%;
  font-weight: 800;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

/* ==========================================
   GALERÍA
========================================== */

.gallery-description {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.gallery-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.tab {
  padding: 9px 20px;
  border: 1px solid var(--green);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab:hover {
  background: rgba(14, 163, 106, 0.07);
}

.active-tab {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 12px rgba(14, 163, 106, 0.15);
}

.active-tab:hover {
  background: var(--green-dark);
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #e2e8f0;
}

.gallery-grid img:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(15, 23, 32, 0.1);
}

/* ==========================================
   VALORACIONES
========================================== */

.reviews-description {
  margin-bottom: 26px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.review-name {
  font-weight: 800;
  color: var(--dark);
}

.stars {
  color: var(--green);
  letter-spacing: 1px;
}

.review-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 12px;
}

.review-type {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

/* ==========================================
   CONTACTO
========================================== */

.contact-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 35px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 32, 0.12);
  background: white;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(14, 163, 106, 0.09);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.submit-btn {
  background: var(--green);
  color: white;
  border: none;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  width: fit-content;
  font-size: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

/* CONTACT CARD */

.contact-info-card {
  background: #ebf7f2;
  padding: 28px;
  border-radius: 14px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(14, 163, 106, 0.08);
}

.contact-card-title {
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 18px;
}

.contact-info-card > p {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.contact-data {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-data div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-data strong {
  font-size: 13px;
  color: var(--dark);
}

.contact-data span {
  color: #475569;
  font-size: 14px;
}

.contact-wa-btn {
  display: block;
  text-align: center;
  background-color: #25d366;
  color: white;
  text-decoration: none;
  padding: 13px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-wa-btn:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

/* ==========================================
   FOOTER
========================================== */

.footer {
  background: var(--dark);
  color: white;
  padding: 42px 18px 18px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 7px;
}

.footer p {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.6;
  max-width: 400px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #cbd5e1;
  font-size: 13px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #94a3b8;
}

/* ==========================================
   WHATSAPP FLOTANTE
========================================== */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  z-index: 200;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.15));
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================
   TABLETS / MÓVIL
========================================== */

@media (max-width: 880px) {
  .nav {
    padding: 10px 16px;
  }

  .hamburger {
    display: block;
  }

  .navlinks {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    padding: 15px;
    gap: 8px;
    border-bottom: 1px solid rgba(15, 23, 32, 0.06);
  }

  .navlinks.show {
    display: flex;
  }

  .navlinks a {
    width: 100%;
    text-align: center;
    padding: 11px;
  }

  .wrap-hero-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-right-card {
    max-width: 600px;
    width: 100%;
  }

  .hero-bottom-cards {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    max-width: 600px;
  }
}

/* ==========================================
   MÓVILES
========================================== */

@media (max-width: 600px) {
  .section-padding,
  .section-bg-padding {
    padding: 55px 18px;
  }

  .hero {
    padding: 45px 18px 35px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero-action-buttons {
    flex-direction: column;
  }

  .hero-action-buttons .cta,
  .secondary-btn {
    text-align: center;
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 260px;
  }

  .footer-content {
    flex-direction: column;
  }

  .submit-btn {
    width: 100%;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 18px;
    right: 18px;
  }
}

@media (max-width: 420px) {
  .brand-description {
    display: none;
  }

  .brand-name {
    font-size: 14px;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 25px;
  }

  .hero-price-card {
    padding: 22px;
  }

  .card-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}