/* Variables de color */
:root {
    --primary-color: #008700;
    --primary-dark: #005400;
    --primary-light: #6F7170;
    --secondary-color: #D8D8D8;
    --dark-color: #1a1a2e;
    --dark-gray: #2c3e50;
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    text-align: justify;
    padding-top: 0;
}

body.has-fixed-header {
    padding-top: 90px;
    /* ajusta según la altura de tu header */
}

h1,
h2,
h3,
h4 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-contact {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.top-bar-contact a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-bar-contact a:hover {
    color: var(--secondary-color);
}

.top-bar-social {
    display: flex;
    gap: 15px;
}

.top-bar-social a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
}

.top-bar-social a:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    width: 100%;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

header.scrolled {
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.98);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo span {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    height: 89vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/PORTADA_INICIO.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-text h1 span {
    color: var(--secondary-color);
}

.hero-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.hero-feature {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}



/* Hero Interior */
.hero-interior.nosotros {
    height: 89vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/PORTADA_NOSOTROS.jpeg');
    background-size: cover;
    background-position: center 70%;
    /* Mueve la imagen hacia arriba (0% es arriba, 100% abajo) */
    position: relative;
}

.hero-interior.servicios {
    height: 89vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/PORTADA_SERVICIOS.jpeg');
    position: relative;
    background-position: center 30%;
    /* Mueve la imagen hacia arriba (0% es arriba, 100% abajo) */
    background-size: cover;
}

.hero-interior.proyectos {
    height: 89vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/PORTADA_PROYECTOS.jpeg');
    position: relative;
    background-size: cover;
}

.hero-interior.contacto {
    height: 89vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/PORTADA_CONTACTO.jpeg');
    position: relative;
    background-position: center 80%;
    /* Mueve la imagen hacia arriba (0% es arriba, 100% abajo) */
    background-size: cover;
}

.hero-interior-content h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 15px;
}

.hero-interior-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.header-line {
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 20px auto 0;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    /*color: var(--primary-color);*/
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

/* Sección Especialización */
.specialization {
    padding: 80px 0;
}

.specialization-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.specialization-text h2 {
    font-size: 2rem;
    /*color: var(--primary-color);*/
    margin-bottom: 20px;
}

.specialization-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--dark-color);
}

.specialization-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.brochure-button {
    margin-top: 30px;
}

.btn-brochure {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-brochure i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-brochure:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-brochure:hover i {
    transform: translateX(5px);
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature span {
    color: var(--dark-color);
    font-weight: 500;
}

.specialization-image img {
    width: 80%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Services Highlight */
.services-highlight {
    padding: 80px 0;
    background: var(--light-gray);
}

.services-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-highlight-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-highlight-card:hover {
    transform: translateY(-5px);
}

.service-highlight-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-highlight-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Clients */
.clients {
    padding: 80px 0;
    background: var(--light-gray);
}

.clients-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.client-logo {
    flex: 1;
    min-width: 0;
    /* ← permite que el logo se encoja si es necesario */
    text-align: center;
}

.client-logo img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    /*filter: grayscale(100%);*/
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Carrusel de Clientes */

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    /* ← ESTO ES CLAVE */
}

.carousel-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: none;
    opacity: 1;
}

.carousel-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 25px;
    border-radius: 5px;
}

/* Certifications */
.certifications {
    padding: 60px 0;
}

.cert-grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.cert-item {
    text-align: center;
}

.cert-item img {
    height: 150px;
    width: auto;
    margin-bottom: 10px;
}

.cert-item span {
    display: block;
    font-weight: 600;
    /*color: var(--primary-color);*/
    margin-bottom: 20px;
}

.cert-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    margin-top: 10px;
}

.cert-logos img {
    width: auto;
    object-fit: contain;
}

/* History Section */
.history {
    padding: 80px 0;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.history-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.history-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.history-image img {
    width: 80%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Mission & Vision */
.mission-vision {
    background: var(--light-gray);
    padding: 80px 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission,
.vision {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mission:hover,
.vision:hover {
    transform: translateY(-5px);
}

.mission i,
.vision i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission h3,
.vision h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Values Detailed */
.values-detailed {
    padding: 80px 0;
}

.values-grid-detailed {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.value-detailed {
    display: flex;
    gap: 25px;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-detailed:hover {
    transform: translateX(10px);
    border-left: 4px solid var(--primary-color);
}

.value-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.value-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.value-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* Values */
.values {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.value-card:hover {
    border-bottom-color: var(--primary-color);
    transform: translateY(-5px);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Services List */
.services-list {
    padding: 80px 0;
}

.service-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 25px;
    background: var(--white);
    padding: 0;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    align-items: stretch;
    overflow: hidden;
    cursor: pointer;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-img-wrapper {
    width: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.service-text {
    padding: 30px 30px 30px 0;
}

.service-item:hover {
    transform: translateX(10px);
}

.service-item i {
    font-size: 3rem;
    color: var(--primary-color);
}

.service-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-text ul {
    list-style: none;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.service-text ul li {
    background: var(--light-gray);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Projects */
.projects-list {
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-img {
    width: 80%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.project-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.project-card h3 {
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-item a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    border-radius: 10px;
}

/* Formulario de contacto */
.form-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    width: 100%;
    cursor: pointer;
}

/* Footer */
footer {
    background: #000;
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo span {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo span span {
    color: var(--primary-color);
}

.footer-links h4,
.footer-contact h4,
.footer-address h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p,
.footer-address p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.footer-contact i,
.footer-address i {
    color: var(--primary-color);
}

.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links a i {
    font-size: 1.2rem;
    width: 25px;
    color: var(--primary-color);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.9rem;
}


/* Modal Lightbox */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    background: transparent;
    cursor: default;
}

.modal-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-title {
    display: block;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10000;
}

.modal-close:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Botón flotante de WhatsApp */
.btn-whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    z-index: 1000;
}

.btn-whatsapp-floating:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.claims-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.claims-section {
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.3s ease, margin 0.3s ease;
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    visibility: hidden;
}

.claims-section.show {
    max-height: 2000px;
    opacity: 1;
    margin: 40px 0;
    padding: 40px 0;
    visibility: visible;
}

.claims-section .container {
    padding: 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar-content {
        justify-content: center;
    }

    .top-bar-contact {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    .top-bar-contact a {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.15);
        font-size: 0;
        gap: 0;
    }

    .top-bar-contact a span {
        display: none;
    }

    .top-bar-contact a i {
        font-size: 1rem;
        margin: 0;
    }

    .top-bar-social {
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        gap: 30px;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        height: 75vh;
        padding: 120px 0 80px;
        /*margin-top: 70px;*/
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.6) 100%);*/
        z-index: 1;
    }

    .hero .container {
        position: relative;
        z-index: 2;
        width: 100%;
    }

    .hero-features {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hero-feature {
        font-size: 0.9rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-interior {
        /*margin-top: 70px;*/
        height: 75vh !important;
        padding: 60px 0;
    }

    .hero-interior-content h1 {
        font-size: 2rem;
    }

    .value-detailed {
        flex-direction: column;
        text-align: center;
    }

    .value-icon i {
        font-size: 2rem;
    }

    .value-content h3 {
        font-size: 1.2rem;
    }

    .carousel-wrapper {
        gap: 10px;
    }

    .carousel-slide {
        gap: 15px;
    }

    .client-logo {
        width: 80px;
    }

    .client-logo img {
        max-height: 60px;
    }

    .cert-logos {
        gap: 20px;
        flex-wrap: wrap;
    }

    .cert-logos img {
        height: 60px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .carousel-dots {
        margin-top: 20px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 20px;
    }

    .specialization {
        padding: 50px 0;
    }

    .specialization-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .specialization-text h2 {
        font-size: 1.5rem;
    }

    .specialization-image {
        order: -1;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .history-grid,
    .mv-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-map iframe {
        height: 250px;
    }

    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .service-text {
        padding: 20px;
    }

    .service-text ul {
        justify-content: center;
    }

    .service-img-wrapper {
        width: 100%;
        height: 200px;
    }

    .service-text ul {
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .modal-title {
        font-size: 1rem;
        padding: 8px 16px;
    }

    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 1.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-container {
        padding: 25px;
    }

    .btn-whatsapp-floating {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }

    footer {
        margin-top: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
    }

    /*Libro de reclamaciones*/

    .claims-form-container {
        padding: 25px;
    }

    .specialization-image img {
        width: 100%;
    }

    .history-image img {
        width: 100%;
    }

    .cert-item img {
        height: 60px;
    }
}