* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

:root {
    --bg: #e7eaef;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: #ffffff;
    --surface-dark: #1b2432;
    --text: #203042;
    --text-soft: #556274;
    --line: rgba(32, 48, 66, 0.12);
    --primary: #c23a2b;
    --primary-dark: #8d261b;
    --accent: #0e7fa7;
    --shadow: 0 20px 60px rgba(21, 33, 51, 0.18);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --max-width: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(194, 58, 43, 0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(14, 127, 167, 0.18), transparent 30%),
        linear-gradient(180deg, #edf1f6 0%, #dce2ea 100%);
    color: var(--text);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

main {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
    padding-bottom: 100px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    min-height: 94px;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(239, 243, 248, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(20, 33, 50, 0.08);
}

header .aheader {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 8px 22px 8px 10px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(225, 232, 240, 0.85));
}

header a img {
    height: 64px;
    transition: transform 0.3s ease;
}

header a img:hover {
    transform: scale(1.02);
}

header .listaheader {
    width: min(640px, 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    list-style: none;
}

header .listaheader .elementolistaheader a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.96rem;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 999px;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

header .listaheader .elementolistaheader a:hover {
    color: var(--surface-strong);
    background-color: var(--primary);
    transform: translateY(-1px);
}

.hero,
.hero-secondary {
    margin-top: 140px;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 28px;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.secondary-copy,
.secondary-media {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero-copy,
.secondary-copy {
    padding: 42px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 250, 0.86));
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-panel,
.secondary-media {
    padding: 18px;
    background:
        linear-gradient(160deg, rgba(28, 40, 58, 0.95), rgba(21, 30, 43, 0.85));
    color: white;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero h1,
.secondary-copy h1 {
    font-size: clamp(2.3rem, 4vw, 4.3rem);
    line-height: 1.02;
    margin-bottom: 18px;
}

.hero-text,
.secondary-copy > p {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--text-soft);
}

.hero-actions,
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 16px 28px rgba(141, 38, 27, 0.26);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    border: 1px solid rgba(32, 48, 66, 0.12);
}

.hero-panel-top {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.hero-badge,
.product-tag,
.mini-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.hero-badge,
.mini-chip {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: white;
}

.inicio {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    aspect-ratio: 16 / 10;
    background: rgba(255, 255, 255, 0.08);
}

.carrusel {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease;
}

.carrusel a {
    min-width: 100%;
    height: 100%;
    padding: 6px;
}

.carrusel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

.botonescarrusel {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}

.botoncarrusel {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    color: white;
    background: rgba(13, 21, 32, 0.42);
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.botoncarrusel:hover {
    transform: scale(1.05);
    background: rgba(194, 58, 43, 0.82);
}

.stats-strip,
.info-grid,
.detail-grid,
.menu,
.products-inline {
    display: grid;
    gap: 22px;
}

.stats-strip {
    grid-template-columns: repeat(3, 1fr);
    margin: 28px 0 0;
}

.stats-strip article,
.info-card,
.detail-card,
.spec-card,
.feature-card,
.contact-card {
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.stats-strip strong,
.info-card h3,
.detail-card h3,
.spec-card h3,
.feature-card h3,
.contact-card h3 {
    display: block;
    margin-bottom: 10px;
    font-size: 1.08rem;
}

.stats-strip p,
.info-card p,
.detail-card p,
.spec-card p,
.feature-card p,
.contact-card p,
.presentacion p,
.secondary-copy li,
.contacto .contactos .contactoslista div p,
.menu a p {
    color: var(--text-soft);
    line-height: 1.7;
}

.nosotros,
.presentacion,
.contacto,
.cta-block,
.gallery-strip,
.menu-section {
    margin-top: 96px;
}

.nosotros {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(236, 241, 246, 0.9));
}

.nosotros .nosotros-text {
    display: flex;
    align-items: center;
    padding: 40px;
}

.nosotros .nosotros-text h2 {
    margin-bottom: 16px;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.nosotros .nosotros-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-soft);
}

.nosotros .nosotros-img {
    min-height: 100%;
    background: linear-gradient(135deg, rgba(194, 58, 43, 0.1), rgba(14, 127, 167, 0.1));
}

.nosotros .nosotros-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.presentacion,
.cta-block,
.menu-section {
    padding: 40px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 244, 249, 0.9));
    box-shadow: var(--shadow);
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading.center {
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
}

.valor {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 26px;
    align-items: center;
}

.value-copy h3 {
    margin-bottom: 18px;
    font-size: 1.4rem;
}

.value-copy ul {
    list-style: none;
    display: grid;
    gap: 14px;
}

.value-copy li {
    position: relative;
    padding-left: 22px;
    line-height: 1.65;
    color: var(--text-soft);
}

.value-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.valor img,
.secondary-media img,
.gallery-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.servicios {
    margin-top: 96px;
}

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

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 28px;
    text-decoration: none;
    color: white;
    background: linear-gradient(180deg, rgba(17, 25, 36, 0.05), rgba(17, 25, 36, 0.9));
    box-shadow: var(--shadow);
}

.product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 18, 26, 0.08), rgba(12, 18, 26, 0.82));
}

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.06);
}

.product-card h3 {
    margin: 14px 0 10px;
    font-size: 1.6rem;
}

.product-card p {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.65;
}

.product-tag {
    width: fit-content;
    color: white;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.info-grid,
.detail-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 32px;
}

.contacto .contactos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.contacto .contactos iframe {
    width: 100%;
    min-height: 420px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.contacto .contactos .contactoslista {
    display: grid;
    gap: 18px;
}

.contacto .contactos .contactoslista div {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 16px;
    align-items: center;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.contacto .contactos .contactoslista div p {
    width: 100%;
    font-size: 1rem;
}

.contacto .contactos .contactoslista div a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 700;
}

.icon-button,
.link-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(194, 58, 43, 0.14), rgba(14, 127, 167, 0.12));
    cursor: pointer;
}

.icon-button img,
.link-icon img {
    width: 34px;
}

.escogernumero {
    position: fixed;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 520px);
    min-height: 220px;
    z-index: 30;
    padding: 26px 24px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(20px);
    box-shadow: 0 28px 80px rgba(16, 25, 36, 0.26);
    display: none;
}

.escogernumero.show {
    display: block;
}

.escogernumero .tache {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(32, 48, 66, 0.08);
    color: var(--text);
    cursor: pointer;
    font-weight: 800;
}

.escogernumero .esnucont {
    display: grid;
    gap: 14px;
    margin-top: 12px;
}

.escogernumero .esnucont .floattext {
    padding-right: 30px;
    margin-bottom: 8px;
}

.escogernumero .esnucont a {
    display: block;
    padding: 14px 16px;
    border-radius: 18px;
    text-align: center;
    text-decoration: none;
    background: rgba(32, 48, 66, 0.04);
}

footer {
    width: 100%;
    padding: 56px 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(220, 226, 234, 0), rgba(198, 208, 219, 0.88));
}

footer p {
    font-size: 1rem;
    color: var(--text-soft);
}

.a,
.ad {
    position: fixed;
    bottom: 24px;
    z-index: 10;
    width: 236px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.a {
    left: 0;
    transform: translateX(calc(-100% + 62px));
}

.ad {
    right: 0;
    transform: translateX(calc(100% - 62px));
}

.a:hover,
.ad:hover {
    transform: translateX(0);
}

.wafloat,
.telfloat {
    height: 64px;
    display: grid;
    align-items: stretch;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(17, 28, 41, 0.2);
}

.wafloat {
    grid-template-columns: 3fr 1fr;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(135deg, #189c47, #0f6d32);
}

.telfloat {
    grid-template-columns: 1fr 3fr;
    border-radius: 999px 0 0 999px;
    background: linear-gradient(135deg, #0d7fa9, #0c5f81);
}

.wafloat p,
.telfloat p {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
}

.wafloat img,
.telfloat img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.secondary-copy ul,
.bullets {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.secondary-copy li,
.bullets li {
    position: relative;
    padding-left: 22px;
}

.secondary-copy li::before,
.bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.secondary-media {
    display: grid;
    gap: 18px;
}

.secondary-media .media-frame {
    min-height: 100%;
    overflow: hidden;
    border-radius: 24px;
}

.secondary-media .media-copy {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.82);
}

.gallery-strip {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

.gallery-stack {
    display: grid;
    gap: 24px;
}

.cta-block {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: center;
}

.cta-block .contact-card {
    background: linear-gradient(135deg, rgba(27, 36, 50, 0.96), rgba(24, 33, 46, 0.88));
    color: white;
}

.cta-block .contact-card p,
.cta-block .contact-card a {
    color: rgba(255, 255, 255, 0.82);
}

.menu-section .section-heading {
    margin-bottom: 28px;
}

.titulo {
    text-align: center;
    margin-top: 110px;
    color: var(--primary-dark);
}

.titulodos {
    margin-top: 150px;
}

.menu {
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.menu a {
    position: relative;
    min-height: 280px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    box-shadow: var(--shadow);
    isolation: isolate;
}

.menu a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 13, 19, 0.12), rgba(8, 13, 19, 0.88));
    z-index: -1;
}

.menu a img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    z-index: -2;
}

.menu a:hover > img {
    transform: scale(1.08);
}

.menu a h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.menu a p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    header {
        padding: 14px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    header .aheader {
        align-self: center;
        width: fit-content;
    }

    header a img {
        height: 56px;
    }

    header .listaheader {
        width: 100%;
        justify-content: center;
        gap: 6px;
        flex-wrap: wrap;
    }

    header .listaheader .elementolistaheader {
        flex: 1 1 calc(50% - 6px);
    }

    header .listaheader .elementolistaheader a {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 0.88rem;
        padding: 10px 12px;
    }

    .hero,
    .hero-secondary,
    .nosotros,
    .valor,
    .contacto .contactos,
    .cta-block,
    .gallery-strip {
        grid-template-columns: 1fr;
    }

    .hero,
    .hero-secondary {
        margin-top: 176px;
    }

    .hero-copy,
    .hero-panel,
    .secondary-copy,
    .secondary-media,
    .presentacion,
    .cta-block,
    .menu-section {
        padding: 24px;
    }

    .stats-strip,
    .info-grid,
    .detail-grid,
    .productos,
    .menu,
    .secondary-media .media-copy {
        grid-template-columns: 1fr;
    }

    .inicio {
        aspect-ratio: 16 / 11;
    }

    .botoncarrusel {
        width: 42px;
        height: 42px;
        font-size: 1.5rem;
    }

    .nosotros .nosotros-text {
        padding: 26px;
    }

    .contacto .contactos iframe {
        min-height: 320px;
    }

    .contacto .contactos .contactoslista div {
        grid-template-columns: 58px 1fr;
        padding: 18px;
    }

    .contacto .contactos .contactoslista div p {
        font-size: 0.92rem;
    }

    .a,
    .ad {
        width: 172px;
    }

    .wafloat,
    .telfloat {
        height: 48px;
    }

    .wafloat p,
    .telfloat p {
        font-size: 0.74rem;
    }

    footer p {
        font-size: 0.88rem;
    }

    .titulo {
        margin-top: 160px;
    }

    .titulodos {
        margin-top: 180px;
    }
}
