/* ==============================
   NM WEB STUDIO
   ============================== */

:root {
    --paper: #F8F3EC;
    --black: #0C292D;
    --teal: #16777B;
    --accent: #F06B4F;
    --accent-dark: #D9573D;
    --muted: #607477;
    --line: #D8DED9;
}

/* ==============================
   RESET
   ============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--paper);
    color: var(--black);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* ==============================
   NAVBAR
   ============================== */

.navbar {
    width: 100%;
    padding: 26px 6vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--line);

    background: rgba(251, 249, 244, 0.94);

    position: sticky;
    top: 0;
    z-index: 100;

    backdrop-filter: blur(12px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.logo span {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    background: var(--black);
    color: var(--white);

    font-size: 13px;
    font-weight: 700;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    font-size: 14px;
    color: #46433e;

    transition: color 0.25s ease;
}

nav a:hover {
    color: var(--accent);
}

.nav-button {
    padding: 11px 19px;

    background: var(--teal);
    color: white !important;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.nav-button:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.menu-button {
    display: none;

    border: 0;
    background: transparent;

    font-size: 22px;
    cursor: pointer;
}


/* ==============================
   HERO
   ============================== */

.hero {
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(231, 111, 81, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(23, 107, 111, 0.10),
            transparent 30%
        );
}

.hero-content {
    max-width: 880px;

    animation: heroIn 0.8s ease forwards;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;

    color: var(--accent);

    margin-bottom: 28px;
}

.hero h1 {
    max-width: 950px;

    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 8vw, 110px);

    line-height: 0.95;

    letter-spacing: -5px;

    font-weight: 500;
}

.hero h1 span {
    color: var(--accent);
    display: block;
}

.hero-text {
    max-width: 580px;

    margin-top: 38px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 35px;
}

.button {
    padding: 14px 23px;

    font-size: 14px;
    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.button-dark {
    background: var(--accent);
    color: white;
}

.button-dark:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
}

.button-light {
    border: 1px solid var(--line);
}

.button-light:hover {
    background: white;
    transform: translateY(-3px);
}

.hero-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    margin-bottom: 10px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.7;
}

.hero-note .line {
    width: 35px;
    height: 1px;

    margin-top: 8px;

    background: var(--accent);
}


/* ==============================
   GENERAL SECTIONS
   ============================== */

section {
    padding: 120px 6vw;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 65px;

    color: #858078;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}

.section-label span:first-child {
    color: var(--accent);
}


/* ==============================
   INTRO
   ============================== */

.intro {
    border-top: 1px solid var(--line);
}

.intro-content {
    max-width: 1050px;

    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 100px;
}

.intro h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 5vw, 70px);

    line-height: 1.05;

    font-weight: 500;

    letter-spacing: -2px;
}

.intro-content div {
    padding-top: 8px;
}

.intro p {
    margin-bottom: 25px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.8;
}

/* ==============================
   WORK
   ============================== */

.work-section {
    background: #eaf3f1;
    border-top: 1px solid var(--line);
}


/* ==============================
   SECTION HEADING
   ============================== */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 55px;
}

.section-heading h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(45px, 6vw, 75px);

    font-weight: 500;

    line-height: 1;

    letter-spacing: -2px;
}

.section-heading p {
    max-width: 300px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.6;
}


/* ==============================
   PROJECT GRID
   ============================== */

.projects {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 35px;
}


/* ==============================
   PROJECT PREVIEW
   ============================== */

.project-preview {
    display: block;

    width: 100%;

    position: relative;

    overflow: hidden;

    background: #ded8ce;

    border: 1px solid rgba(0, 0, 0, 0.08);

    line-height: 0;
}


/* ACTUAL SCREENSHOT */

.project-preview img {
    display: block;

    width: 100%;

    height: auto;

    max-width: 100%;

    object-fit: contain;

    transition: transform 0.5s ease;
}


/* ==============================
   HOVER OVERLAY
   ============================== */

.project-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    display: grid;

    place-items: center;

    background: rgba(0, 0, 0, 0.25);

    opacity: 0;

    transition: opacity 0.35s ease;
}

.project:hover .project-overlay {
    opacity: 1;
}

.project:hover .project-preview img {
    transform: scale(1.02);
}


/* VIEW WEBSITE BUTTON */

.project-overlay span {
    padding: 13px 21px;

    background: white;

    color: var(--black);

    font-size: 13px;

    font-weight: 600;

    line-height: 1;

    transform: translateY(10px);

    transition: transform 0.35s ease;
}

.project:hover .project-overlay span {
    transform: translateY(0);
}


/* ==============================
   PROJECT INFORMATION
   ============================== */

.project-info {
    padding-top: 20px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;
}

.project-number {
    margin-bottom: 8px;

    color: var(--accent);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    line-height: 1.4;
}

.project-info h3 {
    font-family: "Playfair Display", serif;

    font-size: 32px;

    font-weight: 500;

    line-height: 1.1;
}

.project-info > p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


/* ==============================
   TABLET
   ============================== */

@media (max-width: 900px) {

    .projects {
        gap: 25px;
    }

    .project-info {
        grid-template-columns: 1fr;

        gap: 12px;
    }

}


/* ==============================
   MOBILE
   ============================== */

@media (max-width: 650px) {

    .section-heading {
        display: block;
    }

    .section-heading p {
        margin-top: 20px;
    }

    .projects {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .project-info {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .project-info h3 {
        font-size: 28px;
    }

}


/* ==============================
   SERVICES
   ============================== */

.services-section {
     border-top: 1px solid var(--line);
     background: var(--paper);
     border-top: 1px solid var(--line);
}

.services-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.services-title h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1;

    font-weight: 500;

    letter-spacing: -2px;
}

.services-list {
    border-top: 1px solid var(--line);
}

.service {
    display: grid;
    grid-template-columns: 45px 1fr;

    gap: 20px;

    padding: 30px 0;

    border-bottom: 1px solid var(--line);
}

.service > span {
    color: var(--accent);

    font-size: 11px;
    font-weight: 700;
}

.service h3 {
    margin-bottom: 7px;

    font-size: 18px;
}

.service p {
    max-width: 500px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}

/* ==============================
   PRICING
   ============================== */

.pricing-section {
    background: var(--paper);

    border-top: 1px solid var(--line);
}


/* ==============================
   SECTION LABEL
   ============================== */

.pricing-section .section-label {
    margin-bottom: 35px;
}


/* ==============================
   PRICING HEADING
   ============================== */

.pricing-heading {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 40px;

    margin-bottom: 55px;
}

.pricing-heading h2 {
    margin: 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 6vw, 72px);

    font-weight: 500;

    line-height: 1;

    letter-spacing: -2px;

    color: var(--black);
}

.pricing-heading p {
    max-width: 450px;

    margin: 0;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.7;
}


/* ==============================
   PRICING GRID
   ============================== */

.pricing-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    align-items: stretch;
}


/* ==============================
   PRICE CARD
   ============================== */

.price-card {
    position: relative;

    display: flex;

    flex-direction: column;

    min-width: 0;

    min-height: 600px;

    padding: 42px 38px;

    box-sizing: border-box;

    background: var(--teal);

    color: white;

    border: 1px solid var(--teal);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* CARD HOVER */

.price-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(16, 42, 46, 0.16);
}


/* ==============================
   FEATURED CARD
   ============================== */

.price-card.featured {
    background: var(--paper);

    color: var(--black);

    border: 1px solid var(--line);
}


/* ==============================
   PRICE CONTENT
   ============================== */

.price-content {
    display: flex;

    flex-direction: column;
}


/* ==============================
   PACKAGE LABEL
   ============================== */

.package-label {
    margin: 0 0 25px;

    color: var(--accent);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* ==============================
   PRICE
   ============================== */

.price {
    margin: 0 0 18px;

    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 4vw, 58px);

    font-weight: 500;

    line-height: 1;

    letter-spacing: -1.5px;
}


/* ==============================
   DESCRIPTION
   ============================== */

.price-description {
    max-width: 380px;

    margin: 0;

    font-size: 14px;

    line-height: 1.7;

    opacity: 0.8;
}


/* ==============================
   FEATURES
   ============================== */

.price-features {
    display: flex;

    flex-direction: column;

    gap: 15px;

    margin: 30px 0 0;

    padding: 0;

    list-style: none;
}

.price-features li {
    margin: 0;

    font-size: 14px;

    line-height: 1.5;
}


/* CHECKMARK */

.price-features li::before {
    content: "✓";

    display: inline-block;

    margin-right: 10px;

    color: var(--accent);

    font-weight: 700;
}


/* ==============================
   PRICE BUTTON
   ============================== */

.price-button {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    margin-top: auto;

    padding: 16px 20px;

    box-sizing: border-box;

    background: var(--accent);

    color: white;

    border: 1px solid var(--accent);

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.price-button:hover {
    background: var(--accent-dark);

    border-color: var(--accent-dark);

    transform: translateY(-2px);
}


/* ==============================
   FEATURED BUTTON
   ============================== */

.price-card.featured .price-button {
    background: var(--teal);

    border-color: var(--teal);

    color: white;
}

.price-card.featured .price-button:hover {
    background: var(--black);

    border-color: var(--black);
}


/* ==============================
   MOST POPULAR BADGE
   ============================== */

.popular {
    position: absolute;

    top: 0;

    right: 0;

    padding: 12px 20px;

    background: var(--accent);

    color: white;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* ==============================
   PRICING NOTE
   ============================== */

.pricing-note {
    margin: 18px 0 0;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.6;
}


/* ==============================
   TABLET
   ============================== */

@media (max-width: 1000px) {

    .pricing-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .price-card:last-child {
        grid-column: 1 / -1;
    }

}


/* ==============================
   MOBILE
   ============================== */

@media (max-width: 650px) {

    .pricing-heading {
        display: block;

        margin-bottom: 35px;
    }

    .pricing-heading p {
        margin-top: 20px;
    }


    .pricing-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .price-card:last-child {
        grid-column: auto;
    }


    .price-card {
        min-height: 0;

        padding: 34px 26px;
    }


    .price-button {
        margin-top: 35px;
    }

}

/* ==============================
   PROCESS
   ============================== */

.process-section {
    border-top: 1px solid var(--line);
}

.process-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.process-intro h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(45px, 5vw, 70px);

    line-height: 1;

    font-weight: 500;

    letter-spacing: -2px;
}

.process {
    border-top: 1px solid var(--line);
}

.process-item {
    display: grid;
    grid-template-columns: 45px 1fr;

    gap: 20px;

    padding: 28px 0;

    border-bottom: 1px solid var(--line);
}

.process-item > span {
    color: var(--accent);

    font-size: 11px;
    font-weight: 700;
}

.process-item h3 {
    margin-bottom: 5px;

    font-size: 17px;
}

.process-item p {
    max-width: 500px;

    color: var(--muted);

    font-size: 14px;
}


/* ==============================
   CTA
   ============================== */

.cta-section {
    padding: 160px 6vw;

       background:
        linear-gradient(
            135deg,
            var(--accent),
            #f08a68
        );

    color: white;

    text-align: center;
}

.cta-inner {
    max-width: 900px;

    margin: auto;
}

.cta-section .eyebrow {
    color: rgba(255,255,255,0.7);
}

.cta-section h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(50px, 7vw, 90px);

    line-height: 0.98;

    font-weight: 500;

    letter-spacing: -3px;
}

.cta-button {
    display: inline-block;

    margin-top: 40px;

    padding: 15px 25px;

    background: white;
    color: var(--black);

    font-size: 14px;
    font-weight: 600;

    transition: transform 0.25s ease;
}

.cta-button:hover {
    transform: translateY(-4px);
}


/* ==============================
   FOOTER
   ============================== */

footer {
    padding: 50px 6vw 25px;

    background: #111;

    color: white;
}

.footer-top {
    display: flex;
    justify-content: space-between;

    padding-bottom: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-logo {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    background: white;
    color: #111;

    font-weight: 700;
    font-size: 13px;
}

.footer-brand p {
    color: #8e8a84;

    font-size: 12px;

    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 28px;

    align-items: center;
}

.footer-links a {
    color: #aaa59d;

    font-size: 13px;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 20px;

    border-top: 1px solid #292929;

    display: flex;
    justify-content: space-between;

    color: #65615b;

    font-size: 11px;
}


/* ==============================
   ANIMATION
   ============================== */

@keyframes heroIn {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ==============================
   TABLET
   ============================== */

@media (max-width: 900px) {

    .hero {
        min-height: auto;

        padding-top: 80px;

        align-items: flex-start;
    }

    .hero-note {
        display: none;
    }

    .intro-content,
    .services-layout,
    .process-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .projects {
        gap: 45px 20px;
    }

    .project-large .project-image {
        height: 500px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card {
        min-height: 420px;
    }

}


/* ==============================
   MOBILE
   ============================== */

@media (max-width: 650px) {

    .navbar {
        padding: 18px 5vw;
    }

    nav {
        display: none;

        position: absolute;

        top: 76px;
        left: 0;
        right: 0;

        padding: 25px 5vw;

        flex-direction: column;
        align-items: flex-start;

        background: var(--paper);

        border-bottom: 1px solid var(--line);
    }

    nav.mobile-open {
        display: flex;
    }

    .menu-button {
        display: block;
    }

    .hero {
        padding: 75px 5vw 80px;
    }

    .hero h1 {
        font-size: clamp(48px, 15vw, 75px);

        letter-spacing: -3px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .button {
        text-align: center;
    }

    section {
        padding: 85px 5vw;
    }

    .section-label {
        margin-bottom: 45px;
    }

    .intro-content {
        gap: 35px;
    }

    .projects {
        grid-template-columns: 1fr;
    }

    .project-large {
        grid-column: span 1;
    }

    .project-image,
    .project-large .project-image {
        height: 420px;
    }

    .project-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .project-info h3 {
        font-size: 28px;
    }

    .section-heading {
        display: block;
    }

    .section-heading p {
        margin-top: 20px;
    }

    .services-title h2,
    .process-intro h2 {
        font-size: 48px;
    }

    .cta-section {
        padding: 110px 5vw;
    }

    .cta-section h2 {
        font-size: 52px;

        letter-spacing: -2px;
    }

    .footer-top {
        flex-direction: column;
        gap: 35px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

}

/* ==============================
   LOGO FIX
   ============================== */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #0C292D;
    text-decoration: none;

    white-space: nowrap;
}

.logo span {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0C292D;
    color: #FFFFFF;

    flex-shrink: 0;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}