/* ==========================================================================
   Anabel Carreras – Podóloga · Estilos (mobile first)
   ========================================================================== */

/* Tipografías alojadas en la propia web (sin conexión a Google). Licencia: SIL Open Font License */
@font-face { font-family: 'Allura'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/allura-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Allura'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/allura-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/cormorant-garamond-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/cormorant-garamond-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/montserrat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/montserrat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/montserrat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/montserrat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/montserrat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/montserrat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --azul: #2F4A63;
  --azul-oscuro: #233a4f;
  --rosa: #B39A90;          /* solo decoración: líneas e iconos */
  --rosa-texto: #7A5F56;    /* rosa accesible para texto */
  --rosa-claro: #EADFD8;
  --crema: #F7F3EE;
  --blanco: #FFFFFF;
  --texto: #3A3A3A;

  --f-titulos: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-texto: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-acento: "Allura", "Brush Script MT", cursive;

  --radio: 14px;
  --alto-cabecera: 68px;
  --sombra: 0 10px 30px -18px rgba(47, 74, 99, .35);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--alto-cabecera) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--texto);
  background: var(--blanco);
  padding-bottom: 64px; /* hueco para la barra móvil */
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--azul); }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--f-titulos);
  font-weight: 600;
  color: var(--azul);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 8vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 5vw, 2.75rem); }
h3 { font-size: 1.45rem; }
p  { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; border-radius: 4px; }

.oculto {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.saltar {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--azul); color: var(--blanco);
  padding: .6rem 1rem; border-radius: 8px;
}
.saltar:focus { top: 1rem; }

.contenedor {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---------- Elementos comunes ---------- */
.antetitulo {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rosa-texto);
  margin-bottom: .75rem;
}

.acento {
  font-family: var(--f-acento);
  font-size: clamp(1.9rem, 5vw, 2.3rem);
  line-height: 1.2;
  color: var(--rosa-texto);
  margin-bottom: .4rem;
}

.adorno {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: .25rem;
}
.adorno::before, .adorno::after {
  content: "";
  width: 56px; height: 1px;
  background: var(--rosa);
}
.adorno svg { width: 46px; height: 18px; }

.icono-linea, .icono, .icono-dato, .adorno svg, .hero__hoja, .pasos__icono svg, .mapa__pin {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.adorno svg, .hero__hoja { color: var(--rosa); stroke-width: 1; }
.icono--relleno { fill: currentColor; stroke: none; }

.icono { width: 1.15em; height: 1.15em; flex: none; stroke-width: 1.8; }

/* Botones */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--azul);
  font-family: var(--f-texto);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s;
}
.boton--principal { background: var(--azul); color: var(--blanco); }
.boton--principal:hover { background: var(--azul-oscuro); }
.boton--secundario { background: transparent; color: var(--azul); }
.boton--secundario:hover { background: var(--azul); color: var(--blanco); }
.boton:active { transform: translateY(1px); }

.botones { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- 1. Cabecera ---------- */
.cabecera {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--rosa-claro);
  backdrop-filter: blur(8px);
}
.cabecera__fila {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--alto-cabecera);
}

.marca {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  margin-right: auto;
}
.marca img { width: 42px; height: auto; }
.marca__texto {
  font-family: var(--f-titulos);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .05em;
  white-space: nowrap;
  color: var(--azul);
  text-transform: uppercase;
}
.marca__texto small {
  display: block;
  margin-top: .3rem;
  font-family: var(--f-texto);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .35em;
  color: var(--rosa-texto);
}

.menu {
  position: absolute;
  top: var(--alto-cabecera);
  left: 0; right: 0;
  background: var(--blanco);
  border-bottom: 1px solid var(--rosa-claro);
  box-shadow: var(--sombra);
  display: none;
}
.menu.abierto { display: block; }
.menu ul { padding: .5rem 1.25rem 1rem; }
.menu a {
  display: block;
  padding: .8rem 0;
  border-bottom: 1px solid var(--crema);
  font-size: .95rem;
  font-weight: 500;
  color: var(--azul);
  text-decoration: none;
}

.idiomas { display: flex; align-items: center; font-size: .78rem; font-weight: 600; letter-spacing: .08em; }
.idiomas li { display: flex; align-items: center; }
.idiomas li + li::before { content: "|"; color: var(--rosa); margin: 0 .15rem; }
.idiomas a {
  display: inline-block;
  padding: .55rem .3rem;
  color: var(--texto);
  text-decoration: none;
}
.idiomas a[aria-current] { color: var(--azul); text-decoration: underline; text-decoration-color: var(--rosa); text-underline-offset: 6px; }

.cabecera__cita { display: none; }

.menu-boton {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0;
  cursor: pointer;
}
.menu-boton__barras, .menu-boton__barras::before, .menu-boton__barras::after {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--azul);
  transition: transform .25s, background-color .25s;
}
.menu-boton__barras { position: relative; }
.menu-boton__barras::before, .menu-boton__barras::after { content: ""; position: absolute; left: 0; }
.menu-boton__barras::before { top: -7px; }
.menu-boton__barras::after { top: 7px; }
.menu-boton[aria-expanded="true"] .menu-boton__barras { background: transparent; }
.menu-boton[aria-expanded="true"] .menu-boton__barras::before { transform: translateY(7px) rotate(45deg); }
.menu-boton[aria-expanded="true"] .menu-boton__barras::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 2. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 0 2.75rem;
  background: var(--blanco);
}
.hero__hoja {
  position: absolute;
  width: 260px; height: 104px;
  left: -40px; bottom: 30px;
  opacity: .5;
  transform: rotate(-12deg);
  display: none;
}
.hero__rejilla { display: grid; gap: 2.25rem; align-items: center; }
.hero__texto { position: relative; text-align: center; }
.hero__texto .botones { justify-content: center; }
.hero__subtitulo {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--rosa-texto);
  margin-bottom: 1.75rem;
}
.hero__subtitulo::before {
  content: "";
  display: block;
  width: 48px; height: 1px;
  margin: 0 auto 1.25rem;
  background: var(--rosa);
}

.hero__foto {
  position: relative;
  width: min(100%, 480px);
  margin: 12px auto;
}
/* línea fina alrededor de la foto, como el círculo del logo */
.hero__foto::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid var(--rosa);
  border-radius: 30px;
}
.hero__foto img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

/* ---------- 3. Confianza ---------- */
.confianza {
  background: var(--crema);
  border-block: 1px solid var(--rosa-claro);
  padding: 2rem 0;
}
.confianza__lista {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1rem;
}
.confianza li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  text-align: center;
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--azul);
}
.icono-linea { width: 40px; height: 40px; color: var(--rosa); flex: none; }

/* ---------- Secciones ---------- */
.seccion { padding: 4.5rem 0; }
.seccion--crema { background: var(--crema); }
.titulo-seccion { text-align: center; margin-bottom: 2.75rem; }
.titulo-seccion h2 { margin-bottom: .6rem; }

/* ---------- 4. Servicios ---------- */
.rejilla-servicios { display: grid; gap: 1.5rem; }
.tarjeta {
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  border: 1px solid var(--rosa-claro);
  border-radius: var(--radio);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.tarjeta:hover { box-shadow: var(--sombra); transform: translateY(-3px); }
.tarjeta__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--crema);
  color: var(--rosa);
}
.tarjeta__cuerpo { padding: 1.4rem 1.5rem 1.6rem; }
.tarjeta h3 { margin-bottom: .4rem; }
.tarjeta p { margin: 0; font-size: .9rem; }

/* ---------- 5. Sobre mí ---------- */
.sobre-mi { display: grid; gap: 2.5rem; align-items: center; }
.sobre-mi__foto {
  width: min(78vw, 380px);
  margin-inline: auto;
  padding: 12px;
  border: 1px solid var(--rosa);
  border-radius: 200px 200px var(--radio) var(--radio);
}
.sobre-mi__foto img { border-radius: 190px 190px 8px 8px; }
.especialidades__titulo { margin-bottom: .6rem; font-size: .9rem; font-weight: 500; color: var(--azul); }
.especialidades { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.especialidades li {
  padding: .35rem 1rem;
  border: 1px solid var(--rosa);
  border-radius: 999px;
  background: var(--blanco);
  font-size: .82rem;
  color: var(--azul);
}

/* ---------- 6. Pasos ---------- */
.pasos { display: grid; gap: 2.25rem; counter-reset: paso; }
.pasos li { text-align: center; counter-increment: paso; }
.pasos__icono {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px; height: 88px;
  margin: 0 auto 1.1rem;
  border: 1px solid var(--rosa);
  border-radius: 50%;
  color: var(--rosa);
}
.pasos__icono svg { width: 40px; height: 40px; }
.pasos__icono::after {
  content: counter(paso);
  position: absolute;
  top: -4px; right: -4px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--azul);
  color: var(--blanco);
  font-size: .78rem;
  font-weight: 600;
}
.pasos p { font-size: .92rem; margin: 0; }
.nota-centrada {
  margin: 2.5rem 0 0;
  text-align: center;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--rosa-texto);
}

/* ---------- 7. Ubicación ---------- */
.ubicacion { display: grid; gap: 2rem; }
.mapa {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 300px;
  padding: 1.5rem;
  border: 1px solid var(--rosa-claro);
  border-radius: var(--radio);
  background: #fbf8f4 repeating-linear-gradient(45deg, transparent 0 21px, #efe6de 21px 22px);
  text-align: center;
  overflow: hidden;
}
.mapa__pin { width: 48px; height: 48px; color: var(--rosa); }
.mapa__aviso { max-width: 30ch; margin: 0; font-size: .75rem; line-height: 1.5; color: #6b6b6b; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ubicacion__datos { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }
.dato { display: flex; gap: 1rem; }
.icono-dato { width: 28px; height: 28px; color: var(--rosa); flex: none; margin-top: .2rem; }
.dato h3 { font-size: 1.25rem; margin-bottom: .15rem; }
.dato p { margin: 0; font-size: .92rem; }

/* ---------- 8. Contacto ---------- */
.contacto { display: grid; gap: 1rem; }
.contacto a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  height: 100%;
  padding: 1.75rem 1rem;
  border: 1px solid var(--rosa-claro);
  border-radius: var(--radio);
  text-align: center;
  text-decoration: none;
  transition: box-shadow .25s, border-color .25s;
}
.contacto a:hover { border-color: var(--rosa); box-shadow: var(--sombra); }
.contacto .icono-linea { width: 34px; height: 34px; margin-bottom: .4rem; }
.contacto .icono--relleno { color: var(--rosa); }
.contacto__tipo { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--rosa-texto); }
.contacto__valor { font-size: .95rem; font-weight: 500; color: var(--azul); overflow-wrap: anywhere; }

/* ---------- 9. Pie ---------- */
.pie {
  background: var(--crema);
  border-top: 1px solid var(--rosa-claro);
  padding: 3rem 0 2rem;
  text-align: center;
  font-size: .82rem;
}
.pie__logo { width: 150px; margin: 0 auto 1.25rem; }
.pie p { margin: 0 0 .3rem; }
.pie__legal { display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: 1.25rem; }
.pie__legal a { display: inline-block; padding: .4rem 0; color: var(--azul); }

/* ---------- Barra móvil ---------- */
.barra-movil {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  background: var(--azul);
  border-top: 1px solid var(--rosa-claro);
  box-shadow: 0 -6px 20px -14px rgba(47, 74, 99, .5);
  padding-bottom: env(safe-area-inset-bottom);
}
.barra-movil a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: 64px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--azul);
}
.barra-movil a { color: var(--blanco); }

/* Móviles estrechos (< 400px) */
@media (max-width: 399px) {
  .cabecera__fila { gap: .4rem; padding-inline: .9rem; }
  .marca { gap: .45rem; }
  .marca img { width: 34px; }
  .marca__texto { font-size: .86rem; letter-spacing: .02em; }
  .marca__texto small { font-size: .55rem; letter-spacing: .28em; }
  .idiomas a { padding-inline: .2rem; }
  .idiomas { font-size: .72rem; }
  .menu-boton { width: 36px; }
}

/* ---------- Páginas legales y 404 ---------- */
.pagina-legal { padding-bottom: 0; }
.pagina-legal .cabecera__fila { gap: .75rem; }
.legal__volver { display: none; min-height: 40px; padding: .5rem 1.1rem; font-size: .8rem; }
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.6rem; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { font-size: .95rem; overflow-wrap: anywhere; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin: 0 0 1em; }
.legal ul.datos { list-style: none; padding: 1.1rem 1.3rem; background: var(--crema); border-radius: var(--radio); }
.legal li { margin-bottom: .4rem; }
.legal__fecha { margin-top: 2.5rem; font-size: .85rem; color: #6b6b6b; }
.aviso-borrador {
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid #e3c67a;
  border-left: 4px solid #d4a72c;
  border-radius: 10px;
  background: #fff8e1;
  font-size: .88rem;
}
.pendiente { background: #ffe58a; color: #3A3A3A; padding: 0 .2em; border-radius: 3px; }

.error404 { text-align: center; }
.error404__numero {
  margin: 0;
  font-family: var(--f-titulos);
  font-size: clamp(5rem, 20vw, 9rem);
  line-height: 1;
  color: var(--rosa);
}
.error404__idiomas { display: grid; gap: 2.5rem; max-width: 900px; margin: 2rem auto 0; }
.error404 h1, .error404 h2 { font-size: 1.9rem; }
.error404 p { margin-bottom: 1.2rem; }

/* ==========================================================================
   Tableta (≥ 600px)
   ========================================================================== */
@media (min-width: 600px) {
  .rejilla-servicios { grid-template-columns: repeat(2, 1fr); }
  .pasos { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .confianza__lista { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 760px) {
  .contacto { grid-template-columns: repeat(3, 1fr); }
  .legal__volver { display: inline-flex; }
  .error404__idiomas { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Escritorio (≥ 960px)
   ========================================================================== */
@media (min-width: 960px) {
  :root { --alto-cabecera: 84px; }
  body { padding-bottom: 0; }
  .barra-movil { display: none; }

  .marca img { width: 50px; }
  .marca__texto { font-size: 1.35rem; letter-spacing: .06em; }

  .menu-boton { display: none; }
  .menu {
    position: static;
    display: block;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .menu ul { display: flex; gap: 2rem; padding: 0; }
  .menu a {
    padding: .4rem 0;
    border: 0;
    font-size: .85rem;
    letter-spacing: .06em;
    background: linear-gradient(var(--rosa), var(--rosa)) no-repeat left bottom / 0 1px;
    transition: background-size .25s;
  }
  .menu a:hover { background-size: 100% 1px; }
  .idiomas { margin-left: .5rem; }
  .cabecera__cita { display: inline-flex; min-height: 44px; padding: .6rem 1.4rem; }

  .hero { padding: 3.25rem 0 3.75rem; }
  .hero__rejilla { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hero__texto { text-align: left; }
  .hero__texto .botones { justify-content: flex-start; }
  .hero__subtitulo::before { margin-left: 0; }
  .hero__hoja { display: block; left: 33%; bottom: 36px; width: 190px; height: 76px; opacity: .45; }

  .confianza li { flex-direction: row; text-align: left; justify-content: center; }

  .seccion { padding: 6rem 0; }
  .rejilla-servicios { grid-template-columns: repeat(3, 1fr); gap: 2rem; }

  .sobre-mi { grid-template-columns: 1fr 1.2fr; gap: 5rem; }
  .sobre-mi__foto { width: 100%; max-width: 400px; }

  .ubicacion { grid-template-columns: 1.4fr 1fr; gap: 3.5rem; align-items: center; }
  .mapa { min-height: 420px; }

  .contacto { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
