:root {
    --bg: #f5efe6;
    --bg-deep: #0d1720;
    --surface: rgba(255, 255, 255, 0.62);
    --surface-strong: rgba(255, 255, 255, 0.9);
    --ink: #10202d;
    --ink-soft: #4f6474;
    --line: rgba(16, 32, 45, 0.1);
    --accent: #ff6f3c;
    --accent-deep: #fb3f15;
    --accent-cool: #2f8f83;
    --shadow: 0 30px 80px rgba(16, 32, 45, 0.12);
    --radius: 28px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 111, 60, 0.17), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(47, 143, 131, 0.18), transparent 30%),
        linear-gradient(180deg, #f8f3ec 0%, #f3eadf 55%, #efe5d9 100%);
    min-height: 100vh;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

.site-shell {
    position: relative;
    overflow: clip;
}

.ambient {
    position: fixed;
    inset: auto;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.28;
    pointer-events: none;
    z-index: -1;
}

.ambient-one {
    top: -10rem;
    right: -8rem;
    background: rgba(255, 111, 60, 0.35);
}

.ambient-two {
    bottom: 8rem;
    left: -10rem;
    background: rgba(47, 143, 131, 0.24);
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.narrow {
    width: min(calc(100% - 2rem), 840px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 1rem 0;
    backdrop-filter: blur(18px);
    background: rgba(245, 239, 230, 0.74);
    border-bottom: 1px solid rgba(16, 32, 45, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand span {
    display: grid;
    gap: 0.1rem;
}

.brand strong,
.brand em {
    font-style: normal;
}

.brand strong {
    font-family: "Syne", sans-serif;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
}

.brand em {
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.site-nav a {
    color: var(--ink-soft);
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-current {
    color: var(--ink);
}

.nav-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.4rem;
    padding: 0 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    color: white;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(251, 63, 21, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(251, 63, 21, 0.28);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    border: 1px solid rgba(16, 32, 45, 0.08);
    box-shadow: none;
}

.button-small {
    min-height: 2.85rem;
}

.hero,
.subpage-hero {
    padding: 5rem 0 2rem;
}

.hero-grid,
.cta-grid,
.about-grid {
    display: grid;
    gap: 2rem;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(16, 32, 45, 0.06);
    color: var(--ink-soft);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1;
    letter-spacing: -0.04em;
    font-family: "Syne", sans-serif;
}

h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    margin-top: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: 1.45rem;
}

p,
li,
label,
input,
select,
textarea {
    line-height: 1.7;
}

.hero-copy p,
.section-head p,
.subpage-hero p {
    max-width: 62ch;
    color: var(--ink-soft);
    font-size: 1.07rem;
}

.hero-actions,
.hero-proof,
.contact-points {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-actions {
    margin-top: 2rem;
}

.hero-proof {
    margin-top: 2.2rem;
}

.hero-proof div,
.contact-points div {
    padding: 1rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(10px);
}

.hero-proof strong,
.stat-card strong {
    display: block;
    font-family: "Syne", sans-serif;
    font-size: clamp(2rem, 5vw, 3.3rem);
    margin-bottom: 0.3rem;
}

.hero-stage {
    position: relative;
    min-height: 36rem;
}

.hero-card,
.stat-card,
.service-card,
.case-card,
.story-card,
.testimonial-card,
.pricing-card,
.gallery-card,
.content-card,
.timeline-item,
.contact-form {
    border: 1px solid rgba(16, 32, 45, 0.08);
    background: var(--surface);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.hero-card {
    position: absolute;
    border-radius: var(--radius);
    padding: 1.5rem;
}

.hero-card p,
.hero-card span,
.hero-card li {
    color: var(--ink-soft);
}

.hero-card-main {
    inset: 0 2rem auto 0;
    min-height: 18rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.84), rgba(255, 236, 225, 0.82));
}

.hero-card-main h2 {
    font-size: clamp(3.4rem, 7vw, 5.6rem);
    margin: 0.6rem 0 0.5rem;
}

.hero-card-side {
    right: 0;
    top: 10rem;
    width: 50%;
}

.hero-card-bottom {
    left: 3rem;
    bottom: 0;
    width: 58%;
}

.hero-card-bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0;
    margin: 1rem 0 0;
    list-style: none;
}

.hero-card-bottom li,
.tag,
.story-meta,
.plan {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(16, 32, 45, 0.06);
    display: inline-flex;
    width: fit-content;
    font-size: 0.85rem;
    font-weight: 800;
}

.mini-chart {
    display: flex;
    align-items: end;
    gap: 0.65rem;
    height: 8rem;
    margin-top: 1.4rem;
}

.mini-chart i {
    flex: 1;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(47, 143, 131, 0.9) 100%);
    animation: pulseBars 1.8s ease-in-out infinite alternate;
}

.mini-chart i:nth-child(1) { height: 30%; }
.mini-chart i:nth-child(2) { height: 48%; animation-delay: 0.2s; }
.mini-chart i:nth-child(3) { height: 68%; animation-delay: 0.3s; }
.mini-chart i:nth-child(4) { height: 54%; animation-delay: 0.1s; }
.mini-chart i:nth-child(5) { height: 84%; animation-delay: 0.35s; }
.mini-chart i:nth-child(6) { height: 100%; animation-delay: 0.15s; }

.ticker {
    overflow: hidden;
    border-block: 1px solid rgba(16, 32, 45, 0.08);
    margin-top: 3rem;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.42);
}

.ticker-track {
    display: flex;
    gap: 2.5rem;
    min-width: max-content;
    animation: ticker 24s linear infinite;
    font-family: "Syne", sans-serif;
}

.ticker-track span::before {
    content: "•";
    margin-right: 2.5rem;
    color: var(--accent);
}

.section {
    padding: 2rem 0 5rem;
}

.section-highlight {
    background: linear-gradient(180deg, rgba(16, 32, 45, 0.03), rgba(255, 255, 255, 0));
}

.section-head {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stats-grid,
.services-grid,
.case-grid,
.stories-grid,
.testimonials-grid,
.pricing-grid,
.gallery-grid {
    display: grid;
    gap: 1.3rem;
}

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

.stat-card,
.service-card,
.story-card,
.testimonial-card,
.pricing-card,
.content-card {
    padding: 1.6rem;
    border-radius: var(--radius);
}

.services-grid,
.stories-grid,
.testimonials-grid,
.gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    min-height: 15rem;
}

.case-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.case-card {
    padding: 1.8rem;
    border-radius: calc(var(--radius) + 4px);
}

.case-card.large {
    background: linear-gradient(145deg, rgba(16, 32, 45, 0.98), rgba(24, 56, 72, 0.92));
    color: white;
}

.case-card.large p,
.case-card.large li {
    color: rgba(255, 255, 255, 0.75);
}

.case-card ul,
.pricing-card ul {
    padding-left: 1.15rem;
    margin: 1rem 0 0;
}

.timeline {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: var(--radius);
}

.timeline-item span:first-child {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent) 0%, #ffb36d 100%);
    color: white;
    display: grid;
    place-items: center;
    font-family: "Syne", sans-serif;
    font-size: 1.3rem;
}

.section-gallery .gallery-card {
    overflow: hidden;
    border-radius: 30px;
}

.gallery-card figcaption {
    padding: 1rem 1.2rem 1.3rem;
    color: var(--ink-soft);
}

.testimonial-card footer {
    margin-top: 1rem;
    color: var(--ink-soft);
    font-weight: 700;
}

.pricing-card h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 0.8rem;
}

.pricing-card h3 span {
    font-size: 1rem;
    color: var(--ink-soft);
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(255, 111, 60, 0.12), rgba(255, 255, 255, 0.82));
    transform: translateY(-10px);
}

.cta-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 1rem;
    padding: 1.6rem;
    border-radius: 30px;
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(16, 32, 45, 0.1);
    border-radius: 18px;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
}

.contact-form textarea {
    resize: vertical;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.site-footer {
    padding: 2rem 0 3rem;
    border-top: 1px solid rgba(16, 32, 45, 0.08);
    background: rgba(255, 255, 255, 0.42);
}

.footer-grid,
.footer-bottom {
    display: grid;
    gap: 1.5rem;
}

.footer-grid {
    grid-template-columns: 1.2fr repeat(3, 0.7fr);
    align-items: start;
}

.site-footer h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.site-footer a,
.site-footer p {
    display: block;
    color: var(--ink-soft);
    margin: 0 0 0.45rem;
}

.footer-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 1.4rem;
    margin-top: 1.4rem;
    border-top: 1px solid rgba(16, 32, 45, 0.08);
}

.legal-section h2 + p,
.legal-section p + h2 {
    margin-top: 1rem;
}

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

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.2s ease;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes pulseBars {
    from { filter: saturate(0.95); }
    to { filter: saturate(1.18); }
}

@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: 1080px) {
    .hero-grid,
    .cta-grid,
    .stats-grid,
    .case-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .stories-grid,
    .testimonials-grid,
    .pricing-grid,
    .gallery-grid,
    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-stage {
        min-height: 28rem;
    }

    .hero-card-main {
        right: 4rem;
    }
}

@media (max-width: 760px) {
    .site-nav {
        position: fixed;
        inset: 5.5rem 1rem auto;
        display: grid;
        gap: 1rem;
        padding: 1rem;
        border-radius: 26px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(16, 32, 45, 0.08);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    body.nav-open .site-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    body.nav-open .nav-toggle span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    body.nav-open .nav-toggle span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-toggle {
        display: inline-block;
    }

    .hero,
    .subpage-hero {
        padding-top: 3rem;
    }

    .hero-stage {
        min-height: auto;
        display: grid;
        gap: 1rem;
    }

    .hero-card {
        position: static;
        width: 100%;
    }

    .services-grid,
    .stories-grid,
    .testimonials-grid,
    .pricing-grid,
    .gallery-grid,
    .about-grid,
    .footer-bottom {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: clamp(2.5rem, 14vw, 4.3rem);
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }
}
