    *{
    box-sizing: border-box;
}

:root {
    --color-black: #000000;
    --color-dark: #111111;
    --color-red: #e31b23;
    --color-white: #ffffff;
    --color-light: #f5f5f5;
    --color-gray: #666666;
    --color-border: #e2e2e2;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

h1{font-size: 4em;}
h2{font-size: 2em;}
h3{font-size: 1.7em;}
p{font-size: 1.25em;}
li{font-size: 1.2em;}
li{text-align: left;}


header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 110px;

    background-color: #000;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    padding: 0 40px;

    z-index: 1000;
}


/* LOGO */

.logo {
    justify-self: start;
}

.logo img {
    display: block;
    height: 85px;
    width: auto;
}


/* MENÚ */

nav {
    justify-self: center;
}

.navbar {
    display: flex;
    align-items: center;

    gap: 20px;

    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar a {
    color: white;

    text-decoration: none;

    font-size: 18px;
    font-weight: 500;

    padding: 8px 10px;

    transition: 0.3s ease;
}

.navbar a:hover {
    color: #4f7cff;
}


/* BOTONES DERECHA */

.header-actions {
    justify-self: end;

    display: flex;
    align-items: center;
    gap: 15px;

    /* Separación respecto al menú */
    margin-left: 35px;
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}


/* IDIOMA */

.language-btn {
    background: transparent;

    border: 1px solid white;
    color: white;

    padding: 8px 12px;

    cursor: pointer;

    border-radius: 5px;
}


/* COTIZACIÓN */

.quote-btn {
    background-color: #ffffff;
    color: #000000;

    text-decoration: none;

    font-weight: 600;

    padding: 12px 20px;

    border-radius: 5px;

    transition: 0.3s ease;
}

.quote-btn:hover {
    background-color: #4f7cff;
    color: white;
}

.phone-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.phone-link:hover {
    color: #4f7cff;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    width: 32px;
    height: 32px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid white;
    border-radius: 50%;

    transition: 0.3s ease;
}

.social-links a:hover {
    background-color: white;
    color: black;
}

.mobile-language-btn {
    background: transparent;

    border: 1px solid white;
    border-radius: 5px;

    color: white;

    padding: 10px 20px;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;

    cursor: pointer;
}

.mobile-quote-btn {
    display: block;

    width: 100%;

    background-color: white;
    color: black;

    padding: 14px 20px;

    border-radius: 5px;

    text-align: center;
    text-decoration: none;

    font-weight: 600;

    transition: 0.3s ease;
}

.mobile-quote-btn:hover {
    background-color: #4f7cff;
    color: white;
}

.mobile-actions {
    display: none;
}
/* Estilos de Navegación */

.hero {
    min-height: 100vh;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url("Images/hero1.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;

    padding: 0 8%;
}

.hero-content {
    max-width: 850px;
    color: white;
}

.hero-label {
    display: inline-block;

    margin-bottom: 15px;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;

    color: #ffffff;
}

.hero-content h1 {
    font-size: clamp(3rem, 4vw, 4.5rem);
    line-height: 1.08;
    margin: 0 0 20px 0;
    max-width: 850px;
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-btn {
    display: inline-block;

    background-color: white;
    color: black;

    padding: 15px 25px;

    text-decoration: none;
    font-weight: 600;

    border-radius: 5px;

    transition: 0.3s ease;
}

.hero-btn:hover {
    background-color: #4f7cff;
    color: white;

    transform: translateY(-2px);
}

.menu-toggle {
    display: none;

    background: transparent;
    border: none;

    color: white;
    font-size: 30px;

    cursor: pointer;
}

/* =========================================
   SOBRE VALUE ROOFING
   ========================================= */

.about {
    background-color: var(--color-white);
    padding: 100px 8%;
}

.about-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.about-image {
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 8px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content {
    max-width: 650px;
}

.section-label {
    display: inline-block;

    color: var(--color-red);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;

    margin-bottom: 15px;
}

.about-content h2 {
    color: var(--color-black);

    font-size: clamp(2.3rem, 3vw, 3.5rem);
    line-height: 1.1;

    margin: 0 0 25px;
}

.about-content > p {
    color: var(--color-gray);

    font-size: 1.1rem;
    line-height: 1.8;

    margin-bottom: 18px;
}

.about-benefits {
    margin: 30px 0;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 12px;
}

.benefit span {
    width: 28px;
    height: 28px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: var(--color-red);
    color: var(--color-white);

    border-radius: 50%;

    font-size: 15px;
    font-weight: 700;

    flex-shrink: 0;
}

.benefit p {
    margin: 0;

    color: var(--color-dark);

    font-size: 1rem;
    font-weight: 500;
}

.about-btn {
    display: inline-block;

    background-color: var(--color-black);
    color: var(--color-white);

    padding: 14px 25px;

    border-radius: 5px;

    text-decoration: none;
    font-weight: 600;

    transition: 0.3s ease;
}

.about-btn:hover {
    background-color: var(--color-red);
    transform: translateY(-2px);
}

/* =========================================
   MISIÓN Y VISIÓN
   ========================================= */

.identity {
    background-color: var(--color-light);
    padding: 100px 8%;
}

.identity-header {
    max-width: 750px;
    margin: 0 auto 60px;
    text-align: center;
}

.identity-header h2 {
    margin: 10px 0 20px;

    color: var(--color-black);

    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.1;
}

.identity-header p {
    margin: 0;

    color: var(--color-gray);

    font-size: 1.1rem;
    line-height: 1.8;
}

.identity-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 25px;
}

.identity-card {
    position: relative;

    min-height: 380px;

    padding: 60px;

    background-color: var(--color-white);

    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.identity-number {
    display: block;

    margin-bottom: 45px;

    color: var(--color-red);

    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.identity-card h3 {
    margin: 0 0 20px;

    color: var(--color-black);

    font-size: 2.3rem;
}

.identity-card p {
    margin: 0;

    color: var(--color-gray);

    font-size: 1.1rem;
    line-height: 1.8;
}

.identity-card-dark {
    background-color: var(--color-black);
    border-color: var(--color-black);
}

.identity-card-dark h3 {
    color: var(--color-white);
}

.identity-card-dark p {
    color: #d5d5d5;
}

.identity-card-dark .identity-number {
    color: var(--color-red);
}

/* =========================================
   NUESTROS VALORES
   ========================================= */

.values {
    background-color: var(--color-white);
    padding: 100px 8%;
}

.values-header {
    max-width: 750px;
    margin: 0 auto 60px;
    text-align: center;
}

.values-header h2 {
    margin: 10px 0 20px;

    color: var(--color-black);

    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.1;
}

.values-header p {
    margin: 0;

    color: var(--color-gray);

    font-size: 1.1rem;
    line-height: 1.8;
}

.values-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.value-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 35px;

    border-right: 1px solid var(--color-border);

    transition: 0.3s ease;
}

.value-item:last-child {
    border-right: none;
}

.value-number {
    display: block;

    margin-bottom: 35px;

    color: var(--color-red);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.value-item h3 {
    margin: 0 0 18px;

    color: var(--color-black);

    font-size: 1.7rem;
}

.value-item p {
    max-width: 260px;
    margin: 0;
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.7;
}

.value-item:hover {
    background-color: var(--color-black);
    transform: translateY(-5px);
}

.value-item:hover h3 {
    color: var(--color-white);
}

.value-item:hover p {
    color: #d5d5d5;
}

.value-item:hover .value-number {
    color: var(--color-red);
}

.value-icon {
    width: 110px;
    height: 110px;
    margin-bottom: 30px;
}

.value-icon svg {
    display: block;
    width: 100%;
    height: 100%;

    fill: none;
    stroke: var(--color-red);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: 0.3s ease;
}

/* =========================================
   PROYECTOS DESTACADOS
   ========================================= */

.projects {
    background-color: var(--color-black);
    padding: 100px 8%;
}

.projects-header {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto 60px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 60px;
}

.projects-header .section-label {
    color: var(--color-red);
}

.projects-header h2 {
    margin: 10px 0 0;

    color: var(--color-white);

    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.1;
}

.projects-header > p {
    max-width: 500px;

    margin: 0;

    color: #bdbdbd;

    font-size: 1.05rem;
    line-height: 1.7;
}

.projects-grid {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 300px 300px;

    gap: 20px;
}

.project-card {
    position: relative;

    overflow: hidden;

    border-radius: 8px;
}

.project-large {
    grid-row: 1 / 3;
}

.project-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 60px 30px 30px;

    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.85)
    );
}

.project-overlay span {
    color: var(--color-red);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.project-overlay h3 {
    margin: 8px 0 0;

    color: var(--color-white);

    font-size: 1.6rem;
}

.project-card:hover img {
    transform: scale(1.05);
}

.projects-footer {
    text-align: center;
    margin-top: 45px;
}

.projects-btn {
    display: inline-block;

    padding: 15px 25px;

    background-color: var(--color-white);
    color: var(--color-black);

    text-decoration: none;
    font-weight: 600;

    border-radius: 5px;

    transition: 0.3s ease;
}

.projects-btn:hover {
    background-color: var(--color-red);
    color: var(--color-white);

    transform: translateY(-2px);
}



.value-item:hover .value-icon svg {
    stroke: var(--color-white);
}

.quote-cta {
    
    position: relative;
    min-height: 650px;
    padding: 100px 8%;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    background-image:
    linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.18) 40%,
        rgba(0, 0, 0, 0.68) 100%
    ),
    url("Images/cotizacion2.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.quote-cta-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 620px;

    /* quitar margin-left: 60px; */

    color: var(--color-white);
}

.quote-label {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--color-red);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
}

.quote-cta-content h2 {
    margin: 0 0 25px;
    color: var(--color-white);

    font-size: clamp(3rem, 3.7vw, 4.2rem);
    line-height: 1.05;
}

.quote-cta-content p {
    max-width: 600px;

    margin: 0 0 35px;

    color: #e0e0e0;

    font-size: 1.2rem;
    line-height: 1.7;
}

.quote-cta-btn {
    display: inline-block;

    padding: 16px 28px;

    background: var(--color-red);
    color: var(--color-white);

    border: 2px solid var(--color-red);
    border-radius: 5px;

    text-decoration: none;
    font-size: 16px;
    font-weight: 600;

    transition: 0.3s ease;
}

.quote-cta-btn:hover {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);

    transform: translateY(-2px);
}

/* =========================================
   PÁGINA CONTACTO / COTIZACIÓN
========================================= */

/* CABECERA CONTACTO */

.contact-hero {
    background: var(--color-light);
    padding: 190px 8% 90px;
}

.contact-hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-hero .section-label {
    display: block;
    margin-bottom: 18px;
    color: var(--color-red);
}

.contact-hero h1 {
    max-width: 850px;
    margin: 0 0 25px;
    color: var(--color-black);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.05;
}

.contact-hero p {
    max-width: 750px;
    margin: 0;
    color: var(--color-gray);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* =========================================
   SECCIÓN CONTACTO / COTIZACIÓN
========================================= */

.contact-section {
    background: var(--color-white);
    padding: 100px 8%;
}

.contact-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
    align-items: start;
}


/* INFORMACIÓN */

.contact-info h2 {
    margin: 10px 0 20px;
    color: var(--color-black);
    font-size: clamp(2.3rem, 3vw, 3.4rem);
    line-height: 1.1;
}

.contact-intro {
    max-width: 520px;
    margin: 0 0 45px;
    color: var(--color-gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--color-black);
    color: var(--color-white);

    border-radius: 50%;
    font-size: 18px;
}

.contact-detail span {
    display: block;
    margin-bottom: 5px;

    color: var(--color-gray);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.contact-detail p,
.contact-detail a {
    margin: 0;
    color: var(--color-black);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
}

.contact-detail a:hover {
    color: var(--color-red);
}


/* FORMULARIO */

.quote-form-box {
    background: var(--color-black);
    color: var(--color-white);

    padding: 55px;
    border-radius: 8px;
}

.form-label {
    display: block;
    margin-bottom: 12px;

    color: var(--color-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.quote-form-box h2 {
    margin: 0 0 12px;
    color: var(--color-white);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.15;
}

.quote-form-box > p {
    margin: 0 0 35px;
    color: #bdbdbd;
    line-height: 1.7;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-group label {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;

    background: #181818;
    color: var(--color-white);

    border: 1px solid #333333;
    border-radius: 5px;

    font-family: inherit;
    font-size: 15px;

    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-red);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #777777;
}

.quote-submit {
    width: fit-content;

    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 5px;
    padding: 16px 24px;

    background: var(--color-red);
    color: var(--color-white);

    border: none;
    border-radius: 5px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: .3s ease;
}

.quote-submit:hover {
    transform: translateY(-2px);
}

/* =========================================
   PÁGINA GRACIAS
========================================= */

.thank-you-section {
    min-height: 650px;
    padding: 190px 8% 110px;
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-content {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-red);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 32px;
}

.thank-you-content .section-label {
    display: block;
    margin-bottom: 18px;
    color: var(--color-red);
}

.thank-you-content h1 {
    margin: 0 0 25px;
    color: var(--color-black);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.05;
}

.thank-you-content > p {
    max-width: 680px;
    margin: 0 auto 40px;
    color: var(--color-gray);
    font-size: 1.15rem;
    line-height: 1.8;
}

.thank-you-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.thank-you-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 25px;
    background: var(--color-red);
    color: var(--color-white);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s ease;
}

.thank-you-btn:hover {
    transform: translateY(-2px);
}

.thank-you-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-black);
    font-weight: 600;
    text-decoration: none;
}

.thank-you-phone i {
    color: var(--color-red);
}

/* =========================================
   PÁGINA NOSOTROS - HERO
========================================= */

.about-page-hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 170px 8% 100px;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.35)
        ),
        url("Images/General.png");

    background-size: cover;
    background-position: center;
}

.about-page-hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.about-page-hero .section-label {
    display: block;
    margin-bottom: 20px;
    color: var(--color-red);
}

.about-page-hero h1 {
    max-width: 850px;
    margin: 0 0 25px;
    color: var(--color-white);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.08;
}

.about-page-hero p {
    max-width: 650px;
    margin: 0;
    color: #e0e0e0;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* =========================================
   NOSOTROS - NUESTRA HISTORIA
========================================= */

.about-history {
    background: var(--color-white);
    padding: 120px 8%;
}

.about-history-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.about-history-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
}

.about-history-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about-history-content .section-label {
    display: block;
    margin-bottom: 20px;
    color: var(--color-red);
}

.about-history-content h2 {
    margin: 0 0 30px;
    color: var(--color-black);
    font-size: clamp(2.5rem, 3.5vw, 4rem);
    line-height: 1.12;
}

.about-history-content p {
    margin: 0 0 22px;
    color: var(--color-gray);
    font-size: 1.08rem;
    line-height: 1.9;
}

.about-history-note {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-top: 35px;
    padding-top: 25px;

    border-top: 1px solid var(--color-border);
}

.about-history-note i {
    color: var(--color-red);
    font-size: 28px;
}

.about-history-note span {
    color: var(--color-black);
    font-size: 1rem;
    font-weight: 600;
}




/* =========================================
   NOSOTROS - NUESTRO EQUIPO
========================================= */

.team-section {
    background: var(--color-black);
    color: var(--color-white);
    padding: 110px 8%;
}

.team-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ENCABEZADO */

.team-header {
    max-width: 850px;
    margin: 0 auto 75px;
    text-align: center;
}

.team-header .section-label {
    display: block;
    color: var(--color-red);
    margin-bottom: 20px;
}

.team-header h2 {
    color: var(--color-white);
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 1.1;
    margin: 0 0 25px;
}

.team-header p {
    color: #bdbdbd;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* GRUPOS */

.team-group {
    margin-bottom: 75px;
}

.team-group:last-child {
    margin-bottom: 0;
}

.team-group-title {
    color: var(--color-white);
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 35px;
}

/* CUADRÍCULAS */

.team-grid {
    display: grid;
    gap: 30px;
}

.team-leaders {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 850px;
    margin: 0 auto;
}

.team-employees {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* TARJETAS */

.team-card {
    background: #171717;
    border: 1px solid #292929;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-red);
}

/* FOTOGRAFÍAS */

.team-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #242424;
}

.team-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.04);
}

/* INFORMACIÓN */

.team-card-info {
    padding: 24px 15px 28px;
    text-align: center;
}

.team-card-info h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.team-card-info span {
    color: var(--color-red);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* =========================================
   AJUSTE DE TAMAÑO - NUESTRO EQUIPO
========================================= */

/* JEFES: tarjetas más compactas */

.team-leaders {
    grid-template-columns: repeat(2, minmax(0, 260px));
    justify-content: center;
    gap: 30px;
}

/* EMPLEADOS: tarjetas más pequeñas */

.team-employees {
    grid-template-columns: repeat(4, minmax(0, 210px));
    justify-content: center;
    gap: 25px;
}

/* Fotografías */

.team-photo {
    height: 300px;
}

.team-employees .team-photo {
    height: 240px;
}


/* =========================================
   NOSOTROS - NUESTRAS INSTALACIONES
========================================= */

.facilities-section {
    background: var(--color-white);
    padding: 110px 8%;
}

.facilities-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.facilities-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    background: #eeeeee;
}

.facilities-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;

    padding: 30px;
    color: #777777;
    text-align: center;
}

.facilities-placeholder i {
    font-size: 65px;
    color: var(--color-red);
}

.facilities-placeholder span {
    font-size: 1rem;
    font-weight: 500;
}

.facilities-content h2 {
    margin: 10px 0 25px;
    color: var(--color-black);
    font-size: clamp(2.3rem, 3.5vw, 4rem);
    line-height: 1.12;
}

.facilities-content p {
    margin: 0 0 22px;
    color: var(--color-gray);
    font-size: 1.08rem;
    line-height: 1.8;
}

.facilities-note {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--color-border);

    color: var(--color-black);
    font-weight: 600;
}

.facilities-note i {
    color: var(--color-red);
    font-size: 22px;
}

/* =========================================
   NOSOTROS - VEHÍCULOS DE TRABAJO
========================================= */

.fleet-section {
    background: #000;
    padding: 110px 8% 80px;
    border-bottom: 2px solid #414141;
}

.fleet-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ENCABEZADO */

.fleet-section .fleet-header {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.fleet-section .fleet-header .section-label {
    display: block;
    width: 100%;
    color: #e31b23;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.4;
    text-align: center;
    margin: 0 0 20px;
}

.fleet-section .fleet-header h2 {
    display: block;
    color: #fff;
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.15;
    text-align: center;
    margin: 20px 0 25px;
}

.fleet-section .fleet-header p {
    display: block;
    color: #bdbdbd;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

/* TARJETAS */

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.fleet-card {
    background: #151515;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.fleet-card:hover {
    transform: translateY(-6px);
}

.fleet-photo {
    height: 270px;
    background: #262626;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 20px;
    text-align: center;
}

.fleet-photo i {
    color: #e31b23;
    font-size: 55px;
}

.fleet-photo span {
    color: #aaa;
    font-size: 1rem;
}

.fleet-card-info {
    padding: 24px 15px;
    text-align: center;
}

.fleet-card-info h3 {
    color: #fff;
    font-size: 1.15rem;
    margin: 0;
}

/* =========================================
   SERVICIOS - HERO
========================================= */

.services-hero {
    position: relative;
    min-height: 680px;
    padding: 150px 8% 100px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.65) 55%,
            rgba(0, 0, 0, 0.3) 100%
        ),
        url("Images/servicios-hero.jpg") center/cover no-repeat;
}

.services-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
}

.services-hero .section-label {
    display: block;
    color: #e31b23;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 22px;
}

.services-hero h1 {
    color: #fff;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.12;
    margin: 0 0 25px;
}

.services-hero p {
    max-width: 670px;
    color: #e5e5e5;
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 0 0 35px;
}

.services-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 30px;

    background: #e31b23;
    color: #fff;
    border-radius: 5px;

    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.services-hero-btn:hover {
    background: #b9151c;
    transform: translateY(-3px);
}

/* =========================================
   SERVICIOS - TARJETAS
========================================= */

.services-section {
    background: #f5f5f5;
    padding: 100px 7%;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 55px;
}

.services-header .section-label {
    display: block;
    color: #e31b23;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.services-header h2 {
    color: #111;
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    font-weight: 700;
    margin: 0 0 18px;
}

.services-header p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.14);
}

.service-card-image {
    height: 260px;
    background: #222;
    overflow: hidden;
}

.service-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 32px;
}

.service-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: #e31b23;
    color: #fff;
    font-size: 22px;
}

.service-card-content h3 {
    color: #111;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 15px;
}

.service-card-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 25px;
}

.service-card-content a {
    display: inline-block;
    color: #e31b23;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-card-content a:hover {
    color: #a81118;
}

/* =========================================
   SERVICIOS - POR QUÉ ELEGIRNOS
========================================= */

.services-why {
    background: #111111;
    padding: 105px 7%;
}

.services-why-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-why-header {
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: center;
}

.services-why-header .section-label {
    display: block;
    color: #e31b23;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.services-why-header h2 {
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 22px;
}

.services-why-header p {
    color: #bdbdbd;
    font-size: 1.05rem;
    line-height: 1.8;
}

.services-why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.services-why-card {
    background: #1e1e1e;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 38px;
    transition: transform 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.services-why-card:hover {
    transform: translateY(-6px);
    border-color: #e31b23;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.services-why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    background: rgba(227, 27, 35, 0.12);
    color: #e31b23;
    border-radius: 12px;
    font-size: 27px;
    margin-bottom: 25px;
}

.services-why-card h3 {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 16px;
}

.services-why-card p {
    color: #bdbdbd;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

/* =========================================
   SERVICIOS - COTIZACIÓN FINAL
========================================= */

.services-final-cta {
    position: relative;
    padding: 110px 7%;
    background:
        linear-gradient(
            135deg,
            rgba(12, 12, 12, 0.97),
            rgba(40, 8, 10, 0.94)
        );
    text-align: center;
    overflow: hidden;
}

.services-final-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #e31b23;
}

.services-final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.services-final-cta .section-label {
    display: block;
    color: #e31b23;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 22px;
}

.services-final-cta h2 {
    color: #ffffff;
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 25px;
}

.services-final-cta p {
    max-width: 720px;
    margin: 0 auto 38px;
    color: #d1d1d1;
    font-size: 1.1rem;
    line-height: 1.8;
}

.services-final-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.services-final-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 32px;
    background: #e31b23;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease,
                transform 0.3s ease;
}

.services-final-cta-btn:hover {
    background: #b9151c;
    transform: translateY(-3px);
}

.services-final-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-final-cta-phone:hover {
    color: #e31b23;
}

.services-final-cta-phone i {
    color: #e31b23;
}

/* =========================================
   PROYECTOS - HERO
========================================= */

.projects-page-hero {
    position: relative;
    min-height: 680px;
    padding: 150px 8% 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.88),
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.4)
        ),
        url("Images/proyectos-hero.jpg")
        center / cover no-repeat;
}

.projects-page-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    text-align: center;
}

.projects-page-hero .section-label {
    display: block;
    color: #e31b23;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.projects-page-hero h1 {
    color: #ffffff;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.12;
    margin: 0 0 28px;
}

.projects-page-hero p {
    max-width: 750px;
    margin: 0 auto 38px;
    color: #e5e5e5;
    font-size: 1.15rem;
    line-height: 1.8;
}

.projects-page-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 16px 30px;
    background: #e31b23;
    color: #ffffff;

    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.projects-page-hero-btn:hover {
    background: #b9151c;
    transform: translateY(-3px);
}

.projects-page-hero-btn i {
    font-size: 14px;
}

/* =========================================
   PROYECTOS - GALERÍA Y FILTROS
========================================= */

.projects-gallery {
    background: #f5f5f5;
    padding: 100px 7%;
    scroll-margin-top: 120px;
}

.projects-gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.projects-gallery-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 45px;
}

.projects-gallery-header .section-label {
    display: block;
    color: #e31b23;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.projects-gallery-header h2 {
    color: #111111;
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    font-weight: 700;
    margin: 0 0 20px;
}

.projects-gallery-header p {
    color: #666666;
    font-size: 1.05rem;
    line-height: 1.8;
}

.projects-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.project-filter {
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #333333;
    border-radius: 6px;
    padding: 13px 24px;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-filter:hover {
    border-color: #e31b23;
    color: #e31b23;
}

.project-filter.active {
    background: #e31b23;
    border-color: #e31b23;
    color: #ffffff;
}

/* =====================================
   TARJETAS Y CARRUSELES DE PROYECTOS
===================================== */

.projects-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.project-card {
    min-width: 0;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.project-card[hidden] {
    display: none !important;
}

.project-carousel {
    position: relative;
    overflow: hidden;
    background: #222222;
}

.project-slides {
    position: relative;
    aspect-ratio: 16 / 10;
}


.project-prev,
.project-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.65);
    color: white;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s;
}

.project-prev:hover,
.project-next:hover {
    background: #e31b23;
}

.project-prev { left: 16px; }
.project-next { right: 16px; }

.project-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    padding: 6px 13px;
    background: rgba(0,0,0,0.75);
    color: white;
    border-radius: 20px;
    font-size: 13px;
}

.project-info {
    padding: 28px;
}

.project-category {
    color: #e31b23;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.project-info h3 {
    color: #111111;
    font-size: 1.5rem;
    margin: 12px 0;
}

.project-info p {
    color: #666666;
    line-height: 1.7;
}

.project-demo-label {
    display: inline-block;
    margin-top: 18px;
    color: #777777;
    font-size: 12px;
    font-style: italic;
}

/* =========================================
   CORRECCIÓN DEL CARRUSEL DE PROYECTOS
========================================= */

/* Tamaño de las tarjetas */
.projects-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.project-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

/* Contenedor de las fotografías */
.project-carousel {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #222;
}

.project-slides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}



/* Flechas */
.project-prev,
.project-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

/* Contador */
.project-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 5;
}

/* =====================================
   TRANSICIÓN SUAVE - CARRUSELES
===================================== */

/* =====================================
   TRANSICIÓN SUAVE - CARRUSELES
===================================== */

.project-slides {
    position: relative;
    overflow: hidden;
}

.project-slides .project-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    visibility: hidden;
    z-index: 0;

    transition:
        opacity 0.7s ease-in-out,
        visibility 0s linear 0.7s;
}

.project-slides .project-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;

    transition:
        opacity 0.7s ease-in-out,
        visibility 0s;
}

.project-carousel .project-prev,
.project-carousel .project-next,
.project-carousel .project-counter {
    z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
    .project-slides .project-slide {
        transition: none;
    }
}
/* =====================================
   EFECTO HOVER - TARJETAS DE PROYECTOS
===================================== */

.project-card {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .project-card:hover {
        transform: translateY(-8px);

        box-shadow:
            0 20px 45px rgba(0, 0, 0, 0.16);
    }
}

/* Accesibilidad: reducir movimiento */
@media (prefers-reduced-motion: reduce) {
    .project-card {
        transition: none;
    }
}

/* FOTOGRAFÍA GRUPAL - NOSOTROS */

.team-group-photo {
    width: 100%;
    max-width: 1200px;
    margin: 35px auto 60px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.team-group-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* FOTOGRAFÍA DE NUESTRAS INSTALACIONES */

.facilities-image {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.facilities-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* AJUSTE FINAL - FOTO DE INSTALACIONES */

.facilities-image {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    background: transparent;
}

.facilities-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* GALERÍA DE VEHÍCULOS - VALUE ROOFING */

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.fleet-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.fleet-card:hover {
    transform: translateY(-5px);
}

.fleet-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f2f3f5;
    padding: 14px;
    overflow: hidden;
}

.fleet-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fleet-card-info {
    padding: 20px;
    text-align: center;
}

.fleet-card-info h3 {
    margin: 0;
    font-size: 18px;
}

/* =========================================
   NOSOTROS - GALERÍA DE VEHÍCULOS
   ========================================= */

.fleet-card {
    overflow: hidden;
}

.fleet-card-info {
    display: none;
}

.fleet-photo {
    margin-bottom: 0;
}

.fleet-photo img {
    display: block;
    width: 100%;
}

/* =========================================
   VALUE ROOFING - FOTOS DEL EQUIPO
========================================= */

.team-photo {
    height: 320px;
    overflow: hidden;
    background: #f2f2f2;
}

.team-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

/* =========================================
   CENTRAR TARJETAS DE EMPLEADOS
========================================= */

.team-grid.team-employees {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-grid.team-employees .team-card {
    flex: 0 0 218px;
    width: 218px;
}

/*  ----------------------------------------------- FOOTER ----------------------------------------- */

.site-footer {
    background: var(--color-black);
    color: var(--color-white);

    padding: 80px 8% 0;
}

.footer-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;

    gap: 60px;

    padding-bottom: 70px;
}


/* MARCA */

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 25px;
}

.footer-logo img {
    width: 180px;
    height: auto;
    display: block;
}

.footer-brand > p {
    margin: 0 0 30px;

    color: #bdbdbd;

    font-size: 1rem;
    line-height: 1.7;
}


/* REDES */

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #555;
    border-radius: 50%;

    color: var(--color-white);

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition: 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-red);
    border-color: var(--color-red);
}


/* COLUMNAS */

.footer-column h3 {
    margin: 0 0 25px;

    color: var(--color-white);

    font-size: 1.1rem;
}

.footer-column ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column li a {
    color: #bdbdbd;

    text-decoration: none;

    transition: 0.3s ease;
}

.footer-column li a:hover {
    color: var(--color-red);
}


/* CONTACTO */

.footer-contact {
    display: flex;
    flex-direction: column;

    gap: 22px;
}

.footer-contact a,
.footer-contact div {
    color: var(--color-white);

    text-decoration: none;

    line-height: 1.5;
}

.footer-contact span {
    display: block;

    margin-bottom: 4px;

    color: #888;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;

    text-transform: uppercase;
}

.footer-contact a:hover {
    color: var(--color-red);
}


/* CTA */

.footer-cta p {
    margin: 0 0 25px;

    color: #bdbdbd;

    line-height: 1.7;
}

.footer-quote-btn {
    display: inline-block;

    padding: 14px 20px;

    background: var(--color-red);
    color: var(--color-white);

    border-radius: 5px;

    text-decoration: none;
    font-weight: 600;

    transition: 0.3s ease;
}

.footer-quote-btn:hover {
    background: var(--color-white);
    color: var(--color-black);

    transform: translateY(-2px);
}


/* PARTE INFERIOR */

.footer-bottom {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 25px 0;

    border-top: 1px solid #292929;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.footer-bottom p {
    margin: 0;

    color: #777;

    font-size: 14px;
}

.footer-bottom a {
    color: #777;

    font-size: 14px;

    text-decoration: none;

    transition: 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--color-white);
}

/* BANDERAS DEL SELECTOR DE IDIOMA */

.language-btn,
.mobile-language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.language-flag {
    display: block;
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

/* INSTALACIONES - DISTRIBUCIÓN EN COMPUTADORA */
@media (min-width: 1024px) {

    .facilities-container {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 45px;
        align-items: center;
    }

    .facilities-image {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
    }

    .facilities-image img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
    }

    .facilities-content {
        min-width: 0;
    }
}

@media (min-width: 601px) and (max-width: 1023px) {
    .fleet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 1100px) {

header {
    height: 115px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 85px;
}

    /* Menú móvil */
nav {
    display: none;
    position: absolute;
    top: 115px;
    left: 0;
    width: 100%;
    height: calc(100vh - 115px);
    background-color: #000;
    overflow-y: auto;
    padding: 30px 25px 40px;
}

nav.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar {
    flex-direction: column;
    gap: 8px;

    width: 100%;
}

.navbar li {
    width: 100%;
    text-align: center;
}

.navbar a {
    display: block;
    width: 100%;
    padding: 13px 20px;
    font-size: 18px;
}

.navbar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    }

.header-actions {
    display: none;
    }

.menu-toggle {
    display: block;
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: 320px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero {
    min-height: 100vh;
    padding: 115px 25px 40px;
    background-position: center;
}

.hero-content {
    max-width: 100%;
}

.hero-label {
    font-size: 13px;
    letter-spacing: 2.5px;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: clamp(2.3rem, 9vw, 3rem);
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.hero-btn {
    padding: 14px 20px;
    font-size: 16px;
}


    /* =========================
   SOBRE NOSOTROS - MÓVIL
   ========================= */

.about {
    padding: 70px 30px;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-image {
    width: 100%;
    height: 400px;
}

.about-content {
    width: 100%;
    max-width: 100%;
}

.about-content h2 {
    font-size: clamp(2.1rem, 7.5vw, 2.8rem);
    line-height: 1.1;
}

.about-content > p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* MISIÓN Y VISIÓN - MÓVIL */

.identity {
    padding: 70px 30px;
}

.identity-header {
    margin-bottom: 40px;
}

.identity-header h2 {
    font-size: clamp(2.2rem, 8vw, 3rem);
}

.identity-header p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.identity-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.identity-card {
    width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 40px 30px;
}

.identity-number {
    margin-bottom: 30px;
}

.identity-card h3 {
    font-size: 2rem;
}

.identity-card p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* VALORES - RESPONSIVE */

.values {
    padding: 70px 30px;
}

.values-header {
    margin-bottom: 40px;
}

.values-header h2 {
    font-size: clamp(2.2rem, 8vw, 3rem);
}

.values-header p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.values-container {
    grid-template-columns: 1fr 1fr;
}

.value-item {
    padding: 35px 25px;

    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.value-item:nth-child(2n) {
    border-right: none;
}

.value-item:nth-last-child(-n + 2) {
    border-bottom: none;
}

.projects {
    padding: 70px 30px;
}

.projects-header {
    flex-direction: column;
    align-items: flex-start;

    gap: 20px;
    margin-bottom: 40px;
}

.projects-header h2 {
    font-size: clamp(2.2rem, 8vw, 3rem);
}

.projects-header > p {
    max-width: 100%;
}

.projects-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
}

.project-large {
    grid-row: auto;
}

.project-card {
    height: 320px;
}

.project-overlay {
    padding: 60px 25px 25px;
}

.quote-cta {
    min-height: 700px;
    padding: 70px 30px;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.52),
            rgba(0, 0, 0, 0.62)
        ),
        url("Images/cotizacion.jpg");

    background-size: cover;
    background-position: 12% center;
    background-repeat: no-repeat;

    align-items: center;
}

.quote-cta-content {
    max-width: 100%;
     margin-left: 0;
}

.quote-label {
    font-size: 12px;
    letter-spacing: 2.5px;
}

.quote-cta-content h2 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    line-height: 1.05;
}

.quote-cta-content p {
    max-width: 100%;

    font-size: 1.05rem;
    line-height: 1.7;
}

.quote-cta-btn {
    padding: 14px 22px;
}

/* =========================================
   NOSOTROS - HERO RESPONSIVE
========================================= */

.about-page-hero {
        min-height: 600px;
        padding: 175px 40px 80px;
        background-position: 60% center;
    }

.about-page-hero h1 {
        max-width: 750px;
        font-size: clamp(2.8rem, 6vw, 4rem);
    }

.about-page-hero p {
        max-width: 600px;
        font-size: 1.1rem;
    }




/* =========================================
   RESPONSIVE - CONTACTO / COTIZACIÓN
========================================= */

.contact-section {
        padding: 80px 40px;
    }

.contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

.contact-intro {
        max-width: 700px;
    }

    /* =========================================
   RESPONSIVE - PÁGINA / GRACIAS
========================================= */

.thank-you-section {
        padding: 175px 40px 90px;
        min-height: 600px;
    }

    .thank-you-content h1 {
        font-size: clamp(2.8rem, 6vw, 4rem);
    }

    /* =========================================
   NOSOTROS - HISTORIA RESPONSIVE
========================================= */


    .about-history {
        padding: 90px 40px;
    }

.about-history-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

.about-history-image {
        height: 500px;
    }

.about-history-content h2 {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }

 .team-section {
        padding: 85px 40px;
    }

.team-employees {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.team-header {
        margin-bottom: 60px;
    }

    .facilities-section {
        padding: 80px 40px;
    }

    .facilities-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .facilities-image {
        height: 420px;
    }


   .fleet-section {
        padding: 80px 6%;
    }

    .fleet-grid {
        gap: 20px;
    }

    .fleet-photo {
        height: 230px;
    }

    services-hero {
        min-height: 620px;
        padding: 140px 6% 80px;
    }

    .services-section {
        padding: 80px 5%;
    }

    .services-grid {
        gap: 24px;
    }

 .services-why {
        padding: 85px 5%;
    }

    .services-why-grid {
        gap: 22px;
    }

    .services-why-card {
        padding: 30px;
    }

    .services-final-cta {
        padding: 90px 5%;
    }

    .projects-page-hero {
        min-height: 620px;
        padding: 140px 6% 85px;
    }

    .projects-gallery {
        padding: 80px 5%;
    }

 /* =========================================
   FOOTER - RESPONSIVE ---------------------------------------------------------------
========================================= */

.site-footer {
    padding: 70px 30px 0;
}

.footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 50px 35px;

    padding-bottom: 50px;
}

.footer-brand {
    max-width: 100%;
}
}

@media (max-width: 900px) {
    .team-grid.team-employees .team-card {
        flex: 0 1 220px;
    }
}



@media (max-width: 600px) {

     header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 100vw;
        padding: 0 16px;
    }

    .logo {
        flex: 0 1 auto;
        min-width: 0;
    }

    .logo img {
        display: block;
        width: auto;
        max-width: 100%;
        height: 65px;
        object-fit: contain;
    }

    .menu-toggle {
        display: block;
        position: relative;
        flex: 0 0 auto;
        margin: 0 0 0 auto;
        padding: 8px;
        z-index: 1100;
    }

    .header-actions {
        display: none;
    }




.values-container {
        grid-template-columns: 1fr;
    }

.value-item {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

.value-item:nth-last-child(-n + 2) {
        border-bottom: 1px solid var(--color-border);
    }

.value-item:last-child {
        border-bottom: none;
    }

     /* FOOTER MÓVIL */

      .about-page-hero {
        min-height: 620px;
        padding: 165px 30px 65px;

        background-position: 65% center;
    }

    .about-page-hero h1 {
        font-size: clamp(2.5rem, 11vw, 3.3rem);
        line-height: 1.08;
        margin-bottom: 20px;
    }

    .about-page-hero p {
        font-size: 1.05rem;
        line-height: 1.7;
    }


/* =========================================
   RESPONSIVE - CONTACTO / COTIZACIÓN
========================================= */


.contact-hero {
        padding: 165px 30px 65px;
    }

.contact-hero h1 {
        font-size: clamp(2.5rem, 11vw, 3.3rem);
        line-height: 1.05;
        margin-bottom: 20px;
    }

.contact-hero p {
        font-size: 1.05rem;
        line-height: 1.7;
    }

.contact-section {
        padding: 65px 30px;
    }

.contact-container {
        gap: 50px;
    }

.contact-info h2 {
        font-size: 2.3rem;
    }

.contact-details {
        gap: 25px;
    }

.contact-detail {
        align-items: flex-start;
    }

.contact-icon {
        width: 46px;
        height: 46px;
        font-size: 16px;
    }

.quote-form-box {
        padding: 35px 25px;
    }

.form-row {
        grid-template-columns: 1fr;
    }

.quote-submit {
        width: 100%;
        justify-content: center;
    }

.thank-you-section {
        min-height: 560px;
        padding: 160px 30px 75px;
    }

    .thank-you-icon {
        width: 68px;
        height: 68px;
        margin-bottom: 24px;
        font-size: 27px;
    }

.thank-you-content h1 {
        font-size: clamp(2.5rem, 11vw, 3.3rem);
        margin-bottom: 20px;
    }

.thank-you-content > p {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 32px;
    }

.thank-you-actions {
        flex-direction: column;
        gap: 20px;
    }

.thank-you-btn {
        width: 100%;
        justify-content: center;
    }


.about-history {
        padding: 65px 30px;
    }

.about-history-container {
        gap: 35px;
    }

.about-history-image {
        height: 350px;
    }

.about-history-content h2 {
        font-size: clamp(2.2rem, 9vw, 3rem);
        margin-bottom: 25px;
    }

.about-history-content p {
        font-size: 1rem;
        line-height: 1.8;
    }

.about-history-note {
        margin-top: 25px;
        padding-top: 20px;
    }

.team-leaders,
.team-employees {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

.team-leaders {
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }

.team-employees {
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }

.team-photo {
        height: 250px;
    }

.team-employees .team-photo {
        height: 210px;
    }


.facilities-section {
        padding: 70px 30px;
    }

.facilities-image {
        height: 300px;
    }

.facilities-content h2 {
        font-size: clamp(2.1rem, 8vw, 3rem);
    }

.facilities-content p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
.fleet-section {
        padding: 75px 30px 60px;
    }

    .fleet-section .fleet-header {
        margin-bottom: 40px;
    }

    .fleet-section .fleet-header .section-label {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .fleet-section .fleet-header h2 {
        font-size: clamp(2.1rem, 8vw, 3rem);
    }

    .fleet-section .fleet-header p {
        font-size: 1.05rem;
    }

    .fleet-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .fleet-photo {
        height: 230px;
    }

    .services-hero {
        min-height: 650px;
        padding: 130px 30px 75px;
        background-position: 60% center;
    }

    .services-hero .section-label {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .services-hero h1 {
        font-size: clamp(2.3rem, 9vw, 3.5rem);
    }

    .services-hero p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .services-hero-btn {
        padding: 15px 24px;
        font-size: 0.95rem;
    }

    .services-section {
        padding: 65px 22px;
    }

    .services-header {
        margin-bottom: 35px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card-image {
        height: 220px;
    }

    .service-card-content {
        padding: 25px;
    }

    .service-card-content h3 {
        font-size: 1.3rem;
    }


    .services-why {
        padding: 70px 22px;
    }

    .services-why-header {
        margin-bottom: 40px;
    }

    .services-why-header h2 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .services-why-header p {
        font-size: 1rem;
    }

    .services-why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-why-card {
        padding: 28px 25px;
    }

    .services-why-card h3 {
        font-size: 1.3rem;
    }

    .services-why-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .services-final-cta {
        padding: 75px 22px;
    }

    .services-final-cta .section-label {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .services-final-cta h2 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .services-final-cta p {
        font-size: 1rem;
    }

    .services-final-cta-actions {
        flex-direction: column;
        gap: 24px;
    }

    .services-final-cta-btn {
        width: 100%;
        max-width: 320px;
    }

    .services-final-cta-phone {
        font-size: 1rem;
    }

    .projects-page-hero {
        min-height: 650px;
        padding: 130px 25px 80px;
    }

    .projects-page-hero .section-label {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .projects-page-hero h1 {
        font-size: clamp(2.3rem, 9vw, 3.5rem);
    }

    .projects-page-hero p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .projects-page-hero-btn {
        padding: 15px 25px;
        font-size: 0.95rem;
    }

    .projects-gallery {
        padding: 70px 22px;
        scroll-margin-top: 145px;
    }

    .projects-gallery-header {
        margin-bottom: 35px;
    }

    .projects-filters {
        gap: 10px;
        margin-bottom: 35px;
    }

    .project-filter {
        padding: 11px 16px;
        font-size: 0.85rem;
    }

     .projects-gallery-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-info {
        padding: 22px;
    }

    .project-prev,
    .project-next {
        width: 38px;
        height: 38px;
    }

    .team-group-photo {
        margin: 25px auto 40px;
        border-radius: 10px;
    }

    .facilities-container {
        gap: 24px;
        align-items: start;
    }

    .facilities-image {
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 0;
    }

    .facilities-content {
        margin-top: 0;
        padding-top: 0;
    }

    .fleet-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .fleet-photo {
        aspect-ratio: 4 / 3;
        padding: 12px;
    }

    .projects-gallery {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

     .history-image {
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        overflow: hidden;
    }

    .history-image img {
        display: block;
        width: 100%;
        height: auto;
        max-height: none;
        aspect-ratio: auto;
        object-fit: contain;
        object-position: center;
    }

     .team-grid.team-employees {
        gap: 22px;
        padding: 0 16px;
    }

    .team-grid.team-employees .team-card {
        flex: 0 1 280px;
        width: 100%;
        max-width: 280px;
    }

    /* =========================================
    ------------------------------------------FOOTER - TABLET---------------------------------
========================================= */

.site-footer {
        padding: 60px 30px 0;
    }

.footer-container {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-bottom: 45px;
    }

.footer-brand {
        max-width: 100%;
        text-align: center;
    }

.footer-logo {
        display: flex;
        justify-content: center;
    }

.footer-logo img {
        width: 180px;
    }

.footer-brand > p {
        max-width: 330px;
        margin: 0 auto 30px;
        text-align: center;
    }

.footer-social {
        justify-content: center;
    }

.footer-column {
        text-align: center;
    }

.footer-column ul {
        text-align: center;
    }

.footer-column li {
        text-align: center;
    }

.footer-contact {
        align-items: center;
        text-align: center;
    }

.footer-cta {
        text-align: center;
    }

.footer-cta p {
        max-width: 330px;
        margin: 0 auto 25px;
    }

.footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.footer-bottom p,
.footer-bottom a {
    width: 100%;
    text-align: center;
}

}

/* Tabletas */
@media (min-width: 601px) and (max-width: 1024px) {

    .projects-gallery {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

}









