:root {
    --gesitec-blue: #1f4b75;
    --text-on-blue: #ffffff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Tipografía */
h1 {
    font-weight: 500;
}

h2 {
    font-weight: 700;
}

h3, h4 {
    font-weight: 200;
}

p {
    font-weight: 300;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100vw;
    height: 90vh;
    overflow: hidden;
}

/* Línea divisoria después del hero */
.hero-divider {
    width: 100vw;
    height: 10px;
    background-color: var(--gesitec-blue);
}

/* Video Slider */
.video-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.video-slide.active {
    opacity: 1;
}

.video-slide .slide-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.video-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.video-slide video.ready {
    opacity: 1;
}

.video-slide video.ready ~ .slide-placeholder {
    opacity: 0;
}

/* Ajuste específico para el tercer video (hero5) */
.video-slide:nth-child(3) {
    overflow: hidden;
}

.video-slide:nth-child(3) .slide-placeholder,
.video-slide:nth-child(3) video {
    object-fit: cover;
    object-position: center center;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
}

.video-slide:nth-child(3) video {
    transform: scale(1.01); /* Pequeño zoom para eliminar posibles espacios negros */
}

/* Títulos y Subtítulos en Slides */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    width: 90%;
    max-width: 1200px;
    padding: 0 80px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.video-slide.active .slide-content {
    opacity: 1;
}

.slide-title {
    color: var(--text-on-blue);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.slide-subtitle {
    color: var(--text-on-blue);
    font-size: clamp(0.9rem, 2.2vw, 1.6rem);
    font-weight: 100;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    opacity: 0.95;
    margin-bottom: 30px;
}

/* Botón CTA en Slides */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: #b5774a;
    color: var(--text-on-blue);
    text-decoration: none;
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    font-weight: 400;
    border-radius: 0;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: var(--gesitec-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cta-button span {
    display: inline-block;
}

.cta-arrow {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(-3px);
}

/* Overlay suavizado negro */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 3;
}

/* Decoración triangular dorada */
.hero-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 200px solid transparent;
    border-bottom: 200px solid #b5774a;
    z-index: 4;
    pointer-events: none;
}

/* Navegación del Slider - Flechas */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-on-blue);
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.3s ease;
    opacity: 0.7;
    padding: 10px;
}

.slider-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.15);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-nav svg {
    width: 40px;
    height: 40px;
    fill: var(--text-on-blue);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Bullets/Indicadores del Slider */
.slider-bullets {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 15;
}

.slider-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-bullet.active {
    background: var(--text-on-blue);
    border-color: var(--text-on-blue);
    transform: scale(1.2);
}

.slider-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Menú Superior */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 10;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    position: fixed;
    background: linear-gradient(to bottom, var(--gesitec-blue), rgba(31, 75, 117, 0.95));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 102;
}

.navbar.menu-open {
    z-index: 1002;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-logo {
    height: 50px;
}

.navbar-logo img {
    height: 100%;
    width: auto;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.navbar-menu li a {
    color: var(--text-on-blue);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    text-transform: uppercase;
}

.navbar-menu li a:hover {
    opacity: 0.8;
}

/* Burger Menu Button */
.burger-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1000;
    position: relative;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.burger-menu-btn.active {
    z-index: 1001;
}

.burger-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-on-blue);
    transition: all 0.3s ease;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.burger-menu-btn span:nth-child(1) {
    top: 6px;
}

.burger-menu-btn span:nth-child(2) {
    top: 13.5px;
}

.burger-menu-btn span:nth-child(3) {
    bottom: 6px;
}

.burger-menu-btn.active span:nth-child(1) {
    transform: translateX(-50%) rotate(45deg);
    top: 13.5px;
}

.burger-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%);
    width: 0;
}

.burger-menu-btn.active span:nth-child(3) {
    transform: translateX(-50%) rotate(-45deg);
    bottom: 13.5px;
    top: auto;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -95%;
    width: 95%;
    height: 100vh;
    background-color: var(--gesitec-blue);
    z-index: 99;
    transition: right 0.3s ease;
    padding: 80px 40px 40px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    color: var(--text-on-blue);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    text-transform: uppercase;
}

/* Sección Descriptiva */
.description-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100vw;
    min-height: 500px;
}

.description-image {
    background-image: url('../images/presentacion1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.description-content {
    background-color: #1d4168;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231d4b75' fill-opacity='0.58' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    padding: clamp(60px, 10vh, 120px) clamp(40px, 6vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    color: var(--text-on-blue);
}

.description-content h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    color: var(--text-on-blue);
    font-weight: 500;
}

.description-content p {
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    opacity: 0.95;
    line-height: 1.6;
    color: var(--text-on-blue);
}

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

    .description-image {
        min-height: 250px;
    }

    .description-content {
        padding: clamp(40px, 8vh, 80px) clamp(20px, 5vw, 40px);
        text-align: center;
        align-items: center;
    }
}

.description-section h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-on-blue);
    font-weight: 700;
}

.description-section p {
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    opacity: 0.95;
    line-height: 1.6;
    text-align: center;
    color: var(--text-on-blue);
}

/* Sección de Unidades Estratégicas */
.units-section {
    padding: 0;
    background-color: #f5f5f5;
    width: 100vw;
}

.units-intro {
    padding: clamp(40px, 6vh, 60px) clamp(20px, 5vw, 60px);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.units-intro h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gesitec-blue);
}

.units-intro p {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 300;
    color: #333;
    line-height: 1.6;
}

.units-container {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.unit {
    cursor: pointer;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    background-image: none;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 360px;
    position: relative;
    box-shadow: none;
    border-bottom: 10px solid;
}

.unit-corner-icon {
    position: absolute;
    /* Mitad superior del box (antes de hover) */
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    object-fit: contain;
    opacity: 0.5;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.unit:hover .unit-corner-icon {
    opacity: 0;
}

.unit-1 {
    border-bottom-color: #314F6D;
}

.unit-2 {
    border-bottom-color: #6A6968;
}

.unit-3 {
    border-bottom-color: #A80063;
}

.unit-1:hover { background-image: url('../images/fondo.jpg'); }
.unit-2:hover { background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=600'); }
.unit-3:hover { background-image: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=600'); }
.unit-4:hover { background-image: url('https://images.unsplash.com/photo-1515879218367-8466d910aaa4?q=80&w=600'); }

.overlay-unit {
    background: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 40px 20px 60px 20px;
    transition: all 0.4s ease;
    position: relative;
}

.unit-logo {
    max-width: 60%;
    max-height: 50%;
    width: auto;
    height: auto;
    min-width: 120px;
    min-height: 80px;
    object-fit: contain;
    /* Mitad inferior del box (antes de hover) */
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-bottom: 0;
    transition: all 0.4s ease;
    opacity: 1;
    display: block;
    z-index: 2;
}

.unit p {
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform: translateY(8px);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    margin-top: 0;
    color: #ffffff;
    padding-left: 40px;
    padding-right: 40px;

    /* Mantener altura fija del contenedor (no crece en hover) */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
}

.unit:hover {
    background-color: #1a3d5a;
}

.unit-1:hover {
    background-color: #1f3d52;
}

.unit-2:hover {
    background-color: #4a4948;
}

.unit-3:hover {
    background-color: #8a004d;
}

.unit-4 {
    border-bottom-color: #B5774B;
}

.unit-4:hover {
    background-color: #7d5335;
}

.unit:hover .overlay-unit {
    background: rgba(26, 61, 90, 0.95);
    backdrop-filter: blur(2px);
}

.unit-1:hover .overlay-unit {
    background: rgba(31, 61, 82, 0.95);
    backdrop-filter: blur(2px);
}

.unit-2:hover .overlay-unit {
    background: rgba(74, 73, 72, 0.95);
    backdrop-filter: blur(2px);
}

.unit-3:hover .overlay-unit {
    background: rgba(138, 0, 77, 0.95);
    backdrop-filter: blur(2px);
}

.unit-4:hover .overlay-unit {
    background: rgba(181, 119, 75, 0.95);
    backdrop-filter: blur(2px);
}

.unit-title {
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    /* Mitad inferior del box (antes de hover) */
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: all 0.4s ease;
}

.unit:hover p {
    opacity: 1;
    transform: translateY(0);
    margin-top: 15px;
}

.unit:hover .unit-logo { 
    opacity: 1;
    filter: brightness(0) invert(1);
    max-width: 60%;
    max-height: 50%;
    width: auto;
    height: auto;
    min-width: 120px;
    min-height: 80px;
    margin-bottom: 15px;
    display: block;
    /* Subir el logo a la mitad superior en hover para dejar espacio al texto */
    top: 36%;
}

.unit:hover .unit-title {
    /* Subir el título a la mitad superior en hover para dejar espacio al texto */
    top: 36%;
}

/* Sección Brochure Corporativo */
.brochure-section {
    position: relative;
    width: 100vw;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/fondo-brochure.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.brochure-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(31, 75, 117, 0.85), rgba(0, 0, 0, 0.75));
    z-index: 1;
}

.brochure-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: clamp(60px, 10vh, 90px) clamp(30px, 6vw, 60px);
    text-align: center;
}

.brochure-text {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    line-height: 1.8;
    color: var(--text-on-blue);
    font-weight: 300;
    margin-bottom: 35px;
    opacity: 0.98;
}

.brochure-btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: #b5774a;
    color: var(--text-on-blue);
    text-decoration: none;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.brochure-btn:hover {
    background-color: var(--gesitec-blue);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .brochure-section {
        background-attachment: scroll;
    }

    .brochure-content {
        padding: 50px 25px;
    }

    .brochure-text {
        margin-bottom: 30px;
    }
}

/* Sección de Clientes */
.clients-section {
    background-color: #ffffff;
    padding: clamp(40px, 6vh, 60px) 0 60px;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.clients-intro {
    padding: 0 clamp(20px, 5vw, 60px) clamp(40px, 6vh, 60px);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.clients-intro h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gesitec-blue);
}

.clients-intro p {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 300;
    color: #333;
    line-height: 1.6;
}

.clients-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    overflow: hidden;
    position: relative;
}

.clients-track {
    display: flex;
    gap: 60px;
    align-items: center;
    animation: scrollClients 40s linear infinite;
    will-change: transform;
    width: fit-content;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px; /* Ancho fijo para desktop */
    height: 120px;
    cursor: default; /* Cursor normal, no pointer */
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Animación del rotador */
@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%)); /* Mueve exactamente la mitad (duplicados) */
    }
}

/* Responsive - 2 logos visibles en mobile */
@media (max-width: 768px) {
    .clients-section {
        padding: 40px 0 40px;
    }

    .clients-intro {
        padding: 0 20px 30px;
    }

    .clients-container {
        padding: 0 20px;
    }

    .clients-track {
        gap: 40px;
        animation-duration: 25s; /* Más rápido en mobile */
    }

    .client-logo {
        width: calc((100vw - 40px - 40px) / 2); /* 2 logos visibles en mobile */
        height: 80px;
    }
}

/* Footer */
.footer {
    background-color: #b5774a;
    color: var(--text-on-blue);
    padding: 80px clamp(20px, 5vw, 40px);
    position: relative;
    width: 100vw;
    background-image: url('../images/contacto.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Formulario de Contacto Liquid Glass */
.contact-form-container {
    position: relative;
    padding: 40px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.contact-form {
    position: relative;
    z-index: 1;
}

.contact-form h2 {
    color: var(--text-on-blue);
    margin-bottom: 30px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--text-on-blue);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.85rem, 1.1vw, 0.9rem);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #b5774a;
    border: 1px solid #b5774a;
    color: var(--text-on-blue);
    padding: 14px 30px;
    border-radius: 0;
    font-size: clamp(0.95rem, 1.2vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #a0693f;
    border-color: #a0693f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-btn:disabled:hover {
    background: #b5774a;
    border-color: #b5774a;
    transform: none;
    box-shadow: none;
}

/* Mensaje del formulario */
.form-message {
    display: none;
    margin-top: 15px;
    padding: 10px 14px;
    border-radius: 0;
    font-size: clamp(0.72rem, 0.9vw, 0.78rem);
    font-weight: 400;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

.form-message.success {
    background-color: rgba(220, 230, 220, 0.92);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #2e7d32;
}

.form-message.error {
    background-color: rgba(235, 230, 230, 0.92);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #d32f2f;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive */
@media (max-width: 968px) {
    .units-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        justify-content: center;
    }

    .contact-form-container {
        max-width: 100%;
    }
}

/* Footer Copyright */
.copyright-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 40px clamp(20px, 5vw, 40px);
    width: 100vw;
}

.copyright-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.copyright-logo {
    height: auto;
    width: auto;
}

.copyright-logo img {
    height: auto;
    width: 75%;
    max-width: 200px;
    filter: brightness(0) invert(1);
    display: block;
    margin: 0 auto;
}

.copyright-text p {
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    font-weight: 300;
    color: #ffffff;
    margin: 0;
}

.book-claim-link-container {
    margin-top: 6px;
}

.book-claim-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.book-claim-link img {
    width: 150px;
    height: auto;
    display: block;
    opacity: 0.92;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.book-claim-link:hover img,
.book-claim-link:focus-visible img {
    transform: translateY(-2px);
    opacity: 1;
}

.copyright-credits {
    margin-top: 10px;
}

.copyright-credits p {
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    font-weight: 300;
    color: #ffffff;
    margin: 0;
    opacity: 0.8;
}

.copyright-credits a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.copyright-credits a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .copyright-logo img {
        width: 75%;
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .navbar-menu {
        display: none;
    }

    .burger-menu-btn {
        display: flex;
    }

    .navbar-logo {
        height: 40px;
    }

    .units-section {
        padding: 0;
    }

    .description-container {
        border-radius: 0;
    }

    .overlay-desc {
        padding: 40px 20px;
        min-height: 300px;
    }

    .footer {
        padding: 60px 20px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .slide-content {
        width: 95%;
        padding: 0 20px;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }

    .slider-nav svg {
        width: 30px;
        height: 30px;
    }

    .slide-content {
        padding: 0 60px;
    }

    .slider-bullets {
        bottom: 20px;
    }

    .unit-logo {
        min-width: 100px;
        min-height: 60px;
        max-width: 70%;
        max-height: 45%;
    }

    .unit:hover .unit-logo {
        min-width: 100px;
        min-height: 60px;
        max-width: 70%;
        max-height: 45%;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: clamp(0.75rem, 1.2vw, 0.9rem);
        gap: 8px;
    }

    .cta-arrow {
        width: 16px;
        height: 16px;
    }
}
