/* =========================
   SERVICIOS - RUTA PERSONALIZADA
   ========================= */

.services-hero {
  padding: 5.5rem 0 3.2rem;
  background:
    radial-gradient(900px 280px at 20% 10%, rgba(216, 167, 177, 0.22), transparent 60%),
    radial-gradient(700px 260px at 90% 30%, rgba(155, 190, 200, 0.22), transparent 60%),
    linear-gradient(rgba(246,239,228,0.92), rgba(246,239,228,0.92)),
    url("../../assets/images/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .services-hero-grid {
    grid-template-columns: 1.2fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
  }
}

.services-kicker {
  display: inline-block;
  font-size: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--color-primary);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(216, 167, 177, 0.55);
  box-shadow: 0 12px 28px rgba(0,0,0,0.07);
  margin-bottom: 0.9rem;
}

.services-hero-copy h1 {
  font-size: 2.55rem;
  line-height: 1.08;
  max-width: 760px;
}

@media (min-width: 992px) {
  .services-hero-copy h1 {
    font-size: 3.05rem;
  }
}

.services-lead {
  max-width: 680px;
  margin-top: 1rem;
  font-size: 1.05rem;
  opacity: 0.95;
}

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

.services-mini-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.services-hero-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 14px 40px rgba(0,0,0,0.05);
}

.services-hero-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.services-checks {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.75rem;
}

.services-checks li::before {
  content: "✓";
  display: inline-block;
  margin-right: 0.55rem;
  color: var(--color-secondary);
  font-weight: 700;
}

.services-pi-note {
  margin-top: 1.2rem;
  background: rgba(216, 167, 177, 0.15);
  border: 1px solid rgba(216, 167, 177, 0.25);
  border-radius: 14px;
  padding: 0.9rem;
  font-size: 0.95rem;
}

.services-pi-note a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =========================
   SECCIONES BASE
   ========================= */

.section {
  padding: 3.5rem 0;
}

.section-soft {
  background: #f9f4ee;
}

.section-head {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin-bottom: 0.5rem;
}

/* =========================
   QUÉ RECIBES
   ========================= */

.deliverables-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 700px) {
  .deliverables-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .deliverables-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.deliverable-card {
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 1.45rem;
  box-shadow: 0 12px 34px rgba(0,0,0,0.04);
  transition: var(--transition);
}

.deliverable-card:hover {
  transform: translateY(-3px);
}

.deliverable-icon {
  display: inline-flex;
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

.deliverable-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.deliverable-card p {
  opacity: 0.9;
}

/* =========================
   CÓMO FUNCIONA
   ========================= */

.steps-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 12px 34px rgba(0,0,0,0.04);
}

.step-num {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(216, 167, 177, 0.22);
  border: 1px solid rgba(216, 167, 177, 0.35);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.9rem;
}

.step-card h3 {
  margin-bottom: 0.45rem;
}

.step-card p {
  opacity: 0.9;
}

/* =========================
   TABLA DE PAQUETES
   ========================= */

.packages-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.05);
}

.packages-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.packages-table th,
.packages-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  vertical-align: middle;
}

.packages-table th:first-child,
.packages-table td:first-child {
  text-align: left;
  width: 28%;
}

.packages-table thead th {
  background: rgba(155, 190, 200, 0.12);
  color: var(--color-primary);
}

.package-title {
  display: block;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
}

.package-price {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
}

.yes {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.2rem;
}

.no {
  opacity: 0.45;
}

.packages-table tfoot td {
  border-bottom: 0;
  background: rgba(255,255,255,0.7);
}

.packages-table tfoot .btn-primary {
  white-space: nowrap;
}

.table-note {
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* =========================
   PRESUPUESTO PERSONALIZADO
   ========================= */

.custom-intro {
  display: grid;
  gap: 1.2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .custom-intro {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.custom-aside {
  background: rgba(155, 190, 200, 0.12);
  border: 1px solid rgba(155, 190, 200, 0.22);
  border-radius: 18px;
  padding: 1.3rem;
}

.custom-aside h3 {
  margin-bottom: 0.45rem;
}

.custom-aside p {
  opacity: 0.9;
}

.custom-builder {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 700px) {
  .custom-builder {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .custom-builder {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-option {
  position: relative;
  cursor: pointer;
}

.service-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-option-card {
  position: relative;
  min-height: 100%;
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 1.15rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: var(--transition);
}

.service-option-card:hover {
  transform: translateY(-2px);
}

.service-option input:focus-visible + .service-option-card {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
}

.service-option input:checked + .service-option-card {
  border-color: rgba(216, 167, 177, 0.75);
  background: rgba(216, 167, 177, 0.09);
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.service-option input:checked + .service-option-card::after {
  content: "✓";
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(216, 167, 177, 0.28);
  border: 1px solid rgba(216, 167, 177, 0.45);
  color: var(--color-primary);
  font-weight: 700;
}

.option-icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.service-option-card strong {
  display: block;
  color: var(--color-primary);
}

.service-option-card small {
  display: block;
  margin-top: 0.35rem;
  line-height: 1.45;
  opacity: 0.75;
}

.budget-box {
  margin-top: 1.5rem;
  background: rgba(216, 167, 177, 0.12);
  border: 1px solid rgba(216, 167, 177, 0.24);
  border-radius: 18px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.budget-box h3 {
  margin-bottom: 0.35rem;
}

.budget-box p {
  opacity: 0.9;
}

@media (min-width: 768px) {
  .budget-box {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .budget-box .btn-primary {
    white-space: nowrap;
  }
}

/* =========================
   TESTIMONIOS
   ========================= */

.testimonials-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 12px 34px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.stars {
  font-size: 1.1rem;
  color: #f5b301;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 0.98rem;
  line-height: 1.5;
  opacity: 0.95;
}

.traveler {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

.traveler span {
  opacity: 0.7;
}

/* =========================
   CTA FINAL
   ========================= */

.final-cta {
  text-align: center;
  background: rgba(155, 190, 200, 0.12);
  border: 1px solid rgba(155, 190, 200, 0.22);
  border-radius: 20px;
  padding: 2rem 1.2rem;
}

.final-cta p {
  max-width: 720px;
  margin: 0.7rem auto 0;
}

.final-cta-actions {
  margin-top: 1.3rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* =========================
   UTILIDADES
   ========================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .services-hero {
    padding: 4.4rem 0 2.5rem;
  }

  .services-hero-copy h1 {
    font-size: 2.1rem;
  }

  .services-lead {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .packages-table-wrap {
    border-radius: 16px;
  }
}
/* =========================
   PAQUETES - VERSIÓN MÓVIL
   ========================= */

.packages-mobile {
  display: none;
}

@media (max-width: 899px) {
  .packages-desktop {
    display: none;
  }

  .packages-mobile {
    display: grid;
    gap: 1.1rem;
  }

  .package-mobile-card {
    background: var(--color-white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 12px 34px rgba(0,0,0,0.04);
  }

  .package-mobile-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .package-mobile-head h3 {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
  }

  .package-mobile-head p {
    font-size: 0.95rem;
    opacity: 0.75;
  }

  .package-mobile-price {
    flex-shrink: 0;
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    background: rgba(155, 190, 200, 0.14);
    border: 1px solid rgba(155, 190, 200, 0.24);
    border-radius: 999px;
    padding: 0.5rem 0.75rem;
  }

  .package-mobile-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 1.2rem;
    display: grid;
  }

  .package-mobile-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .package-mobile-list li:last-child {
    border-bottom: 0;
  }

  .package-mobile-list span {
    opacity: 0.82;
  }

  .package-mobile-list strong,
  .package-mobile-no {
    text-align: right;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .package-mobile-list strong {
    color: var(--color-primary);
    font-weight: 600;
  }

  .package-mobile-no {
    font-style: normal;
    opacity: 0.45;
  }

  .package-mobile-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
  }
}