/* =============================================
   ESTILOS COMPARTIDOS PARA SUBPÁGINAS
============================================= */
.page-hero {
  background: var(--bg-light);
  padding: 4rem 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero__breadcrumb {
  font-size: .8rem; color: var(--muted); margin-bottom: .75rem;
}
.page-hero__breadcrumb a { color: var(--muted); transition: color var(--transition); }
.page-hero__breadcrumb a:hover { color: var(--dark); }
.page-hero__breadcrumb span { margin-inline: .4rem; }
.page-hero__title { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 900; color: var(--dark); margin-bottom: .5rem; }
.page-hero__sub { font-size: 1rem; color: var(--muted); max-width: 560px; margin-inline: auto; }

/* Variante con imagen de fondo */
.page-hero--bg {
  position: relative;
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  border-bottom: none;
  overflow: hidden;
}
.page-hero--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1;
}
.page-hero--bg .page-hero__breadcrumb,
.page-hero--bg .page-hero__breadcrumb a,
.page-hero--bg .page-hero__title,
.page-hero--bg .page-hero__sub {
  position: relative;
  z-index: 2;
  color: #fff !important;
}
.page-hero--bg .page-hero__breadcrumb a:hover { color: rgba(255,255,255,.75) !important; }

.page-section { padding: 5rem 1.5rem; }
.page-section--gray { background: var(--bg-light); }
.page-section--dark { background: var(--dark); color: var(--white); }
.page-section--dark .section-heading h2 { color: var(--white); }
.page-section--dark .section-heading::before { background: rgba(255,255,255,.5); }
.page-section--dark p { color: rgba(255,255,255,.7); }
.page-section--dark .check-list li { color: rgba(255,255,255,.9); }
.page-section--dark .check-list li::before { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); }

/* Grids generales */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-card__icon { font-size: 2rem; margin-bottom: .75rem; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.feature-card p { font-size: .88rem; color: var(--muted); }

/* Tabla de precios */
.pricing-table { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: .9rem; }
.pricing-table th { background: var(--dark); color: var(--white); padding: .85rem 1rem; text-align: left; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.pricing-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--border); color: var(--dark2); }
.pricing-table tr:hover td { background: var(--bg-light); }
.pricing-table td:first-child { font-weight: 700; }
.pricing-table td strong { color: var(--dark); }

/* Galería grid */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.photo-grid__item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-grid__item:hover img { transform: scale(1.05); }

/* Mapa placeholder */
.map-box {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--dark2); min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem; color: rgba(255,255,255,.6);
  text-align: center; padding: 2rem;
}
.map-box__icon { font-size: 3rem; }
.map-box__text { font-size: .95rem; line-height: 1.6; }

/* Contacto data */
.contact-data { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-data li { display: flex; align-items: flex-start; gap: .85rem; font-size: .95rem; }
.contact-data li svg { flex-shrink: 0; margin-top: .2rem; color: var(--muted); }
.contact-data li strong { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .15rem; }
.contact-data li a { border-bottom: 1px solid transparent; transition: border-color var(--transition); }
.contact-data li a:hover { border-bottom-color: var(--dark); }

/* Two-col layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.two-col--center { align-items: center; }

/* Actividades turísticas (¿Qué hay alrededor?) */
.actividades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.actividad-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: default;
}
.actividad-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.actividad-card__icon { font-size: 2.25rem; margin-bottom: .6rem; }
.actividad-card__name { font-size: .88rem; font-weight: 700; color: var(--dark); margin: 0; }

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .actividades-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .pricing-table { font-size: .8rem; }
  .pricing-table th, .pricing-table td { padding: .65rem .75rem; }
}
@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr; }
  .actividades-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================
   PROJECT HERO (hero pantalla completa con imagen real)
============================================= */
.project-hero {
  position: relative;
  height: 540px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.project-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.3) 55%, rgba(0,0,0,.1) 100%);
}
.project-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3.5rem 1.5rem;
  color: #fff;
}
.project-hero__breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .75rem;
}
.project-hero__breadcrumb a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.project-hero__breadcrumb a:hover { color: #fff; }
.project-hero__breadcrumb span { margin-inline: .4rem; }
.project-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: .6rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.project-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin-bottom: 1.5rem;
}

/* =============================================
   LUGARES TURÍSTICOS — photo cards 2×2
============================================= */
.lugares-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.lugar-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
}
.lugar-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.lugar-card:hover img { transform: scale(1.05); }
.lugar-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.84) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.25rem;
  color: #fff;
}
.lugar-card__overlay h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: .4rem;
  line-height: 1.2;
}
.lugar-card__overlay p {
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  line-height: 1.55;
  margin: 0;
}

/* =============================================
   PLANO DEL PROYECTO
============================================= */
.plano-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
  margin-top: 2rem;
}
.plano-wrapper img {
  width: 100%;
  display: block;
}

/* =============================================
   HERO CON IMAGEN PARA CONTACTO
============================================= */
.contacto-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.contacto-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.contacto-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
}
.contacto-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2.75rem 1.5rem;
  color: #fff;
  text-align: center;
}
.contacto-hero__breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .75rem;
}
.contacto-hero__breadcrumb a { color: rgba(255,255,255,.65); }
.contacto-hero__breadcrumb span { margin-inline: .4rem; }
.contacto-hero__title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: .5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.contacto-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-inline: auto;
}

/* =============================================
   SF NOTICE — banner "en fase de planeación"
============================================= */
.sf-notice {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: .9rem 1.5rem;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
}
.sf-notice__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #fbbf24;
  flex-shrink: 0;
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

/* =============================================
   HERO INICIO con imagen real
============================================= */
.hero--img .hero__image img {
  filter: brightness(.92);
}

@media (max-width: 768px) {
  .project-hero { height: 400px; }
  .lugares-grid { grid-template-columns: 1fr; }
  .lugar-card { height: 260px; }
  .contacto-hero { height: 300px; }
}
@media (max-width: 480px) {
  .project-hero { height: 340px; }
  .project-hero__content { padding: 2rem 1.25rem; }
}
