
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
background-color: #111111;
color: white;
font-family: Arial, sans-serif;
}

header {
position: absolute;
top: 0;
left: 0;
width: 100%;
padding: 20px 50px;

display: flex;
align-items: center;
justify-content: space-between;

z-index: 10;
}

.logo img {
width: 190px;
height: auto;
}

nav {
display: flex;
gap: 30px;
}

nav a {
color: white;
text-decoration: none;
font-size: 15px;
font-weight: bold;
transition: 0.3s;
}

nav a:hover {
color: #ff6a00;
}
main {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
padding: 60px;

background-image:
linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
url("imagenes/taller.jpg");

background-size: cover;
background-position: center;
}

main h2 {
font-size: 52px;
max-width: 750px;
line-height: 1.1;
}

main p {
margin-top: 20px;
font-size: 18px;
color: #dddddd;
}

main div {
margin-top: 35px;
}

main a {
display: inline-block;
padding: 14px 25px;
margin-right: 10px;
text-decoration: none;
border: 1px solid #ff6a00;
color: white;
}

main a:first-child {
background-color: #ff6a00;
color: black;
}

/* ENCABEZADO RH RACING 69 */
header.encabezado {
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
padding: 4px 4%;
height: 76px;
box-sizing: border-box;
background: #111111;
border-bottom: 2px solid #ff6a00;
position: relative;
z-index: 10;
}

header.encabezado .logo {
display: flex;
align-items: center;
flex-shrink: 0;
background: transparent;
padding: 0;
margin: 0;
border: none;
box-shadow: none;
}

header.encabezado .logo img {
display: block;
width: 380px;
height: auto;
max-height: none;
object-fit: contain;
background: transparent;
}

header.encabezado .logo img {
display: block;
width: 300px;
height: auto;
max-height: none;
object-fit: contain;
}
header.encabezado nav {
display: flex;
align-items: center;
gap: 30px;
}

header.encabezado nav a {
color: white;
text-decoration: none;
font-size: 16px;
font-weight: 600;
padding: 10px 0;
}

header.encabezado nav a:hover,
header.encabezado nav a.activo {
color: #ff6a00;
}

header.encabezado .boton-cita {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 16px;
padding: 15px 24px;
background: #ff6a00;
color: #111111;
text-decoration: none;
font-weight: 800;
white-space: nowrap;
border: 1px solid #ff6a00;
border-radius: 4px;
}

header.encabezado .boton-cita:hover {
background: transparent;
color: #ff6a00;
}

header.encabezado .boton-cita span {
font-size: 24px;
line-height: 1;
}

/* SECCIÓN DE SERVICIOS RH RACING 69 */
.seccion-servicios {
background: #101010;
color: #ffffff;
padding: 85px 6%;
border-top: 2px solid #ff6a00;
}

.contenedor-servicios {
max-width: 1200px;
margin: 0 auto;
text-align: center;
}

.etiqueta-servicios {
color: #ff6a00;
font-size: 12px;
font-weight: 800;
letter-spacing: 3px;
margin-bottom: 14px;
}

.seccion-servicios h2 {
font-size: 42px;
margin: 0 0 18px;
text-transform: uppercase;
}

.intro-servicios {
color: #bdbdbd;
font-size: 16px;
max-width: 650px;
margin: 0 auto 45px;
line-height: 1.7;
}

.rejilla-servicios {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
text-align: left;
}

.tarjeta-servicio {
position: relative;
background: #191919;
border: 1px solid #333333;
border-bottom: 3px solid #ff6a00;
border-radius: 6px;
padding: 28px 22px;
transition: transform 0.25s, border-color 0.25s;
}

.tarjeta-servicio:hover {
transform: translateY(-6px);
border-color: #ff6a00;
}

.numero-servicio {
color: #ff6a00;
font-size: 13px;
font-weight: 800;
letter-spacing: 2px;
}

.icono-servicio {
font-size: 46px;
margin: 24px 0 20px;
color: #ff6a00;
display: inline-block;
transition: transform 0.3s ease;
}

.tarjeta-servicio:hover .icono-servicio {
transform: scale(1.2);
}

.tarjeta-servicio h3 {
color: #ffffff;
font-size: 19px;
line-height: 1.4;
margin: 0 0 14px;
}

.tarjeta-servicio p {
color: #bdbdbd;
font-size: 14px;
line-height: 1.7;
margin: 0;
}

.boton-servicios {
display: inline-flex;
align-items: center;
gap: 20px;
margin-top: 42px;
padding: 15px 24px;
background: #ff6a00;
color: #111111;
text-decoration: none;
font-size: 13px;
font-weight: 800;
border: 1px solid #ff6a00;
border-radius: 4px;
transition: background 0.2s, color 0.2s;
}

.boton-servicios:hover {
background: transparent;
color: #ff6a00;
}

.boton-servicios span {
font-size: 22px;
}

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

@media (max-width: 550px) {
.seccion-servicios {
padding: 60px 5%;
}

.seccion-servicios h2 {
font-size: 30px;
}

.rejilla-servicios {
grid-template-columns: 1fr;
}
}
/* SECCIÓN DE CONTACTO RH RACING 69 */

.seccion-contacto {
    background: #101010;
    color: #ffffff;
    padding: 80px 6%;
    border-top: 2px solid #ff6a00;
}

.contenedor-contacto {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.seccion-contacto h2 {
    font-size: 38px;
    text-transform: uppercase;
    margin: 12px 0 18px;
}

.seccion-contacto > .contenedor-contacto > p {
    color: #cccccc;
    line-height: 1.7;
}

.datos-contacto {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.datos-contacto > div {
    background: #191919;
    border: 1px solid #333333;
    border-bottom: 3px solid #ff6a00;
    border-radius: 8px;
    padding: 28px 24px;
    text-align: left;
    transition: transform 0.25s ease;
}

.datos-contacto > div:hover {
    transform: translateY(-5px);
}

.datos-contacto h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 12px;
}

.datos-contacto p {
    color: #bdbdbd;
    font-size: 15px;
    line-height: 1.7;
}

.mensaje-contacto {
    margin-top: 35px;
    font-size: 16px;
}

/* Adaptación a móviles */

@media (max-width: 768px) {
    .datos-contacto {
        grid-template-columns: 1fr;
    }

    .seccion-contacto h2 {
        font-size: 28px;
    }
}
/* BOTÓN DE WHATSAPP */

.boton-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 25px;
    padding: 17px 28px;
    background: #ff6a00;
    color: #101010;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.5px;
    border: 1px solid #ff6a00;
    border-radius: 5px;
    transition: all 0.25s ease;
}

.boton-whatsapp:hover {
    background: transparent;
    color: #ff6a00;
    transform: translateY(-2px);
}

.boton-whatsapp span {
    font-size: 20px;
}
/* SECCIÓN NOSOTROS */

.seccion-nosotros {
    background: #151515;
    color: #ffffff;
    padding: 100px 6%;
    border-top: 1px solid #292929;
}

.contenedor-nosotros {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.texto-nosotros h2 {
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.15;
    margin: 18px 0 25px;
}

.texto-nosotros > p:not(.etiqueta-servicios) {
    color: #c5c5c5;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.imagen-nosotros {
    position: relative;
    min-width: 0;
}

.imagen-nosotros img {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 6px;
    position: relative;
    z-index: 2;
}

.marco-naranja {
    position: absolute;
    top: 18px;
    left: 18px;
    right: -12px;
    bottom: -12px;
    border: 2px solid #ff6a00;
    border-radius: 6px;
    z-index: 1;
}

.boton-nosotros {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 16px 23px;
    background: #ff6a00;
    color: #101010;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    border-radius: 4px;
    transition: 0.25s ease;
}

.boton-nosotros:hover {
    background: transparent;
    color: #ff6a00;
    outline: 1px solid #ff6a00;
}

.boton-nosotros span {
    font-size: 19px;
}

@media (max-width: 768px) {
    .seccion-nosotros {
        padding: 65px 6%;
    }

    .contenedor-nosotros {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .imagen-nosotros img {
        height: 300px;
    }

    .marco-naranja {
        right: -6px;
        bottom: -6px;
    }
}
/* HORARIO Y UBICACIÓN */

.seccion-ubicacion {
background: #101010;
color: #ffffff;
padding: 80px 6%;
border-top: 1px solid #292929;
}

.contenedor-ubicacion {
max-width: 1200px;
margin: 0 auto;
text-align: center;
}

.seccion-ubicacion h2 {
font-size: 38px;
text-transform: uppercase;
margin: 12px 0;
}

.intro-ubicacion {
color: #bdbdbd;
margin-bottom: 40px;
}

.rejilla-ubicacion {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 25px;
max-width: 850px;
margin: 0 auto;
}

.tarjeta-ubicacion {
background: #191919;
border: 1px solid #333333;
border-bottom: 3px solid #ff6a00;
border-radius: 6px;
padding: 35px 25px;
}

.icono-ubicacion {
display: block;
color: #ff6a00;
font-size: 38px;
margin-bottom: 15px;
}

.tarjeta-ubicacion h3 {
font-size: 21px;
margin-bottom: 18px;
}

.tarjeta-ubicacion p {
color: #bdbdbd;
line-height: 1.8;
}

.tarjeta-ubicacion strong {
display: block;
color: #ff6a00;
font-size: 24px;
margin: 12px 0;
}

.tarjeta-ubicacion .detalle-ubicacion {
font-size: 13px;
margin-top: 15px;
}

.boton-ubicacion {
display: inline-block;
margin-top: 18px;
padding: 14px 20px;
background: #ff6a00;
color: #101010;
text-decoration: none;
font-size: 13px;
font-weight: 800;
border-radius: 4px;
transition: 0.25s ease;
}

.boton-ubicacion:hover {
background: transparent;
color: #ff6a00;
outline: 1px solid #ff6a00;
}

@media (max-width: 768px) {
.rejilla-ubicacion {
grid-template-columns: 1fr;
}

.seccion-ubicacion h2 {
font-size: 30px;
}
}
/* GALERÍA DE FOTOS */
.seccion-galeria {
padding: 70px 8%;
background-color: #101010;
color: white;
text-align: center;
}

.seccion-galeria h2 {
color: #ff6a00;
font-size: 32px;
margin-bottom: 12px;
}

.subtitulo-galeria {
color: #cccccc;
margin-bottom: 35px;
}

.rejilla-galeria {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
}

.rejilla-galeria img {
width: 100%;
height: 250px;
object-fit: cover;
border-radius: 10px;
border: 1px solid #333;
transition: transform 0.3s ease, border-color 0.3s ease;
}

.rejilla-galeria img:hover {
transform: scale(1.03);
border-color: #ff6a00;
}

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

@media (max-width: 550px) {
.seccion-galeria {
padding: 50px 5%;
}

.rejilla-galeria {
grid-template-columns: 1fr;
}

.rejilla-galeria img {
height: 230px;
}
}
/* VISOR DE FOTOS AMPLIADAS */
.visor-galeria {
display: none;
position: fixed;
inset: 0;
z-index: 9999;
background: rgba(0, 0, 0, 0.95);
align-items: center;
justify-content: center;
gap: 20px;
padding: 60px 20px;
box-sizing: border-box;
}

.visor-galeria.activo {
display: flex;
}

.visor-galeria img {
max-width: 75%;
max-height: 80vh;
width: auto;
height: auto;
object-fit: contain;
border: 2px solid #ff6a00;
border-radius: 10px;
}

.cerrar-visor {
position: absolute;
top: 15px;
right: 25px;
color: white;
background: transparent;
border: none;
font-size: 45px;
cursor: pointer;
}

.flecha-visor {
color: white;
background: #ff6a00;
border: none;
border-radius: 50%;
width: 48px;
height: 48px;
font-size: 20px;
cursor: pointer;
flex-shrink: 0;
}

.cerrar-visor:hover,
.flecha-visor:hover {
opacity: 0.8;
}

@media (max-width: 600px) {
.visor-galeria {
gap: 8px;
padding: 55px 8px 20px;
}

.visor-galeria img {
max-width: calc(100% - 100px);
max-height: 75vh;
}

.flecha-visor {
width: 38px;
height: 38px;
font-size: 16px;
}
}
/* REDES SOCIALES Y CONTACTO */
.seccion-redes {
    padding: 70px 8%;
    background: #191919;
    color: white;
    text-align: center;
}

.seccion-redes h2 {
    color: #ff6a00;
    font-size: 30px;
    margin-bottom: 12px;
}

.seccion-redes > p {
    color: #ccc;
    margin-bottom: 35px;
}

.contenedor-redes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    max-width: 850px;
    margin: 0 auto;
}

.tarjeta-red {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: #101010;
    color: white;
    text-decoration: none;
    border: 1px solid #333;
    border-bottom: 3px solid #ff6a00;
    border-radius: 10px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow-wrap: anywhere;
}

.tarjeta-red:hover {
    transform: translateY(-5px);
    border-color: #ff6a00;
}

.icono-red {
    font-size: 35px;
    margin-bottom: 10px;
}

.tarjeta-red h3 {
    color: #ff6a00;
    margin: 8px 0;
}

.tarjeta-red p {
    color: #ddd;
    margin: 8px 0 18px;
}

.enlace-red {
    color: #ff6a00;
    font-weight: bold;
}

@media (max-width: 600px) {
    .contenedor-redes {
        grid-template-columns: 1fr;
    }

    .seccion-redes {
        padding: 50px 5%;
    }

    .seccion-redes h2 {
        font-size: 24px;
    }
}
/* BOTÓN FLOTANTE DE WHATSAPP */
.whatsapp-flotante {
position: fixed;
right: 24px;
bottom: 24px;
z-index: 10000;
display: flex;
align-items: center;
gap: 10px;
padding: 12px 18px;
background: #ff6a00;
color: #fff;
text-decoration: none;
font-weight: 800;
border-radius: 50px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
transition: transform 0.25s ease, background 0.25s ease;
}

.whatsapp-flotante:hover {
transform: translateY(-4px);
background: #e85e00;
}

.icono-whatsapp {
font-size: 25px;
line-height: 1;
}

@media (max-width: 600px) {
.whatsapp-flotante {
right: 14px;
bottom: 14px;
padding: 13px;
width: 54px;
height: 54px;
box-sizing: border-box;
justify-content: center;
}

.whatsapp-flotante span:first-child {
display: none;
}

.icono-whatsapp {
font-size: 28px;
}
}
/* AJUSTES GENERALES PARA MÓVILES */
@media (max-width: 550px) {

/* Evitar que la página se desborde horizontalmente */
body {
overflow-x: hidden;
}

/* Títulos y textos */
h2 {
font-size: 25px;
}

/* Tarjetas de servicios */
.tarjeta-servicio {
padding: 22px 16px;
}

.icono-servicio {
font-size: 40px;
}

.tarjeta-servicio h3 {
font-size: 17px;
}

.tarjeta-servicio p {
font-size: 14px;
}

/* Secciones de la página */
.seccion-servicios,
.seccion-contacto,
.seccion-nosotros,
.seccion-ubicacion,
.seccion-galeria,
.seccion-redes {
padding-left: 5%;
padding-right: 5%;
}

/* Botones principales */
main a {
max-width: 100%;
box-sizing: border-box;
}

/* Fotos de la galería */
.rejilla-galeria img {
width: 100%;
object-fit: cover;
}
}
/* MENÚ ADAPTADO A MÓVILES */
@media (max-width: 550px) {
header.encabezado {
height: auto;
min-height: 76px;
padding: 12px 4%;
flex-wrap: wrap;
justify-content: center;
gap: 12px;
}

header.encabezado .logo img {
max-width: 180px;
height: auto;
}

nav {
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px 16px;
}

nav a {
font-size: 13px;
padding: 4px 0;
}
}
/* AJUSTES EXTRA PARA MÓVILES */
@media (max-width: 550px) {
header.encabezado {
width: 100%;
padding: 12px 4%;
gap: 8px;
flex-wrap: wrap;
justify-content: space-between;
}

header.encabezado .logo img {
width: 150px;
max-width: 100%;
height: auto;
}

header.encabezado nav {
gap: 10px;
flex-wrap: wrap;
justify-content: center;
}

header.encabezado nav a {
font-size: 12px;
padding: 4px 0;
}

header.encabezado .boton-cita {
padding: 10px 12px;
font-size: 12px;
}
}
/* MENÚ DESPLEGABLE PARA MÓVILES */
.menu-movil {
display: block;
background: transparent;
color: #ff6a00;
border: 1px solid #ff6a00;
border-radius: 4px;
padding: 6px 10px;
font-size: 25px;
cursor: pointer;
}

@media (max-width: 700px) {
header.encabezado {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
padding: 12px 4%;
gap: 10px;
height: auto;
}

header.encabezado .logo img {
width: 145px;
height: auto;
}

header.encabezado .menu-movil {
display: block;
}

header.encabezado nav {
display: none;
width: 100%;
flex-direction: column;
align-items: stretch;
gap: 0;
order: 3;
}

header.encabezado nav.menu-abierto {
display: flex !important;
flex-direction: column !important;
align-items: stretch !important;
width: 100% !important;
order: 3;
}

header.encabezado nav a {
display: block;
padding: 12px 8px;
font-size: 15px;
border-bottom: 1px solid #333;
}

header.encabezado .boton-cita {
display: none;
}

header.encabezado nav.menu-abierto + .boton-cita {
display: inline-flex;
order: 4;
}
}

@media (max-width: 700px) {
header.encabezado button.menu-movil {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
position: relative;
z-index: 9999;
flex-shrink: 0;
}
}
@media (max-width: 700px) {
header.encabezado .menu-movil {
display: block !important;
background: #ff6a00;
color: #111111;
border: 1px solid #ff6a00;
padding: 6px 10px;
font-size: 25px;
cursor: pointer;
flex-shrink: 0;
}
}
@media (max-width: 700px) {
header.encabezado {
display: flex !important;
flex-wrap: wrap !important;
justify-content: space-between !important;
}

header.encabezado .menu-movil {
display: block !important;
visibility: visible !important;
}

header.encabezado nav {
display: none !important;
width: 100% !important;
flex-direction: column !important;
align-items: stretch !important;
}

header.encabezado nav.menu-abierto {
display: flex !important;
}

header.encabezado nav a {
display: block !important;
width: 100% !important;
padding: 12px !important;
}
}
@media (max-width: 700px) {
header.encabezado {
position: relative;
z-index: 9999;
}

header.encabezado nav#menu-principal {
display: none;
}

header.encabezado nav#menu-principal.menu-abierto {
display: flex !important;
flex-direction: column;
align-items: stretch;
position: absolute;
top: 100%;
left: 0;
width: 100%;
padding: 10px 15px;
background: #111111;
visibility: visible !important;
opacity: 1 !important;
z-index: 99999;
}

header.encabezado nav#menu-principal a {
display: block;
padding: 12px 8px;
text-align: center;
border-bottom: 1px solid #333333;
}
}

@media (max-width: 700px) {
header.encabezado {
position: relative !important;
}

header.encabezado nav#menu-principal.menu-abierto {
display: flex !important;
flex-direction: column !important;
position: absolute !important;
top: 100% !important;
left: 0 !important;
width: 100% !important;
background: #111111 !important;
visibility: visible !important;
opacity: 1 !important;
z-index: 99999 !important;
}
}

/* =====================================================
   ADAPTACIÓN FINAL A MÓVILES Y TABLETAS
   Estas reglas prevalecen sobre los ajustes anteriores.
   ===================================================== */
.menu-movil { display: none; }

@media (max-width: 700px) {
  html { scroll-behavior: smooth; }
  body { width: 100%; max-width: 100%; overflow-x: clip; }

  header.encabezado {
    position: relative !important;
    width: 100%;
    height: auto;
    min-height: 70px;
    padding: 10px 4%;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  header.encabezado .logo { max-width: calc(100% - 60px); }
  header.encabezado .logo img {
    display: block;
    width: clamp(135px, 44vw, 210px);
    max-width: 100%;
    height: auto;
  }

  header.encabezado .menu-movil {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 42px;
    padding: 0;
    background: #ff6a00;
    color: #111;
    border: 1px solid #ff6a00;
    border-radius: 4px;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    z-index: 100001;
  }

  header.encabezado nav#menu-principal,
  header.encabezado nav#menu-principal:not(.menu-abierto) {
    display: none !important;
  }

  header.encabezado nav#menu-principal.menu-abierto {
    display: flex !important;
    position: static !important;
    order: 3;
    flex: 0 0 100%;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0;
    padding: 6px 0;
    background: #111;
    border-top: 1px solid #ff6a00;
    visibility: visible !important;
    opacity: 1 !important;
  }

  header.encabezado nav#menu-principal a {
    display: block !important;
    width: 100%;
    padding: 13px 10px !important;
    font-size: 15px;
    text-align: left;
    border-bottom: 1px solid #303030;
  }

  header.encabezado .boton-cita { display: none !important; }
  header.encabezado nav#menu-principal.menu-abierto + .boton-cita {
    display: inline-flex !important;
    order: 4;
    margin: 4px 0 8px;
  }

  main {
    min-height: 78svh;
    padding: 70px 6% 55px;
    background-position: center;
  }
  main h2 {
    max-width: 100%;
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }
  main p { font-size: 16px; line-height: 1.6; }
  main div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
  main a { margin: 0; padding: 13px 16px; font-size: 14px; }

  .seccion-servicios, .seccion-contacto, .seccion-nosotros,
  .seccion-ubicacion, .seccion-galeria, .seccion-redes {
    padding: 52px 5%;
    scroll-margin-top: 12px;
  }
  .seccion-servicios h2, .seccion-ubicacion h2,
  .seccion-contacto h2 { font-size: clamp(27px, 7vw, 34px); line-height: 1.2; }
  .rejilla-servicios, .datos-contacto, .rejilla-ubicacion,
  .rejilla-galeria, .contenedor-redes, .contenedor-nosotros {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    gap: 16px;
  }
  .tarjeta-servicio, .datos-contacto > div, .tarjeta-ubicacion,
  .tarjeta-red { min-width: 0; }
  .tarjeta-servicio { padding: 22px 18px; }
  .contenedor-nosotros { display: grid; }
  .texto-nosotros h2 { font-size: clamp(29px, 7.5vw, 36px); }
  .texto-nosotros > p:not(.etiqueta-servicios) { font-size: 15px; line-height: 1.75; }
  .imagen-nosotros img { width: 100%; height: 260px; }
  .marco-naranja { right: -5px; bottom: -5px; }
  .rejilla-galeria img { width: 100%; height: 230px; }
  .visor-galeria { gap: 6px; padding: 55px 8px 20px; }
  .visor-galeria img { max-width: calc(100% - 90px); max-height: 72svh; }
  .flecha-visor { width: 36px; height: 36px; font-size: 15px; }
  .seccion-galeria h2, .seccion-redes h2 { font-size: clamp(23px, 6vw, 29px); line-height: 1.25; }
  .boton-servicios, .boton-nosotros, .boton-whatsapp { max-width: 100%; }
  .whatsapp-flotante {
    right: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }
  .whatsapp-flotante span:first-child { display: none; }
}

@media (min-width: 701px) {
  header.encabezado .menu-movil { display: none !important; }
}
