/* 
   UBICACIONES - Estilos Arquitectónicos Premium
   Inspiración: Estética Nilsson (Arquitectura y Limpieza)
*/

.locations-page-wrapper {
  background-color: var(--color-white);
  color: var(--color-text);
}

/* 1. HERO UBICACIONES (Estilo Notch Inverso Corregido) */
.loc-hero {
  padding: 0;
  background-color: var(--color-white);
}

.loc-hero-wrapper {
  width: 100%;
  height: 80vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.loc-hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
  border-radius: 0;
  z-index: 1;
}

.loc-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.loc-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
  z-index: 2;
}

.loc-content-boxed {
  position: relative;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  /* Dejamos que los clics pasen al fondo si es necesario, pero los hijos tendrán auto */
}

/* El Notch Redondeado (Boxed) */
.loc-hero-notch {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 380px;
  /* Ancho fijo para el estilo boxed */
  height: 100px;
  /* Altura fija */
  background-color: var(--color-white);
  border-top-right-radius: 3rem;
  border-top-left-radius: 3rem;
  z-index: 5;
  pointer-events: auto;
}

.loc-hero-content {
  position: absolute;
  bottom: 180px;
  /* Elevado para dejar espacio al notch */
  left: 0;
  z-index: 10;
  max-width: 600px;
  color: #fff;
  pointer-events: auto;
}

.loc-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
}

.loc-hero-content p {
  font-size: 1.2rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* El botón AHORA SÍ ES VISIBLE Y CENTRADO */
.loc-hero-action {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 380px;
  /* Mismo ancho que el notch */
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 0 2rem;
  pointer-events: auto;
}

.btn-pill-dark {
  background: #1a1a1a;
  color: #fff;
  padding: 1.25rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.btn-pill-dark:hover {
  transform: translateY(-5px);
  background: #000;
}



/* 2. SEDE INFO */
.sede-section {
  padding: 8rem 0;
  /* Reducido de 10rem */
}

.sede-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  /* Reducido de 8rem */
  align-items: center;
}

.sede-details {
  padding-right: 2rem;
}

.sede-details h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  /* Reducido de 2rem */
}

.sede-info-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 0;
  /* Reducido de 1.5rem */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-icon {
  color: var(--color-accent);
}

.info-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 0.25rem;
}

.info-value {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text);
}

/* 2.1 BOTONES DE SEDE REFINADOS */
.sede-actions {
  margin-top: 3rem;
  /* Reducido de 4rem */
  display: flex;
  gap: 1.5rem;
}


.sede-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid var(--color-primary);
}

.sede-cta--primary {
  background: var(--color-primary);
  color: #fff;
}

.sede-cta--primary:hover {
  background: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sede-cta--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-accent);
}

.sede-cta--outline:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-3px);
}

.sede-cta svg {
  transition: transform 0.3s ease;
}

.sede-cta:hover svg {
  transform: translateX(3px);
}

.map-visual {
  position: relative;
  height: 500px;
  background: #f0f0f0;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* 4. EXPERIENCIA HOSPITALARIA */
.experience-hospital {
  padding: 10rem 0;
  background: var(--color-light);
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.exp-card {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 2rem;
  transition: var(--transition-smooth);
}

.exp-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

/* 5. CHECKLIST (Layout Split Card Premium) */
.checklist-section {
  padding: 10rem 0;
  background-color: var(--color-white);
}

.checklist-card-wrapper {
  background: #fff;
  /* Cambiado a Warm para resaltar sobre fondo blanco */
  border-radius: 4rem;
  padding: 3rem;
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 5rem;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.03);
  align-items: stretch;
}

.checklist-side-dark {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)),
    url('../img/elegant_medical_consultation_interior_1778612698066.png');
  background-size: cover;
  background-position: center;
  border-radius: 2.5rem;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.checklist-side-dark h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.1;
  color: #fff;
  position: relative;
  z-index: 2;
}


.checklist-side-dark .btn-pill-dark {
  background: #000;
  width: 100%;
  margin-top: 4rem;
}

.checklist-side-list {
  padding: 1rem 0;
}

.checklist-side-list h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 2rem;
  font-weight: 700;
}

.checklist-grid-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.checklist-item-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 2rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.checklist-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border-color: var(--color-accent);
}

.checklist-item-card .icon-box {
  width: 50px;
  height: 50px;
  background: var(--color-light);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.checklist-item-card:hover .icon-box {
  background: var(--color-primary);
  color: #fff;
}

.checklist-item-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.checklist-item-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-light);
  margin: 0;
}

@media (max-width: 768px) {
  .checklist-grid-items {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 1024px) {
  .checklist-card-wrapper {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 3rem;
  }

  .checklist-side-dark {
    padding: 3rem 2rem;
  }
}



/* RESPONSIVE */
@media (max-width: 1024px) {
  .sede-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .loc-hero-card {
    position: relative;
    max-width: 100%;
    padding: 3rem;
    clip-path: none;
    border-radius: 0 0 2.5rem 2.5rem;
  }

  .checklist-container {
    padding: 3rem;
  }
}