:root {
    --ink: #17352d;
    --muted: #60756e;
    --green: #217a56;
    --lime: #d9ef9f;
    --cream: #f5f7ef;
    --line: #dce7dd;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
}

@keyframes panel-drop {
    from { opacity: 0; transform: translateY(-32px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes content-rise {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes text-place {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.page > header {
    animation: panel-drop .7s cubic-bezier(.22, 1, .36, 1) both;
}

main {
    animation: content-rise .8s cubic-bezier(.22, 1, .36, 1) .12s both;
}

.hero-content > *,
.inner-hero .container > *,
.section-heading > *,
.service {
    animation: text-place .65s cubic-bezier(.22, 1, .36, 1) both;
}

.hero-content > *:nth-child(1),
.inner-hero .container > *:nth-child(1),
.section-heading > *:nth-child(1) { animation-delay: .25s; }

.hero-content > *:nth-child(2),
.inner-hero .container > *:nth-child(2),
.section-heading > *:nth-child(2) { animation-delay: .36s; }

.hero-content > *:nth-child(3),
.inner-hero .container > *:nth-child(3),
.section-heading > *:nth-child(3) { animation-delay: .47s; }

.service:nth-child(1) { animation-delay: .32s; }
.service:nth-child(2) { animation-delay: .43s; }
.service:nth-child(3) { animation-delay: .54s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

.page { overflow: hidden; }

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

header {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    background: #cbd8d1;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 32px);
    max-width: none;
    gap: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: bold;
    letter-spacing: .02em;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.brand span {
    color: var(--green);
}

/* =========================================
   NAVEGACIÓN (ESCRITORIO)
   ========================================= */
.site-nav {
    display: flex;
    align-items: center;
}

.menu-toggle,
.menu-toggle-label {
    display: none; /* Oculto en PC */
}

.menu-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* El header queda por encima de <main> para que el submenú no quede tapado */
.page > header {
    position: relative;
    z-index: 100;
}

/* ---------- Submenú "Institucional" ---------- */
.has-submenu {
    position: relative;
}

.submenu-toggle {
    margin: 0;
    line-height: inherit;
    cursor: pointer;
}

.submenu-toggle::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: -4px 0 0 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    vertical-align: middle;
    transform: rotate(45deg);
    transition: transform .2s ease, margin .2s ease;
}

.has-submenu.open .submenu-toggle::after {
    margin-top: 3px;
    transform: rotate(-135deg);
}

.submenu {
    display: none;
    position: absolute;
    z-index: 60;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding-top: 10px; /* puente invisible para no perder el hover */
}

.has-submenu.open .submenu {
    display: block;
}

.submenu-panel {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(23, 53, 45, .16);
}

.submenu-panel a {
    display: block;
    padding: 12px 16px;
    border-radius: 6px;
    color: var(--ink);
    font-family: Arial, sans-serif;
    font-size: .85rem;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}

.submenu-panel a:hover,
.submenu-panel a:focus-visible {
    color: var(--green);
    background: var(--cream);
}

@media (hover: hover) and (min-width: 761px) {
    .has-submenu:hover .submenu {
        display: block;
    }

    .has-submenu:hover .submenu-toggle::after {
        margin-top: 3px;
        transform: rotate(-135deg);
    }
}

/* =========================================
   ESTILOS GENERALES Y COMPONENTES
   ========================================= */
.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    min-height: 540px;
    width: 100%;
    border-radius: 0;
    background-image: linear-gradient(90deg, rgba(23, 53, 45, .82), rgba(23, 53, 45, .65)), url('../images/fabio-background.jpg');
    background-position: center;
    background-size: cover;
    color: #fff;
    padding: 76px 0 88px;
}

.hero-content {
    width: min(calc(100% - 40px), 720px);
    margin-left: max(20px, calc((100% - 1120px) / 2));
}

.hero .eyebrow { color: var(--lime); }
.hero .intro { color: rgba(255, 255, 255, .88); }

.eyebrow {
    margin: 0 0 18px;
    color: var(--green);
    font-family: Arial, sans-serif;
    font-size: .76rem;
    font-weight: bold;
    letter-spacing: .16em;
    text-transform: uppercase;
}

h1 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    font-weight: normal;
    letter-spacing: -.04em;
    line-height: .98;
}

.intro {
    max-width: 500px;
    margin: 28px 0 34px;
    color: var(--muted);
    font-size: 1.15rem;
}

.button {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 255, 255, .42);
    box-shadow: 0 8px 24px rgba(33, 122, 86, .14), inset 0 1px 0 rgba(255, 255, 255, .8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-family: Arial, sans-serif;
    font-size: .85rem;
    font-weight: bold;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.button:hover {
    color: #fff;
    background: rgba(33, 122, 86, .82);
    border-color: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 26px rgba(23, 53, 45, .2), inset 0 1px 0 rgba(255, 255, 255, .38);
    transform: translateY(-2px);
}

.button:focus-visible {
    outline: 3px solid rgba(33, 122, 86, .3);
    outline-offset: 4px;
}

.inner-hero {
    padding: 96px 0 88px;
    background: var(--cream);
}

.inner-hero h1 { max-width: 760px; }
.inner-hero .intro { max-width: 620px; }

.about-hero {
    min-height: 520px;
    color: #fff;
    background-image: linear-gradient(90deg, rgba(23, 53, 45, .68), rgba(23, 53, 45, .3)), url('../images/Captura desde 2026-09-24 10-38-31_cleanup.png');
    background-position: center;
    background-size: cover;
}
.about-hero .eyebrow { color: var(--lime); }
.about-hero .intro { color: rgba(255, 255, 255, .9); }

.inner-hero-green {
    color: #fff;
    background: var(--green);
}

.products-hero,
.contact-hero,
.corporate-hero,
.mission-hero,
.objectives-hero,
.values-hero,
.access-hero {
    min-height: 520px;
    color: #fff;
    background-position: center;
    background-size: cover;
}

.products-hero {
    background-image: linear-gradient(90deg, rgba(23, 53, 45, .72), rgba(23, 53, 45, .38)), url('../images/productos-background.avif');
}

.contact-hero {
    background-image: linear-gradient(90deg, rgba(23, 53, 45, .72), rgba(23, 53, 45, .38)), url('../images/contacto-background.avif');
}

.corporate-hero {
    background-image: linear-gradient(90deg, rgba(23, 53, 45, .72), rgba(23, 53, 45, .38)), url('../images/corporativo-background.webp');
}

.mission-hero {
    background-image: linear-gradient(90deg, rgba(23, 53, 45, .72), rgba(23, 53, 45, .38)), url('../images/mision-vision-background.webp');
}

.objectives-hero {
    background-image: linear-gradient(90deg, rgba(23, 53, 45, .72), rgba(23, 53, 45, .38)), url('../images/objetivos-background.webp');
}

.values-hero {
    background-image: linear-gradient(90deg, rgba(23, 53, 45, .72), rgba(23, 53, 45, .38)), url('../images/valores-background.webp');
}

.access-hero {
    background-image: linear-gradient(90deg, rgba(23, 53, 45, .72), rgba(23, 53, 45, .38)), url('../images/acceso-background.webp');
}

.products-hero .eyebrow,
.contact-hero .eyebrow,
.corporate-hero .eyebrow,
.mission-hero .eyebrow,
.objectives-hero .eyebrow,
.values-hero .eyebrow,
.access-hero .eyebrow { color: var(--lime); }
.products-hero .intro,
.contact-hero .intro,
.corporate-hero .intro,
.mission-hero .intro,
.objectives-hero .intro,
.values-hero .intro,
.access-hero .intro { color: rgba(255, 255, 255, .9); }

.inner-hero-green .eyebrow { color: var(--lime); }

.content-section {
    padding: 72px 0 84px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
}

.contact-details p:not(.eyebrow) {
    max-width: 520px;
    color: var(--muted);
    font-size: 1.08rem;
}

.about,
.products,
.services {
    padding: 66px 0 76px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.products {
    background: var(--cream);
}

.about-grid,
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 72px;
}

.about .section-heading,
.products .section-heading {
    margin-bottom: 34px;
}

.about-copy {
    max-width: 520px;
    color: var(--muted);
    font-size: 1.08rem;
}

.about-copy p {
    margin: 0 0 18px;
}

.contact {
    padding: 66px 0;
    color: #fff;
    background: var(--green);
}

.contact .eyebrow { color: var(--lime); }
.contact h2 { margin-bottom: 0; }

.contact .button {
    justify-self: end;
    color: #fff;
    background: rgba(255, 255, 255, .16);
}

.contact .button:hover {
    color: var(--ink);
    background: #fff;
}

.section-heading {
    max-width: 510px;
    margin-bottom: 34px;
}

h2 {
    margin: 0 0 12px;
    font-size: 2.2rem;
    font-weight: normal;
    line-height: 1.1;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service {
    padding: 24px;
    border-top: 3px solid var(--green);
    background: var(--cream);
}

.service strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.service p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    padding: 26px 0 0;
    color: #dbe8d7;
    background: var(--ink);
    font-family: Arial, sans-serif;
    font-size: .88rem;
}

/* Contenido del footer más pegado a los laterales (mismo ancho que el header) */
footer .container {
    width: calc(100% - 32px);
    max-width: none;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 20px;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.footer-logo {
    display: block;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-text strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.2rem;
    font-weight: normal;
}

.footer-text p {
    margin: 2px 0;
    color: rgba(219, 232, 215, .85);
}

.footer-text a {
    color: var(--lime);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-text a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    font-size: .82rem;
    font-weight: bold;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.footer-social svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.footer-social a:hover {
    color: var(--ink);
    background: var(--lime);
    border-color: var(--lime);
    transform: translateY(-2px);
}

.footer-social a:focus-visible,
.footer-text a:focus-visible {
    outline: 3px solid rgba(217, 239, 159, .6);
    outline-offset: 3px;
}

.footer-copy {
    padding: 14px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(219, 232, 215, .7);
    font-size: .8rem;
    text-align: center;
}

/* =========================================
   UTILIDADES
   ========================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================
   MEDIA QUERIES (MÓVILES Y TABLETS)
   ========================================= */
@media (max-width: 760px) {
    .container {
        width: min(100% - 32px, 560px);
    }

    /* El header debe quedar por encima de <main> (ambos tienen animación con transform)
       para que el menú desplegable no quede tapado */
    .page > header {
        position: relative;
        z-index: 100;
    }

    .nav {
        width: calc(100% - 32px);
    }

    /* ---------- Menú hamburguesa ---------- */
    .site-nav {
        position: relative;
        flex-shrink: 0;
    }

    /* El checkbox cubre el botón (invisible) para que sea clicable y accesible con teclado */
    .menu-toggle {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;
        width: 44px;
        height: 44px;
        margin: 0;
        opacity: 0;
        cursor: pointer;
    }

    .menu-toggle-label {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .menu-toggle:focus-visible ~ .menu-toggle-label {
        outline: 3px solid rgba(33, 122, 86, .4);
        outline-offset: 2px;
    }

    /* Icono de 3 rayas */
    .hamburger,
    .hamburger::before,
    .hamburger::after {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: var(--ink);
        transition: transform .25s ease, top .25s ease, background .2s ease;
    }

    .hamburger {
        position: relative;
    }

    .hamburger::before,
    .hamburger::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .hamburger::before { top: -7px; }
    .hamburger::after { top: 7px; }

    /* Estado abierto: la hamburguesa se convierte en X */
    .menu-toggle:checked ~ .menu-toggle-label .hamburger {
        background: transparent;
    }

    .menu-toggle:checked ~ .menu-toggle-label .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .menu-toggle:checked ~ .menu-toggle-label .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }

    /* Panel desplegable */
    .menu-links {
        display: none;
        position: absolute;
        z-index: 50;
        top: calc(100% + 12px);
        right: 0;
        flex-direction: column;
        align-items: stretch;
        min-width: 200px;
        max-width: calc(100vw - 24px);
        gap: 4px;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 12px 28px rgba(23, 53, 45, .16);
    }

    .menu-toggle:checked ~ .menu-links {
        display: flex;
    }

    /* Submenú "Institucional" dentro del panel móvil (acordeón) */
    .has-submenu {
        width: 100%;
    }

    .menu-links .submenu-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 16px;
        border: none;
        border-radius: 6px;
        color: var(--ink);
        background: transparent;
        box-shadow: none;
        text-align: left;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .menu-links .submenu-toggle:hover {
        color: var(--green);
        background: var(--cream);
        transform: none;
    }

    .submenu {
        position: static;
        min-width: 0;
        padding-top: 0;
    }

    .submenu-panel {
        padding: 0 0 4px 12px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .submenu-panel a {
        padding: 12px 16px;
        white-space: normal;
    }

    .menu-links a.button {
        margin: 0;
        padding: 14px 16px;
        border: none;
        border-radius: 6px;
        color: var(--ink);
        background: transparent;
        box-shadow: none;
        text-align: left;
        width: 100%;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .menu-links a.button:hover {
        color: var(--green);
        background: var(--cream);
        transform: none;
    }


    /* ---------- Footer ---------- */
    footer {
        padding-top: 24px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-bottom: 20px;
    }

    .footer-social {
        justify-content: flex-start;
        width: 100%;
    }

    /* ---------- Resto de ajustes móviles ---------- */
    .brand {
        gap: 8px;
        min-width: 0;
        font-size: .95rem;
    }

    .brand-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .brand-logo {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 36px;
        min-height: auto;
        padding: 64px 0;
    }

    .hero-content {
        width: calc(100% - 32px);
        margin-left: 16px;
        margin-right: 16px;
    }

    .inner-hero {
        padding: 64px 0;
    }

    .about-hero,
    .products-hero,
    .contact-hero {
        min-height: 380px;
    }

    h1,
    h2,
    .intro {
        overflow-wrap: break-word;
    }

    .intro {
        margin: 22px 0 28px;
        font-size: 1.05rem;
    }

    .content-section,
    .services {
        padding: 48px 0 56px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-details .button {
        max-width: 100%;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .about-grid,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact .button {
        justify-self: start;
    }
}

@media (max-width: 520px) {
    .nav {
        width: calc(100% - 24px);
        flex-wrap: nowrap;
        gap: 8px;
    }

    .brand {
        gap: 6px;
        font-size: .82rem;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    h1 {
        font-size: clamp(2.1rem, 10vw, 2.8rem);
        line-height: 1.02;
    }

    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 520px) {
    .footer-info {
        align-items: flex-start;
    }

    .footer-logo {
        width: 50px;
        height: 50px;
    }

    .footer-social {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .footer-social a {
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .brand {
        font-size: .74rem;
    }

    .brand-logo {
        width: 34px;
        height: 34px;
    }

    .menu-toggle,
    .menu-toggle-label {
        width: 40px;
        height: 40px;
    }
}

/* =========================================
   CARTAS INTERACTIVAS (index y productos)
   ========================================= */
.service[role="button"] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    border: 1px solid rgba(33, 122, 86, .22);
    border-radius: 18px;
    background: #dcebd6; /* verde hoja suave */
    cursor: pointer;
    position: relative;
    transition: box-shadow .25s ease, background .25s ease, border-color .25s ease, scale .35s cubic-bezier(.22, 1, .36, 1);
}

.service[role="button"]:hover,
.service[role="button"]:focus-visible {
    border-color: rgba(33, 122, 86, .55);
    background: #e6f1e0;
    box-shadow: 0 16px 36px rgba(23, 53, 45, .14);
}

/* Mini zoom al pasar el mouse (usa "scale" para no chocar con la animación de entrada) */
@media (hover: hover) and (pointer: fine) {
    .service[role="button"]:hover {
        z-index: 2;
        scale: 1.04;
    }

    .service[role="button"]:active {
        scale: 1.01;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service[role="button"] {
        transition: none;
    }

    .service[role="button"]:hover {
        scale: 1;
    }
}

.service[role="button"]:focus-visible {
    outline: 3px solid rgba(33, 122, 86, .35);
    outline-offset: 3px;
}

.service[role="button"] p {
    margin-bottom: 24px;
    color: #41594f;
}

/* Botón "Ver más": mismo estilo que los botones del nav (.button) */
.service-more {
    margin-top: auto;
    border-color: rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .6);
    box-shadow: none;
}

.service[role="button"]:hover .service-more,
.service[role="button"]:focus-visible .service-more {
    color: #fff;
    background: rgba(33, 122, 86, .82);
    border-color: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 26px rgba(23, 53, 45, .2), inset 0 1px 0 rgba(255, 255, 255, .38);
    transform: translateY(-2px);
}

/* Ventana (carta) que se abre al hacer clic */
.service-dialog {
    width: min(560px, calc(100% - 32px));
    max-height: calc(100dvh - 48px);
    padding: 0;
    border: 0;
    border-radius: 20px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 24px 60px rgba(23, 53, 45, .35);
    font-family: Georgia, 'Times New Roman', serif;
    overflow: auto;
}

.service-dialog[open] {
    animation: dialog-pop .3s cubic-bezier(.22, 1, .36, 1) both;
}

.service-dialog::backdrop {
    background: rgba(23, 53, 45, .6);
    backdrop-filter: blur(3px);
}

@keyframes dialog-pop {
    from { opacity: 0; transform: translateY(24px) scale(.97); }
    to { opacity: 1; transform: none; }
}

.dialog-inner {
    padding: 32px 32px 28px;
}

.dialog-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: transparent;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.dialog-close:hover { background: var(--cream); }

.service-dialog h3 {
    margin: 0 0 12px;
    padding-right: 36px;
    font-size: 1.7rem;
    font-weight: normal;
    line-height: 1.15;
}

.service-dialog p {
    margin: 0 0 14px;
    color: var(--muted);
}

.service-dialog .dialog-lead {
    color: var(--green);
    font-weight: bold;
}

.service-dialog ul {
    margin: 16px 0 24px;
    padding-left: 20px;
}

.service-dialog li { margin-bottom: 6px; }

body.dialog-open { overflow: hidden; }

@media (max-width: 520px) {
    .dialog-inner { padding: 26px 20px 22px; }
    .service-dialog h3 { font-size: 1.45rem; }
}

/* =========================================
   VENTANA "ACCESO CORPORATIVO"
   (reutiliza los estilos de .service-dialog)
   ========================================= */
.access-dialog h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 1.45rem;
}

.access-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--green);
}

.dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.dialog-actions .button {
    margin: 0;
    line-height: inherit;
    cursor: pointer;
}

@media (max-width: 520px) {
    .dialog-actions .button {
        flex: 1 1 100%;
        text-align: center;
    }
}