/*** C2 DESIGN STUDIO
tinta: #161616
rojo: #e3262e
gris: #f4f4f2
***/

:root {
    --tinta: #161616;
    --tinta-2: #232323;
    --rojo: #e3262e;
    --rojo-2: #c51d25;
    --gris: #f4f4f2;
    --gris-linea: #e2e2de;
    --gris-texto: #5f5f5b;
    --blanco: #ffffff;
    --sans: "Lato", Helvetica, Arial, sans-serif;
    --titulos: "Oswald", Helvetica, Arial, sans-serif;
    --gris-original: #9e9a96;
    --boton: "Lato", Helvetica, Arial, sans-serif;
    --rojo-original: #ed1c24;
    --radio: 0;
    --fondo-oscuro: #1e1d1c;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--tinta);
    background: var(--blanco);
    overflow-x: hidden;
}

/* Tipografía del sitio original: títulos en Oswald bold, texto en Lato */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--titulos);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
}

p { line-height: 1.6; }

a { color: inherit; }

img { max-width: 100%; height: auto; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--boton);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rojo-original);
    margin-bottom: 1rem;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

.seccion { padding: 6rem 0; }

/* Fondos del sitio original */
.fondo-negro { background: var(--fondo-oscuro); color: var(--blanco); }

.fondo-oscuro {
    background: linear-gradient(180deg, rgba(30, 29, 28, 0.53) 0%, var(--fondo-oscuro) 100%), url("../img/wp/2017/04/headerc2-1920x850px.webp") center / cover no-repeat;
    color: var(--blanco);
}

.fondo-negro .texto-intro,
.fondo-oscuro .texto-intro { color: var(--gris-original); }

.fondo-oscuro .btn-linea { color: var(--blanco); border-color: rgba(255, 255, 255, 0.7); }

.fondo-oscuro .btn-linea:hover,
.fondo-oscuro .btn-linea:focus-visible { background: var(--blanco); color: var(--tinta); border-color: var(--blanco); }

.encabezado { margin-bottom: 3rem; max-width: 46rem; }

.titulo-seccion {
    font-size: clamp(1.8rem, 3.4vw, 2.75rem);
    margin-bottom: 1rem;
}

.texto-intro {
    font-size: 18px;
    line-height: 1.6;
    max-width: 44rem;
}

/* Botones (estilo del sitio original: Lato 900, mayúsculas, esquinas rectas, sin flecha) */
.btn-rojo,
.btn-linea {
    display: inline-flex;
    align-items: center;
    padding: 0.55em 1.4em;
    border-radius: 0;
    font-family: var(--boton);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.7;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--rojo-original);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn-rojo i,
.btn-linea i,
.mas i { display: none !important; }

.btn-rojo {
    background: var(--rojo-original);
    color: var(--blanco);
}

.btn-rojo:hover,
.btn-rojo:focus-visible {
    background: var(--rojo-2);
    border-color: var(--rojo-2);
    color: var(--blanco);
}

.btn-chico { padding: 0.35em 1em; }

.btn-linea {
    background: transparent;
    color: var(--tinta);
    border-color: var(--tinta);
}

.btn-linea:hover,
.btn-linea:focus-visible {
    background: var(--tinta);
    color: var(--blanco);
}

.btn-linea-claro { color: var(--blanco); border-color: rgba(255, 255, 255, 0.7); }

.btn-linea-claro:hover,
.btn-linea-claro:focus-visible { background: var(--blanco); color: var(--tinta); border-color: var(--blanco); }

/* Header */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    padding: 1.2rem 0;
    transition: background-color 0.3s, padding 0.3s, box-shadow 0.3s;
}

.header.scrolled,
.header.abierto {
    background: rgba(30, 29, 28, 0.96);
    padding: 0.65rem 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.header .logo { width: 130px; height: auto; transition: width 0.3s; }

.header.scrolled .logo { width: 110px; }

.header .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--titulos);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.6rem 0.9rem !important;
}

.header .nav-link:hover,
.header .nav-link.active { color: var(--blanco); }

.header .nav-link.active { box-shadow: inset 0 -2px 0 var(--rojo); }

@media (max-width: 991.98px) {
    .header .navbar-collapse { padding: 1rem 0 0.5rem; }
    .header .navbar-nav { align-items: flex-start !important; }
    .header .nav-link.active { box-shadow: inset 2px 0 0 var(--rojo); }
    .header .btn-rojo { margin-top: 0.75rem; }
}

/* Hero inicio */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: var(--fondo-oscuro);
    color: var(--blanco);
    overflow: hidden;
    padding: 8rem 0 5rem;
}

.hero-fondo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: acercar 18s ease-out both;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
}

.hero .container { position: relative; z-index: 1; }

.hero-texto { max-width: 46rem; }

.hero h1 {
    font-size: clamp(2.5rem, 6.4vw, 5rem);
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero p { font-size: 1.15rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 2.2rem; }

@keyframes acercar {
    from { transform: scale(1.12); }
    to { transform: scale(1); }
}

/* Hero interior */
.hero-interior {
    background: var(--fondo-oscuro) center / cover no-repeat;
    color: var(--blanco);
    padding: 10rem 0 4.5rem;
}

.hero-interior h1 {
    font-size: clamp(2.2rem, 5.4vw, 4rem);
    margin-bottom: 1.25rem;
}

.hero-interior .texto-intro { color: var(--gris-original); margin-bottom: 0; }

/* Cabeceras con imagen, como en el sitio original */
.hero-cb { background-image: linear-gradient(rgba(30, 29, 28, 0.45), rgba(30, 29, 28, 0.45)), url("../img/wp/2018/04/C2-header-back-CB.webp"); }
.hero-mi { background-image: linear-gradient(rgba(30, 29, 28, 0.45), rgba(30, 29, 28, 0.45)), url("../img/wp/2018/04/C2-header-back-MI.webp"); }
.hero-ec { background-image: linear-gradient(rgba(30, 29, 28, 0.45), rgba(30, 29, 28, 0.45)), url("../img/wp/2018/04/C2-header-back-EC.webp"); }
.hero-c2 { background-image: url("../img/wp/2017/04/headerc2-1920x850px.webp"); }

/* Hero de las páginas de servicio: igual al encabezado de Divi del sitio original
   (100 px de relleno + 30 px del contenido; arriba se suma la altura del header fijo) */
.hero-interior.hero-servicio {
    padding: calc(130px + 5.5rem) 0 130px;
    text-align: center;
}

.hero-servicio .container { max-width: 800px; }

.hero-servicio h1 {
    font-family: var(--titulos);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 35px;
    line-height: 1.2;
    color: var(--blanco);
    margin-bottom: 0.5rem;
}

.hero-servicio .texto-intro {
    font-family: var(--sans);
    font-size: 20px;
    line-height: 1.7;
    color: var(--blanco);
    max-width: none;
}

@media (max-width: 767.98px) {
    .hero-interior.hero-servicio { padding: calc(100px + 5rem) 0 100px; }
    .hero-servicio h1 { font-size: 20px; }
    .hero-servicio .texto-intro { font-size: 15px; }
}

.migas {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2rem;
}

.migas a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }

.migas a:hover { color: var(--blanco); }

.migas span { margin: 0 0.5rem; }

/* Servicios de inicio: blurbs del sitio original (ícono de 50 px, todo centrado, sin tarjeta) */
.encabezado-centro { margin-left: auto; margin-right: auto; text-align: center; }

.encabezado-centro .eyebrow::before { display: none; }

.encabezado-centro .titulo-seccion {
    font-size: 35px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.4;
}

.servicio-blurb {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

.servicio-icono { display: inline-block; margin-bottom: 30px; line-height: 0; }

.servicio-icono img { width: 50px; height: auto; }

.servicio-blurb h3 {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.4;
    padding-bottom: 10px;
    margin: 0;
}

.servicio-blurb h3 a { color: var(--blanco); text-decoration: none; }

.servicio-blurb p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--gris-original);
    margin: 0;
}

.servicio-blurb .mas { display: inline-block; margin-top: 20px; padding: 0.3em 1em; }

.mas {
    font-family: var(--boton);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rojo-original);
    text-decoration: none;
    transition: color 0.3s;
}

.mas:hover,
.mas:focus-visible { color: var(--blanco); }

/* Clientes: carrusel continuo de logos en blanco */
/* El desplazamiento automático y el arrastre con mouse están en c2.js; con el dedo es el scroll nativo */
.carrusel-logos {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.carrusel-logos::-webkit-scrollbar { display: none; }

.carrusel-logos.arrastrando { cursor: grabbing; }

.carrusel-lista {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 4.5rem;
    padding: 0 2.25rem;
    margin: 0;
    list-style: none;
}

.carrusel-lista li { flex-shrink: 0; }

.carrusel-lista img { -webkit-user-drag: none; pointer-events: none; }

.logo-cliente {
    display: block;
    width: auto;
    max-width: 170px;
    height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.75;
    transition: opacity 0.3s;
}

.logo-cliente:hover { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .carrusel-lista[aria-hidden="true"] { display: none; }
}

@media (max-width: 767.98px) {
    .carrusel-lista { gap: 3rem; padding: 0 1.5rem; }
    .logo-cliente { max-width: 130px; height: 54px; }
}

.bloque-servicio img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radio);
    margin-bottom: 1.5rem;
    background: var(--gris);
}

/* Blurbs de servicio: como en el sitio original (4 columnas, fila al 80 %, imagen a 200 px) */
.seccion-blurbs { padding: 75px 0 50px; }

.contenedor-80 {
    width: 80%;
    margin: 0 auto;
}

.blurb-servicio { text-align: center; }

.blurb-servicio img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.blurb-servicio h2 {
    font-family: var(--titulos);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 19px;
    line-height: 1.4;
    color: #333333;
    margin: 0;
    padding-bottom: 10px;
}

.blurb-servicio p {
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.6;
    color: #666666;
    text-align: left;
    padding-left: 30px;
    margin: 0;
}

@media (max-width: 767.98px) {
    .contenedor-80 { width: auto; padding: 0 16px; }
    .blurb-servicio p { padding-left: 0; }
}

/* Blurbs con ícono a la izquierda (Marketing Inmobiliario), como en el sitio original:
   fila de Divi al 80 % con máximo de 1080 px, 3 columnas, íconos ETmodules de 32 px */
@font-face {
    font-family: "ETmodules";
    src: url("../fonts/etmodules.woff") format("woff"), url("../fonts/etmodules.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

.seccion-blurbs.seccion-iconos { padding: 50px 0; }

.contenedor-divi {
    width: 80%;
    max-width: 1080px;
    margin: 0 auto;
}

.contenedor-divi > .row { --bs-gutter-x: 32px; --bs-gutter-y: 40px; }

.blurb-icono {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.8;
    color: rgba(42, 52, 67, 0.5);
}

.et-icono {
    flex: 0 0 32px;
    font-family: "ETmodules";
    font-size: 32px;
    line-height: 1;
    color: #2a3443;
    speak: never;
    -webkit-font-smoothing: antialiased;
}

.blurb-icono h3 {
    font-family: var(--titulos);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1.4;
    color: #2a3443;
    margin: 0;
    padding-bottom: 10px;
}

.blurb-icono p { margin: 0; line-height: 1.8; }

@media (max-width: 767.98px) {
    .contenedor-divi { width: auto; padding: 0 16px; }
}

/* Tipografía del sitio original en la sección de clientes (colores y fondo de la versión nueva) */
.tipo-original .titulo-seccion {
    font-family: var(--titulos);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 25px;
    line-height: 1.4;
}

.tipo-original .tarjeta-cat {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.tipo-original .tarjeta-texto h3 {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
}

/* Editorial y Contenido: filas en zigzag del sitio original
   (foto a 2/3 y texto a 1/3 sobre #353740, a todo lo ancho; en móvil, foto arriba) */
.seccion-zigzag { background: #353740; }

.zigzag-fila { display: flex; }

.zigzag-img {
    flex: 0 0 66.667%;
    background: #2a2b33 center / cover no-repeat;
}

.zigzag-texto {
    flex: 0 0 33.333%;
    padding: 80px 5vw;
    background: #353740;
    color: var(--blanco);
}

.zigzag-invertida .zigzag-img { order: 2; }

.zigzag-texto h2 {
    font-family: var(--titulos);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 40px;
    line-height: 1.4;
    color: var(--blanco);
    margin: 0 0 10px;
}

.zigzag-linea {
    display: block;
    width: 24%;
    border-top: 2px solid #e02b20;
    margin-bottom: 23px;
}

.zigzag-texto p {
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.6;
    color: var(--blanco);
    margin: 0;
}

@media (max-width: 980px) {
    .seccion-zigzag { padding: 40px 0 50px; }
    .zigzag-fila { flex-direction: column; width: 80%; margin: 0 auto; padding: 10px 0; }
    .zigzag-img { flex: none; order: 0 !important; aspect-ratio: 1080 / 718; }
    .zigzag-texto { flex: none; padding: 20px 0 30px; }
    .zigzag-texto p { font-size: 16px; }
}

@media (max-width: 767px) {
    .zigzag-fila { width: auto; margin: 0 16px; }
    .zigzag-texto h2 { font-size: 25px; }
}

/* Franja de título oscura del sitio original (degradado sobre la foto del header) */
.franja-titulo {
    background: linear-gradient(180deg, rgba(30, 29, 28, 0.53) 0%, #1e1d1c 100%), url("../img/wp/2017/04/headerc2-1920x850px.webp") center / cover no-repeat;
    padding: 20px 16px;
    text-align: center;
}

.franja-titulo h2 {
    font-family: var(--titulos);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 25px;
    line-height: 1.4;
    color: var(--blanco);
    margin: 0;
    padding: 10px 0;
}

/* Testimonio del sitio original: fondo negro, todo centrado en una columna de 300 px */
.testimonio-original {
    background: #000000;
    color: var(--blanco);
    padding: 40px 16px 75px;
    text-align: center;
}

.testimonio-intro {
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 20px;
}

.testimonio-divi {
    max-width: 300px;
    margin: 0 auto;
    padding: 50px 0 30px;
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.8;
}

.testimonio-logo {
    width: 250px;
    max-width: 100%;
    height: 70px;
    margin: 0 auto 20px;
    background: center / contain no-repeat;
}

.testimonio-divi blockquote { margin: 0; padding-bottom: 1em; }

.testimonio-divi figcaption strong { display: block; margin-top: 32px; font-weight: 700; }

.testimonio-divi figcaption span { display: block; }

.bloque-servicio h2 { font-size: 1.5rem; margin-bottom: 0.8rem; }

.bloque-servicio h2 span {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--rojo);
    margin-bottom: 0.4rem;
}

.bloque-servicio p { color: var(--gris-texto); margin: 0; }

.tarjeta-icono {
    height: 100%;
    padding: 2rem;
    border-radius: var(--radio);
    background: var(--gris);
}

.tarjeta-icono i { font-size: 1.9rem; color: var(--rojo); }

.tarjeta-icono h3 { font-size: 1.25rem; margin: 1rem 0 0.75rem; }

.tarjeta-icono p { color: var(--gris-texto); font-size: 0.96rem; margin: 0; }

/* Portafolio */
.tarjeta-proyecto {
    display: block;
    text-decoration: none;
    border-radius: var(--radio);
    overflow: hidden;
    background: var(--blanco);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tarjeta-proyecto:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.tarjeta-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gris-linea); }

.tarjeta-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }

.tarjeta-proyecto:hover .tarjeta-img img { transform: scale(1.05); }

.tarjeta-texto { padding: 1.25rem 1.5rem 1.5rem; }

.tarjeta-cat {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rojo);
}

.tarjeta-texto h3 { font-size: 1.2rem; margin: 0.4rem 0 0; color: var(--tinta); }

.filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 3rem;
}

.galeria-item {
    display: block;
    border-radius: var(--radio);
    overflow: hidden;
    background: var(--gris);
}

.galeria-item img { width: 100%; transition: transform 0.6s; }

.galeria-item:hover img { transform: scale(1.03); }

.texto-proyecto p { font-size: 1.12rem; }

.ficha {
    border-top: 2px solid var(--tinta);
    padding-top: 1.25rem;
    margin: 0;
}

.ficha dt {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gris-texto);
}

.ficha dd { margin-bottom: 1rem; font-weight: 500; }

/* Testimonios */
.testimonio {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 2.5rem;
    border-left: 3px solid var(--rojo);
    background: var(--gris);
    border-radius: 0 var(--radio) var(--radio) 0;
}

.testimonio .bi-quote { font-size: 2.6rem; color: var(--rojo); line-height: 1; }

.testimonio blockquote { font-size: 1.08rem; line-height: 1.75; margin: 0.5rem 0 1.5rem; }

.testimonio figcaption strong { display: block; font-weight: 600; }

.testimonio figcaption span { font-size: 0.88rem; color: var(--gris-texto); }

.fondo-oscuro .testimonio { background: rgba(255, 255, 255, 0.06); }

.fondo-oscuro .testimonio blockquote { color: var(--blanco); }

.fondo-oscuro .testimonio figcaption span { color: var(--gris-original); }

/* Contacto */
/* Sección del formulario: gris claro del original (negro al 15 % sobre blanco) */
.contacto-cta { background: #d9d9d9; color: var(--tinta); }

.contacto-cta .texto-intro { color: var(--gris-texto); }

.lista-contacto { margin: 2rem 0 0; }

.lista-contacto li { display: flex; gap: 0.8rem; margin-bottom: 0.8rem; color: var(--gris-texto); }

.lista-contacto i { color: var(--rojo); }

.lista-contacto a { color: var(--tinta); text-decoration: none; }

.lista-contacto a:hover { text-decoration: underline; }

/* Formulario (estilo del sitio original: fondo translúcido, línea roja inferior, Lato 900) */
.form-contacto .form-control {
    background: rgba(30, 29, 28, 0.5);
    border: 0;
    border-bottom: 3px solid var(--rojo-original);
    border-radius: 0;
    color: var(--blanco);
    font-family: var(--boton);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.form-contacto .form-control:focus {
    background: rgba(30, 29, 28, 0.8);
    border-bottom-color: var(--rojo-original);
    box-shadow: none;
    color: var(--blanco);
}

.form-contacto .form-floating > label {
    max-width: 100%;
    color: var(--blanco);
    font-family: var(--boton);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.form-contacto .form-floating > .form-control:focus ~ label,
.form-contacto .form-floating > .form-control:not(:placeholder-shown) ~ label { color: rgba(255, 255, 255, 0.7); }

.form-contacto .form-floating > .form-control:focus ~ label::after,
.form-contacto .form-floating > .form-control:not(:placeholder-shown) ~ label::after { background: transparent; }

.form-contacto .invalid-feedback { color: #ff7a7f; }

.form-contacto button[type="submit"] {
    cursor: pointer;
    background: var(--blanco);
    color: #353740;
    border: 10px solid var(--blanco);
    padding: 0.3em 1em;
}

.form-contacto button[type="submit"]:hover,
.form-contacto button[type="submit"]:focus-visible {
    background: var(--blanco);
    border-color: var(--blanco);
    color: var(--rojo-original);
}

.form-contacto button[disabled] { opacity: 0.7; }

.form-aviso { font-size: 0.8rem; color: var(--gris-texto); margin: 1rem 0 0; }

.form-aviso a { color: var(--tinta); }

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

.form-gracias {
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: var(--radio);
}

.form-gracias i { font-size: 3rem; color: var(--rojo); }

.form-gracias h3 { margin: 1rem 0 0.5rem; }

.form-gracias p { color: var(--gris-texto); margin: 0; }

.dato-contacto {
    padding: 2rem;
    border-radius: var(--radio);
    background: var(--gris);
    height: 100%;
}

.dato-contacto i { font-size: 1.6rem; color: var(--rojo); }

.dato-contacto h2 { font-size: 1.2rem; margin: 0.8rem 0 0.5rem; }

.dato-contacto p { margin: 0; }

.dato-contacto p i { font-size: 1em; }

.dato-contacto a { text-decoration: none; font-weight: 500; }

.dato-contacto a:hover { color: var(--rojo); }

.mapa-contacto { max-width: 760px; margin: 3rem auto 0; }

/* Texto legal */
.texto-legal { max-width: 52rem; }

.texto-legal h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }

.texto-legal h3 { font-size: 1.15rem; margin: 1.75rem 0 0.75rem; }

.texto-legal a { color: var(--rojo); }

/* Footer */
.footer {
    background: #222222;
    color: rgba(255, 255, 255, 0.7);
    padding: 4.5rem 0 2rem;
    font-size: 0.92rem;
}

.footer .logo-footer { width: 120px; height: auto; }

.footer-titulo {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blanco);
    margin-bottom: 1rem;
}

.footer li { margin-bottom: 0.55rem; }

.footer a { text-decoration: none; }

.footer a:hover { color: var(--blanco); }

.footer .copy {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

.footer .copy nav { display: flex; gap: 1.25rem; }

/* Animación de entrada */
.revelar {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.revelar.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .revelar { opacity: 1; transform: none; transition: none; }
    .hero-fondo { animation: none; }
}

@media (max-width: 767.98px) {
    .seccion { padding: 4.5rem 0; }
    .hero-interior { padding: 8rem 0 3.5rem; }
    .testimonio { padding: 2rem 1.5rem; }
}
