:root {
    --sp-ink: #08111f;
    --sp-ink-soft: #122238;
    --sp-paper: #f4f0e8;
    --sp-white: #ffffff;
    --sp-gold: #d6a34d;
    --sp-gold-light: #f0cd8a;
    --sp-blue: #8fb8ff;
    --sp-muted: #687180;
    --sp-line: rgba(8, 17, 31, 0.13);
    --sp-radius: 24px;
    --sp-wrap: min(1180px, calc(100% - 44px));
}

.sp-page,
.sp-page * {
    box-sizing: border-box;
}

.sp-page {
    overflow: hidden;
    color: var(--sp-ink);
    background: var(--sp-white);
    font-family: "Inter", Arial, sans-serif;
}

.sp-container {
    width: var(--sp-wrap);
    margin-inline: auto;
}

.sp-section {
    position: relative;
    padding: clamp(70px, 8vw, 112px) 0;
}

.sp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #9a691f;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.sp-kicker::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
}

.sp-kicker-light {
    color: var(--sp-gold-light);
}

.sp-heading {
    max-width: 760px;
    margin: 0;
    color: var(--sp-ink);
    font-size: clamp(34px, 4.6vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.052em;
}

.sp-copy {
    max-width: 650px;
    margin: 0;
    color: var(--sp-muted);
    font-size: 17px;
    line-height: 1.75;
}

.sp-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 42px;
}

.sp-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sp-button:hover {
    transform: translateY(-3px);
}

.sp-button-primary {
    color: var(--sp-ink);
    background: var(--sp-gold-light);
}

.sp-button-primary:hover {
    background: #ffda91;
}

.sp-button-outline {
    color: var(--sp-white);
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.04);
}

.sp-button-outline:hover {
    color: var(--sp-gold-light);
    border-color: var(--sp-gold-light);
}

.sp-text-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--sp-ink);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.sp-text-link span {
    transition: transform 0.25s ease;
}

.sp-text-link:hover span {
    transform: translateX(4px);
}

/* Hero */
.sp-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 8vw, 118px) 0;
    color: var(--sp-white);
    background: var(--sp-ink);
    isolation: isolate;
}

.sp-hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    opacity: 0.17;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to right, #000, transparent 92%);
}

.sp-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 540px;
    height: 540px;
    right: -260px;
    bottom: -280px;
    border: 1px solid rgba(240, 205, 138, 0.25);
    border-radius: 50%;
    box-shadow: 0 0 0 65px rgba(214, 163, 77, 0.035), 0 0 0 130px rgba(214, 163, 77, 0.02);
}

.sp-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sp-breadcrumbs a {
    color: var(--sp-gold-light);
    text-decoration: none;
}

.sp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.78fr);
    gap: clamp(46px, 7vw, 96px);
    align-items: center;
}

.sp-hero h1 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(47px, 6.4vw, 82px);
    line-height: 0.94;
    letter-spacing: -0.064em;
}

.sp-hero h1 em {
    color: var(--sp-gold-light);
    font-style: normal;
}

.sp-hero-lead {
    max-width: 650px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.75;
}

.sp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 31px;
}

.sp-hero-visual {
    position: relative;
    min-height: 490px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.32);
}

.sp-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(8, 17, 31, 0.82));
}

.sp-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-hero-visual:hover img {
    transform: scale(1.06);
}

.sp-hero-label {
    position: absolute;
    z-index: 2;
    left: 24px;
    right: 24px;
    bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sp-hero-label strong {
    font-size: 16px;
}

.sp-hero-label span {
    color: var(--sp-gold-light);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Overview */
.sp-overview {
    background: var(--sp-paper);
}

.sp-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(50px, 8vw, 110px);
    align-items: start;
}

.sp-overview-title {
    margin: 0;
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.07;
    letter-spacing: -0.052em;
}

.sp-overview-body {
    padding-left: 30px;
    border-left: 1px solid var(--sp-line);
}

.sp-overview-body p {
    margin: 0;
    color: var(--sp-muted);
    font-size: 17px;
    line-height: 1.8;
}

.sp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.sp-tags span {
    padding: 9px 12px;
    border: 1px solid var(--sp-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 750;
}

/* Offer cards */
.sp-offers {
    background: var(--sp-white);
}

.sp-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sp-card {
    position: relative;
    min-height: 255px;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--sp-line);
    border-radius: 20px;
    background: #faf9f6;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sp-card:hover {
    transform: translateY(-6px);
    border-color: rgba(214, 163, 77, 0.45);
    box-shadow: 0 24px 60px rgba(8, 17, 31, 0.1);
}

.sp-card-no {
    color: #9a691f;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.17em;
}

.sp-card h3 {
    max-width: 520px;
    margin: 54px 0 0;
    font-size: clamp(24px, 2.7vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.sp-card p {
    max-width: 560px;
    margin: 13px 0 0;
    color: var(--sp-muted);
    font-size: 14px;
    line-height: 1.68;
}

/* Benefits */
.sp-benefits {
    color: var(--sp-white);
    background: var(--sp-ink);
}

.sp-benefits .sp-heading {
    color: var(--sp-white);
}

.sp-benefits .sp-copy {
    color: rgba(255, 255, 255, 0.6);
}

.sp-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.sp-benefit {
    min-height: 235px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.035);
}

.sp-benefit i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--sp-gold-light);
    background: rgba(240, 205, 138, 0.08);
    font-size: 18px;
}

.sp-benefit h3 {
    margin: 56px 0 0;
    font-size: 21px;
}

.sp-benefit p {
    margin: 11px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    line-height: 1.65;
}

/* Process */
.sp-process {
    background: var(--sp-paper);
}

.sp-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    counter-reset: sp-step;
}

.sp-step {
    min-height: 270px;
    padding: 24px;
    border-top: 1px solid var(--sp-ink);
    background: rgba(255, 255, 255, 0.46);
}

.sp-step::before {
    counter-increment: sp-step;
    content: "0" counter(sp-step);
    display: block;
    margin-bottom: 74px;
    color: #9a691f;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.sp-step h3 {
    margin: 0;
    font-size: 21px;
}

.sp-step p {
    margin: 11px 0 0;
    color: var(--sp-muted);
    font-size: 13px;
    line-height: 1.65;
}

/* FAQ */
.sp-faq {
    background: var(--sp-white);
}

.sp-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(46px, 8vw, 100px);
}

.sp-faq-list {
    display: grid;
    gap: 10px;
}

.sp-faq-item {
    overflow: hidden;
    border: 1px solid var(--sp-line);
    border-radius: 16px;
    background: var(--sp-white);
}

.sp-faq-item summary {
    position: relative;
    padding: 20px 54px 20px 21px;
    color: var(--sp-ink);
    font-size: 14px;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
}

.sp-faq-item summary::-webkit-details-marker {
    display: none;
}

.sp-faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    color: #9a691f;
    font-size: 22px;
    transform: translateY(-50%);
}

.sp-faq-item[open] summary::after {
    content: "−";
}

.sp-faq-item p {
    margin: 0;
    padding: 0 21px 20px;
    color: var(--sp-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* CTA */
.sp-cta-section {
    padding: 30px 0 clamp(76px, 9vw, 120px);
    background: var(--sp-white);
}

.sp-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 7vw, 78px);
    border-radius: 30px;
    color: var(--sp-white);
    background: var(--sp-ink);
    box-shadow: 0 30px 80px rgba(8, 17, 31, 0.2);
}

.sp-cta::after {
    content: "F&F";
    position: absolute;
    right: -15px;
    bottom: -55px;
    color: rgba(255, 255, 255, 0.035);
    font-size: clamp(130px, 22vw, 280px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.1em;
}

.sp-cta h2 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0;
    font-size: clamp(38px, 5.2vw, 65px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.sp-cta p {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 21px 0 0;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.7;
}

.sp-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 27px;
}

/* Projects page */
.sp-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sp-project-card {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    border-radius: 23px;
    background: var(--sp-ink);
}

.sp-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 17, 31, 0.04), rgba(8, 17, 31, 0.9));
}

.sp-project-card:hover img {
    transform: scale(1.07);
}

.sp-project-info {
    position: absolute;
    z-index: 2;
    left: 26px;
    right: 26px;
    bottom: 25px;
    color: var(--sp-white);
}

.sp-project-info small {
    color: var(--sp-gold-light);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.sp-project-info h3 {
    margin: 10px 0 0;
    font-size: clamp(27px, 3.5vw, 42px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.sp-project-info p {
    max-width: 560px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 13px;
    line-height: 1.65;
}

/* About page */
.sp-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(46px, 8vw, 100px);
    align-items: center;
}

.sp-about-image {
    min-height: 520px;
    overflow: hidden;
    border-radius: 26px;
}

.sp-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-about-copy h2 {
    margin: 0;
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.sp-about-copy p {
    margin: 23px 0 0;
    color: var(--sp-muted);
    font-size: 16px;
    line-height: 1.8;
}

.sp-value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.sp-value {
    min-height: 230px;
    padding: 24px;
    border: 1px solid var(--sp-line);
    border-radius: 18px;
    background: #faf9f6;
}

.sp-value span {
    color: #9a691f;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.sp-value h3 {
    margin: 58px 0 0;
    font-size: 20px;
}

.sp-value p {
    margin: 10px 0 0;
    color: var(--sp-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* Contact page */
.sp-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 18px;
    align-items: start;
}

.sp-contact-list {
    display: grid;
    gap: 12px;
}

.sp-contact-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 15px;
    padding: 22px;
    border: 1px solid var(--sp-line);
    border-radius: 17px;
    color: var(--sp-ink);
    background: #faf9f6;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.sp-contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 163, 77, 0.5);
}

.sp-contact-card i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #9a691f;
    background: rgba(214, 163, 77, 0.1);
}

.sp-contact-card small {
    display: block;
    color: var(--sp-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sp-contact-card strong {
    display: block;
    margin-top: 6px;
    font-size: 15px;
}

.sp-form {
    padding: clamp(26px, 5vw, 50px);
    border-radius: 23px;
    color: var(--sp-white);
    background: var(--sp-ink);
}

.sp-form h2 {
    margin: 0;
    font-size: clamp(30px, 3.7vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.sp-form > p {
    margin: 15px 0 0;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.65;
}

.sp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.sp-field {
    display: grid;
    gap: 7px;
}

.sp-field-full {
    grid-column: 1 / -1;
}

.sp-field label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 750;
}

.sp-field input,
.sp-field select,
.sp-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    outline: none;
    color: var(--sp-white);
    background: rgba(255, 255, 255, 0.055);
    font: inherit;
}

.sp-field select option {
    color: var(--sp-ink);
}

.sp-field textarea {
    min-height: 135px;
    resize: vertical;
}

.sp-field input:focus,
.sp-field select:focus,
.sp-field textarea:focus {
    border-color: var(--sp-gold-light);
    box-shadow: 0 0 0 3px rgba(240, 205, 138, 0.1);
}

.sp-form .sp-button {
    margin-top: 18px;
    border: 0;
    cursor: pointer;
}

.sp-form-note {
    margin-top: 12px !important;
    font-size: 11px;
}

/* Reveal */
.sp-reveal {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(52px);
    transition: opacity 0.75s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), filter 0.75s ease;
}

.sp-reveal.sp-left {
    transform: translateX(-70px);
}

.sp-reveal.sp-right {
    transform: translateX(70px);
}

.sp-reveal.sp-zoom {
    transform: scale(0.86);
}

.sp-reveal.sp-visible {
    opacity: 1;
    filter: blur(0);
    transform: none;
}

@media (max-width: 980px) {
    .sp-section-head,
    .sp-hero-grid,
    .sp-overview-grid,
    .sp-about-grid,
    .sp-contact-grid,
    .sp-faq-layout {
        grid-template-columns: 1fr;
    }

    .sp-hero-visual {
        min-height: 430px;
    }

    .sp-overview-body {
        padding-top: 26px;
        padding-left: 0;
        border-top: 1px solid var(--sp-line);
        border-left: 0;
    }

    .sp-benefit-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sp-process-grid,
    .sp-value-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    :root {
        --sp-wrap: 100%;
        --sp-radius: 20px;
    }

    .sp-container {
        width: 100%;
        padding-inline: 24px;
    }

    .sp-section {
        padding: 66px 0;
    }

    .sp-section-head {
        gap: 20px;
        margin-bottom: 30px;
    }

    .sp-heading {
        font-size: clamp(32px, 10vw, 43px);
    }

    .sp-copy {
        font-size: 15px;
    }

    .sp-hero {
        padding: 68px 0;
    }

    .sp-hero h1 {
        font-size: clamp(43px, 13vw, 62px);
    }

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

    .sp-hero-visual {
        min-height: 340px;
        border-radius: 21px;
    }

    .sp-card-grid,
    .sp-benefit-grid,
    .sp-process-grid,
    .sp-project-grid,
    .sp-value-grid,
    .sp-form-grid {
        grid-template-columns: 1fr;
    }

    .sp-card {
        min-height: 235px;
        padding: 22px;
    }

    .sp-card h3 {
        margin-top: 45px;
    }

    .sp-benefit {
        min-height: 215px;
    }

    .sp-step {
        min-height: 225px;
    }

    .sp-step::before {
        margin-bottom: 52px;
    }

    .sp-project-card {
        min-height: 390px;
    }

    .sp-about-image {
        min-height: 390px;
    }

    .sp-field-full {
        grid-column: auto;
    }

    .sp-cta {
        border-radius: 23px;
    }

    .sp-cta h2 {
        font-size: clamp(36px, 11vw, 50px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sp-reveal {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }
}
