:root {
    --ink: #171423;
    --white: #fffaf1;
    --muted: #6f6674;
    --pink: #ff3f8f;
    --cyan: #00b7ff;
    --yellow: #ffe04b;
    --lime: #baff39;
    --violet: #6d48ff;
    --line: rgba(23, 20, 35, 0.16);
    --shadow: 0 18px 50px rgba(23, 20, 35, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(23, 20, 35, 0.045) 1px, transparent 1px),
        linear-gradient(0deg, rgba(23, 20, 35, 0.045) 1px, transparent 1px),
        radial-gradient(circle at 8% 10%, rgba(255, 63, 143, 0.24), transparent 26rem),
        radial-gradient(circle at 90% 18%, rgba(0, 183, 255, 0.22), transparent 26rem),
        linear-gradient(135deg, #fffaf1 0%, #fff0f8 48%, #ecfbff 100%);
    background-size: 34px 34px, 34px 34px, auto, auto, auto;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 800;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 18px;
    align-items: center;
    padding: 14px clamp(16px, 4vw, 44px);
    border-bottom: 3px solid var(--ink);
    background: rgba(255, 250, 241, 0.9);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

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

.main-nav {
    display: flex;
    gap: 6px;
    padding: 6px;
    border: 3px solid var(--ink);
    border-radius: 999px;
    background: #fff;
    box-shadow: 5px 5px 0 var(--ink);
}

.main-nav a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 999px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.main-nav a.is-active,
.main-nav a:hover {
    color: var(--white);
    background: var(--pink);
}

.social-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-nav a,
.whatsapp-chat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--ink);
    background: #fff;
    color: var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
}

.social-nav a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.social-nav svg,
.whatsapp-chat svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-nav a:nth-child(1) {
    background: var(--pink);
    color: #fff;
}

.social-nav a:nth-child(2) {
    background: var(--cyan);
}

.social-nav a:nth-child(3),
.whatsapp-chat {
    background: #25d366;
}

.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    perspective: 1000px;
    background: var(--ink);
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    background: linear-gradient(90deg, rgba(23, 20, 35, 0.78) 0%, rgba(23, 20, 35, 0.22) 50%, rgba(23, 20, 35, 0.1) 100%);
}

.hero-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    bottom: 0;
    width: 100%;
    height: calc(100% - 74px);
    object-fit: cover;
    object-position: 50% 8%;
}

@keyframes logoCoinSpin {
    0% {
        transform: rotateY(0deg) rotateZ(-4deg) scale(1);
    }

    50% {
        transform: rotateY(180deg) rotateZ(0deg) scale(1.02);
    }

    88% {
        transform: rotateY(352deg) rotateZ(-3.8deg) scale(1);
    }

    94% {
        transform: rotateY(358deg) rotateZ(-4deg) scale(1);
    }

    100% {
        transform: rotateY(360deg) rotateZ(-4deg) scale(1);
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 32px));
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    margin: 0 auto;
    padding: 130px 0 clamp(48px, 8vw, 90px);
}

.hero-copy {
    width: min(820px, 100%);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--pink);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

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

.intro-section .eyebrow,
.service-section .eyebrow,
.format-section .eyebrow,
.video-section .eyebrow {
    color: var(--pink);
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 18px;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: "Archivo Black", Inter, system-ui, sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    max-width: 920px;
    margin-bottom: 18px;
    color: var(--white);
    font-size: clamp(58px, 10vw, 142px);
    line-height: 0.86;
    text-shadow: 5px 5px 0 rgba(23, 20, 35, 0.9);
}

.le-word {
    display: inline-flex;
    align-items: center;
    gap: 0.12em;
}

.panate-word {
    display: inline-flex;
    align-items: center;
    gap: 0.12em;
}

.hero-logo-dot {
    position: static;
    display: inline-flex;
    width: 0.92em;
    height: 0.92em;
    aspect-ratio: 1;
    perspective: 900px;
    pointer-events: none;
    vertical-align: middle;
}

.hero-logo-mobile {
    display: none;
}

.hero-logo-dot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(4px 5px 0 rgba(23, 20, 35, 0.78));
    animation: logoCoinSpin 3.4s linear infinite;
    transform-origin: 50% 52%;
    backface-visibility: visible;
}

h2 {
    max-width: 900px;
    margin-bottom: 0;
    font-size: clamp(34px, 5.4vw, 76px);
    line-height: 0.95;
}

h3 {
    margin: 0 0 18px;
}

.hero-line {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--white);
    font-size: clamp(22px, 2.8vw, 38px);
    line-height: 1.08;
    text-shadow: 2px 2px 0 rgba(23, 20, 35, 0.8);
}

.hero-actions,
.contact-actions,
.service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 3px solid var(--ink);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.button.primary {
    color: var(--white);
    background: var(--pink);
}

.button.call-button {
    color: var(--ink);
    background: var(--cyan);
}

.intro-section,
.service-section,
.format-section,
.video-section,
.contact-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(72px, 9vw, 120px) 0;
}

.intro-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: center;
}

.intro-photo {
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 4px solid var(--ink);
    border-radius: 18px;
    background: var(--ink);
    box-shadow: 12px 12px 0 var(--pink);
    transform: rotate(-2deg);
}

.intro-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 34%;
    filter: grayscale(1) contrast(1.08);
}

.intro-copy p,
.section-subtitle {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.35;
}

.service-section,
.format-section,
.video-section {
    border-top: 3px solid var(--ink);
}

.section-title {
    max-width: 960px;
    margin-bottom: 22px;
}

.service-grid,
.format-grid {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-grid article,
.format-grid article,
.service-note,
.instagram-feed,
.media-tile {
    border: 4px solid var(--ink);
    border-radius: 18px;
    box-shadow: 8px 8px 0 var(--ink);
}

.service-grid article {
    position: relative;
    min-height: 430px;
    padding: clamp(26px, 3vw, 36px);
    padding-top: clamp(50px, 5vw, 62px);
    background: #fff;
}

.service-grid article::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 18px;
    border-bottom: 4px solid var(--ink);
    border-radius: 14px 14px 0 0;
    content: "";
}

.package-basic::before {
    background: #1f9eb0;
}

.package-silver::before {
    background: linear-gradient(90deg, #aeb4bb, #f7f7f3, #8a939e);
}

.package-gold::before {
    background: linear-gradient(90deg, #b98122, #ffd77a, #9e6818);
}

.service-grid h3,
.format-grid h3 {
    font-size: clamp(26px, 3.4vw, 44px);
    line-height: 0.95;
}

.service-grid p,
.format-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.42;
}

.service-grid ul {
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.service-grid li {
    position: relative;
    padding-left: 28px;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.3;
}

.service-grid li::before {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--pink);
    content: "✔";
    font-weight: 900;
}

.service-note {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    margin-top: 22px;
    padding: 24px;
    background: var(--yellow);
}

.service-note p {
    max-width: 760px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.35;
}

.format-grid article {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 340px;
    padding: clamp(24px, 3vw, 36px);
    color: #fff;
    background: var(--ink);
}

.format-grid article::before,
.format-grid article::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
}

.format-grid article::after {
    background:
        linear-gradient(180deg, rgba(23, 20, 35, 0.02), rgba(23, 20, 35, 0.82)),
        linear-gradient(90deg, rgba(23, 20, 35, 0.82), rgba(23, 20, 35, 0.1));
}

.format-italiana::before {
    background: url("/assets/format-la-notte-vola.webp") center 28% / cover;
}

.format-millennials::before {
    background: url("/assets/format-millennials-party.png") center 45% / cover;
}

.format-cartoon::before {
    background: url("/assets/format-cartoon-party.jpeg") center 35% / cover;
}

.format-trash::before {
    background: url("/assets/format-trash-party.png") center 48% / cover;
}

.format-grid .format-lead {
    margin-bottom: 18px;
    color: var(--white);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.25;
}

.format-grid p {
    color: rgba(255, 250, 241, 0.86);
}

.best-moments-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: 18px;
    margin-top: 22px;
}

.media-tile {
    overflow: hidden;
    background: var(--ink);
}

.media-video {
    aspect-ratio: 9 / 16;
}

.media-photo {
    min-height: 560px;
}

.media-tile video,
.media-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-feed {
    display: grid;
    grid-template-columns: auto minmax(420px, 1fr);
    gap: 18px;
    align-items: stretch;
    margin-top: 18px;
    background: #fff;
}

.instagram-feed-copy {
    display: grid;
    align-content: start;
    padding: 18px;
}

.instagram-frame {
    overflow: hidden;
    min-height: 620px;
    border-left: 4px solid var(--ink);
    background: #fff;
}

.instagram-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 620px;
    border: 0;
}

.contact-section {
    min-height: 64svh;
    display: grid;
    align-content: center;
}

.site-footer {
    padding: 24px clamp(16px, 4vw, 44px);
    border-top: 3px solid var(--ink);
    color: var(--ink);
    background: var(--yellow);
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.4;
}

.whatsapp-chat {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 30;
    min-height: 54px;
    gap: 8px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.whatsapp-widget {
    position: fixed;
    right: 20px;
    bottom: 88px;
    z-index: 31;
    width: min(360px, calc(100vw - 32px));
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
}

.whatsapp-widget.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.whatsapp-panel {
    overflow: hidden;
    border: 4px solid var(--ink);
    border-radius: 18px;
    background: #fff;
    box-shadow: 8px 8px 0 var(--ink);
}

.whatsapp-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 4px solid var(--ink);
    background: #25d366;
}

.whatsapp-panel-head strong {
    font-family: "Archivo Black", Inter, system-ui, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
}

.whatsapp-close {
    width: 32px;
    height: 32px;
    border: 3px solid var(--ink);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.whatsapp-panel p {
    margin: 0;
    padding: 16px 16px 10px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.35;
}

.whatsapp-panel textarea {
    width: calc(100% - 32px);
    min-height: 110px;
    margin: 0 16px 14px;
    padding: 12px;
    border: 3px solid var(--ink);
    border-radius: 12px;
    color: var(--ink);
    background: #fffaf1;
    font: inherit;
    font-size: 15px;
    resize: vertical;
}

.whatsapp-panel .whatsapp-send {
    width: calc(100% - 32px);
    margin: 0 16px 16px;
}

@media (max-width: 920px) {
    .site-header {
        grid-template-columns: 1fr auto;
        gap: 10px;
    }

    .main-nav {
        grid-column: 1 / -1;
        justify-self: start;
        max-width: 100%;
        overflow-x: auto;
    }

    .intro-section,
    .best-moments-grid,
    .instagram-feed {
        grid-template-columns: 1fr;
    }

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

    .service-grid article,
    .format-grid article {
        min-height: 0;
    }

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

    .media-photo {
        min-height: 340px;
    }

    .instagram-frame {
        min-height: 560px;
        border-left: 0;
        border-top: 4px solid var(--ink);
    }

    .instagram-frame iframe {
        min-height: 560px;
    }
}

@media (max-width: 560px) {
    html {
        scroll-padding-top: 116px;
    }

    .site-header {
        padding: 12px;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .brand span {
        font-size: 13px;
    }

    .main-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 3px;
        overflow: visible;
        padding: 4px;
        box-shadow: 3px 3px 0 var(--ink);
    }

    .social-nav {
        gap: 5px;
    }

    .social-nav a {
        width: 36px;
        height: 36px;
        box-shadow: 3px 3px 0 var(--ink);
    }

    .social-nav svg {
        width: 18px;
        height: 18px;
    }

    .main-nav a {
        padding-inline: 6px;
        font-size: 9px;
    }

    .hero-inner,
    .intro-section,
    .service-section,
    .format-section,
    .video-section,
    .contact-section {
        width: min(100% - 24px, 1180px);
    }

    .hero {
        background: var(--ink);
    }

    .hero-bg {
        top: 112px;
        height: calc(100% - 112px);
        object-position: 54% 8%;
    }

    .hero-inner {
        min-height: 100svh;
        padding-top: 128px;
        padding-bottom: 40px;
    }

    h1 {
        font-size: clamp(46px, 15vw, 68px);
    }

    .hero-logo-desktop {
        display: none;
    }

    .hero-logo-mobile {
        display: inline-flex;
    }

    h2 {
        font-size: clamp(32px, 10vw, 48px);
    }

    .hero-line {
        font-size: 21px;
    }

    .hero-actions,
    .contact-actions,
    .service-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .whatsapp-chat {
        right: 12px;
        bottom: 12px;
        min-height: 48px;
        padding: 0 13px;
        box-shadow: 3px 3px 0 var(--ink);
    }

    .whatsapp-chat span {
        display: none;
    }

    .whatsapp-widget {
        right: 12px;
        bottom: 72px;
        width: calc(100vw - 24px);
    }

    .intro-photo {
        aspect-ratio: 16 / 11;
        transform: none;
    }

    .intro-photo img {
        object-position: 50% 18%;
    }
}

@media (min-width: 1100px) {
    .hero-logo-mobile {
        display: none;
    }

    .hero-logo-desktop {
        display: inline-flex;
    }

    .site-header {
        grid-template-columns: minmax(260px, 1fr) auto minmax(520px, auto);
        padding-block: 12px;
    }

    .main-nav {
        justify-self: end;
    }

    .hero-inner,
    .intro-section,
    .service-section,
    .format-section,
    .video-section,
    .contact-section {
        width: min(1320px, calc(100% - 72px));
    }

    .hero-inner {
        align-items: center;
        padding-top: 120px;
        padding-bottom: 70px;
    }

    .hero-copy {
        width: min(760px, 58vw);
        margin-top: 90px;
    }

    h1 {
        max-width: 820px;
        font-size: clamp(90px, 8.4vw, 150px);
    }

    .hero-line {
        max-width: 660px;
        font-size: clamp(28px, 2.2vw, 40px);
    }

    .intro-section {
        grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
    }

    .intro-photo {
        max-height: 720px;
    }

    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }

    .service-grid article {
        display: flex;
        flex-direction: column;
    }

    .service-grid article p {
        margin-top: auto;
    }

    .format-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .format-grid article {
        min-height: 520px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .format-grid h3 {
        font-size: clamp(25px, 2vw, 36px);
    }

    .format-grid p {
        font-size: 16px;
    }

    .best-moments-grid {
        grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
        gap: 22px;
    }

    .media-video {
        max-height: 760px;
    }

    .media-photo {
        min-height: 760px;
    }

    .instagram-feed {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .contact-section {
        min-height: 54svh;
    }
}
