/*
 * Estilos específicos de la página de contacto (contacto.html).
 * Reutiliza la paleta e identidad visual de index.html/tecnologia.html
 * (marca LEPAS a nivel general) y el patrón de cabecera de página de
 * legal-pages.css (.eyebrow, h1, .intro). El formulario en sí no define
 * estilos propios aquí: usa el componente único public/assets/css/lead-form.css.
 *
 * .container, .site-header, .site-header__inner y .brand ya viven en
 * base.css y site-chrome.css (compartidos por todo el sitio) y no se repiten aquí.
 */

:root {
  --bg: #0f1113;
  --panel: #15191c;
  --panel-soft: #1d2328;
  --line: #2a333a;
  --text: #f4f6f8;
  --muted: #a5b0ba;
  --brand: #c98a2e;
  --brand-strong: #e0a64a;
  --brand-text: #111317;
  --radius-lg: 22px;
  --radius-md: 14px;
  --maxw: 1240px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

body {
  margin: 0;
  font-family: "SourceHan", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 15% 0%, #1b2025 0%, var(--bg) 42%) fixed;
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; }

main { padding: 44px 0 64px; }

.eyebrow {
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h1, h2, p { margin-top: 0; }

h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.intro {
  max-width: 72ch;
  color: var(--muted);
  margin: 18px 0 0;
  font-size: 16px;
}

.locations-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.location-card {
  background: linear-gradient(180deg, #181d22 0%, #14181c 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.location-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.location-card__address {
  color: var(--muted);
  margin: 0 0 6px;
}

.location-card .contact-phone {
  margin: 0 0 18px;
}

.location-card__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 0 0 16px;
}

.location-card__map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}

.location-card__link {
  display: inline-block;
  color: var(--brand-strong);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.location-card__link:hover { text-decoration: underline; }

.contact-form-grid {
  margin-top: 40px;
}

.contact-form-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .locations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  main { padding: 32px 0 44px; }
  h1 { font-size: 30px; }
  .location-card { padding: 20px; }
  .location-card__map iframe { height: 220px; }
  .contact-form-grid { margin-top: 28px; }
  .contact-form-media { min-height: 260px; }
}
