/* Variables*/

:root {
    --black: #0d0d0f;
    --white: #fff;
    --soft: #fffafc;
    --pink: #f4a6c8;
    --hot: #e85b9f;
    --blush: #fde8f1;
    --pale: #fff1f7;
    --gray: #666672;
    --shadow: 0 18px 55px rgba(13, 13, 15, 0.1);
    --r: 28px;
    --max: 1180px;
}

/* Reset / Base Styles*/

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--black);
    background:
        radial-gradient(circle at top left, rgba(244, 166, 200, 0.25), transparent 32%),
        radial-gradient(circle at 85% 12%, rgba(238, 228, 255, 0.8), transparent 22%),
        var(--soft);
    line-height: 1.6;
}

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

/* Layout Helpers*/

.page-shell {
    width: min(var(--max), calc(100% - 40px));
    margin: auto;
}

.section {
    padding: 78px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: center;
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    margin-bottom: 34px;
}

.section-header p {
    max-width: 570px;
    color: var(--gray);
}

/* Header / Navigation*/

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255, 250, 252, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(13, 13, 15, 0.08);
}

.nav {
    min-height: 82px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    letter-spacing: -0.08em;
    font-family: Georgia, serif;
    font-size: 2.25rem;
    font-weight: 700;
}

.logo span {
    margin-top: 5px;
    font-family: Inter, Arial, sans-serif;
    letter-spacing: 0.22em;
    font-size: 0.48rem;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 0.9rem;
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--hot);
    transition: 0.18s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: var(--black);
    color: var(--white);
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 800;
}

/* Buttons*/

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.18s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-pink,
.header-cta {
    background: var(--hot);
    color: white;
}

.btn-soft {
    background: var(--blush);
    color: var(--black);
}

.btn-light {
    /* background: white;
    border-color: rgba(13, 13, 15, 0.1); */
      background: var(--hot);
  color: var(--white);
  border: 1px solid rgba(13, 13, 15, 0.1);
}

.header-cta {
    padding: 11px 18px;
}

.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Typography*/

.eyebrow {
    color: var(--hot);
    text-transform: uppercase;
    letter-spacing: 0.17em;
    font-weight: 900;
    font-size: 0.78rem;
    margin-bottom: 12px;
}

h1,
h2,
h3 {
    line-height: 1.02;
    margin: 0;
    letter-spacing: -0.055em;
}

h1 {
    font-size: clamp(3.2rem, 8vw, 6.7rem);
}

h2 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
}

h3 {
    font-size: 1.35rem;
}

.script {
    font-family: Georgia, serif;
    font-style: italic;
    color: var(--hot);
}

.lead {
    margin: 22px 0 0;
    max-width: 590px;
    color: #3f3f46;
    font-size: 1.08rem;
}

/* Hero*/

.hero {
    padding: 86px 0 58px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: center;
}

.hero-card,
.about-photo,
.process-photo {
    position: relative;
    min-height: 510px;
    border-radius: 48px;
    background:
        linear-gradient(135deg, rgba(244, 166, 200, 0.92), rgba(253, 232, 241, 0.82)),
        url("assets/studio-placeholder.svg");
    background-size: cover;
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 34px;
}

.hero-card::after {
    content: "RBK";
    position: absolute;
    bottom: 22px;
    right: 30px;
    font-family: Georgia, serif;
    font-size: 7rem;
    opacity: 0.14;
    letter-spacing: -0.12em;
}

/* Mock Browser Graphic*/

.mock-browser {
    position: absolute;
    left: 34px;
    bottom: 34px;
    width: min(520px, calc(100% - 68px));
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(13, 13, 15, 0.18);
    padding: 18px;
}

.browser-dots {
    display: flex;
    gap: 7px;
    margin-bottom: 18px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pink);
}

.browser-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.browser-block {
    height: 92px;
    border-radius: 18px;
    background: var(--pale);
    padding: 15px;
}

.browser-block.dark {
    background: var(--black);
}

.browser-line {
    height: 10px;
    border-radius: 999px;
    background: rgba(13, 13, 15, 0.18);
    margin-bottom: 10px;
}

.dark .browser-line {
    background: rgba(255, 255, 255, 0.45);
}

/* Trust Band*/

.trust-band {
    margin: 28px auto 72px;
    background: var(--black);
    color: white;
    border-radius: var(--r);
    padding: 34px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.trust-item {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    padding: 14px 20px;
}

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

.icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--blush);
    color: var(--hot);
    font-weight: 900;
    margin-bottom: 16px;
}

/* Cards*/

.card,
.service-card,
.price-card,
.project-card,
.process-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(13, 13, 15, 0.08);
    border-radius: var(--r);
    padding: 28px;
    box-shadow: 0 12px 38px rgba(13, 13, 15, 0.055);
}

.service-card:hover,
.project-card:hover {
    transform: translateY(-4px);
    transition: 0.18s;
}

/* Portfolio*/

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.filter-btn {
    border: 1px solid rgba(13, 13, 15, 0.11);
    background: white;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 800;
}

.filter-btn.active {
    background: var(--black);
    color: white;
}

.project-image {
    height: 220px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(232, 91, 159, 0.25), rgba(13, 13, 15, 0.9)),
        var(--blush);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.tag {
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--blush);
    color: #8f2356;
    font-size: 0.78rem;
    font-weight: 800;
}

/* Pricing*/

.price {
    font-size: 3.1rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.06em;
    margin: 18px 0;
}

.checklist {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.checklist li {
    padding: 8px 0;
    display: flex;
    gap: 10px;
}

.checklist li::before {
    content: "✓";
    color: var(--hot);
    font-weight: 900;
}

/* Process*/

.process-list {
    display: grid;
    gap: 16px;
}

.process-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
}

.step-number {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--black);
    color: white;
    font-weight: 900;
}

/* Contact*/

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 30px;
}

.contact-list {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

.contact-list a,
.contact-list div {
    padding: 16px;
    border-radius: 18px;
    background: white;
    border: 1px solid rgba(13, 13, 15, 0.08);
}

.form {
    display: grid;
    gap: 14px;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid rgba(13, 13, 15, 0.14);
    border-radius: 16px;
    padding: 15px 16px;
    font: inherit;
    background: white;
}

textarea {
    min-height: 170px;
    resize: vertical;
}

/* Stats*/

.stats-row {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stat {
    background: white;
    border-radius: 22px;
    padding: 20px;
    border: 1px solid rgba(13, 13, 15, 0.08);
    text-align: center;
}

.stat strong {
    font-size: 2rem;
    display: block;
}

/* Footer / CTA*/

.footer-cta {
    margin-top: 60px;
    border-radius: var(--r);
    background: var(--black);
    color: white;
    padding: 56px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.site-footer {
    padding: 36px 0;
    color: var(--gray);
    font-size: 0.92rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* 404 Page*/

.error-page {
    min-height: 72vh;
    display: grid;
    place-items: center;
    text-align: center;
}

.error-code {
    font-size: clamp(7rem, 22vw, 16rem);
    color: var(--pink);
    font-family: Georgia, serif;
    line-height: 0.85;
}

/* Responsive Styles*/

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 82px;
        left: 20px;
        right: 20px;
        background: white;
        padding: 22px;
        border-radius: 24px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .hero,
    .grid-2,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .trust-band,
    .feature-grid,
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .section-header,
    .footer-cta,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .page-shell {
        width: min(100% - 28px, var(--max));
    }

    .trust-band,
    .feature-grid,
    .stats-row {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 54px;
    }

    h1 {
        font-size: 3.4rem;
    }

    .hero-card {
        min-height: 420px;
        border-radius: 34px;
    }

    .footer-cta {
        padding: 34px;
    }
}

