/* Portada en construcción de AMC Lawyers. Especificación: developer_wiki/operaciones/despliegues/2026-11-12-landing-revision-estetica.md §2.
   Ningún color fuera de :root. Inter 4.0 (OFL), autoalojada, subconjunto latino. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fuentes/inter-latin-400.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fuentes/inter-latin-600.woff") format("woff");
}

:root {
  --blanco: #ffffff;
  --pizarra: #23322f;
  --profunda: #182522;
  --elevada: #2f3e3b;
  --tinta: #23322f;
  --tinta-2: #495250;
  --tinta-3: #636b69;
  --osc-2: #c9d4d1;
  --osc-3: #a3adab;
  --filete: #d7dcdb;
  --filete-osc: #495250;
  --verde: #4f7629;
  --verde-600: #385816;
  --verde-claro: #8db769;
  --radio: 2px;
  --fuente: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --transicion: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  --transicion-relieve: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  --relieve: 0 8px 24px rgba(24, 37, 34, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  color: var(--tinta);
  font-family: var(--fuente);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: var(--transicion); }
a:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }
img, svg { display: block; }
h1, h2, p { margin: 0; }

.contenedor { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* Cabecera */
.cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  border-bottom: 1px solid var(--filete);
}
.marca img { width: 88px; height: 88px; border-radius: 0; }
.cabecera-acciones { display: flex; align-self: stretch; align-items: center; gap: clamp(12px, 3vw, 32px); }

.idiomas { display: flex; align-items: center; }
.idiomas a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--tinta-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-underline-offset: 6px;
}
.idiomas a:hover { color: var(--tinta); text-decoration: underline 1px; }
.idiomas a[aria-current="true"] { color: var(--tinta); text-decoration: underline 2px var(--verde); }
.idiomas .separador { width: 1px; height: 14px; background: var(--filete); }

.contactar {
  position: relative;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--verde);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.contactar:hover, .contactar:active { color: var(--verde-600); }
/* Barra bajo «Contactar», apoyada en el filete de la cabecera (20px de padding + 1px de filete). */
.contactar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -21px;
  height: 4px;
  background: var(--verde);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.contactar:focus-visible::after, .contactar:active::after { transform: scaleX(1); }
@media (hover: hover) { .contactar:hover::after { transform: scaleX(1); } }

/* Héroe */
.heroe {
  flex: 1;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  padding-block: clamp(24px, 2.2vw, 32px);
}

.estado {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--verde);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--tinta);
  text-wrap: balance;
}

.entrada {
  max-width: 650px;
  margin-top: 28px;
  color: var(--tinta-2);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.65;
}

.accion { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 40px; }

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid var(--pizarra);
  border-radius: var(--radio);
  background: var(--pizarra);
  color: var(--blanco);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.boton { transition: var(--transicion-relieve); }
/* Al pasar (o con foco): se invierte a contorno y sube 2px con un relieve leve. Pulsado: vuelve a su sitio. */
.boton:focus-visible {
  background: var(--blanco);
  color: var(--pizarra);
  transform: translateY(-2px);
  box-shadow: var(--relieve);
}
@media (hover: hover) {
  .boton:hover {
    background: var(--blanco);
    color: var(--pizarra);
    transform: translateY(-2px);
    box-shadow: var(--relieve);
  }
}
.boton:active { background: var(--profunda); border-color: var(--profunda); color: var(--blanco); transform: none; box-shadow: none; }


.correo { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; }
.direccion { color: var(--tinta-2); font-size: 1rem; }
.copiar {
  min-width: 76px;
  min-height: 44px;
  text-align: left;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--verde);
  font: 600 12px/1 var(--fuente);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transicion);
}
.copiar:hover { color: var(--verde-600); }
.copiar:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }
.copiar[hidden] { display: none; }
.aviso-copia { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.redes { display: flex; gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; }
.redes a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--tinta-3);
  border-radius: var(--radio);
  color: var(--tinta);
  transition: var(--transicion-relieve);
}
.redes a:focus-visible {
  background: var(--pizarra);
  border-color: var(--pizarra);
  color: var(--blanco);
  transform: translateY(-2px);
  box-shadow: var(--relieve);
}
@media (hover: hover) {
  .redes a:hover {
    background: var(--pizarra);
    border-color: var(--pizarra);
    color: var(--blanco);
    transform: translateY(-2px);
    box-shadow: var(--relieve);
  }
}
.redes a:active { background: var(--profunda); border-color: var(--profunda); color: var(--blanco); transform: none; box-shadow: none; }
.redes svg { width: 18px; height: 18px; fill: currentColor; }

/* Panel */
.panel {
  padding: 40px;
  border-radius: var(--radio);
  background: var(--pizarra);
  color: var(--blanco);
}
.panel-filete { display: block; width: 56px; height: 2px; margin-bottom: 28px; background: var(--verde-claro); }
.panel h2 {
  font-size: clamp(1.75rem, 2vw, 1.875rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--blanco);
  text-wrap: balance;
}
.panel p { margin-top: 20px; color: var(--osc-2); line-height: 1.6; }

/* Pie */
.pie {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px;
  border-top: 1px solid var(--filete);
  color: var(--tinta-3);
  font-size: 13px;
}
.pie a:hover { color: var(--tinta); }


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

@media (max-width: 640px) {
  .contenedor { width: calc(100% - 32px); }
  .marca img { width: 64px; height: 64px; }
  h1 { font-size: clamp(2.5rem, 12.5vw, 3rem); }
  .accion { flex-direction: column; align-items: stretch; }
  .boton { width: 100%; }
  .panel { padding: 28px; }
  .panel h2 { font-size: 28px; }
  .pie { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .boton:hover, .boton:focus-visible, .redes a:hover, .redes a:focus-visible { transform: none; }
}
