/* ReconoSERte — página Contacto */

/* ---------- Hero con foto real ---------- */
.contact-photo {
  position: relative; border-radius: 28px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(54, 64, 58, 0.18); border: 1px solid var(--line);
}
.contact-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.contact-photo figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 14px 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; justify-content: center;
}
.contact-photo figcaption strong { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; }

/* ---------- Canales de contacto ---------- */
.channels { background: var(--card); }
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.channel {
  display: flex; flex-direction: column; border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.channel:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.channel-body { padding: 26px 26px 20px; flex: 1; }
.channel-wa { background: color-mix(in oklab, var(--sage) 26%, white); }
.channel-mail { background: color-mix(in oklab, var(--lav) 22%, white); }
.channel-tel { background: color-mix(in oklab, var(--terra) 24%, white); }
.channel .ch-ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
}
.channel-wa .ch-ico { background: var(--wa); color: #fff; }
.channel-mail .ch-ico { background: var(--lav-deep); color: #fff; }
.channel-tel .ch-ico { background: var(--terra-deep); color: #fff; }
.channel .ch-ico svg { width: 24px; height: 24px; }
.channel h3 { font-size: 1.18rem; margin-bottom: 8px; }
.channel-body p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 14px; }
.channel .ch-value { font-weight: 700; font-size: 1rem; }
.channel-wa .ch-value { color: var(--sage-deep); }
.channel-mail .ch-value { color: var(--lav-deep); }
.channel-tel .ch-value { color: var(--terra-deep); }
.channel-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 26px; border-top: 1px solid rgba(54, 64, 58, 0.08);
  font-weight: 700; font-size: 0.9rem;
}
.channel-foot .arr { transition: transform 0.18s; }
.channel:hover .channel-foot .arr { transform: translate(3px, -3px); }

/* ---------- Sedes y horarios ---------- */
.sedes-panel {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px;
  background: var(--card); border: 1px solid var(--line); border-radius: 28px;
  padding: 48px; box-shadow: var(--shadow);
}
.sedes-panel h3 { font-size: 1.5rem; margin-bottom: 26px; }
.sede-list, .hours-list { list-style: none; display: grid; gap: 22px; margin: 0; padding: 0; }
.sede-item { display: flex; gap: 16px; align-items: flex-start; }
.sede-item .s-ico {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
}
.sede-item:nth-child(1) .s-ico { background: color-mix(in oklab, var(--sage) 45%, white); color: var(--sage-deep); }
.sede-item:nth-child(2) .s-ico { background: color-mix(in oklab, var(--terra) 45%, white); color: var(--terra-deep); }
.sede-item:nth-child(3) .s-ico { background: color-mix(in oklab, var(--lav) 45%, white); color: var(--lav-deep); }
.sede-item:nth-child(4) .s-ico { background: var(--bg-soft); color: var(--ink-soft); }
.sede-item .s-ico svg { width: 20px; height: 20px; }
.sede-item strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.sede-item p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }
.hours-cta { margin-top: 30px; }
.sedes-note { margin-top: 26px; font-size: 0.85rem; color: var(--ink-soft); font-style: italic; }

@media (max-width: 920px) {
  .channel-grid { grid-template-columns: 1fr; }
  .sedes-panel { grid-template-columns: 1fr; gap: 40px; padding: 32px 24px; }
  .contact-photo img { aspect-ratio: 4 / 3; }
}
