:root {
    --logo-primary: #0d1b3c;
    --logo-secondary: #182a58;
    --text-light: #f8fafc;
    --text-muted: #dbe4ff;
    --surface: #f4f6fb;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #1f2937;
    background-color: var(--surface);
}

img {
    max-width: 100%;
}

iframe {
    max-width: 100%;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(13, 27, 60, 0.95);
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 88px;
}

.brand {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 74px;
    height: 74px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.brand-name {
    font-family: "Great Vibes", "Lucida Handwriting", cursive;
    font-size: 2.05rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.4px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.menu {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
}

.menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid transparent;
    transition: 0.25s ease;
}

.menu a:hover {
    color: #ffffff;
    border-bottom-color: #c9d7ff;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.45rem;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: #ffffff;
    margin: 5px 0;
    border-radius: 2px;
}

.hero {
    min-height: calc(100vh - 80px);
    background-image: linear-gradient(rgba(8, 17, 38, 0.18), rgba(8, 17, 38, 0.24)), url("imagenes/fondo-inicio.jpg");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    min-height: calc(100vh - 80px);
    display: grid;
    place-items: center;
    text-align: center;
}

.hero-content {
    max-width: 760px;
    color: var(--text-light);
    background: rgba(5, 13, 31, 0.34);
    padding: 1.4rem 1.6rem;
    border-radius: 10px;
    backdrop-filter: blur(1px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-kicker {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--text-muted);
}

.hero h2 {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.15;
}

.hero-title-script {
    font-family: "Great Vibes", "Lucida Handwriting", cursive;
    font-size: clamp(2.4rem, 5vw, 4.3rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: 0.3px;
}

.hero-text {
    margin: 1rem auto 0;
    max-width: 640px;
    font-size: 1.06rem;
    line-height: 1.6;
}

.hero-actions {
    margin-top: 1.7rem;
    display: inline-flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: #ffffff;
    color: var(--logo-primary);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.section {
    padding: 3rem 0 0;
}

.section h3 {
    margin: 0;
    color: var(--logo-primary);
    font-size: 1.6rem;
}

.section p {
    margin-top: 0.8rem;
    line-height: 1.7;
    max-width: 760px;
}

.section-last {
    padding-bottom: 3.5rem;
}

.about-section {
    padding-top: 3.2rem;
    padding-bottom: 2.6rem;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.45fr;
    gap: 1.6rem;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
    border: 1px solid #dce6ff;
    border-radius: 14px;
    padding: 1.3rem;
    box-shadow: 0 14px 26px rgba(13, 27, 60, 0.1);
}

.about-image img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: block;
    border-radius: 50%;
    object-fit: contain;
    border: 5px solid #ffffff;
    background: radial-gradient(circle, #15306b 0%, #0d1b3c 100%);
    box-shadow: 0 16px 30px rgba(13, 27, 60, 0.24);
}

.about-content h3 {
    margin: 0;
    font-size: clamp(1.7rem, 3.2vw, 2.2rem);
    color: var(--logo-primary);
}

.about-content p {
    margin-top: 0.9rem;
    line-height: 1.75;
    color: #263454;
}

.gallery-section {
    padding: 0.2rem 0 2.6rem;
}

.gallery-section h3 {
    margin: 0;
    color: var(--logo-primary);
    font-size: clamp(1.6rem, 2.8vw, 2rem);
}

.gallery-lead {
    margin: 0.65rem 0 1.1rem;
    color: #3b4d74;
    max-width: 780px;
    line-height: 1.65;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.gallery-item {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d8e3ff;
    box-shadow: 0 8px 18px rgba(13, 27, 60, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    transition: transform 0.28s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 12, 29, 0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-image {
    max-width: min(92vw, 1200px);
    max-height: 84vh;
    border-radius: 10px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    cursor: pointer;
    border-radius: 8px;
}

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.9rem;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 62px;
    font-size: 1.9rem;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.facebook-section {
    padding: 0.8rem 0 3rem;
}

.facebook-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.2rem;
    align-items: center;
}

.facebook-info h3 {
    margin: 0;
    color: var(--logo-primary);
    font-size: 1.75rem;
}

.facebook-info p {
    color: #33466d;
    line-height: 1.7;
    margin: 0.8rem 0 1.1rem;
}

.facebook-widget iframe {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(13, 27, 60, 0.22);
}

.services-section {
    background: linear-gradient(180deg, #f7f9fe 0%, #eef3ff 100%);
    margin-top: 3rem;
    padding: 3.2rem 0 3.8rem;
}

.stats-section {
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.stat-card {
    background: linear-gradient(165deg, #0f2450 0%, #18356f 100%);
    color: #f4f7ff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    text-align: center;
    padding: 1rem 0.8rem;
    box-shadow: 0 10px 20px rgba(8, 19, 43, 0.28);
}

.stat-number {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
}

.stat-card p {
    margin: 0.55rem 0 0;
    font-size: 0.92rem;
    color: #d5def8;
    line-height: 1.45;
}

.services-intro {
    text-align: center;
}

.services-intro h3 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    color: var(--logo-primary);
}

.services-intro p {
    margin: 0.9rem auto 0;
    max-width: 820px;
    color: #445070;
    line-height: 1.7;
}

.services-grid-wrapper {
    margin-top: 2.4rem;
}

.services-grid-wrapper h4 {
    margin: 0;
    text-align: center;
    color: var(--logo-secondary);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-lead {
    margin: 0.8rem auto 1.6rem;
    text-align: center;
    max-width: 760px;
    color: #556388;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    min-height: 235px;
    box-shadow: 0 10px 24px rgba(13, 27, 60, 0.22);
}

a.service-card {
    display: block;
    text-decoration: none;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 16, 38, 0.78), rgba(7, 16, 38, 0.12));
}

.service-card-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.8rem;
    z-index: 1;
    color: #ffffff;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.footer-contact {
    background: linear-gradient(165deg, #0d1b3c 0%, #132854 100%);
    color: #f2f5ff;
    padding-top: 2.6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1.2fr;
    gap: 1.4rem;
    align-items: start;
}

.footer-brand img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    background: #ffffff;
}

.footer-brand h3,
.footer-info h4,
.footer-map h4 {
    margin: 0.8rem 0 0.65rem;
}

.footer-brand p,
.footer-info li {
    color: #d8e0f7;
    line-height: 1.6;
}

.footer-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-info li {
    margin-bottom: 0.55rem;
}

.footer-info strong {
    color: #ffffff;
}

.footer-info a {
    color: #e7edff;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-map iframe {
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.footer-copy {
    margin-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-copy p {
    margin: 0;
    padding: 0.9rem 0;
    text-align: center;
    color: #c6d2f5;
    font-size: 0.92rem;
}

.whatsapp-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #25d366;
    color: #ffffff;
    border-radius: 999px;
    padding: 0.68rem 0.88rem;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.whatsapp-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 28px rgba(0, 0, 0, 0.34);
}

.whatsapp-widget svg {
    width: 21px;
    height: 21px;
}

.contact-page {
    padding-bottom: 3rem;
}

.contact-hero {
    padding: 2.6rem 0 1.2rem;
    background: linear-gradient(165deg, #0d1b3c 0%, #142b5c 100%);
    color: #f5f8ff;
    margin-bottom: 2rem;
}

.contact-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 3.5vw, 2.7rem);
}

.contact-hero p {
    margin: 0.8rem 0 0;
    color: #dce5ff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-card {
    background: #ffffff;
    border: 1px solid #dbe5ff;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    box-shadow: 0 8px 18px rgba(13, 27, 60, 0.08);
}

.contact-card h3 {
    margin: 0;
    color: var(--logo-primary);
}

.contact-card p {
    margin: 0.55rem 0 0.7rem;
    color: #384b74;
}

.contact-card a {
    color: #0f2a67;
    font-weight: 700;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.map-section {
    margin-top: 1.4rem;
}

.map-section h3 {
    margin: 0;
    color: var(--logo-primary);
}

.map-section p {
    margin: 0.5rem 0 0.9rem;
    color: #33466d;
}

.map-section iframe {
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(13, 27, 60, 0.16);
}

.catalog-hero {
    background: linear-gradient(165deg, #0d1b3c 0%, #15306b 100%);
    color: #f5f8ff;
    padding: 2.7rem 0 2rem;
}

.catalog-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.catalog-hero p {
    margin: 0.8rem 0 0;
    max-width: 760px;
    color: #d9e3ff;
    line-height: 1.7;
}

.quick-contact-section {
    margin-top: -1rem;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.quick-contact-btn {
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    padding: 0.82rem 0.7rem;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(13, 27, 60, 0.2);
}

.quick-contact-btn.whatsapp { background: #25d366; }
.quick-contact-btn.call { background: #1d4ed8; }
.quick-contact-btn.email { background: #0f766e; }
.quick-contact-btn.facebook { background: #1877f2; }

.catalog-list {
    padding-top: 2rem;
    padding-bottom: 2.8rem;
    display: grid;
    gap: 1.2rem;
}

.catalog-item {
    background: #ffffff;
    border: 1px solid #dce6ff;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(13, 27, 60, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.marmol-slider {
    position: relative;
}

.marmol-slider img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.marmol-slider img.is-active {
    opacity: 1;
    position: relative;
}

.marmol-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: 36px;
    height: 56px;
    border-radius: 8px;
    background: rgba(13, 27, 60, 0.55);
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
}

.marmol-slider-btn.prev { left: 8px; }
.marmol-slider-btn.next { right: 8px; }

.catalog-content {
    padding: 1rem 1.15rem 1.2rem;
}

.catalog-content h2 {
    margin: 0;
    color: var(--logo-primary);
}

.catalog-content h3 {
    margin: 0.9rem 0 0.45rem;
    color: #1d3366;
    font-size: 1rem;
}

.catalog-content p {
    margin: 0.65rem 0 0;
    color: #2c3f67;
    line-height: 1.7;
}

.catalog-content ul {
    margin: 0.25rem 0 1rem;
    padding-left: 1.2rem;
    color: #2d3f65;
    line-height: 1.65;
}

@media (max-width: 1100px) {
    .brand-name {
        font-size: clamp(1.45rem, 3vw, 1.9rem);
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-item {
        grid-template-columns: 1fr;
    }

    .catalog-image img {
        min-height: 220px;
        max-height: 330px;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 0.45rem;
        padding: 0.75rem 0;
    }

    .brand {
        width: 100%;
    }

    .brand-logo {
        width: 62px;
        height: 62px;
    }

    .brand-name {
        font-size: clamp(1.3rem, 6vw, 1.75rem);
    }

    .menu-toggle {
        display: inline-block;
        position: absolute;
        top: 24px;
        right: 0;
    }

    .site-header .container {
        position: relative;
    }

    .site-header nav {
        display: none;
        width: 100%;
        background: rgba(9, 20, 47, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 10px;
        padding: 0.6rem;
        margin-top: 0.2rem;
    }

    .site-header nav.nav-mobile-open {
        display: block;
    }

    .menu {
        flex-wrap: wrap;
        gap: 0.45rem;
        width: 100%;
        flex-direction: column;
    }

    .menu a {
        font-size: 0.92rem;
        display: block;
        padding: 0.42rem 0.25rem;
    }

    .hero {
        min-height: auto;
    }

    .hero-overlay {
        min-height: auto;
        padding: 1.9rem 0 2.2rem;
    }

    .hero-content {
        padding: 1.05rem 1rem;
    }

    .hero-title-script {
        font-size: clamp(1.8rem, 8vw, 2.7rem);
    }

    .hero-text {
        font-size: 0.98rem;
    }

    .services-grid,
    .contact-grid,
    .footer-grid,
    .facebook-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .map-section iframe,
    .footer-map iframe {
        height: 270px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 38px;
        height: 50px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(1140px, 94%);
    }

    .menu a {
        font-size: 0.86rem;
    }

    .stats-grid,
    .quick-contact-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 195px;
    }

    .stat-card {
        padding: 0.9rem 0.7rem;
    }

    .catalog-content {
        padding: 0.9rem 0.9rem 1rem;
    }

    .whatsapp-widget span {
        display: none;
    }

    .whatsapp-widget {
        padding: 0.72rem;
        right: 14px;
        bottom: 14px;
    }
}
