﻿:root {
    --brand-pink: #ef2c78;
    --brand-blue: #29bce5;
    --brand-blue-dark: #118db2;
    --bubble-pink: #fde3ee;
    --text-dark: #15314f;
    --close-red: #E91E63;
    --page-bg: #ffffff;
    --panel-shadow: 0 26px 60px rgba(14, 67, 87, 0.24);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100svh;
    font-family: "Nunito", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(41, 188, 229, 0.09), transparent 34%),
        radial-gradient(circle at top right, rgba(239, 44, 120, 0.08), transparent 28%),
        var(--page-bg);
    color: var(--text-dark);
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

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

button,
a {
    font: inherit;
}

.page-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
    min-height: 100svh;
    padding: 64px 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-transparent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    padding: 22px 26px;
    display: flex;
    justify-content: flex-end;
}

.header-actions {
    display: flex;
    align-items: center;
}

.lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lang-flag img {
    width: 42px;
    border-radius: 8px;
    border: 2px solid #fff;
    box-shadow: 0 10px 20px rgba(21, 49, 79, 0.15);
}

.lang-flag:hover {
    transform: translateY(-2px) scale(1.04);
}

.hero {
    text-align: center;
}

.hero-logo {
    width: min(100%, 210px);
    margin: 0 auto 10px;
}

.hero-title {
    margin: 0;
    color: var(--brand-pink);
    font-size: clamp(1.55rem, 2.5vw, 2.7rem);
    font-weight: 700;
    line-height: 1.15;
}

.services-grid-container {
    margin-top: 18px;
}

.services-grid {
    width: min(100%, 360px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 12px;
}

.service-item {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.icon-bubble {
    width: 82px;
    height: 82px;
    border-radius: 50% 50% 48% 52% / 56% 54% 46% 44%;
    background: var(--bubble-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-item:hover .icon-bubble,
.service-item:focus-visible .icon-bubble {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 24px rgba(239, 44, 120, 0.12);
}

.icon-bubble i {
    font-size: 2rem;
    color: var(--brand-blue);
}

.service-text {
    min-width: 92px;
    padding: 5px 9px;
    border: 1.5px solid var(--brand-pink);
    border-radius: 18px;
    color: var(--brand-pink);
    background: #fff;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
}

.contact-footer {
    width: min(100%, 980px);
    margin: 54px auto 0;
    padding: 22px 22px 22px;
    border-radius: 38px 38px 0 0;
    background:
        linear-gradient(145deg, rgba(21, 49, 79, 0.98), rgba(41, 188, 229, 0.88)),
        linear-gradient(180deg, rgba(239, 44, 120, 0.15), transparent);
    box-shadow: 0 -12px 34px rgba(21, 49, 79, 0.12);
}

.footer-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.footer-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-block p {
    margin: 0 0 8px;
    font-size: 0.92rem;
    line-height: 1.45;
}

.footer-block-contact {
    color: #fff;
}

.footer-social-column {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 116px;
}

.footer-block a {
    color: #8fe7fb;
    text-decoration: none;
}

.site-footer {
    display: flex;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 6px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.site-footer-copy {
    margin: 0;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.86;
    text-align: center;
}

.site-footer-social {
    display: flex;
    gap: 12px;
}

.site-footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(239, 44, 120, 0.95);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(239, 44, 120, 0.28);
}

.modal-panel {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(12, 28, 48, 0.2);
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

.modal-panel.is-open,
.modal-panel.is-closing {
    visibility: visible;
    pointer-events: auto;
}

.modal-scroll {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    background: var(--brand-blue);
    color: #fff;
    transform: translateX(-100%);
    transition: transform 0.45s ease;
}

.modal-panel.is-open .modal-scroll {
    transform: translateX(0);
}

.modal-panel.is-closing .modal-scroll {
    transform: translateX(-100%);
}

.modal-inner {
    width: min(100%, 900px);
    margin: 0 auto;
    padding: 34px 22px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.modal-close {
    position: sticky;
    top: 16px;
    margin-left: auto;
    margin-right: 20px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: var(--close-red);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.modal-close span {
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 800;
}

.modal-title {
    font-family: "Pacifico", cursive;
}

.modal-title {
    margin: 10px 0 18px;
    color: #fff;
    font-size: clamp(2.25rem, 4.6vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
}

.modal-copy {
    width: min(100%, 420px);
    max-width: 420px;
    margin: 0 0 18px;
    font-size: clamp(1.08rem, 1.8vw, 1.55rem);
    line-height: 1.7;
    font-family: "Nunito", sans-serif;
    font-weight: 500;
    text-align: center;
}

.modal-buttons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 10px 0 28px;
}

.btn-just {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 0;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

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

.btn-whatsapp {
    background: #25d366;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.24);
}

.btn-order {
    background: #15314f;
    box-shadow: 0 12px 24px rgba(21, 49, 79, 0.24);
}

.btn-pdf {
    background: var(--brand-pink);
    box-shadow: 0 12px 24px rgba(239, 44, 120, 0.24);
}

.btn-just.is-disabled,
.btn-just[aria-disabled="true"] {
    opacity: 0.65;
    pointer-events: none;
}

.modal-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.modal-promo-img {
    width: min(100%, 420px);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    padding: 10px;
    box-shadow: var(--panel-shadow);
}

@media (max-width: 768px) {
    .page-shell {
        min-height: auto;
        padding: 68px 12px 24px;
        justify-content: flex-start;
    }

    .hero {
        padding-top: 0;
    }

    .hero-logo {
        width: min(54vw, 170px);
    }

    .services-grid {
        width: min(100%, 280px);
        gap: 14px 10px;
    }

    .icon-bubble {
        width: 74px;
        height: 74px;
    }

    .icon-bubble i {
        font-size: 1.85rem;
    }

    .service-text {
        min-width: 0;
        width: 100%;
        font-size: 0.76rem;
        padding: 5px 8px;
    }

    .modal-inner {
        padding: 24px 18px 42px;
    }

    .modal-close {
        top: 12px;
        margin-right: 12px;
        width: 48px;
        height: 48px;
    }

    .contact-footer {
        margin-top: 42px;
        padding: 22px 16px 20px;
        border-radius: 32px 32px 0 0;
    }

    .footer-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-social-column {
        min-width: 0;
    }

    .site-footer {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100%, 260px);
        gap: 12px 8px;
    }

    .hero-title {
        font-size: 1.35rem;
    }

    .modal-copy {
        font-size: 1.1rem;
        line-height: 1.6;
    }

}
