/* =========================================================================
   EDESEG Creaciones — sistema de diseño
   Industria: serigrafía industrial + confección textil (Tlaxcala, México)

   Paleta: se conserva el ADN azul marino + dorado del logo (monograma de
   rombos entrelazados), y se suma un azul acero tomado directamente de la
   carrusel de serigrafía real fotografiada en planta — no es un acento
   decorativo genérico, es el color real de la maquinaria del héroe.

   Tipografía: Big Shoulders Display (estructura de acero/tipografía de
   naves industriales) para titulares, IBM Plex Sans para cuerpo, IBM Plex
   Mono para cifras de capacidad — se lee como ficha técnica, no como marca
   SaaS.

   Firma visual: el motivo de rombos entrelazados del logo se reinterpreta
   como una esquina cortada en diagonal (clip-path), aplicada a fotografías
   y divisores de sección — referencia directa a la geometría del propio
   logo, no un accesorio genérico.
   ========================================================================= */

:root {
  /* Color */
  --ink: #0f1c33;           /* fondo oscuro principal (placa del logo) */
  --ink-2: #17294a;         /* superficie oscura secundaria */
  --ink-3: #1f3459;         /* superficie oscura terciaria / hover */
  --paper: #f1f3f6;         /* fondo claro, tono acero, no crema */
  --paper-2: #e4e8ee;       /* superficie clara secundaria */
  --paper-3: #ffffff;
  --gold: #c89b5c;          /* bronce/dorado del monograma */
  --gold-light: #e7cd9c;
  --gold-dark: #9c7640;
  --steel: #3e6e96;         /* azul de la carrusel de serigrafía real */
  --steel-dark: #274a63;
  --text-dark: #16213a;     /* texto sobre fondo claro */
  --text-light: #eef1f6;    /* texto sobre fondo oscuro */
  --text-muted-dark: #4b5a72;
  --text-muted-light: #b7c1d1;
  --line: rgba(22, 33, 58, 0.12);
  --line-strong: rgba(22, 33, 58, 0.22);
  --line-on-dark: rgba(238, 241, 246, 0.16);
  --shadow: 0 24px 48px -24px rgba(15, 28, 51, 0.35);

  /* Tipografia */
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;

  /* Layout */
  --maxw: 1240px;
  --gap: clamp(1.25rem, 2vw, 2.5rem);
  --radius-sm: 4px;
}

/* ---------- Reset base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; text-wrap: balance; font-weight: 700; letter-spacing: 0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

section { position: relative; overflow-x: clip; }

.overflow-x-auto { overflow-x: auto; }

/* ---------- Firma visual: esquina cortada ---------- */
.clip-corner {
  clip-path: polygon(0 0, 100% 0, 100% 82%, 84% 100%, 0 100%);
}
.clip-corner-sm {
  clip-path: polygon(0 0, 100% 0, 100% 90%, 91% 100%, 0 100%);
}
.clip-corner-inv {
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%, 0 18%);
}

/* Divisor de seccion: quiebre diagonal que evoca el cruce del monograma */
.notch-divider {
  position: relative;
  height: 64px;
  margin-block: -1px;
}
.notch-divider svg { display: block; width: 100%; height: 100%; }

/* ---------- Etiqueta tecnica (ficha) ---------- */
.spec {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.spec b {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}
.spec span { color: var(--text-muted-dark); }
.on-dark .spec span { color: var(--text-muted-light); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  border-color: var(--line-on-dark);
  color: var(--text-light);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-outline.on-light { border-color: var(--line-strong); color: var(--text-dark); }
.btn-outline.on-light:hover { border-color: var(--steel); color: var(--steel-dark); }

/* ---------- Header / navegacion ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid var(--line-on-dark);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-light);
}
.brand img { height: 56px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.25rem);
}
.nav-desktop a {
  text-decoration: none;
  color: var(--text-muted-light);
  font-size: 0.95rem;
  font-weight: 500;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--text-light);
  border-color: var(--gold);
}
.nav-cta { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-on-dark);
  color: var(--text-light);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.7rem;
  font-size: 1.1rem;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--ink-2);
  border-top: 1px solid var(--line-on-dark);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text-light);
  text-decoration: none;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line-on-dark);
  font-size: 1.05rem;
}

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-primary { display: none; }
}

/* ---------- Banner promocional (imagen + texto editables desde el futuro panel) ---------- */
.promo-banner {
  position: relative;
  width: 100%;
  min-height: clamp(300px, 40vw, 460px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--ink);
}
.promo-banner-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.promo-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 28, 51, 0.94) 0%, rgba(15, 28, 51, 0.72) 42%, rgba(15, 28, 51, 0.18) 100%);
}
.promo-banner-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
}
.promo-banner-content .hero-eyebrow { margin-bottom: 0.85rem; }
.promo-banner-content h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.04;
  color: var(--text-light);
  text-wrap: balance;
  margin-bottom: 1rem;
}
.promo-banner-content p {
  color: var(--text-muted-light);
  font-size: 1.05rem;
  max-width: 48ch;
  margin-bottom: 1.75rem;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--text-light);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  line-height: 0.98;
  color: var(--text-light);
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p.lede {
  font-size: 1.15rem;
  color: var(--text-muted-light);
  margin-top: 1.25rem;
  max-width: 46ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.hero-specs {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-on-dark);
  flex-wrap: wrap;
}
.hero-specs .spec { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.hero-specs .spec b { font-size: clamp(2rem, 3.4vw, 2.8rem); }

.hero-media { position: relative; }
.hero-media figure { margin: 0; }
.hero-media img {
  width: 100%;
  height: clamp(320px, 42vw, 480px);
  object-fit: cover;
  object-position: center 30%;
}
.hero-media figcaption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted-light);
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}
.hero-media .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--ink);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.35em 0.75em;
}

@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

/* Unico momento de animacion orquestado: entrada del hero (tesis de la marca). */
.hero.js-anim .hero-copy,
.hero.js-anim .hero-media {
  opacity: 0;
}
.hero.js-anim.hero-ready .hero-copy {
  animation: heroRise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) 0.05s forwards;
}
.hero.js-anim.hero-ready .hero-media {
  animation: heroRise 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) 0.22s forwards;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Franja de intro / cifras ---------- */
.intro {
  background: var(--paper);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.intro .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}
.intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--text-dark); }
.intro .lede { font-size: 1.08rem; color: var(--text-muted-dark); }
.intro-facts { display: flex; flex-direction: column; gap: 1.1rem; }
.intro-fact {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.intro-fact:last-child { border-bottom: 0; padding-bottom: 0; }
.intro-fact b {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--steel-dark);
  min-width: 4.5ch;
}
.intro-fact span { color: var(--text-muted-dark); font-size: 0.98rem; }

@media (max-width: 780px) {
  .intro .wrap { grid-template-columns: 1fr; }
}

/* ---------- Servicios (grid / filas) ---------- */
.services-section { background: var(--paper-2); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .hero-eyebrow { color: var(--steel-dark); }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); color: var(--text-dark); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.service-grid.service-grid-3 { grid-template-columns: repeat(3, 1fr); }
.service-card {
  background: var(--paper-3);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card .media { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card img { width: 100%; height: 100%; object-fit: cover; }
.service-card .body { padding: 1.5rem 1.6rem 1.75rem; }
.service-card .tagline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.service-card p { color: var(--text-muted-dark); font-size: 0.98rem; margin-bottom: 0.75rem; }
.service-card .spec { font-size: 0.82rem; }
.service-card .spec b { font-size: 1.5rem; }

@media (max-width: 760px) {
  .service-grid, .service-grid.service-grid-3 { grid-template-columns: 1fr; }
}

/* ---------- Franja de crecimiento (stats oscura) ---------- */
.stats-band {
  background: var(--ink);
  color: var(--text-light);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  position: relative;
}
.stats-band .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.stats-band .spec { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.stats-band .spec b { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.stats-band .spec span { max-width: 30ch; }

@media (max-width: 760px) {
  .stats-band .wrap { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- CTA final ---------- */
.cta-band {
  background: var(--gold);
  color: var(--ink);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-band .btn-primary { background: var(--ink); color: var(--text-light); }
.cta-band .btn-primary:hover { background: var(--ink-3); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-2);
  color: var(--text-muted-light);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr 0.85fr;
  gap: var(--gap);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-grid a {
  display: block;
  text-decoration: none;
  color: var(--text-muted-light);
  padding-block: 0.35rem;
  font-size: 0.95rem;
}
.footer-grid a:hover { color: var(--text-light); }
.footer-brand .brand { margin-bottom: 0.9rem; }
.footer-brand p { color: var(--text-muted-light); font-size: 0.92rem; }
.footer-social h4 { margin-bottom: 1rem; }
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.footer-grid .social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-on-dark);
  color: var(--text-muted-light);
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.footer-grid .social-row a svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.footer-grid .social-row a:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted-light);
}
.footer-bottom a { text-decoration: none; color: var(--text-muted-light); }
.footer-bottom a:hover { color: var(--gold-light); }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ---------- Paginas internas: header de pagina ---------- */
.page-header {
  background: var(--ink);
  color: var(--text-light);
  padding-block: clamp(3rem, 7vw, 5rem) clamp(3.5rem, 8vw, 5.5rem);
}
.page-header .hero-eyebrow { color: var(--gold-light); }
.page-header h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-header p.lede { color: var(--text-muted-light); font-size: 1.1rem; max-width: 56ch; margin-top: 1rem; }

/* ---------- Quienes somos: mision/vision ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.mv-panel { padding: clamp(2.5rem, 5vw, 3.5rem); }
.mv-panel.light { background: var(--paper); color: var(--text-dark); border-left: 4px solid var(--gold); }
.mv-panel.dark { background: var(--ink-2); color: var(--text-light); border-left: 4px solid var(--steel); }
.mv-panel .hero-eyebrow { margin-bottom: 1rem; }
.mv-panel.light .hero-eyebrow { color: var(--steel-dark); }
.mv-panel.dark .hero-eyebrow { color: var(--gold-light); }
.mv-panel h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 1rem; }
.mv-panel p.quote { font-size: 1.2rem; font-weight: 500; max-width: 46ch; }
.mv-panel.light p.quote { color: var(--text-dark); }
.mv-panel.dark p.quote { color: var(--text-light); }

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

/* ---------- Valores: lista tecnica horizontal ---------- */
.values-section { background: var(--paper); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.values-list { display: flex; flex-direction: column; }
.value-row {
  display: grid;
  grid-template-columns: minmax(9ch, 13ch) 1fr 2fr;
  gap: 1.5rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.value-row:first-child { border-top: 1px solid var(--line); }
.value-row .tag { font-family: var(--font-mono); color: var(--gold-dark); font-size: 0.95rem; }
.value-row h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; color: var(--text-dark); }
.value-row p { color: var(--text-muted-dark); margin: 0; font-size: 0.98rem; }

@media (max-width: 700px) {
  .value-row { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* ---------- Galeria planta (quienes somos / como lo hacemos) ---------- */
.gallery-band { background: var(--paper-2); padding-block: clamp(3rem, 6vw, 4.5rem); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.gallery-grid figure { margin: 0; aspect-ratio: 1; overflow: hidden; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Servicios pagina interna: filas alternas ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .media { order: 2; }
.service-row .media img { width: 100%; height: clamp(280px, 32vw, 420px); object-fit: cover; }
.service-row .num-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--steel-dark);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  display: block;
}
.service-row h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 0.75rem; color: var(--text-dark); }
.service-row p.quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}
.service-row p.desc { color: var(--text-muted-dark); font-size: 1.03rem; }
.service-row .spec-row { display: flex; gap: 2rem; margin-top: 1.5rem; flex-wrap: wrap; }

@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; padding-block: 2.5rem; }
  .service-row:nth-child(even) .media { order: 0; }
}

.services-page-wrap { background: var(--paper); }

/* ---------- Maquinaria (equipos) ---------- */
.machines-section { background: var(--ink); color: var(--text-light); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.machines-section .section-head h2 { color: var(--text-light); }
.machines-section .section-head p { color: var(--text-muted-light); }
.machine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.machine-card { background: var(--ink-2); border: 1px solid var(--line-on-dark); }
.machine-card .media { aspect-ratio: 4/3; overflow: hidden; }
.machine-card img { width: 100%; height: 100%; object-fit: cover; }
.machine-card .label {
  padding: 0.85rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--gold-light);
}

@media (max-width: 900px) {
  .machine-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Metodologia (tags) ---------- */
.method-section { background: var(--paper); padding-block: clamp(3rem, 6vw, 4.5rem); }
.method-section .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--gap); align-items: start; }
.method-section blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--text-dark);
  border-left: 4px solid var(--steel);
  padding-left: 1.25rem;
}
.method-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.method-tags span {
  border: 1px solid var(--line-strong);
  padding: 0.5em 1em;
  font-size: 0.92rem;
  color: var(--text-muted-dark);
  font-family: var(--font-mono);
}

@media (max-width: 780px) {
  .method-section .wrap { grid-template-columns: 1fr; }
}

/* ---------- Contacto ---------- */
.contact-section { padding-block: clamp(3rem, 6vw, 5rem); background: var(--paper); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--paper-3);
  border: 1px solid var(--line);
}
.contact-info { padding: clamp(2.5rem, 5vw, 3.5rem); }
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.5rem; color: var(--text-dark); }
.contact-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; }
.contact-item .label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--steel-dark);
  display: block;
  margin-bottom: 0.4rem;
}
.contact-item a, .contact-item span.value {
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
}
.contact-item a:hover { color: var(--gold-dark); }
.contact-ctas { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.contact-media { position: relative; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-media img { min-height: 240px; }
}

/* ---------- Formulario de leads (contacto) ---------- */
.lead-form-section { background: var(--paper-2); padding-block: clamp(3rem, 6vw, 5rem); }
.lead-form-card {
  background: var(--paper-3);
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 720px;
  margin-inline: auto;
}
.lead-form-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--text-dark); margin-bottom: 0.75rem; }
.lead-form-card .lede { margin-bottom: 2rem; }
.lead-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.lead-form .field { margin-bottom: 1.25rem; }
.lead-form .field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--text-muted-dark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.lead-form .field input, .lead-form .field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
}
.lead-form .field textarea { resize: vertical; }
.lead-form .field input:focus, .lead-form .field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.lead-form-msg {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  display: none;
}
.lead-form-msg.show { display: block; }
.lead-form-success { background: rgba(62, 110, 150, 0.12); border: 1px solid var(--steel); color: var(--steel-dark); }
.lead-form-error { background: rgba(181, 72, 47, 0.1); border: 1px solid #b5482f; color: #8f3a26; }

@media (max-width: 640px) {
  .lead-form-grid { grid-template-columns: 1fr; }
}

/* ---------- Mapa (contacto) ---------- */
.map-section { background: var(--paper); padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.map-section .wrap { padding-bottom: 1.25rem; }
.map-embed {
  width: 100%;
  height: clamp(320px, 40vw, 450px);
  border-top: 4px solid var(--gold);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }
