@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');
/* ==============================
   COCHE LIMPIO - ESTILOS
   ============================== */

:root {
    --color-dark: #111713;
    --color-dark-soft: #1b241e;
    --color-green: #72d64b;
    --color-white: #ffffff;
    --color-gray: #aeb8b0;
    --color-light: #f4f7f4;
}

/* Configuración general */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-dark);
    background: var(--color-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

/* ==============================
   ENCABEZADO Y NAVEGACIÓN
   ============================== */

header {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
}

.navbar {
    max-width: 1400px;
    min-height: 96px;
    margin: 0 auto;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.logo img {
    display: block;
    height: auto;
    object-fit: contain;
}

.logo img:first-child {
    width: 105px;
    max-height: 72px;
}

.logo img.logo-name {
    width: 230px !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
    margin-left: -12px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #ffffff;
    background: #087fc1;
    border-color: #65d5ff;
    transform: translateY(-2px);
}

.nav-links a:focus-visible {
    outline: 2px solid #65d5ff;
    outline-offset: 3px;
}

/* Botón del menú móvil */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: #ffffff;
}

@media (max-width: 768px) {
    .navbar {
        position: relative;
        min-height: 78px;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px 16px;
    }

    .logo {
        gap: 8px;
        max-width: calc(100% - 56px);
    }

    .logo img:first-child {
        width: 65px;
        max-height: 52px;
    }

    .logo img.logo-name {
        width: clamp(110px, 34vw, 175px);
        max-height: 48px;
    }

    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 5px;
        padding: 8px 0 4px;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: flex;
        width: 100%;
        padding: 12px 14px;
        border-radius: 8px;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
        transform: none;
    }
}

/* Portada principal */

.hero {
    position: relative;
    isolation: isolate;
    min-height: 650px;
    padding: 150px 24px 72px;
    background-image:
        linear-gradient(
            rgba(5, 15, 20, 0.62),
            rgba(5, 15, 20, 0.72)
        ),
        url("assets/images/portada.jpeg");
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    color: var(--color-white);
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        min-height: 520px;
        padding: 125px 20px 48px;

        background-image:
            linear-gradient(
                rgba(5, 15, 20, 0.62),
                rgba(5, 15, 20, 0.72)
            ),
            url("assets/images/portada-movil.png");

        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
}

/* DISTRIBUCIÓN DEL ENCABEZADO */

.hero-layout {
    max-width: 1200px;
    min-height: 470px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.hero-content {
    width: 100%;
    max-width: 1100px;
    min-width: 0;
    box-sizing: border-box;
}

.hero h1 {
    width: 100%;
    max-width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1px;
    overflow-wrap: break-word;
    text-shadow: 3px 4px 7px rgba(0, 0, 0, 0.9);
    margin-top: 80px;
}

.hero .hero-description {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.7;
    color: #ffffff;

    max-width: 850px;

    margin-top: 20px;
    margin-bottom: 28px;

    letter-spacing: 0.2px;

    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.9);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: #08a9e8;
    color: #ffffff;
}

.btn-primary:hover {
    background: #29baf2;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid #ffffff;
    color: #ffffff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hero-image {
    width: 100%;
    min-width: 0;
}

.hero-image img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

/* AJUSTE FINAL DEL HERO PARA CELULARES */

@media (max-width: 768px) {

    .hero h1 {
        font-size: 24px !important;
        line-height: 1.22 !important;
        letter-spacing: -0.5px !important;
        font-weight: 800;
        max-width: 100%;
        margin: 0;
    }

    .hero-description {
        font-size: 14px !important;
        line-height: 1.5;
        margin-top: 16px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        gap: 10px;
        margin-top: 14px;
    }

}
@media (max-width: 768px) {

    .hero-content {
        margin-top: 150px;
    }

}

/* Botones */

.btn-primary {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 8px;
    background: var(--color-green);
    color: var(--color-dark);
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
    background: #8be96a;
    transform: translateY(-2px);
}

/* Secciones */

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}

.section:nth-of-type(odd) {
    background: var(--color-light);
}

.section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.section p {
    max-width: 650px;
    margin: 0 auto;
    color: #5e6961;
}

/* Pie de página */

.footer {
    background: var(--color-dark);
    color: var(--color-gray);
    text-align: center;
    padding: 24px;
    font-size: 0.9rem;
}

/* Adaptación para celulares */

@media (max-width: 650px) {
    .navbar {
        flex-direction: column;
        gap: 14px;
        padding: 18px 14px;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .hero {
        min-height: 480px;
        padding: 70px 22px;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero-content > p:not(.eyebrow) {
        font-size: 1rem;
    }

    .section {
        padding: 60px 22px;
    }
}

/* Logo del encabezado */

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: 120px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

/* ==============================
   MENÚ ADAPTABLE PARA MÓVILES
   ============================== */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: #ffffff;
}

@media (max-width: 768px) {
    .navbar {
        position: relative;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 18px;
    }

    .logo img {
        width: 100px;
        max-height: 60px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        padding: 8px 0;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 13px 10px;
        border-radius: 6px;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.08);
    }
}

/* ==============================
   CATEGORÍAS DE SERVICIOS
   ============================== */

.services-section {
    padding: 80px 24px;
    background: #f3f8fc;
    scroll-margin-top: 90px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services-container > h2 {
    color: #08284b;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 12px;
}

.services-intro {
    color: #53677a;
    margin-bottom: 40px;
}

.service-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    text-align: left;
}

.service-category {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e0eaf2;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(8, 40, 75, 0.08);
}

.service-category > img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.service-category-content {
    padding: 28px;
}

.service-category h3 {
    color: #073b66;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    margin-bottom: 12px;
}

.service-category p {
    color: #53677a;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-category .btn-primary {
    min-width: 130px;
    text-align: center;
    background: #087fc1;
    color: #ffffff;
}

.service-category .btn-primary:hover {
    background: #05669d;
}

/* Adaptación a celulares */

@media (max-width: 768px) {
    .services-section {
        padding: 56px 18px;
    }

    .service-categories {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .service-category > img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .service-category-content {
        padding: 22px;
    }
}

/* ==============================
   LAVADO ESPECIALIZADO
   ============================== */

.wash-section {
    padding: 80px 24px;
    background: #ffffff;
    scroll-margin-top: 90px;
}

.wash-container {
    max-width: 1200px;
    margin: 0 auto;
}

.wash-container > .eyebrow {
    text-align: center;
}

.wash-container > h2 {
    color: #08284b;
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 14px;
}

.wash-intro {
    max-width: 680px;
    margin: 0 auto 42px;
    color: #53677a;
    text-align: center;
    line-height: 1.7;
}

.wash-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.wash-card {
    padding: 28px;
    border: 1px solid #e0eaf2;
    border-radius: 16px;
    background: #f5f9fd;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wash-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(8, 40, 75, 0.1);
}

.wash-number {
    display: inline-block;
    margin-bottom: 16px;
    color: #087fc1;
    font-size: 1.8rem;
    font-weight: 800;
}

.wash-card h3 {
    color: #073b66;
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.wash-card p {
    color: #53677a;
    line-height: 1.7;
}

.wash-cta {
    margin-top: 42px;
    padding: 36px 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #061d40, #087fc1);
    color: #ffffff;
    text-align: center;
}

.wash-cta h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 10px;
}

.wash-cta p {
    margin-bottom: 24px;
    color: #e1edf8;
}

.wash-cta .btn-primary {
    background: #08a9e8;
    color: #ffffff;
}

/* Adaptación a tabletas y celulares */

@media (max-width: 900px) {
    .wash-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .wash-section {
        padding: 56px 18px;
    }

    .wash-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wash-card {
        padding: 24px;
    }

    .wash-cta {
        padding: 30px 20px;
    }
}

/* ==============================
   REFRIGERACIÓN AUTOMOTRIZ
   ============================== */

.refrigeration-section {
    padding: 80px 24px;
    background: #edf5fb;
    scroll-margin-top: 90px;
}

.refrigeration-container {
    max-width: 1200px;
    margin: 0 auto;
}

.refrigeration-container > .eyebrow {
    text-align: center;
}

.refrigeration-container > h2 {
    color: #08284b;
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 14px;
}

.refrigeration-intro {
    max-width: 680px;
    margin: 0 auto 42px;
    color: #53677a;
    text-align: center;
    line-height: 1.7;
}

.refrigeration-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.refrigeration-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #dce8f2;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(8, 40, 75, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.refrigeration-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(8, 40, 75, 0.1);
}

.refrigeration-number {
    display: inline-block;
    margin-bottom: 16px;
    color: #087fc1;
    font-size: 1.8rem;
    font-weight: 800;
}

.refrigeration-card h3 {
    color: #073b66;
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.refrigeration-card p {
    color: #53677a;
    line-height: 1.7;
}

.refrigeration-cta {
    margin-top: 42px;
    padding: 36px 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #061d40, #087fc1);
    color: #ffffff;
    text-align: center;
}

.refrigeration-cta h3 {
    font-size: clamp(1.35rem, 3vw, 2rem);
    margin-bottom: 10px;
}

.refrigeration-cta p {
    margin-bottom: 24px;
    color: #e1edf8;
}

.refrigeration-cta .btn-primary {
    background: #08a9e8;
    color: #ffffff;
}

/* Adaptación a tabletas y celulares */

@media (max-width: 900px) {
    .refrigeration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .refrigeration-section {
        padding: 56px 18px;
    }

    .refrigeration-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .refrigeration-card {
        padding: 24px;
    }

    .refrigeration-cta {
        padding: 30px 20px;
    }
}

/* ==============================
   CATÁLOGO DE PRODUCTOS
   ============================== */

.products-section {
    padding: 80px 24px;
    background: #ffffff;
    scroll-margin-top: 90px;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products-container > .eyebrow {
    text-align: center;
}

.products-container > h2 {
    color: #08284b;
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 14px;
}

.products-intro {
    max-width: 680px;
    margin: 0 auto 42px;
    color: #53677a;
    text-align: center;
    line-height: 1.7;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e0eaf2;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(8, 40, 75, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(8, 40, 75, 0.12);
}

.product-image {
    height: 210px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f8fc;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.product-info h3 {
    color: #073b66;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.product-info p {
    color: #53677a;
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 22px;
}

.product-button {
    display: inline-block;
    margin-top: auto;
    padding: 11px 15px;
    border-radius: 8px;
    background: #087fc1;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    transition: background 0.2s ease;
}

.product-button:hover {
    background: #05669d;
}

.product-button:focus-visible {
    outline: 3px solid #65d5ff;
    outline-offset: 3px;
}

/* Adaptación a pantallas medianas */

@media (max-width: 1000px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Adaptación a celulares */

@media (max-width: 600px) {
    .products-section {
        padding: 56px 18px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        height: 230px;
    }

    .product-info {
        padding: 22px;
    }

    .product-button {
        width: 100%;
        padding: 13px 16px;
    }
}

/* SECCIÓN DE CONTACTO */
.contact-section {
    padding: 80px 24px;
    background: #f3f8fc;
    scroll-margin-top: 90px;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-container > .eyebrow {
    text-align: center;
}

.contact-container > h2 {
    color: #08284b;
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 14px;
}

.contact-intro {
    max-width: 700px;
    margin: 0 auto 42px;
    color: #53677a;
    text-align: center;
    line-height: 1.8;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    background: #fff;
    border: 1px solid #dce8f2;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(8, 40, 75, 0.07);
}

.contact-card h3 {
    color: #073b66;
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.contact-card p {
    color: #53677a;
    line-height: 1.75;
    margin-bottom: 24px;
}

.contact-card .btn-primary {
    margin-top: auto;
    background: #087fc1;
    color: #fff;
}

.contact-card .btn-primary:hover {
    background: #05669d;
}

@media (max-width: 650px) {
    .contact-section {
        padding: 56px 18px;
    }

    .contact-options {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-card {
        padding: 24px;
    }

    .contact-card .btn-primary {
        width: 100%;
        text-align: center;
    }
}

/* FORMULARIO DE RESERVAS */
.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-group label {
    color: #073b66;
    font-size: 0.95rem;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #cbd9e6;
    border-radius: 8px;
    background: #fff;
    color: #08284b;
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #087fc1;
    box-shadow: 0 0 0 3px rgba(8, 127, 193, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.reservation-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    font-size: 1rem;
}

.reservation-note {
    color: #53677a;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-top: -8px;
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .reservation-form {
        gap: 18px;
    }
}

/* TARJETAS DE CONTACTO */
.contact-options {
    align-items: start;
}

.contact-card {
    align-self: start;
    height: fit-content;
}

.contact-card p {
    margin-bottom: 24px;
}

.contact-card .btn-primary {
    margin-top: 0;
}

/* PIE DE PÁGINA DE COCHE LIMPIO */
.site-footer {
    background: #061d40;
    color: #fff;
    padding: 55px 24px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 42px;
}

.footer-brand img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.footer-brand p,
.footer-column p {
    color: #d6e4f3;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-column h3 {
    color: #65d5ff;
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.footer-column p {
    margin-bottom: 18px;
}

.footer-label {
    display: block;
    color: #65d5ff;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #65d5ff;
}

.footer-instagram,
.footer-whatsapp {
    display: block;
    margin-bottom: 16px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.footer-bottom p {
    color: #d6e4f3;
    font-size: 0.88rem;
}

@media (max-width: 800px) {
    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .site-footer {
        padding: 42px 20px 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
     .footer-social {
        margin-top: 0;
        justify-content: flex-start;
    }

    .footer-brand {
        grid-column: auto;
    }
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.logo img:first-child {
    width: 155px;
    height: auto;
    max-height: 110px;
    object-fit: contain;
}

.logo img.logo-name {
    width: 280px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo {
        gap: 10px;
    }

    .logo img:first-child {
        width: 100px;
        max-height: 75px;
    }

    .logo img.logo-name {
        width: 190px;
        max-height: 55px;
    }
}

@media (max-width: 380px) {
    .logo img:first-child {
        width: 78px;
        max-height: 60px;
    }

    .logo img.logo-name {
        width: 150px;
        max-height: 45px;
    }
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2000;
    width: 100px;
    height: 100px;
    display: block;
    transition: transform 0.25s ease;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

@media (max-width: 600px) {
    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 16px;
        bottom: 16px;
    }
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin: 0 0 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.footer-social a:hover {
    transform: scale(1.12);
}

.footer-social img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
}

/* ===== CARRUSEL PROFESIONAL DE SERVICIOS ===== */

.services-carousel {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.services-track-container {
    width: 100%;
    overflow: hidden;
    border-radius: 22px;
}

.service-categories {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.service-categories::-webkit-scrollbar {
    display: none;
}

.service-category {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
    padding: 40px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 22px;
    scroll-snap-align: start;
}

.service-image {
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 18px;
    background: #e8f1f7;
}

.service-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-category:hover .service-image img {
    transform: scale(1.03);
}

.service-category-content {
    position: static;
    color: #0b2b50;
    padding: 0;
}

.service-eyebrow {
    display: block;
    margin-bottom: 16px;
    color: #27b8f3;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.service-category-content h3 {
    margin: 0 0 18px;
    color: #0b2b50;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.15;
}

.service-category-content p {
    margin: 0 0 26px;
    color: #526579;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Controles inferiores */

.services-controls {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-top: 28px;
}

.services-controls .services-arrow {
    position: static;
    justify-self: start;
    width: 48px;
    height: 48px;
    border: 2px solid #183b68;
    border-radius: 50%;
    background: #ffffff;
    color: #183b68;
    font-size: 23px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.services-controls .services-arrow-next-bottom {
    justify-self: end;
}

.services-controls .services-arrow:hover {
    background: #183b68;
    color: #ffffff;
}

.services-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.services-indicator {
    width: 28px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #d5e0e9;
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease;
}

.services-indicator.active {
    width: 36px;
    background: #087fc1;
}

/* Ocultar las flechas laterales anteriores */

.services-carousel > .services-arrow {
    display: none;
}

/* Diseño para celulares */

@media (max-width: 700px) {
    
    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        right: 14px;
        width: 200px;
        padding: 12px;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: rgba(8, 35, 58, 0.97);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
        z-index: 200;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        padding: 12px;
        color: #ffffff;
    }

    .nav-links.active {
        display: flex;
    }
    header {
        width: 100%;
    }

    .navbar {
        width: 100%;
        min-height: 76px;
        padding: 10px 14px;
        gap: 8px;
        box-sizing: border-box;
    }

    .logo {
        flex: 1;
        min-width: 0;
        gap: 0;
    }

    .logo img:first-child {
        width: 80px;
        max-width: 80px;
        max-height: 80px;
        flex-shrink: 0;
    }

    .logo img.logo-name {
        width: 145px !important;
        max-width: 100%;
        height: auto !important;
        max-height: 60px !important;
        margin-left: 0;
        flex-shrink: 1;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        padding: 10px;
        margin-left: auto;
        z-index: 101;
    }

    .nav-links {
        box-sizing: border-box;
        max-width: 100%;
    }

    .navbar {
        min-height: 80px;
        padding: 10px 16px;
        gap: 8px;
    }

    .logo {
        gap: 4px;
        min-width: 0;
    }

    .logo img:first-child {
        width: 65px;
        max-height: 55px;
    }

    .logo img.logo-name {
        width: 145px;
        max-height: 50px;
        margin-left: -5px;
    }
    .service-category {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
    }

    .service-image {
        height: 250px;
    }

    .service-category-content h3 {
        font-size: 1.8rem;
    }

    .service-category-content p {
        font-size: 1rem;
    }

    .services-controls .services-arrow {
        width: 42px;
        height: 42px;
    }
}

/* Flechas circulares estilo profesional */
.services-arrow {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #183b68;
    border-radius: 50%;
    background: #ffffff;
    color: #183b68;
    font-size: 25px;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.25s ease,
                color 0.25s ease,
                transform 0.25s ease;
}

.services-arrow:hover {
    background: #183b68;
    color: #ffffff;
    transform: scale(1.06);
}

/* Indicadores inferiores */
.services-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.services-indicator {
    width: 28px;
    height: 4px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: #d5e0e9;
    cursor: pointer;
    transition: width 0.25s ease,
                background-color 0.25s ease;
}

.services-indicator.active {
    background: #087fc1;
    width: 32px;
}

.services-indicator:focus-visible,
.services-arrow:focus-visible {
    outline: 3px solid #55c9ff;
    outline-offset: 4px;
}

@media (max-width: 700px) {
    .services-arrow {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .services-indicators {
        margin-top: 20px;
    }
}

/* Botón flotante para volver al inicio */
.back-to-top {
    position: fixed;
    right: 49px;
    bottom: 150px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(101, 213, 255, 0.6);
    border-radius: 50%;
    background: #087fc1;
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background 0.2s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #05649a;
}

@media (max-width: 760px) {
    .back-to-top {
        right: 16px;
        bottom: 88px;
        width: 46px;
        height: 46px;
        font-size: 27px;
    }
}

/* =================================
   ENLACES LEGALES DEL FOOTER
================================= */

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 16px;
    padding-bottom: 10px;
}

.footer-legal a {
    color: #65d5ff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}

.consentimiento-datos {
    margin-top: 5px;
    font-family: inherit;
    font-size: 16px;
}

.consentimiento-resumen {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.consentimiento-resumen input {
    margin-top: 5px;
    flex-shrink: 0;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.consentimiento-resumen label {
    font-family: inherit;
    font-size: inherit;
    line-height: 1.5;
    cursor: pointer;
}

.consentimiento-detalle {
    margin-left: 26px;
    margin-top: 8px;
    font-family: inherit;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

.consentimiento-detalle summary {
    color: #087fc1;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    width: fit-content;
}

.consentimiento-detalle p {
    margin: 8px 0;
}

.consentimiento-detalle a {
    color: #087fc1;
    text-decoration: underline;
}

.field-error {
    display: none;
    color: #d93025;
    font-family: inherit;
    font-size: 14px;
    margin-top: 5px;
    line-height: 1.4;
}

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.consentimiento-resumen input[aria-invalid="true"] {
    border-color: #d93025;
}
/* =================================
   MENÚ DESPLEGABLE NOSOTROS
================================= */

.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
}

.flecha-dropdown {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 160px;
    padding: 8px 0;
    margin: 0;

    list-style: none;
    background: #08284b;
    border-radius: 8px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all 0.25s ease;
    z-index: 1000;
}

.submenu li a {
    display: block;
    padding: 10px 16px;
    color: white;
    text-decoration: none;
    white-space: nowrap;
}

.submenu li a:hover,
.submenu li a:focus-visible {
    background: #087fc1;
}

/* Activación con cursor o teclado */

.nav-dropdown:hover .submenu,
.nav-dropdown:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .flecha-dropdown {
    transform: rotate(180deg);
}
.nav-dropdown {
    position: relative;
}

.submenu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;

    margin: 0;
    padding: 8px 0;
    list-style: none;

    background: #08284b;
    border-radius: 8px;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(8px);
    transition: opacity 0.2s ease,
                transform 0.2s ease,
                visibility 0.2s ease;
}

.nav-dropdown:hover > .submenu,
.nav-dropdown:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.submenu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.submenu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: white;
    text-decoration: none;
    white-space: nowrap;
}

.submenu li a:hover {
    background: #087fc1;
}














