/* Toldos Monzón — estilos de toda la web.
   Dirección A «sombra mediterránea / aluminio» (plan aprobado el 2026-11-06): la foto de obra manda y la interfaz se
   aparta. Blanco cálido, antracita verdosa, un solo acento (terracota de lona) y líneas de aluminio. Sin tarjetas,
   iconos, píldoras, degradados ni sombras. Enlaces sin subrayado (preferencia del usuario): color + seminegrita.
   Syne (titulares) y Manrope (texto), variables y autoalojadas. */

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/syne.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope.woff2') format('woff2');
}

:root {
  --fondo: #fffefb;        /* blanco cálido */
  --fondo-alt: #f2efea;    /* franjas alternas */
  --texto: #1c2422;        /* antracita verdosa, 15,7:1 sobre el fondo */
  --suave: #5e6765;        /* pies de foto y datos, 5,8:1 */
  --aluminio: #8a9391;     /* solo líneas y bordes (3,1:1) */
  --linea: #d9dcda;        /* filetes finos sobre el fondo */
  --acento: #a54e33;       /* terracota de lona: enlaces y botones, 5,6:1 */
  --acento-oscuro: #8a3f28;
  --acento-claro: #eab9a4; /* el acento sobre antracita */
  --claro: #fffefb;
  --titulares: 'Syne', 'Trebuchet MS', sans-serif;
  --texto-fuente: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --ancho: 1240px;
  --margen: 16px;
  --seccion: clamp(3.5rem, 7vw, 6.5rem);
}

@media (min-width: 700px) {
  :root {
    --margen: 32px;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font: 400 1.0625rem/1.65 var(--texto-fuente);
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: var(--titulares);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--acento);
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  color: var(--acento-oscuro);
}

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

strong {
  font-weight: 700;
}

.contenedor {
  width: 100%;
  max-width: calc(var(--ancho) + 2 * var(--margen));
  margin-inline: auto;
  padding-inline: var(--margen);
}

.saltar {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--texto);
  color: var(--claro);
}

.saltar:focus {
  top: 1rem;
}

/* ---------- Botones y enlaces con flecha ---------- */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 2px solid var(--acento);
  background: var(--acento);
  color: #ffffff;
  font: 700 1rem/1.2 var(--texto-fuente);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.boton:hover {
  background: var(--acento-oscuro);
  border-color: var(--acento-oscuro);
  color: #ffffff;
}

.boton--linea {
  background: transparent;
  color: var(--acento);
}

.boton--linea:hover {
  background: var(--acento);
  color: #ffffff;
}

.enlace-flecha {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 44px;
}

.enlace-flecha::after {
  content: '→';
  transition: transform 0.15s;
}

.enlace-flecha:hover::after {
  transform: translateX(4px);
}

.enlace-flecha--claro {
  color: var(--acento-claro);
}

.enlace-flecha--claro:hover {
  color: #ffffff;
}

.acciones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  margin: 1.75rem 0 0;
}

/* ---------- Cabecera ---------- */
.cabecera {
  position: relative;
  z-index: 5;
  background: var(--fondo);
  border-bottom: 1px solid var(--linea);
}

.cabecera__interior {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: calc(var(--ancho) + 2 * var(--margen));
  margin-inline: auto;
  padding: 0.75rem var(--margen);
}

.cabecera__logo {
  flex: none;
  display: block;
  width: 160px;
}

.cabecera__logo img {
  width: 100%;
}

.menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.menu ul {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--texto);
}

.menu ul a:hover,
.menu ul a[aria-current='page'] {
  color: var(--acento);
}

.cabecera__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 48px;
  padding: 0.6rem 1.1rem;
  background: var(--texto);
  color: var(--claro);
  white-space: nowrap;
}

.cabecera__tel:hover {
  background: var(--acento);
  color: #ffffff;
}

.cabecera__tel-texto {
  font-weight: 400;
}

.menu-boton {
  min-height: 48px;
  padding: 0.6rem 1.1rem;
  border: 2px solid var(--texto);
  background: transparent;
  color: var(--texto);
  font: 700 1rem var(--texto-fuente);
  cursor: pointer;
}

@media (min-width: 900px) {
  .cabecera__logo {
    width: 210px;
  }
}

/* En pantallas estrechas el menú se pliega bajo la cabecera (solo si hay JavaScript; si no, queda a la vista) */
@media (max-width: 899.98px) {
  .cabecera.con-menu .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--margen) 1.25rem;
    background: var(--fondo);
    border-bottom: 1px solid var(--linea);
  }

  .cabecera.con-menu .menu.abierto {
    display: flex;
  }

  .cabecera:not(.con-menu) .cabecera__interior {
    flex-wrap: wrap;
  }

  .cabecera:not(.con-menu) .menu {
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
  }

  .menu ul {
    flex-direction: column;
    gap: 0;
  }

  .cabecera.con-menu .menu ul a {
    display: flex;
    min-height: 52px;
    border-bottom: 1px solid var(--linea);
    font-size: 1.15rem;
  }

  .cabecera.con-menu .cabecera__tel {
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (min-width: 900px) {
  .menu-boton {
    display: none;
  }
}

/* ---------- Portada: foto a sangre y panel antracita macizo que muerde su borde inferior ---------- */
.portada {
  position: relative;
}

.portada__foto img {
  width: 100%;
  object-fit: cover;
}

.portada__panel {
  position: relative;
  padding: 2rem var(--margen) 2.25rem;
  background: var(--texto);
  color: var(--claro);
}

.portada__panel h1 {
  margin-bottom: 1.1rem;
}

.portada__panel p {
  max-width: 46ch;
  color: #dfe3e1;
}

.portada__panel .acciones {
  max-width: none;
}

.portada__antetitulo {
  margin-bottom: 0.9rem;
  color: var(--acento-claro) !important;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .portada__foto img {
    height: min(80vh, 800px);
    min-height: 540px;
    object-position: 50% 72%;
  }

  .portada {
    margin-bottom: 4.5rem;
  }

  .portada__panel {
    position: absolute;
    left: max(var(--margen), calc((100vw - var(--ancho)) / 2));
    bottom: -4.5rem;
    width: min(780px, 58vw);
    padding: 2.5rem 3rem 2.25rem;
  }

  .portada__panel h1 {
    font-size: clamp(2.6rem, 4.2vw, 3.7rem);
  }
}

/* ---------- Presentación y proceso ---------- */
.presentacion {
  padding-block: var(--seccion);
}

.presentacion__interior {
  display: grid;
  gap: 1.25rem 4rem;
}

.presentacion__texto {
  max-width: 60ch;
  font-size: 1.125rem;
}

.proceso {
  display: grid;
  gap: 0;
  margin: 3rem auto 0;
  list-style: none;
}

.proceso li {
  padding: 1rem 0 0.25rem;
  border-top: 1px solid var(--aluminio);
  font: 600 1.15rem/1.3 var(--titulares);
}

.proceso li:last-child {
  padding-bottom: 0;
}

@media (min-width: 700px) {
  .proceso {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .proceso li {
    border-top: 2px solid var(--texto);
  }
}

@media (min-width: 900px) {
  .presentacion__interior {
    grid-template-columns: 5fr 6fr;
    align-items: start;
  }

  .presentacion__interior h2 {
    margin: 0;
  }
}

/* ---------- Sistemas (portada): foto grande que cambia y lista de nombres grandes ---------- */
.sistemas {
  padding-block: var(--seccion);
  background: var(--fondo-alt);
}

.sistemas__interior {
  display: grid;
  gap: 2rem 4.5rem;
}

.sistemas__fotos {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--linea);
}

.sistemas__foto {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
}

.sistemas__foto.activa {
  opacity: 1;
}

.sistemas__foto picture {
  height: 100%;
}

.sistemas__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sistemas__lista ul {
  margin: 1.5rem 0 1.25rem;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--aluminio);
}

.sistemas__lista li {
  border-top: 1px solid var(--aluminio);
}

.sistemas__lista li a {
  display: block;
  padding: 1rem 2.5rem 1rem 0;
  position: relative;
  color: var(--texto);
}

.sistemas__lista li a::after {
  content: '→';
  position: absolute;
  right: 0.25rem;
  top: 1rem;
  color: var(--acento);
  font: 600 1.5rem/1.2 var(--titulares);
  transition: transform 0.15s;
}

.sistemas__nombre {
  display: block;
  font: 700 clamp(1.3rem, 2.3vw, 1.75rem)/1.2 var(--titulares);
}

.sistemas__dato {
  display: block;
  margin-top: 0.3rem;
  color: var(--suave);
  font-weight: 400;
  font-size: 0.975rem;
}

.sistemas__lista li a:hover .sistemas__nombre,
.sistemas__lista li a:focus-visible .sistemas__nombre,
.sistemas__lista li a.activo .sistemas__nombre {
  color: var(--acento);
}

.sistemas__lista li a:hover::after,
.sistemas__lista li a.activo::after {
  transform: translateX(4px);
}

@media (min-width: 900px) {
  .sistemas__interior {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .sistemas__fotos {
    position: sticky;
    top: 2rem;
    aspect-ratio: 4 / 5;
  }
}

/* ---------- Bandas de foto a sangre con pie tipográfico ---------- */
.banda {
  margin: 0;
}

.banda img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
}

.banda figcaption {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  color: var(--suave);
  font-size: 0.95rem;
}

.banda figcaption strong {
  color: var(--texto);
}

/* ---------- Llamada final (antracita) ---------- */
.llamada {
  padding-block: var(--seccion);
  background: var(--texto);
  color: var(--claro);
}

.llamada__interior {
  display: grid;
  gap: 1rem 4rem;
}

.llamada p {
  color: #dfe3e1;
  font-size: 1.125rem;
}

.llamada__telefonos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 2rem;
}

.llamada__telefonos a {
  color: var(--claro);
  font: 700 clamp(1.7rem, 3.4vw, 2.5rem)/1.3 var(--titulares);
  white-space: nowrap;
}

.llamada__telefonos a:hover {
  color: var(--acento-claro);
}

.llamada .enlace-flecha {
  color: var(--acento-claro);
}

.llamada .enlace-flecha:hover {
  color: #ffffff;
}

.llamada :focus-visible,
.portada__panel :focus-visible,
.pie :focus-visible {
  outline-color: var(--acento-claro);
}

@media (min-width: 900px) {
  .llamada__interior {
    grid-template-columns: 5fr 6fr;
    align-items: start;
  }
}

/* ---------- Cabeza de las páginas interiores ---------- */
.cabeza-pagina {
  padding-top: clamp(2.75rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.cabeza-pagina__ruta {
  margin-bottom: 0.9rem;
  color: var(--acento);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cabeza-pagina h1 {
  max-width: 18ch;
}

.cabeza-pagina__entrada {
  max-width: 54ch;
  color: var(--suave);
  font-size: 1.2rem;
}

/* Índice de Servicios: columnas de enlaces con filete, sin chips */
.indice ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0 2rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.indice li {
  border-top: 1px solid var(--linea);
}

.indice a {
  display: flex;
  align-items: center;
  min-height: 46px;
}

/* ---------- Textos a dos columnas (Empresa) ---------- */
.texto-dos {
  display: grid;
  gap: 0.5rem 4rem;
  padding-block: calc(var(--seccion) * 0.7) var(--seccion);
  border-top: 1px solid var(--linea);
}

.texto-dos > div {
  max-width: 62ch;
  font-size: 1.1rem;
}

@media (min-width: 900px) {
  .texto-dos {
    grid-template-columns: 5fr 7fr;
  }
}

/* ---------- Fichas de Servicios: foto a un lado, texto al otro, alternando ---------- */
.ficha {
  display: grid;
  gap: 1.75rem 4rem;
  max-width: calc(var(--ancho) + 2 * var(--margen));
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5rem) var(--margen);
  border-top: 1px solid var(--linea);
  scroll-margin-top: 1rem;
}

.ficha__foto img {
  width: 100%;
}

.ficha__texto {
  max-width: 62ch;
}

.ficha__texto h2 {
  margin-bottom: 1.25rem;
}

.ficha__segunda {
  max-width: 340px;
  margin: 2rem 0 1.25rem;
}

.ficha__segunda figcaption,
.mosaico figcaption {
  margin-top: 0.6rem;
  color: var(--suave);
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (min-width: 900px) {
  .ficha {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }

  .ficha--al-reves {
    grid-template-columns: 5fr 7fr;
  }

  .ficha--al-reves .ficha__foto {
    order: 2;
  }

  .ficha__foto--pequena {
    max-width: 480px;
  }

  .ficha--sin-foto {
    grid-template-columns: 7fr 5fr;
  }

  .ficha--sin-foto .ficha__texto {
    grid-column: 1;
  }
}

/* ---------- Proyectos: obras con mosaico asimétrico y bandas a sangre ---------- */
.obra {
  padding-block: clamp(2.5rem, 5vw, 4.5rem) 0;
  scroll-margin-top: 1rem;
}

section.obra:last-of-type {
  padding-bottom: var(--seccion);
}

.obra__titulo {
  margin-bottom: 1.5rem;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

.banda.obra {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding: 0;
}

.mosaico {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

.mosaico figure {
  margin: 0;
}

.mosaico img {
  width: 100%;
}

@media (min-width: 700px) {
  .mosaico--dos,
  .mosaico--tres {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .mosaico {
    grid-template-columns: 1.6fr 1fr;
    align-items: end;
    gap: 2rem;
  }

  .mosaico--al-reves {
    grid-template-columns: 1fr 1.6fr;
  }

  .mosaico--dos {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .mosaico--tres {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .mosaico--uno {
    grid-template-columns: 1fr;
  }

  .mosaico--uno figure {
    width: 42%;
    margin-left: auto;
  }

  .mosaico--estrecho {
    max-width: calc(800px + 2 * var(--margen));
    margin-left: max(0px, calc((100vw - var(--ancho)) / 2 - var(--margen)));
  }
}

/* ---------- Contacto ---------- */
.contacto {
  display: grid;
  gap: 2.5rem 4.5rem;
  padding-bottom: var(--seccion);
}

.datos {
  margin: 0;
}

.datos > div {
  padding: 1rem 0 1.1rem;
  border-top: 1px solid var(--aluminio);
}

.datos dt {
  margin-bottom: 0.3rem;
  color: var(--suave);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.datos dd {
  margin: 0;
}

.datos__grande {
  color: var(--texto);
  font: 700 clamp(1.6rem, 3vw, 2.1rem)/1.35 var(--titulares);
  white-space: nowrap;
}

.formulario {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--fondo-alt);
}

.formulario h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.campo {
  margin-bottom: 1.25rem;
}

.campo label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.campo input[type='text'],
.campo textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--aluminio);
  border-radius: 0;
  background: #ffffff;
  color: var(--texto);
  font: inherit;
}

.campo textarea {
  resize: vertical;
}

.campo input:focus-visible,
.campo textarea:focus-visible {
  outline: 3px solid var(--acento);
  outline-offset: 0;
  border-color: var(--texto);
}

.campo--trampa {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.campo--casilla {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.campo--casilla input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0.15rem 0 0;
  accent-color: var(--acento);
}

.campo--casilla label {
  margin: 0;
  font-weight: 400;
}

@media (min-width: 900px) {
  .contacto {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
}

/* Mapa: el plano propio (SVG con datos de OpenStreetMap, sin Google ni cookies). El mapa de Google solo se carga, en
   su lugar, al pulsar «Ver mapa de Google» */
.mapa {
  padding-block: var(--seccion);
  border-top: 1px solid var(--linea);
}

.mapa__interior {
  display: grid;
  gap: 1.5rem 4rem;
}

@media (min-width: 900px) {
  .mapa__interior {
    grid-template-columns: 4fr 8fr;
    align-items: start;
  }
}

.mapa__marco {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f7f5f1;
  border: 1px solid var(--linea);
}

.mapa__credito {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 14px 10px;
  background: rgba(255, 254, 251, 0.9);
  color: var(--texto);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1;
}

.mapa__marco iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.mapa__acciones {
  margin: 1.5rem 0 0;
}

@media (max-width: 599.98px) {
  .mapa__marco {
    aspect-ratio: 1;
  }

  .mapa__marco .plano {
    width: 170%;
    max-width: none;
    margin: 0 0 0 -69.5%; /* lo calcula herramientas/mapa.py */
  }

  .mapa__credito {
    right: auto;
    left: 0;
  }

  .plano__solo-escritorio {
    display: none;
  }
}

/* Plano de situación (herramientas/mapa.py): calles en gris aluminio y la tienda en terracota */
.plano {
  display: block;
  width: 100%;
  height: auto;
}

.plano__parque {
  fill: #e3e8df;
}

.plano__agua {
  fill: #dbe5e8;
}

.plano__calle {
  fill: none;
  stroke: #dcdedb;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plano__calle--peatonal {
  stroke-width: 1.8;
  stroke-dasharray: 3 5;
}

.plano__calle--principal {
  stroke: #b9bfbd;
  stroke-width: 5;
}

.plano text {
  paint-order: stroke;
  stroke: #f7f5f1;
  stroke-width: 5px;
  stroke-linejoin: round;
}

.plano__rotulo {
  fill: var(--suave);
  font: 600 21px var(--texto-fuente);
}

.plano__restaurante circle {
  fill: var(--acento);
  stroke: #ffffff;
  stroke-width: 3;
}

.plano__restaurante .plano__restaurante-centro {
  fill: #ffffff;
  stroke: none;
}

.plano__guia {
  fill: none;
  stroke: var(--texto);
  stroke-width: 1.5;
}

.plano__etiqueta {
  fill: var(--texto);
}

.plano .plano__nombre {
  fill: var(--claro);
  stroke: none;
  font: 700 30px var(--titulares);
  letter-spacing: 0.06em;
}

.plano .plano__dato {
  fill: #dfe3e1;
  stroke: none;
  font: 600 21px var(--texto-fuente);
}

.plano__escala path,
.plano__norte path {
  fill: none;
  stroke: var(--texto);
  stroke-width: 1.5;
}

.plano__escala text,
.plano__norte text {
  fill: var(--texto);
  font: 600 19px var(--texto-fuente);
}

/* ---------- Legales, gracias y 404 ---------- */
.legal {
  max-width: calc(780px + 2 * var(--margen));
  margin-inline: 0 auto;
  padding-block: clamp(2.75rem, 6vw, 5rem) var(--seccion);
}

@media (min-width: 900px) {
  .legal {
    margin-inline: auto;
  }
}

.legal h1 {
  margin-bottom: 1.5rem;
}

.legal h2 {
  margin-top: 2.25rem;
  font-size: 1.4rem;
}

.ficha-legal {
  margin: 0;
}

.ficha-legal > div {
  display: grid;
  gap: 0 1.5rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--linea);
}

.ficha-legal dt {
  color: var(--suave);
  font-weight: 600;
}

.ficha-legal dd {
  margin: 0;
}

@media (min-width: 600px) {
  .ficha-legal > div {
    grid-template-columns: 11rem 1fr;
  }
}

/* ---------- Pie ---------- */
.pie {
  background: #141a19;
  color: #c9cfcd;
  font-size: 0.975rem;
}

.pie__interior {
  display: grid;
  gap: 1.5rem 3rem;
  max-width: calc(var(--ancho) + 2 * var(--margen));
  margin-inline: auto;
  padding: 3.5rem var(--margen) 2rem;
}

.pie__nombre {
  margin-bottom: 0.5rem;
  color: var(--claro);
  font: 700 1.4rem var(--titulares);
}

.pie__marca p:not(.pie__nombre) {
  max-width: 30ch;
}

.pie a {
  color: var(--claro);
}

.pie a:hover {
  color: var(--acento-claro);
}

.pie ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.pie li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.pie__copia {
  max-width: calc(var(--ancho) + 2 * var(--margen));
  margin: 0 auto;
  padding: 1.25rem var(--margen) 1.5rem;
  border-top: 1px solid #2c3532;
  color: #9aa3a0;
  font-size: 0.875rem;
}

@media (min-width: 700px) {
  .pie__interior {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

/* Móvil: botones y fotos que van solas a todo el ancho (regla del usuario para todas las webs, 2026-11-07) */
@media (max-width: 599.98px) {
  .boton {
    width: 100%;
  }

  .acciones {
    flex-direction: column;
    align-items: stretch;
  }

  .ficha__segunda {
    max-width: none;
  }
}
