* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #f42e7d;
    --primary-deep: #d61f66;
    --primary-tint: rgba(244, 46, 125, 0.1);
    --ink: #171412;
    --paper: #f4f1ec;
    --paper-2: #ece8e1;
    --white: #ffffff;
    --line: #e2dcd2;
    --charcoal: #161413;
    --charcoal-2: #211e1c;
    --muted: #6f675f;
    --muted-light: #a39a91;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.loaded {
    opacity: 1;
}

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

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

button {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

section[id] {
    scroll-margin-top: 112px;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--paper-2);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
}

/* ---------------------------------------------------------------
   Custom cursor
---------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
    html.has-cursor,
    html.has-cursor * {
        cursor: none !important;
    }
}

.cursor-gym {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

.cursor-gym svg {
    display: block;
    transition: transform 0.25s ease;
}

.cursor-gym.is-hover svg {
    transform: scale(1.5) rotate(-12deg);
}

@media (hover: none), (pointer: coarse) {
    .cursor-gym {
        display: none;
    }
}

/* ---------------------------------------------------------------
   Preloader
---------------------------------------------------------------- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.done {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    width: 160px;
    height: 160px;
    margin: 0 auto 28px;
    animation: logo-pulse 1.4s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.preloader-line {
    width: 160px;
    height: 2px;
    background: var(--line);
    margin: 0 auto 18px;
    overflow: hidden;
}

.preloader-line span {
    display: block;
    height: 100%;
    width: 40%;
    background: var(--primary);
    animation: preload-slide 1.1s ease-in-out infinite;
}

@keyframes preload-slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

.preloader-inner p {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.35em;
    text-indent: 0.35em;
    color: var(--ink);
}

/* ---------------------------------------------------------------
   Progress bar
---------------------------------------------------------------- */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--primary);
    z-index: 1001;
}

/* ---------------------------------------------------------------
   Header
---------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(244, 241, 236, 0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, border-color 0.35s ease;
}

.header.scrolled {
    background: rgba(244, 241, 236, 0.94);
    border-bottom-color: var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 108px;
}

.brand-logo {
    height: 96px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 44px;
    list-style: none;
}

.nav-links a {
    position: relative;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: var(--ink);
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    padding: 12px 26px;
    background: var(--primary);
    color: var(--white);
    transition: background 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-deep);
}

/* ---------------------------------------------------------------
   Hero
---------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 108px;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
}

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(105deg, rgba(20, 17, 15, 0.82) 0%, rgba(20, 17, 15, 0.55) 45%, rgba(20, 17, 15, 0.18) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 760px;
    padding: 90px 0;
    color: var(--white);
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--primary);
    margin-bottom: 0;
}

.hero-title {
    margin-bottom: 8px;
}

.hero-logo {
    width: clamp(160px, 22vw, 280px);
    height: auto;
    filter: brightness(0) invert(1);
}

.hero-tagline {
    font-size: clamp(1.35rem, 3.4vw, 2.1rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 10px;
}

.hero-sub {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.2rem, 2.8vw, 1.6rem);
    color: var(--primary);
    margin-bottom: 52px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 44px;
    margin-bottom: 52px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.55);
}

.meta-value {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--white);
}

.meta-value[href] {
    transition: color 0.3s ease;
}

.meta-value[href]:hover {
    color: var(--primary);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    padding: 18px 40px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--primary-deep);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: var(--white);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.hero-scroll {
    position: absolute;
    right: 44px;
    bottom: 40px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero-scroll span {
    writing-mode: vertical-rl;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-line {
    width: 1px;
    height: 64px;
    background: rgba(255, 255, 255, 0.4);
    overflow: hidden;
    position: relative;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: var(--primary);
    animation: scroll-drop 2s ease-in-out infinite;
}

@keyframes scroll-drop {
    0% { transform: translateY(-120%); }
    100% { transform: translateY(320%); }
}

/* ---------------------------------------------------------------
   Marquee
---------------------------------------------------------------- */
.marquee {
    background: var(--primary);
    color: var(--white);
    overflow: hidden;
    padding: 22px 0;
}

.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marquee 36s linear infinite;
}

.marquee-track span {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding-right: 3.2rem;
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------------------------------------------------------------
   Sections
---------------------------------------------------------------- */
.section {
    padding: 130px 0;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 5.5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 22px;
}

.section-sub {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--muted);
}

/* ---------------------------------------------------------------
   Services
---------------------------------------------------------------- */
.services {
    background: var(--paper);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color 0.35s ease, transform 0.35s ease;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
}

.service-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-card:hover .service-media img {
    transform: scale(1.07);
}

.service-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 26px 28px;
}

.service-body-top h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.service-price {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--muted);
    transition: color 0.3s ease;
}

.service-card:hover .service-price {
    color: var(--primary);
}

.service-index {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--line);
    transition: color 0.3s ease;
}

.service-card:hover .service-index {
    color: var(--primary);
}

/* ---------------------------------------------------------------
   Stats
---------------------------------------------------------------- */
.stats {
    background: var(--charcoal);
    color: var(--white);
    padding: 110px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3rem, 6vw, 4.6rem);
    line-height: 1;
    color: var(--primary);
    display: block;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

/* ---------------------------------------------------------------
   About
---------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-media img {
    width: 100%;
    height: 640px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -26px;
    left: -26px;
    background: var(--primary);
    color: var(--white);
    padding: 26px 34px;
    display: flex;
    flex-direction: column;
}

.about-badge strong {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}

.about-badge span {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 6px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 20px;
}

.about-list {
    list-style: none;
    margin: 34px 0 44px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.about-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-left: 2px solid var(--primary);
    padding-left: 18px;
}

.about-list li strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
}

.about-list li span {
    font-size: 0.95rem;
    color: var(--muted);
}

/* ---------------------------------------------------------------
   Contact
---------------------------------------------------------------- */
.contact {
    background: var(--paper-2);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px 30px;
    background: var(--white);
    border: 1px solid var(--line);
    transition: border-color 0.3s ease;
}

.contact-block:hover {
    border-color: var(--primary);
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted-light);
}

.contact-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
}

.contact-value[href] {
    transition: color 0.3s ease;
}

.contact-value[href]:hover {
    color: var(--primary);
}

.map-wrap {
    min-height: 520px;
}

.map-frame {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 1px solid var(--line);
    background: var(--white);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    filter: grayscale(1) contrast(1.05);
    transition: filter 0.5s ease;
}

.map-frame:hover iframe {
    filter: grayscale(0);
}

/* ---------------------------------------------------------------
   Footer
---------------------------------------------------------------- */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 34px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
    height: 80px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-phone {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
}

.footer-bottom {
    padding-top: 34px;
    text-align: center;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ---------------------------------------------------------------
   Back to top
---------------------------------------------------------------- */
.to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 900;
    width: 52px;
    height: 52px;
    border: none;
    background: var(--primary);
    color: var(--white);
    font-size: 1.3rem;
    line-height: 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    background: var(--primary-deep);
}

/* ---------------------------------------------------------------
   Reveal animations
---------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--d, 0s);
}

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

/* ---------------------------------------------------------------
   Responsive
---------------------------------------------------------------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 56px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .about-media img {
        height: 520px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-wrap,
    .map-frame {
        min-height: 420px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        height: 84px;
    }

    .brand-logo {
        height: 64px;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .hero {
        padding-top: 84px;
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero-meta {
        flex-direction: column;
        gap: 24px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-scroll {
        display: none;
    }

    .section {
        padding: 90px 0;
    }

    .section-head {
        margin-bottom: 56px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .about-media img {
        height: 420px;
    }

    .about-badge {
        left: 12px;
        bottom: -20px;
        padding: 20px 26px;
    }

    .contact-info {
        gap: 20px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .to-top {
        right: 20px;
        bottom: 20px;
        width: 46px;
        height: 46px;
    }
}

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

    .marquee-track,
    .scroll-line::after,
    .preloader-logo,
    .preloader-line span {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}