:root {
    --color-bg: #ffffff;
    --color-ink: #171311;
    --color-muted: #6b6360;
    --color-muted-2: #8a8280;
    --color-faint: #c9c2bf;
    --color-accent: #a32d2d;
    --color-accent-soft: #fcebeb;
    --color-pattern: #f7d9d9;
    --color-card-bg: #f1ebe9;
    --color-card-bg-2: #e9e1de;
    --font-heading: "Sora", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-ink);
    background: var(--color-bg);
    font-size: 15px;
    line-height: 1.6;
}

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

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

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 48px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-muted);
}

.nav-links a:hover {
    color: var(--color-ink);
}

.nav-links a.active {
    color: var(--color-ink);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-ink);
    cursor: pointer;
    padding: 4px;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px 24px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
}

.nav-mobile a {
    font-size: 14px;
    color: var(--color-muted);
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-mobile a.active {
    color: var(--color-ink);
    font-weight: 600;
}

.nav-mobile a.btn {
    margin-top: 14px;
    justify-content: center;
    color: #fff;
    border-bottom: none;
}

.nav-mobile.open {
    display: flex;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
}

.btn-accent {
    background: var(--color-accent);
    color: #fff;
}

.btn-accent:hover {
    background: #8d2626;
}

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

.btn-ink:hover {
    background: #2c2521;
}

.btn-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.hero-panel {
    position: relative;
    display: flex;
    padding: 56px 56px 56px 64px;
    background-image: repeating-linear-gradient(115deg, var(--color-accent-soft), var(--color-accent-soft) 14px, var(--color-pattern) 14px, var(--color-pattern) 28px);
}

.hero-tag {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--color-accent);
    margin-right: 28px;
    align-self: stretch;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 480px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.12;
    letter-spacing: -0.5px;
    margin: 0;
}

.hero-title-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: 4px;
}

.hero-title-icon i {
    color: var(--color-accent);
    font-size: 20px;
}

.hero-text {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.7;
    margin: 22px 0 28px;
    max-width: 320px;
}

.hero-rating {
    margin-top: 36px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    width: fit-content;
}

.hero-rating strong {
    font-family: var(--font-heading);
    font-size: 19px;
}

.hero-rating span {
    font-size: 11px;
    color: var(--color-muted-2);
    line-height: 1.3;
}

.hero-image {
    position: relative;
    overflow: hidden;
}

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

/* Partner strip */
.partners {
    padding: 56px 48px 0;
}

.partners-divider {
    position: relative;
    text-align: center;
    border-top: 1px solid #e8e3e1;
    padding-top: 20px;
}

.partners-divider span {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 16px;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--color-muted-2);
}

.partners-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 0;
}

.partners-row img {
    height: 64px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.partners-row img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Values */
.values {
    padding: 72px 48px 24px;
}

.values-head {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    margin-bottom: 44px;
}

.values-head h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 30px;
    line-height: 1.25;
    margin: 0;
}

.values-head p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.7;
    align-self: center;
    margin: 0;
}

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

.value-icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 14px;
    background: var(--color-card-bg);
    margin-bottom: 16px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}

.value-card p {
    font-size: 12.5px;
    color: var(--color-muted-2);
    line-height: 1.7;
    margin: 0;
}

/* Strategy / collage section */
.strategy {
    padding: 80px 48px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.collage {
    position: relative;
    height: 360px;
}

.collage img {
    position: absolute;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.collage img:nth-child(1) {
    width: 60%;
    height: 58%;
    top: 0;
    left: 0;
    transform: rotate(-4deg);
}

.collage img:nth-child(2) {
    width: 48%;
    height: 48%;
    top: 6%;
    right: 0;
    transform: rotate(3deg);
}

.collage img:nth-child(3) {
    width: 54%;
    height: 52%;
    bottom: 0;
    left: 20%;
    transform: rotate(2deg);
}

.strategy-copy h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 28px;
    line-height: 1.25;
    margin: 0 0 16px;
}

.strategy-copy p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.7;
    max-width: 360px;
    margin: 0 0 26px;
}

.strategy-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 38px;
}

.stat-number .plus {
    color: var(--color-accent);
    font-size: 22px;
}

.stat-label {
    font-size: 12.5px;
    color: var(--color-muted-2);
}

/* Services */
.services {
    padding: 8px 48px 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr 1fr 1fr;
    gap: 18px;
    height: 280px;
}

.service-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%);
}

.service-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-ink);
    padding: 6px 12px;
    border-radius: 999px;
    z-index: 2;
}

.service-title {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}

/* CTA */
.cta {
    background: var(--color-ink);
    padding: 88px 48px;
    text-align: center;
}

.cta h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 34px;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 32px;
}

/* Footer */
.footer {
    background: var(--color-ink);
    padding: 48px 48px 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}

.footer p,
.footer a {
    font-size: 12px;
    color: var(--color-muted-2);
    line-height: 2;
}

.footer-bottom {
    background: var(--color-ink);
    padding: 18px 48px;
    font-size: 11px;
    color: var(--color-muted);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Page header (About / Services / Contact) */
.page-header {
    padding: 64px 48px 48px;
    background-image: repeating-linear-gradient(115deg, var(--color-accent-soft), var(--color-accent-soft) 14px, var(--color-pattern) 14px, var(--color-pattern) 28px);
}

.page-header span {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--color-accent);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
    margin: 14px 0 0;
    max-width: 600px;
}

/* About page */
.about-intro {
    padding: 72px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-intro h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 28px;
    line-height: 1.3;
    margin: 0 0 16px;
}

.about-intro p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0 0 16px;
}

.about-stats {
    background: var(--color-ink);
    padding: 56px 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.about-stats .stat-number {
    color: #fff;
}

.about-stats .stat-label {
    color: var(--color-muted-2);
    margin-top: 6px;
}

/* Services detail rows */
.service-row {
    padding: 64px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.service-row:nth-child(even) .service-row-image {
    order: 2;
}

.service-row-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
}

.service-row-copy span.tag {
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--color-accent);
}

.service-row-copy h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 26px;
    margin: 12px 0 14px;
}

.service-row-copy p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.7;
    max-width: 380px;
}

/* Contact page */
.contact-wrap {
    padding: 64px 48px 88px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.contact-info-item i {
    font-size: 20px;
    color: var(--color-accent);
    margin-top: 2px;
}

.contact-info-item h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
}

.contact-info-item p {
    font-size: 13px;
    color: var(--color-muted);
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    font-family: var(--font-body);
    font-size: 13px;
    padding: 13px 16px;
    border: 1px solid #e8e3e1;
    border-radius: 10px;
    background: #fafafa;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    align-self: flex-start;
}

/* Legal pages */
.legal-content {
    padding: 56px 48px 88px;
    max-width: 760px;
    margin: 0 auto;
}

.legal-content .updated {
    font-size: 12px;
    color: var(--color-muted-2);
    margin-bottom: 32px;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 19px;
    margin: 36px 0 12px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    font-size: 13.5px;
    color: var(--color-muted);
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 20px;
    margin: 8px 0;
}

@media (max-width: 900px) {
    .hero,
    .strategy,
    .values-head,
    .about-intro,
    .service-row,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .services-grid,
    .footer,
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        height: auto;
    }

    .service-card {
        height: 220px;
    }

    .service-row:nth-child(even) .service-row-image {
        order: 0;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

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

    .nav {
        padding: 16px 24px;
    }
}
