.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

/* ---------- Variables y reset ---------- */
html {
    scroll-behavior: smooth;
}

:root {
    --ui-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --site-header-height: 100px;
    --hero-padding-desktop: 40px;
    --hero-padding-mobile: 20px;
    --brand-gradient: linear-gradient(90deg, #23B7BA 0%, #00727A 100%);
}

html, body {
    height: 100%;
    margin: 0;
    font-family: var(--ui-font);  
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    background: var(--brand-gradient);
}

/* Evita que el header tape el contenido (JS actualiza --site-header-height) */
body {
    padding-top: var(--site-header-height);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    background: var(--brand-gradient);
    color: #fff;
    border-bottom: none;
    z-index: 10000;
    height: 100px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 32px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.brand {
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

/* Nav */
.main-nav {
    display: flex;
}

    .main-nav ul {
        display: flex;
        gap: 18px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .main-nav a {
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        padding: 8px 10px;
        border-radius: 8px;
    }

        .main-nav a:hover, .main-nav a:focus {
            background: rgba(255,255,255,0.06);
            outline: none;
        }

/* Hamburger */
.hamburger {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    color: #fff;
}

.hamburger-box {
    display: inline-block;
    width: 28px;
    height: 18px;
    position: relative;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    display: block;
    background: #fff;
    height: 2px;
    border-radius: 2px;
    position: absolute;
    left: 0;
    right: 0;
    transition: transform .25s ease, opacity .2s ease;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

    .hamburger-inner::before {
        content: "";
        top: -8px;
    }

    .hamburger-inner::after {
        content: "";
        top: 8px;
    }

.site-header.open .hamburger-inner {
    transform: rotate(45deg);
}

    .site-header.open .hamburger-inner::before {
        transform: rotate(90deg) translateX(0);
        top: 0;
    }

    .site-header.open .hamburger-inner::after {
        opacity: 0;
    }

/* Mobile nav */
@media (max-width: 900px) {
    .hamburger {
        display: inline-block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--brand-gradient);
        padding: 18px 24px;
        transform-origin: top;
        transform: scaleY(0);
        transition: transform .22s ease;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        z-index: 9999;
    }

        .main-nav[aria-hidden="true"] {
            pointer-events: none;
        }

    .site-header.open .main-nav {
        transform: scaleY(1);
        pointer-events: auto;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 12px;
    }

    .main-nav a {
        display: block;
        padding: 12px 14px;
        font-size: 16px;
    }
}

/* ---------- Hero shared styles ---------- */
.home-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: var(--hero-padding-desktop) 32px;
    box-sizing: border-box;
    color: #fff;
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, #23B7BA 0%, #00727A 100%);
}

/* Columns */
.hero-left, .hero-right {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
    position: relative;
}

/* Text column (default left) */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 48px;
    text-align: left;
    gap: 18px;
    font-size: 20px;
}

/* Image column (default right) */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* Image: usar height:auto para evitar estirados que solapan */
.hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 160px);
    object-fit: contain;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

/* Ensure text layers above image when stacked */
.hero-left .site-title,
.hero-left .site-sub,
.hero-right .site-title,
.hero-right .site-sub {
    position: relative;
    z-index: 2;
}

/* Typography */
.site-title {
    font-weight: 700;
    font-size: 70px;
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.02;
}

.site-sub {
    font-weight: 400;
    font-size: 25px;
    color: rgba(255,255,255,0.95);
    margin: 0;
    line-height: 1.5;
}

/* Modifier: image left (HTML places image in .hero-left) */
.home-hero.home-hero--image-left {
    flex-direction: row;
}

/* ---------- Responsive adjustments ---------- */
@media (max-width: 900px) {
    /* Default: apilar texto arriba, imagen abajo */
    .home-hero {
        flex-direction: column;
        min-height: auto;
        padding: var(--hero-padding-mobile) 20px;
        gap: 12px;
        align-items: flex-start;
    }

        /* Si la sección tiene imagen a la izquierda en desktop, mostrar texto arriba en mobile */
        .home-hero.home-hero--image-left {
            flex-direction: column-reverse !important; /* texto arriba, imagen abajo */
        }

    /* Full width columns */
    .hero-left, .hero-right {
        flex: 0 0 100%;
        max-width: 100%;
        position: relative;
    }

        /* Imagen: tamaño natural y sin forzar altura */
        .hero-left .hero-image,
        .hero-right .hero-image {
            width: 100%;
            height: auto;
            max-height: none;
            object-fit: contain;
            z-index: 1;
            position: relative;
            display: block;
        }
    /* Texto siempre por encima */
    .hero-right, .hero-left {
        z-index: 3;
    }
    /* Forzar orden vertical y separación entre título y subtítulo */
    .hero-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 8px;
        padding: 12px 14px !important;
        text-align: left !important;
    }

        .hero-right .site-title,
        .hero-left .site-title {
            margin: 0 0 8px 0 !important;
            line-height: 1.04 !important;
        }

        .hero-right .site-sub,
        .hero-left .site-sub {
            margin: 0 !important;
        }
    /* Ajustes tipográficos en mobile */
    .site-title {
        font-size: 36px !important;
    }

    .site-sub {
        font-size: 15px !important;
        line-height: 1.45 !important;
    }
}

/* Desktop: asegurar orden vertical del bloque de texto */
@media (min-width: 901px) {
    .home-hero {
        flex-direction: row;
    }

    .hero-left, .hero-right {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .home-hero .hero-right {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        gap: 8px;
        text-align: left !important;
    }

        .home-hero .hero-right .site-title {
            margin: 0 0 8px 0 !important;
            line-height: 1.02 !important;
        }

        .home-hero .hero-right .site-sub {
            margin: 0 !important;
        }
}

/* Anchors safe offset */
#inicio, #caracteristicas, #servicios-hero {
    scroll-margin-top: calc(var(--site-header-height) + 8px);
}

/* Safety: avoid accidental stacking contexts on large ancestors */
main, section, .home-hero {
    z-index: 1;
    position: relative;
}

/* Metodología: 3 íconos horizontales, título debajo, descripción debajo */
.metodologia {
    color: #fff;
}

.metodologia-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 20px;
    box-sizing: border-box;
}

.metodologia-heading {
    text-align: center;
    font-size: 70px;
    margin: 0 0 28px 0;
    font-weight: 700;
}

/* GRID: fuerza 3 columnas iguales y evita que imágenes crezcan fuera del contenedor */
.metodologia-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

/* ITEM: columna vertical, icono arriba, título, descripción */
.metodologia-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 18px;
    box-sizing: border-box;
}

/* ICONO: tamaño fijo y límite máximo para evitar que crezca */
.metodologia-icon {
    width: 72px;
    height: 72px;
    max-width: 72px !important;
    max-height: 72px !important;
    object-fit: contain;
    display: block;
}

/* TÍTULO y DESCRIPCIÓN */
.metodologia-title {
    font-size: 35px;
    font-weight: 700;
    margin: 0;
}

.metodologia-desc {
    font-size: 20px;
    margin: 0;
    line-height: 1.5;
    color: rgba(255,255,255,0.95);
    max-width: 320px;
}

/* MOBILE: una columna, ícono arriba, título debajo, descripción debajo */
@media (max-width: 900px) {
    .metodologia-inner {
        padding: 40px 16px;
    }

    .metodologia-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .metodologia-item {
        align-items: center;
        text-align: center;
        padding: 14px;
    }

    .metodologia-icon {
        width: 56px;
        height: 56px;
        max-width: 56px !important;
        max-height: 56px !important;
    }

    .metodologia-title {
        font-size: 24px;
    }

    .metodologia-desc {
        font-size: 18px;
        max-width: none;
    }
}

/* Protección contra reglas globales que puedan forzar imágenes grandes */
.metodologia img {
    width: auto;
    height: auto;
}

/* Contenedor general */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Título de sección */
.section-heading {
    text-align: center;
    color: #fff;
    font-size: 28px;
    margin: 0 0 24px 0;
    font-weight: 700;
    font-size: 50px;
}

/* Grid: 3 columnas iguales */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

/* Card: icono arriba, título debajo, descripción debajo */
.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 18px;
    box-sizing: border-box;
    background: transparent;
    border-radius: 8px;
}

/* Icono: tamaño fijo para evitar escalados inesperados */
.icon-img {
    width: 72px;
    height: 72px;
    max-width: 72px;
    max-height: 72px;
    object-fit: contain;
    display: block;
}

/* Tipografía de card */
.icon-title {
    font-size: 35px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

/* o con !important como último recurso */
.icon-title {
    font-size: 35px !important;
}

.icon-desc {
    font-size: 20px;
    margin: 0;
    line-height: 1.5;
    color: rgba(255,255,255,0.95);
    max-width: 320px;
}

/* o con !important como último recurso */
.icon-desc {
    font-size: 20px !important;
}

/* Separación entre los dos bloques */
.features-section + .features-section {
    margin-top: 32px;
}

/* Responsive: una columna en móvil */
@media (max-width: 900px) {
    .icon-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .icon-card {
        align-items: center;
        text-align: center;
        padding: 14px;
    }

    .icon-img {
        width: 56px;
        height: 56px;
        max-width: 56px;
        max-height: 56px;
    }

    .section-heading {
        font-size: 30px;
        margin-bottom: 18px;
    }

    .icon-title {
        font-size: 24px;
    }

    .icon-desc {
        font-size: 18px;
        max-width: none;
    }

    /* o con !important como último recurso */
    .icon-title {
        font-size: 24px !important;
    }
    /* o con !important como último recurso */
    .icon-desc {
        font-size: 18px !important;
    }
    .loading-image {
        display: block;
        margin: 20vh auto 0 auto; /* centrado vertical aproximado */
        max-width: 100px;
        max-height: 100px;
        object-fit: contain;
    }
}

/* Protección contra reglas globales que afecten imágenes */
.icon-card img {
    width: auto;
    height: auto;
}

.home-hero .hero-left .site-sub li {
    padding-left: 12px; /* separación entre viñeta y texto */
    text-indent: -12px; /* primera línea "compensa" la viñeta */
}

.site-sub.lead {
    margin: 0 0 0px 0;
    font-weight: 500;
}

/* Evita el recuadro cuando el foco viene del mouse/touch,
   pero mantiene el indicador cuando el foco viene del teclado */
h1:focus {
    outline: none;
}

/* Oculta cualquier loader de Blazor WASM */
#blazor-error-ui,
#loading,
#loader,
.loading,
.loader,
.spinner,
.progress,
#blazor-progress,
.dotnet-loader,
.dotnet-progress {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.loading-image {
    display: block;
    margin: 20vh auto 0 auto; /* centrado vertical aproximado */
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.site-footer {
    background: rgba(0,0,0,0.15);
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    font-size: 14px;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0.9;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

#app {
    flex: 1;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}

.contact-list i {
    font-size: 22px;
    color: #fff; /* o el color que quieras */
}

.fa-whatsapp,
.fa-envelope {
    color: #fff !important;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px; /* ← separa ícono y texto */
    margin: 8px 0;
}

.contact-list i {
    font-size: 22px;
    color: #fff !important;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 10px 0;
}

.contact-list i {
    margin-right: 10px;
    font-size: 22px;
    color: #fff !important;
}

/* ============================
   MOBILE (≤ 900px) — ESTILO UNIFICADO
   ============================ */
@media (max-width: 900px) {

    /* Layout general de secciones */
    .home-hero {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 28px 20px;
        gap: 24px;
        min-height: auto;
        text-align: left;
    }

    .hero-left,
    .hero-right {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
        text-align: left;
    }

    /* Títulos grandes y consistentes */
    .site-title {
        font-size: 34px !important;
        line-height: 1.2;
        margin: 0 0 12px 0;
        font-weight: 700;
    }

    /* Subtítulos grandes y legibles */
    .site-sub {
        font-size: 18px !important;
        line-height: 1.5;
        margin: 0 0 16px 0;
        font-weight: 400;
    }

        /* Listas (como contacto o soporte) */
        .site-sub li {
            font-size: 18px !important;
            margin-bottom: 10px;
            line-height: 1.5;
        }

    /* Íconos de contacto */
    .contact-list li {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 10px 0;
    }

    .contact-list i {
        font-size: 22px;
        color: #fff !important;
    }

    /* Imágenes de cada sección */
    .hero-image {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        margin-top: 10px;
    }

    /* Espaciado vertical entre secciones */
    section {
        margin-bottom: 48px;
    }

    /* Footer */
    .site-footer {
        padding: 24px 12px;
        font-size: 14px;
        text-align: center;
    }
}

/* FIX específico para la sección Contacto */
#contacto.home-hero {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

#contacto .hero-left {
    gap: 16px !important;
}

#contacto .hero-right {
    margin-top: 12px !important;
}

#contacto .hero-image {
    max-width: 320px !important;
    margin-left: 0 !important;
}

/* FIX específico para la sección Contacto */
#contacto.home-hero {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

#contacto .hero-left {
    gap: 16px !important;
}

#contacto .hero-right {
    margin-top: 12px !important;
}

#contacto .hero-image {
    max-width: 320px !important;
    margin-left: 0 !important;
}

.contact-list a {
    color: #E8FFFF !important; /* color moderno */
    text-decoration: none;
    font-weight: 700;
}

    .contact-list a:hover {
        color: #FFFFFF !important; /* blanco puro al pasar el mouse */
        text-decoration: underline;
    }

.contact-list a {
    color: #DFFAFB !important;
}

/* Página Servicios */
.servicios-page {
    padding: 40px 20px;
    color: #fff;
}

.servicios-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.servicios-intro {
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);

}

/* Acordeón */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: all .25s ease;
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 20px;
    text-align: left;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

    .accordion-header::after {
        content: "▾";
        font-size: 18px;
        transition: transform .25s ease;
    }

.accordion-item.open .accordion-header::after {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height .3s ease, padding .3s ease;
}

.accordion-item.open .accordion-content {
    max-height: 300px;
    padding: 16px 20px 20px 20px;
}

.accordion-content p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}

.servicios-intro {
    font-size: 20px !important;
    color: rgba(255,255,255,0.95) !important;
}

/* Igualar intro al estilo de site-sub en desktop */
.servicios-intro {
    font-size: 18px !important;
    line-height: 1.5 !important;
    color: rgba(255,255,255,0.95) !important;
    font-weight: 400 !important;
}

@media (max-width: 900px) {
    .servicios-intro {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }
}

/* Igualar el título de Servicios al estilo de site-title en desktop */
.servicios-title {
    font-size: 70px !important;
    font-weight: 700 !important;
    line-height: 1.02 !important;
    margin-bottom: 12px !important;
    color: #fff !important;
}

/* Títulos del acordeón más grandes en desktop */
.accordion-header {
    font-size: 25px !important;
    font-weight: bold;
    line-height: 1.2 !important;
}

/* Texto interno del acordeón — DESKTOP */
.accordion-text {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255,255,255,0.95);
    margin-bottom: 12px;
    font-weight: 400;
}

    /* Listas dentro del acordeón */
    .accordion-text li {
        margin-bottom: 8px;
    }

/* MOBILE */
@media (max-width: 900px) {
    .accordion-text {
        font-size: 18px !important;
        line-height: 1.45 !important;
    }

        .accordion-text li {
            margin-bottom: 7px;
        }
}

.accordion-item.open .accordion-content {
    max-height: 1000px; /* suficiente para cualquier contenido */
    padding: 16px 20px 20px 20px;
}

/* GRID de servicios */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cada carta */
.servicio-card {
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 24px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Título de la carta */
.servicio-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

/* Descripción */
.servicio-desc {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* Lista */
.servicio-list {
    margin: 0;
    padding-left: 20px;
    font-size: 18px;
    line-height: 1.5;
}

    .servicio-list li {
        margin-bottom: 6px;
    }

/* MOBILE: 1 columna */
@media (max-width: 900px) {
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 16px;
    }

    .servicio-title {
        font-size: 22px;
    }

    .servicio-desc,
    .servicio-list {
        font-size: 16px;
    }
}

/* Más aire arriba del título y del párrafo en desktop */
@media (min-width: 901px) {
    .servicios-page {
        padding-top: 80px !important; /* aire general */
    }

    .servicios-title {
        margin-top: 20px !important; /* separa del header */
    }

    .servicios-intro {
        margin-top: 16px !important; /* separa del título */
        margin-bottom: 40px !important; /* aire antes del grid */
    }
}

@media (min-width: 901px) {
    .servicios-page {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    .servicios-title,
    .servicios-intro {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Botón Ingreso Clientes */
.btn-ingreso-clientes {
    background: #ffffff;
    color: #00727A;
    padding: 10px 18px;
    border-radius: 999px; /* máximo radio */
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    transition: background .2s ease, color .2s ease;
    white-space: nowrap;
}

    .btn-ingreso-clientes:hover {
        background: #E8FFFF;
        color: #005f63;
    }

/* Desktop: botón a la derecha del menú */
@media (min-width: 901px) {
    .btn-ingreso-clientes {
        margin-left: 20px;
    }
}

/* Mobile: botón visible fuera de la hamburguesa */
@media (max-width: 900px) {
    .btn-ingreso-clientes {
        position: absolute;
        right: 70px; /* ← mueve el botón a la izquierda de la hamburguesa */
        top: 40px;
        /*z-index: 99999;*/
        font-size: 14px;
        padding: 8px 14px;
        white-space: nowrap;
    }
}



