/* ══════════════════════════════════════
   sedes.css
   Sedes Page – Clínica Peruano Suiza
   ══════════════════════════════════════ */

/* ══════════════════════════════
   HERO BANNER
══════════════════════════════ */
.page-hero {
  position: relative;
  background: linear-gradient(120deg, #0a1f55 0%, #1a56c4 55%, #00b4d8 100%);
  padding: 48px 20px 44px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
  transform: scale(1.05);
  z-index: 0;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 31, 85, 0.82) 0%, rgba(26, 86, 196, 0.75) 55%, rgba(0, 180, 216, 0.65) 100%);
  z-index: 1;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  top: -200px;
  right: -100px;
  z-index: 1;
  pointer-events: none;
}

.page-hero .hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
}

.hero-pre {
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.page-hero p {
  font-size: clamp(14px, 1.6vw, 17px);
  opacity: .88;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ══════════════════════════════
   BREADCRUMB
══════════════════════════════ */
.breadcrumb-bar {
  background: var(--light);
  padding: 11px 20px;
  border-bottom: 1px solid #dde8f8;
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s;
}

.breadcrumb-bar a:hover {
  color: var(--blue);
}

.breadcrumb-bar svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.breadcrumb-sep {
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb-current {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

/* ══════════════════════════════
   SEDES SECTION
══════════════════════════════ */
.sedes-section {
  padding: 60px 0 80px;
  background: var(--gray);
}

.sede-block {
  max-width: 1100px;
  margin: 0 auto 44px;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 400px 1fr;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .09);
  transition: transform .25s, box-shadow .25s;
}

.sede-block:last-child {
  margin-bottom: 0;
}

.sede-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .14);
}

/* ── Image ── */
.sede-img {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.sede-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.sede-block:hover .sede-img img {
  transform: scale(1.04);
}

.sede-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, #dde8f8 0%, #b8d0f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--blue);
  opacity: 0.6;
}

/* ── Badge ── */
.sede-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
}

/* ── Info ── */
.sede-info {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.sede-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
}

.sede-info h2 span {
  display: block;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.sede-info p {
  color: var(--muted);
  font-size: clamp(13px, 1.1vw, 14.5px);
  line-height: 1.7;
}

/* ── Services ── */
.sede-services {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.sede-services li {
  background: var(--light);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid #c8d8f0;
}

/* ── Address ── */
.sede-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.sede-address .pin {
  width: 22px;
  height: 22px;
  background: var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 11px;
  color: #fff;
}

/* ── Hours ── */
.sede-hours {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sede-hours strong {
  color: var(--navy);
}

/* ── Phone ── */
.sede-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: color .2s;
}

.sede-tel:hover {
  color: var(--blue);
}

/* ── Button ── */
.btn-llegar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(224, 32, 32, .30);
  transition: background .2s, transform .15s;
  align-self: flex-start;
}

.btn-llegar:hover {
  background: #c01010;
  transform: translateY(-1px);
}

.btn-llegar svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ══════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
══════════════════════════════ */
@media (max-width: 1024px) {
  .sede-block {
    grid-template-columns: 340px 1fr;
  }
}

/* ══════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
══════════════════════════════ */
@media (max-width: 768px) {
  .page-hero {
    padding: 36px 20px 32px;
  }

  .sede-block {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .sede-img {
    min-height: 220px;
    max-height: 260px;
  }

  .sede-info {
    padding: 24px 20px;
    gap: 12px;
  }

  .sedes-section {
    padding: 40px 0 60px;
  }
}

/* ══════════════════════════════
   RESPONSIVE — SMALL (≤ 480px)
══════════════════════════════ */
@media (max-width: 480px) {
  .sede-img {
    min-height: 180px;
  }

  .sede-services li {
    font-size: 10px;
    padding: 4px 10px;
  }

  .btn-llegar {
    width: 100%;
    justify-content: center;
  }
}
