:root {
    --bg: #eceae6;
    --paper: #f7f6f3;
    --ink: #0e0e0e;
    --muted: #5f5a54;
    --line: #d5d0c8;
    --accent: #c1121f;
    --accent-dark: #9a0e18;
    --dark: #0e0e0e;
    --header: 72px;
    --header-s: 60px;
    --font-body: "Manrope", "Segoe UI", sans-serif;
    --font-display: "Space Grotesk", "Segoe UI", sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 18px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

a:hover {
    color: var(--accent-dark);
}

.wrap {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: 12px 0 0;
}

.header-shell {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
    border: 1px solid rgba(14, 14, 14, 0.08);
    background: rgba(247, 246, 243, 0.82);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-radius: 20px;
    overflow: visible;
    position: relative;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.is-scrolled .header-shell {
    background: rgba(247, 246, 243, 0.94);
    box-shadow: 0 16px 40px rgba(14, 14, 14, 0.1);
}

html:not(.is-scrolled) body.page-home .site-header {
    position: absolute;
    left: 0;
    right: 0;
}

html:not(.is-scrolled) body.page-home .header-shell {
    background: rgba(14, 14, 14, 0.28);
    border-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

html:not(.is-scrolled) body.page-home .site-nav a,
html:not(.is-scrolled) body.page-home .nav-toggle {
    color: #fff;
}

html:not(.is-scrolled) body.page-home .logo img {
    filter: brightness(0) invert(1);
}

html:not(.is-scrolled) body.page-home .social-icons a {
    color: #fff;
}

.header-main {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 24px;
    row-gap: 6px;
    padding: 16px 12px;
    transition: padding 0.25s var(--ease);
}

.is-scrolled .header-main {
    grid-template-rows: auto;
    padding: 12px;
}

.logo {
    display: flex;
    align-items: center;
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: center;
}

.logo img {
    height: 64px;
    width: auto;
    transition: height 0.25s var(--ease), filter 0.25s var(--ease);
}

.is-scrolled .logo img {
    height: 44px;
}

.header-social {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    min-height: 34px;
}

.is-scrolled .header-social {
    display: none;
}

.header-main .nav-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
}

.header-main .site-nav {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
}

.is-scrolled .header-main .site-nav,
.is-scrolled .header-main .nav-toggle {
    grid-row: 1;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 12px;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--ink);
    background: rgba(14, 14, 14, 0.06);
}

html:not(.is-scrolled) body.page-home .site-nav a:hover,
html:not(.is-scrolled) body.page-home .site-nav a[aria-current="page"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    background: transparent;
    color: var(--ink);
    padding: 0;
    cursor: pointer;
    border-radius: 12px;
    position: relative;
}

.nav-toggle span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: currentColor;
    transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.nav-toggle span:first-child {
    top: 17px;
}

.nav-toggle span:last-child {
    top: 25px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
    top: 21px;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
    top: 21px;
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: end start;
    overflow: hidden;
    background: #0a0a0a;
    color: #fff;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img,
.hero-media picture {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-media img {
    object-fit: cover;
    object-position: center;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(8, 8, 8, 0.82) 0%, rgba(8, 8, 8, 0.35) 55%, rgba(8, 8, 8, 0.15) 100%),
        linear-gradient(0deg, rgba(8, 8, 8, 0.72) 0%, transparent 45%);
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 140px 0 72px;
    max-width: 760px;
}

.hero-brand {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8vw, 5.6rem);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.hero-copy .kicker {
    color: #ffb3b8;
    margin-bottom: 10px;
}

.hero-copy h1 {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-copy p:not(.kicker):not(.hero-brand) {
    margin: 0 0 28px;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.stat-rail {
    background: var(--dark);
    color: #fff;
    overflow: hidden;
    border-bottom: 3px solid var(--accent);
}

.stat-rail-track {
    display: flex;
    gap: 0;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.stat-item {
    flex: 1;
    min-width: 140px;
    padding: 22px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.55rem;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-item span {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.section {
    padding: 96px 0;
}

.section-tight {
    padding-top: 0;
}

.section-intro {
    background:
        radial-gradient(700px 320px at 100% 0%, rgba(193, 18, 31, 0.08), transparent 60%),
        var(--paper);
}

.section-services {
    background: var(--bg);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.section-head h2,
.section h2,
.section-band h2,
.partner-bar h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin: 0;
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 800;
    margin: 0 0 12px;
}

.lead {
    font-size: 1.12rem;
    color: var(--muted);
    margin: 0 0 28px;
}

.text-link {
    color: var(--ink);
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
}

.text-link:hover {
    color: var(--accent);
}

.intro-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.intro-copy h2 {
    margin: 0;
}

.feature-list {
    display: grid;
    gap: 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.feature-row:last-child {
    border-bottom: 1px solid var(--line);
}

.feature-row span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.feature-row h3 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.feature-row p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.grid-4,
.grid-3,
.grid-2 {
    display: grid;
    gap: 22px;
}

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

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

.grid-2 {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.card,
.faq-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card:hover,
.faq-item:hover {
    transform: translateY(-4px);
    border-color: rgba(193, 18, 31, 0.28);
    box-shadow: 0 18px 40px rgba(14, 14, 14, 0.08);
}

.card h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 600;
}

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

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

.service-tile {
    position: relative;
    display: block;
    min-height: 320px;
    border-radius: 22px;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}

.service-tile:hover {
    color: #fff;
}

.service-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.service-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.1) 20%, rgba(10, 10, 10, 0.88) 100%);
    z-index: 1;
}

.service-tile:hover img {
    transform: scale(1.08);
}

.service-tile-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 24px;
}

.service-tile h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.service-tile p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), opacity 0.35s var(--ease), margin 0.35s var(--ease);
}

.service-tile:hover p,
.service-tile:focus-visible p {
    max-height: 120px;
    opacity: 1;
}

.service-tile span {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffb3b8;
}

.timeline {
    display: grid;
    gap: 0;
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(193, 18, 31, 0.35) 70%, transparent 100%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    position: relative;
}

.timeline-item:first-child {
    border-top: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 30px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 1px rgba(193, 18, 31, 0.35);
}

.timeline-item strong {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    padding-top: 2px;
}

.timeline-item h3 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.12rem;
}

.timeline-item p {
    margin: 0;
    color: var(--muted);
}

.portrait {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    padding: 13px 22px;
    margin-top: 0;
    border: 1px solid var(--accent);
    border-radius: 14px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

.page-hero {
    padding: 56px 0 8px;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 8px 0 0;
}

.contact-page {
    display: grid;
    gap: 8px;
}

.contact-page .map {
    margin-top: 16px;
}

.map iframe {
    width: 100%;
    height: 480px;
    border: 0;
    border-radius: 22px;
}

.section-band,
.partner-bar {
    background: #fff;
    padding: 48px 0;
    border-top: 1px solid var(--line);
}

.partner-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sponsor {
    display: flex;
    align-items: center;
    gap: 16px;
    color: inherit;
    font-weight: 600;
}

.sponsor:hover {
    color: inherit;
}

.sponsor img {
    height: 44px;
    width: auto;
    border-radius: 8px;
}

.site-footer {
    background: var(--dark);
    color: #ece7de;
    padding: 64px 0 28px;
}

.site-footer a {
    color: #ece7de;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer h2 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 14px;
    color: #ffb3b8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 32px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
}

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

.social-icons a {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: currentColor;
    color: var(--ink);
    opacity: 0.85;
    -webkit-mask: var(--icon) center / 17px no-repeat;
    mask: var(--icon) center / 17px no-repeat;
    transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), background-color 0.2s var(--ease);
}

.social-icons a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.social-icons .is-youtube {
    --icon: url("../images/icons/youtube.svg");
}

.social-icons .is-instagram {
    --icon: url("../images/icons/instagram.svg");
}

.social-icons .is-facebook {
    --icon: url("../images/icons/facebook.svg");
}

.social-icons .is-tiktok {
    --icon: url("../images/icons/tiktok.svg");
}

.social-icons .is-linkedin {
    --icon: url("../images/icons/linkedin.svg");
}

.social-icons .is-youtube:hover {
    background-color: #ff0000;
}

.social-icons .is-instagram:hover {
    background-color: #e4405f;
}

.social-icons .is-facebook:hover {
    background-color: #1877f3;
}

.social-icons .is-tiktok:hover {
    background-color: #fe2c55;
}

.social-icons .is-linkedin:hover {
    background-color: #0a66c2;
}

.social-icons--footer {
    margin-top: 18px;
}

.social-icons--footer a {
    color: #ece7de;
}

.site-footer .social-icons a:hover {
    color: inherit;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-copy {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.86rem;
    color: #a9a29a;
}

.faq-item + .faq-item {
    margin-top: 12px;
}

.faq-item h2 {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 600;
    margin: 0 0 8px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

[data-reveal-delay="1"] {
    transition-delay: 0.07s;
}

[data-reveal-delay="2"] {
    transition-delay: 0.14s;
}

[data-reveal-delay="3"] {
    transition-delay: 0.21s;
}

[data-reveal-delay="4"] {
    transition-delay: 0.28s;
}

[data-reveal-delay="5"] {
    transition-delay: 0.35s;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    .intro-layout,
    .grid-4,
    .grid-3,
    .grid-2,
    .service-grid,
    .footer-grid,
    .partner-bar-inner {
        grid-template-columns: 1fr;
    }

    .partner-bar-inner {
        display: grid;
    }

    .stat-rail-track {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .stat-rail-track::-webkit-scrollbar {
        display: none;
    }

    .stat-item {
        min-width: 150px;
        flex: 0 0 auto;
    }

    .header-main {
        grid-template-rows: auto;
        padding: 12px 8px;
    }

    .header-social {
        display: none;
    }

    .logo img {
        height: 52px;
    }

    .header-main .nav-toggle {
        display: block;
        grid-row: 1;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 12px;
        right: 12px;
        top: calc(100% + 8px);
        background: rgba(247, 246, 243, 0.97);
        border: 1px solid var(--line);
        border-radius: 18px;
        flex-direction: column;
        padding: 12px;
        gap: 4px;
        box-shadow: 0 18px 40px rgba(14, 14, 14, 0.12);
        z-index: 70;
    }

    html:not(.is-scrolled) body.page-home .site-nav {
        background: rgba(20, 20, 20, 0.96);
        border-color: rgba(255, 255, 255, 0.1);
    }

    html:not(.is-scrolled) body.page-home .site-nav a {
        color: #fff;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-header {
        position: relative;
    }

    html:not(.is-scrolled) body.page-home .site-header {
        position: absolute;
    }

    .hero {
        min-height: 92svh;
    }

    .hero-copy {
        display: none;
    }

    .hero-media::after {
        background:
            linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, transparent 28%),
            linear-gradient(0deg, rgba(8, 8, 8, 0.45) 0%, transparent 32%);
    }

    .service-tile {
        min-height: 280px;
    }

    .service-tile p {
        max-height: 120px;
        opacity: 1;
    }
}

@media (max-width: 720px) {
    .map iframe {
        height: 320px;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        flex: 1;
        text-align: center;
    }

    .section {
        padding: 72px 0;
    }
}
