/* =========================================================
   RESET GENERAL
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f1f0f0;
    color: #403e3c;
    line-height: 1.6;

    display: flex;
    flex-direction: column;
    min-height: 100vh;


}

main {
    flex: 1;
}

/* =========================================================
   VARIABLES
========================================================= */
:root {
    /* Colores generales */
    --accent-color: #f79600;
    --accent-color-alt: #F39200;
    --primary-dark: #905500;
    --primary-overlay: #90540096;
    --bg-light: #ffdcc2;
    --gray-light: #f1f0f0;
    --text-main: #403e3c;
    --white: #ffffff;
    --black: #000000;

    /* Footer */
    --footer-bg: #2b2b2b;
    --footer-bottom-bg: #1a1a1a;
    --footer-text: #f1f1f1;
    --footer-text-alt: #ccc;
    --footer-border: #444;

    /* Tipografía */
    --font-main: 'Segoe UI', sans-serif;
    --font-size-base: 14px;
    --font-size-heading: 16px;
    --font-size-footer-bottom: 13px;

    /* Tamaños */
    --header-height: 80px;
    --logo-max-height: 60px;
    --footer-logo-height: 80px;
    --footer-icon-size: 28px;
    --footer-padding: 40px 50px;
    --footer-gap-columns: 30px;
    --footer-gap-icons: 15px;
}

/* =========================================================
   HEADER / NAVBAR
========================================================= */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: var(--header-height);
    background-color: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);


}

.logo,
.header-spacer {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.logo a img {
    height: 100%;
    width: auto;
    max-height: var(--logo-max-height);
    object-fit: contain;
}

.navbar {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    text-decoration: none;
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent-color);
}

/* Dropdown */
.dropdown-item {
    position: relative;
}

.arrow {
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 180px;
    list-style: none;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-size: 15px;
    text-align: left;
    color: var(--primary-dark);
    transition: background 0.2s;
}

.dropdown-menu li a::after {
    display: none;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--accent-color);
}

/* =========================================================
   CONTENEDOR GENERAL
========================================================= */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
}

/* =========================================================
   HERO - NOSOTROS
========================================================= */
.hero {
    background-image: url("../img/2006001_20060724-02_S_HR_Airport-Madrid-ES-WEB-1-2048x1366.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 80px 5%;
    text-align: center;
}

.hero-content {
    background-color: var(--primary-overlay);
    border-radius: 25px;
}

.hero-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero h1 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
}

.hero-nosotros {
    background-color: rgba(0, 0, 0, 0.85);
    width: 100%;
    text-align: center;
    color: var(--white);
    padding: 3rem 1rem;
}

.hero-nosotros h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.hero-nosotros h2.cursiva {
    font-style: italic;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero-nosotros .subtitulo {
    font-size: 1.3rem;
}

/* Hero */
.hero-simple {
    width: 100%;
    min-height: 100vh;
    height: auto;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    background-image: url('../img/hero_.jpg');
    background-size: cover;
    background-position: center;

    padding: 0 8%;

    position: relative;
    overflow: hidden;
}

.hero-text-box {
    max-width: 550px;
    padding: 40px;
    text-align: right;
    background-color: var(--primary-overlay);
    border-radius: 4px;
    border-right: 8px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-text-box h1 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text-box p {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-hero {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-hero:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* =========================================================
   BARRA SEPARADORA
========================================================= */
.separator-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 5%;
    background-color: var(--primary-dark);
    color: var(--white);
    text-align: center;
}

.value-item span {
    display: block;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.value-item p {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================================
   SECCIÓN SOBRE / DOS COLUMNAS
========================================================= */
.sobre-seccion {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    min-height: 400px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.texto {
    flex: 1 1 55%;
    text-align: left;
}

.texto h2 {
    color: var(--accent-color-alt);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.texto p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.lista {
    flex: 1 1 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 50px;
}

.lista ul {
    list-style: none;
    padding-left: 0;
    margin-top: 50px;
}

.lista li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.lista li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--accent-color-alt);
    font-weight: bold;
}

.btn-accion {
    display: block;
    margin: 2rem auto 0;
    padding: 0.75rem 2rem;
    background-color: var(--black);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-accion:hover {
    background-color: var(--accent-color-alt);
}

/* =========================================================
   IMÁGENES EN ESCALERA
========================================================= */
.sobre-img {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: -55px;
}

.sobre-img img {
    width: 250px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    border: none;
    margin-top: -55px;
    transform: translateY(var(--offset, 0));
}

.sobre-img img:nth-child(1) {
    --offset: 0px;
}

.sobre-img img:nth-child(2) {
    --offset: 30px;
}

.sobre-img img:nth-child(3) {
    --offset: 60px;
}

/* =========================================================
   PROYECTOS
========================================================= */
.proyectos {
    padding: 3rem 1rem;
    margin-top: 50px;
}

.proyectos h1 {
    text-align: center;
    color: var(--accent-color-alt);
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 3rem;
}

.proyectos-contenedor {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.proyecto-imagen img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.proyecto-texto {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    padding: 20px;
    text-align: center;
    color: var(--white);
    background: var(--primary-overlay);
    border-radius: 25px;
    transform: translate(-50%, -50%);
}

.proyecto-texto h4 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* Tres imágenes */
.imgTres {
    display: flex;
    justify-content: center;
    gap: 140px;
    flex-wrap: wrap;
    margin-top: 100px;
    padding-left: 50px;
}

.imgTres .proyecto {
    flex: 0 0 auto;
    width: 300px;
    text-align: center;
}

.imgTres .proyecto img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.imgTres .proyecto h4 {
    color: var(--accent-color-alt);
    margin-top: 20px;
}

.imgTres .proyecto p {
    margin-top: 15px;
    padding: 0 10px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: justify;
}

/* 2 imágenes, sobreNosotros */
.dosproyectos {
    display: flex;
    justify-content: center;
    gap: 140px;
    flex-wrap: wrap;
    margin-top: 100px;
    padding-left: 50px;
}

.dosproyectos .proyecto {
    flex: 0 0 auto;
    width: 300px;
    text-align: center;
}

.dosproyectos .proyecto img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.dosproyectos .proyecto h4 {
    color: var(--accent-color-alt);
    margin-top: 20px;
}

.dosproyectos .proyecto p {
    margin-top: 15px;
    padding: 0 10px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: justify;
}

/* imagen final sobreNosotros */

.proyectodestacado {
    position: relative;
    max-width: 1200px;
    margin: 80px auto;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


.proyectoimagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.proyectotexto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    text-align: center;
    background: rgba(0, 0, 0, 0.55);
    padding: 30px;
    border-radius: 15px;
    color: #ffffff;
}


.proyectotexto h4 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #f79600;
}


.proyectotexto p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}


.botonfinal {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

.botonfinal:hover {
    background-color: #F39200;
    transform: translateY(-2px);
}



/* BLOG */
.blog {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.blog h2 {
    color: var(--accent-color-alt);
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 3rem;
}

.cuadriculaBlog {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-items: center;
}

.tarjetaBlog {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    max-width: 280px;
}

.tarjetaBlog img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.contenidoBlog {
    padding: 1rem 1.2rem;
    text-align: center;
}

.contenidoBlog h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.contenidoBlog .fecha {
    font-size: 0.9rem;
    color: var(--accent-color-alt);
    font-weight: 500;
}

.tarjetaBlog:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* enlaces blog */
.contenidoBlog h3 a {
    text-decoration: none;
    color: var(--primary-dark);
    position: relative;
    transition: color 0.3s;
}

.contenidoBlog h3 a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: var(--accent-color-alt);
    transition: width 0.3s ease;
}

/* línea de debajo */
.contenidoBlog h3 a:hover::after {
    width: 100%;
}

.contenidoBlog h3 a:hover {
    color: var(--text-main);
}




/* SUELOS */

.suelos-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 60px;
}

.suelos-imagen {
    flex: 0 1 30%;
    max-width: 500px;
}

.suelos-texto {
    flex: 0 1 40%;
    max-width: 500px;
    position: static;
    background: none;
    padding: 0;
    text-align: left;
}

.suelos-imagen img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.suelos-texto h4 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color-alt);
    max-width: 45ch;
}

.suelos-texto p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 45ch;
}

/* suelos igual que sobreNosotros, cambio imágenes */
.sobre-img-bajo-texto img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 50px auto 0;
    border-radius: 10px;
}

/* suelos columna  */
.texto-imagenes {
    display: flex;
    gap: 60px;
    align-items: center;
    margin: 80px auto;
    max-width: 1200px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.contenido-izquierda {
    flex: 2;
    min-width: 300px;
    max-width: 600px;
    line-height: 1.8;
    margin: 0 auto;
}

.contenido-izquierda h2 {
    font-size: 28px;
    margin: 60px 0 30px 0;
    color: var(--accent-color-alt);
    text-align: center;
}

.contenido-izquierda p {
    margin-bottom: 25px;
    font-size: 16px;
    color: #333333;
    text-align: justify;
}

.imagenes-derecha {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    min-width: 150px;
}

.imagenes-derecha img {
    margin-top: 10%;
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 8px;
}



/* PAREDES */

.paredes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 150px auto;
    padding: 0 20px;
}

.columnaParedes {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.columnaParedes h3 {
    color: var(--accent-color-alt);
    font-size: 22px;
    margin-bottom: 10px;
}



/* TECHOS */
/*  */
.techos {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.sobre-img-bajo-techo img {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 50px auto 0;
    border-radius: 10px;
}

.techosTexto {
    flex: 1;
    min-width: 300px;
}

.techosTexto h2 {
    font-size: 28px;
    color: var(--accent-color-alt);
    margin-bottom: 20px;
}

.techosTexto h3 {
    font-size: 20px;
    margin: 20px 0 10px 0;
    color: var(--accent-color-alt);
}

.techosTexto p {
    line-height: 1.6;
    margin-bottom: 15px;
}



.techosImagen {
    flex: 1;
    min-width: 600px;
    display: flex;
    justify-content: center;
}

.techosImagen img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}




/* ESPACIOS AUX */
.aux {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.auxiliares {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.auxColumna {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aux h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--accent-color-alt);
}

.auxColumna img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.auxColumna h3 {
    font-size: 22px;
    color: var(--accent-color-alt);
    margin-bottom: 10px;
    text-align: center;
}

.auxColumna p {
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: center;
}

.auxColumna h3 a {
    text-decoration: none;
    color: var(--primary-dark);
    position: relative;
    transition: color 0.3s;
}

.auxColumna h3 a:hover {
    color: var(--accent-color-alt);
}




/* PAVIMENTOS */
.colecciones {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.coleccionesGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.col h2 {
    color: var(--accent-color-alt);
    margin-bottom: 20px;
}

.col p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.imagenesColecciones {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.imagenesColecciones img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}



/*  Acabados y revestimientos */
.acabados-revestimientos {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.texto-acabados h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--accent-color-alt);

}

.texto-acabados h4 {
    font-size: 18px;
    margin-bottom: 30px;
    color: #333333;
    font-weight: 400;
    line-height: 1.6;
}

.texto-acabados p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.imagen-debajo-texto {
    margin-top: 40px;
}

.imagen-debajo-texto img {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.imagen-debajo-texto img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}




.dos-columnas-texto {
    display: flex;
    gap: 40px;
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

.dos-columnas-texto .columna {
    flex: 0 1 380px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dos-columnas-texto h2 {
    font-size: 28px;
    margin: 0 0 20px 0;
    color: var(--accent-color-alt);
    max-width: 25ch;
}

.dos-columnas-texto p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    text-align: justify;
    max-width: 45ch;
}






/* =========================================================
   CARRUSEL
========================================================= */
.carousel-section {
    width: 100%;
    overflow: hidden;
    background-color: var(--black);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 75vh;
}

.carousel-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    position: relative;
    width: 25%;
}

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

.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
    transition: background 0.4s ease;
}

.slide-title {
    color: var(--white);
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    transition: transform 0.4s ease;
}

.slide-description {
    color: #f1f1f1;
    font-size: 1.2rem;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.carousel-slide:hover .slide-content {
    background: rgba(144, 85, 0, 0.75);
}

.carousel-slide:hover .slide-title {
    transform: translateY(-10px);
}

.carousel-slide:hover .slide-description {
    opacity: 1;
    transform: translateY(0);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 10;
    padding: 20px 10px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    transform: translateY(-50%);
    transition: 0.3s;
}

.carousel-btn:hover {
    background: var(--accent-color);
}

.carousel-btn.prev {
    left: 0;
    border-radius: 0 8px 8px 0;
}

.carousel-btn.next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

/* =========================================================
   CONTACTO
========================================================= */
.contact-section {
    padding: 100px 5%;
    background-color: var(--white);
}

.contact-section .container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 40px;

    border: 1px solid var(--black);
    border-radius: 25px;
}

.contact-info h3 {
    width: 100%;
    padding-top: 15px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--accent-color);
    font-size: 24px;
}

.info-item {
    margin-bottom: 20px;
    text-align: left;
    color: var(--primary-dark);
}

.info-item strong {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--black);
}

.contact-form-container {
    flex: 1.5;
    min-width: 300px;
}

.contact-form-container h3 {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--accent-color);
    font-size: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    resize: none;
    transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--black);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--black);
}

.btn-submit,
.btn-call {
    padding: 15px;
    border: none;
    border-radius: 6px;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit {
    background-color: var(--black);
}

.btn-submit:hover {
    background-color: var(--accent-color);
}

.btn-call {
    background-color: var(--black);
}

.btn-call:hover {
    background-color: var(--accent-color);
}

/* Mapa */
.map-container {
    width: 100%;
    height: 300px;
    margin-top: auto;
    overflow: hidden;
    border: 2px solid var(--black);
    border-radius: 20px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
    width: 100%;
    bottom: 0;
    background-color: var(--footer-bg);
    color: var(--footer-text);
    font-family: var(--font-main);
    font-size: var(--font-size-base);
    border-top: 2px solid var(--accent-color);
}

.principal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--footer-padding);
}

.footer-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-logo img {
    height: var(--footer-logo-height);
}

.footer-columns-right {
    display: flex;
    gap: var(--footer-gap-columns);
    align-items: center;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h4 {
    position: relative;
    margin-bottom: 8px;
    font-size: var(--font-size-heading);
    font-weight: bold;
    color: var(--footer-text);
}

.footer-column h4::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    margin-top: 5px;
    background-color: var(--accent-color);
}

.footer-column p,
.footer-column a {
    color: var(--footer-text-alt);
    transition: color 0.3s;
}

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

/* Redes sociales */
.iconos {
    display: flex;
    align-items: center;
    gap: var(--footer-gap-icons);
}

.social img {
    width: var(--footer-icon-size);
    height: var(--footer-icon-size);
    opacity: 0.7;
    transition: transform 0.3s, opacity 0.3s, filter 0.3s;
}

.social img:hover {
    transform: scale(1.1);
    opacity: 1;
    filter: drop-shadow(0 0 3px var(--accent-color));
}

.footer-boton {
    text-align: center;
    padding: 10px 0;
    font-size: var(--font-size-footer-bottom);
    color: var(--footer-text-alt);
    background-color: var(--footer-bottom-bg);
    border-top: 1px solid var(--footer-border);
}



/* =========================================================
   POLÍTICA DE PRIVACIDAD
========================================================= */

.politica-container {
    padding: 50px;
    margin: auto;
}

.politica-container p {
    margin: 15px;
}

.politica-container ol {
    margin: 10px;
    list-style-position: inside;
}



/* =========================================================
   COOKIES
========================================================= */

/* El "velo" negro transparente */
.cookie-overlay {
    display: none;
    /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Color negro con 50% transparencia */
    z-index: 9998;
    /* Justo debajo del banner */
    backdrop-filter: blur(2px);
    /* Opcional: difumina el fondo */
}

/* El banner inferior */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    text-align: center;
}

.cookie-buttons {
    margin-top: 15px;
}

button {
    padding: 10px 20px;
    cursor: pointer;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
}

.btn-accept {
    background: #28a745;
    color: white;
}

.btn-reject {
    background: #dc3545;
    color: white;
}

/* =========================================================
   RESPONSIVE 
========================================================= */

/* =========================
   TABLET (≤1024px)
========================= */
@media (max-width: 1024px) {

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-simple {
        height: 70vh;
        padding: 0 5%;
    }

    .hero-text-box {
        padding: 25px;
        max-width: 450px;
    }

    .sobre-seccion {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .texto,
    .lista {
        flex: 1 1 100%;
        margin-top: 20px;
    }

    .lista ul {
        margin-top: 20px;
    }

    .sobre-img {
        margin-top: 20px;
    }

    .imgTres,
    .dosproyectos {
        gap: 60px;
        padding-left: 0;
    }

    .cuadriculaBlog {
        grid-template-columns: repeat(2, 1fr);
    }

    .paredes {
        grid-template-columns: repeat(2, 1fr);
    }

    .auxiliares {
        grid-template-columns: 1fr;
    }

    .coleccionesGrid {
        grid-template-columns: 1fr;
    }

    .imagenesColecciones {
        grid-template-columns: 1fr;
    }

    .contact-section .container {
        flex-direction: column;
    }

    .contact-info {
        width: 100%;
    }

    .form-group {
        flex-direction: column;
    }

    .techos {
        flex-direction: column;
    }

    .techosImagen {
        min-width: 100%;
    }
}

/* =========================
   MÓVIL (≤768px)
========================= */
@media (max-width: 768px) {

    .main-header {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .navbar {
        flex: 1;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero {
        padding: 50px 5%;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-simple {
        min-height: calc(100dvh - var(--header-height));
        padding-top: var(--header-height);
        box-sizing: border-box;
    }

    .hero-text-box {
        max-width: 100%;
        width: 100%;
        padding: 20px;
        text-align: center;
        border-right: none;
        border-left: 6px solid var(--accent-color);
    }

    .hero-text-box h1 {
        font-size: 1.8rem;
    }

    .hero-text-box p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .separator-bar {
        flex-direction: column;
        gap: 20px;
    }

    .sobre-seccion {
        padding: 0 10px;
    }

    .sobre-img img {
        width: 180px;
        height: 250px;
    }

    .proyectos h1 {
        font-size: 2rem;
    }

    .imgTres .proyecto,
    .dosproyectos .proyecto {
        width: 100%;
    }

    .imgTres,
    .dosproyectos {
        flex-direction: column;
        align-items: center;
    }

    .blog h2 {
        font-size: 2rem;
    }

    .cuadriculaBlog {
        grid-template-columns: 1fr;
    }

    .paredes {
        grid-template-columns: 1fr;
    }

    .aux h2 {
        font-size: 24px;
    }

    .auxColumna img {
        height: 300px;
    }

    .coleccionesGrid {
        grid-template-columns: 1fr;
    }

    .imagenesColecciones img {
        height: 300px;
    }

    .contact-section {
        padding: 60px 5%;
    }

    .contact-info {
        padding: 20px;
    }

    .map-container {
        height: 250px;
    }

    .footer .principal {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-columns-right {
        flex-direction: column;
    }
}

/* =========================
   MÓVIL PEQUEÑO (≤480px)
========================= */
@media (max-width: 480px) {

    .hero h1 {
        font-size: 22px;
    }

    .hero-text-box {
        padding: 20px;
    }

    .btn-hero {
        padding: 10px 20px;
        font-size: 12px;
    }

    .sobre-img img {
        width: 150px;
        height: 220px;
    }

    .proyecto-texto {
        width: 95%;
        padding: 15px;
    }

    .proyectotexto h4 {
        font-size: 1.3rem;
    }

    .proyectotexto p {
        font-size: 1rem;
    }

    .btn-submit,
    .btn-call {
        font-size: 14px;
        padding: 12px;
    }

    .carousel-container {
        height: 50vh;
    }

    .slide-title {
        font-size: 1.8rem;
    }

    .slide-description {
        font-size: 1rem;
    }
}