:root {
    --background: #f8f2ed;
    --background-light: #fffaf7;
    --background-dark: #242320;

    --text: #242320;
    --muted: #77736e;

    --accent: #e87356;
    --accent-light: #f4c6b7;

    --border: rgba(36, 35, 32, 0.14);

    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

    --max-width: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: var(--sans);
    overflow-x: hidden;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    width: min(var(--max-width), calc(100% - 80px));
    height: 90px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.logo span {
    color: var(--accent);
}

.navbar nav {
    display: flex;
    gap: 38px;
}

.navbar nav a {
    position: relative;

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1px;

    color: #57534e;

    transition: color 0.25s ease;
}

.navbar nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--accent);

    transition: width 0.25s ease;
}

.navbar nav a:hover {
    color: var(--accent);
}

.navbar nav a:hover::after {
    width: 100%;
}

.nav-button {
    padding: 13px 20px;

    border-radius: 30px;

    background: var(--text);
    color: white;

    font-size: 12px;
    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.nav-button span {
    margin-left: 8px;
}

.nav-button:hover {
    transform: translateY(-2px);
    background: var(--accent);
}


/* =========================
   HERO
========================= */

.hero {
    width: min(var(--max-width), calc(100% - 80px));
    min-height: 680px;

    margin: auto;

    display: grid;
    grid-template-columns: 1fr 0.85fr;

    align-items: center;
    gap: 70px;

    padding: 70px 0 100px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    margin-bottom: 18px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.hero h1 {
    font-family: var(--serif);

    font-size: clamp(80px, 10vw, 135px);

    line-height: 0.82;
    letter-spacing: -7px;

    font-weight: 500;

    margin-left: -7px;
}

.hero h1 span {
    color: var(--accent);
}

.hero h2 {
    max-width: 600px;

    margin-top: 35px;

    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;

    letter-spacing: -2.5px;
    font-weight: 500;
}

.hero h2 strong {
    display: block;

    color: var(--accent);

    font-family: var(--serif);
    font-weight: 500;
}

.hero-description {
    max-width: 480px;

    margin-top: 28px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 36px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    min-height: 50px;

    padding: 0 24px;

    border-radius: 30px;

    font-size: 12px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.button span {
    font-size: 17px;
}

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

.button.primary {
    background: var(--accent);
    color: white;
}

.button.primary:hover {
    background: #d96348;
}

.button.secondary {
    border: 1px solid var(--border);
    background: transparent;
}

.button.secondary:hover {
    border-color: var(--text);
}


/* =========================
   HERO IMAGE
========================= */

.hero-image {
    position: relative;

    width: min(100%, 500px);

    margin-left: auto;
}

.hero-image::before {
    content: "";

    position: absolute;

    width: 100%;
    aspect-ratio: 1;

    top: 30px;
    left: 30px;

    border-radius: 50%;

    background: #f0c8bb;
}

.hero-image::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -25px;
    bottom: -25px;

    border-radius: 50%;

    background: #e8ddd5;

    z-index: 0;
}

.hero-image img {
    position: relative;
    z-index: 2;

    aspect-ratio: 0.92;

    object-fit: cover;

    border-radius: 50%;

    filter: saturate(0.8);
}

.image-glow {
    position: absolute;

    width: 180px;
    height: 180px;

    top: -35px;
    right: -40px;

    background: rgba(232, 115, 86, 0.18);

    filter: blur(45px);

    border-radius: 50%;

    z-index: 1;
}

.availability-card {
    position: absolute;

    z-index: 4;

    right: -35px;
    bottom: 35px;

    display: flex;
    align-items: center;
    gap: 12px;

    width: 215px;

    padding: 17px 20px;

    background: rgba(255, 250, 247, 0.92);

    border: 1px solid rgba(255, 255, 255, 0.7);

    border-radius: 15px;

    box-shadow: 0 20px 50px rgba(55, 42, 35, 0.13);

    backdrop-filter: blur(15px);
}

.status-dot {
    width: 9px;
    height: 9px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #65a86d;

    box-shadow: 0 0 0 5px rgba(101, 168, 109, 0.12);
}

.availability-card small {
    display: block;

    margin-bottom: 3px;

    color: var(--muted);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1px;
}

.availability-card strong {
    font-size: 12px;
}


/* =========================
   TRUSTED
========================= */

.trusted {
    width: min(var(--max-width), calc(100% - 80px));

    margin: auto;

    padding: 25px 0 35px;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.trusted > span {
    color: var(--muted);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.trusted-items {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #77736e;
}

.trusted-items strong {
    font-size: 14px;
    font-weight: 600;
}


/* =========================
   SECTIONS
========================= */

.section {
    width: min(var(--max-width), calc(100% - 80px));
    margin: auto;

    padding: 130px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 55px;
}

.section-heading p,
.section-number {
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}

.section-number {
    color: var(--accent);
}


/* =========================
   ABOUT
========================= */

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    gap: 100px;
}

.about h2 {
    max-width: 700px;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.03;
    letter-spacing: -3px;

    font-weight: 500;
}

.about h2 em,
.services h2 em,
.projects h2 em,
.contact h2 em {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--accent);
}

.about-text {
    padding-top: 8px;
}

.about-text p {
    margin-bottom: 22px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.9;
}

.text-link {
    display: inline-flex;
    gap: 15px;

    margin-top: 15px;

    padding-bottom: 7px;

    border-bottom: 1px solid var(--text);

    font-size: 12px;
    font-weight: 700;
}

.text-link span {
    color: var(--accent);
}


/* =========================
   PROJECTS
========================= */

.projects {
    max-width: 1300px;
}

.projects-header {
    display: grid;
    grid-template-columns: 0.55fr 1fr;

    gap: 80px;
}

.projects-header .section-heading {
    margin-bottom: 0;
}

.projects h2 {
    max-width: 600px;

    font-size: clamp(42px, 5vw, 62px);

    line-height: 1;
    letter-spacing: -3px;

    font-weight: 500;
}

.section-description {
    max-width: 470px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}

.project-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    gap: 25px;

    margin-top: 70px;
}

.project-card {
    overflow: hidden;

    background: var(--background-light);

    border: 1px solid var(--border);
}

.project-card.large {
    grid-row: span 2;
}

.project-image {
    position: relative;

    overflow: hidden;
}

.project-card.large .project-image {
    aspect-ratio: 1.25;
}

.project-card:not(.large) .project-image {
    aspect-ratio: 1.65;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-tag {
    position: absolute;

    top: 18px;
    right: 18px;

    padding: 7px 11px;

    background: rgba(255, 250, 247, 0.9);

    border-radius: 20px;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1px;
}

.project-info {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 24px;
}

.project-info small {
    display: block;

    margin-bottom: 8px;

    color: var(--accent);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.project-info h3 {
    font-size: 20px;
    line-height: 1.15;

    font-weight: 500;

    letter-spacing: -0.5px;
}

.project-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex-shrink: 0;

    border: 1px solid var(--border);
    border-radius: 50%;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.project-arrow:hover {
    background: var(--text);
    color: white;
}


/* =========================
   SERVICES
========================= */

.services {
    background: var(--background-light);
}

.services-header {
    display: grid;
    grid-template-columns: 1fr 0.7fr;

    gap: 100px;
}

.services h2 {
    max-width: 650px;

    font-size: clamp(42px, 5vw, 65px);

    line-height: 1;
    letter-spacing: -3px;

    font-weight: 500;
}

.services-header > p {
    align-self: end;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.8;
}

.service-list {
    margin-top: 80px;

    border-top: 1px solid var(--border);
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr 40px;
    align-items: center;

    gap: 30px;

    padding: 30px 0;

    border-bottom: 1px solid var(--border);

    transition: padding 0.3s ease;
}

.service-item:hover {
    padding-left: 15px;
    padding-right: 15px;
}

.service-item > span {
    color: var(--accent);

    font-size: 11px;
    font-weight: 700;
}

.service-item h3 {
    margin-bottom: 7px;

    font-size: 22px;
    font-weight: 500;
}

.service-item p {
    max-width: 600px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}

.service-item > strong {
    font-size: 20px;
    font-weight: 400;
}


/* =========================
   TESTIMONIAL
========================= */

.testimonial {
    width: min(900px, calc(100% - 80px));

    margin: auto;

    padding: 130px 0;

    text-align: center;
}

.quote-mark {
    display: block;

    color: var(--accent);

    font-family: var(--serif);

    font-size: 75px;
    line-height: 0.7;
}

.testimonial blockquote {
    margin: 30px auto;

    font-family: var(--serif);

    font-size: clamp(25px, 3vw, 38px);

    line-height: 1.35;

    font-weight: 400;
}

.testimonial-author {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 20px;

    text-align: left;
}

.author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: #ddd0c7;

    font-size: 10px;
    font-weight: 700;
}

.testimonial-author strong,
.testimonial-author span {
    display: block;
}

.testimonial-author strong {
    font-size: 12px;
}

.testimonial-author span {
    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;
}


/* =========================
   CONTACT
========================= */

.contact {
    max-width: 1300px;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;

    gap: 100px;

    padding-top: 100px;
    padding-bottom: 130px;
}

.contact-label {
    margin-top: 20px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}

.contact h2 {
    max-width: 750px;

    margin-top: 25px;

    font-size: clamp(48px, 6vw, 78px);

    line-height: 0.98;
    letter-spacing: -4px;

    font-weight: 500;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    margin-top: 45px;

    padding-bottom: 8px;

    border-bottom: 1px solid var(--text);

    font-size: 17px;
    font-weight: 500;
}

.contact-email span {
    color: var(--accent);
}

.contact-side {
    align-self: end;
}

.contact-side > p {
    max-width: 350px;

    margin-bottom: 30px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}

.socials {
    display: flex;
    gap: 25px;

    margin-top: 45px;
}

.socials a {
    padding-bottom: 5px;

    border-bottom: 1px solid transparent;

    font-size: 11px;
    font-weight: 700;

    transition: border-color 0.25s ease;
}

.socials a:hover {
    border-color: var(--accent);
}


/* =========================
   FOOTER
========================= */

footer {
    min-height: 150px;

    padding: 35px max(40px, calc((100vw - 1180px) / 2));

    background: var(--background-dark);
    color: #f8f2ed;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    align-items: center;

    gap: 30px;
}

.footer-logo {
    font-size: 25px;
    font-weight: 700;

    letter-spacing: -1.5px;
}

.footer-logo span {
    color: var(--accent);
}

footer p {
    color: #aaa59e;

    font-size: 11px;
}

footer > span {
    color: #77736e;

    font-size: 10px;

    text-align: right;
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 900px) {

    .navbar,
    .hero,
    .trusted,
    .section {
        width: min(100% - 40px, 700px);
    }

    .navbar {
        height: 75px;
    }

    .navbar nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;

        gap: 60px;

        padding-top: 60px;
    }

    .hero-image {
        width: min(100%, 480px);
        margin: auto;
    }

    .about-content,
    .projects-header,
    .services-header,
    .contact {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card.large {
        grid-row: auto;
    }

    .trusted {
        display: block;
    }

    .trusted-items {
        flex-wrap: wrap;
        gap: 25px;

        margin-top: 25px;
    }

    footer {
        padding: 40px 20px;

        grid-template-columns: 1fr;

        text-align: center;
    }

    footer > span {
        text-align: center;
    }
}


@media (max-width: 600px) {

    .navbar {
        width: calc(100% - 30px);
    }

    .nav-button {
        padding: 11px 15px;
    }

    .hero,
    .section {
        width: calc(100% - 30px);
    }

    .hero {
        min-height: auto;

        padding: 60px 0 80px;
    }

    .hero h1 {
        font-size: 85px;

        letter-spacing: -5px;
    }

    .hero h2 {
        font-size: 38px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .availability-card {
        right: -5px;
        bottom: 20px;
    }

    .section {
        padding: 90px 0;
    }

    .about h2,
    .services h2,
    .projects h2 {
        font-size: 43px;

        letter-spacing: -2px;
    }

    .contact h2 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .project-info {
        padding: 18px;
    }

    .project-info h3 {
        font-size: 18px;
    }

    .service-item {
        grid-template-columns: 35px 1fr 25px;

        gap: 15px;
    }

    .service-item h3 {
        font-size: 18px;
    }

    .testimonial {
        width: calc(100% - 40px);

        padding: 90px 0;
    }

    .testimonial blockquote {
        font-size: 25px;
    }

    .contact {
        width: calc(100% - 30px);
    }

    .contact-email {
        font-size: 14px;
    }

    .socials {
        flex-wrap: wrap;
    }
}