/* CUSTOM FONTS =========================================== */

@font-face{
    font-family: WhirlyBirdie;
    src: url('assets/fonts/WhirlyBirdie-WideLight.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: WhirlyBirdie;
    src: url('assets/fonts/WhirlyBirdie-WideBold.otf') format('opentype');
    font-weight: 700;
}

.afacad {
  font-family: "Afacad", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* GENERAL ================================================ */

:root{

    /* COLOURS */

    /* brand colours */

    --brand-magenta:#F852E1;
    --brand-cyan:#33C3DC;
    --brand-gradient: linear-gradient(var(--brand-magenta),var
    (--brand-cyan)) ;
    --brand-gradient-rotated: linear-gradient(90deg, var(--brand-magenta),var(--brand-cyan));
    
    /* text colours */

    --color-text-default:#737373;
    --color-text-inverse:#fff;
    --color-text-bright:#c2c2c2;

    --color-text-nav-default: #000;
    --color-text-nav-hover:#fff;

    /* Link Colours*/

    --color-link-default:var(--brand-cyan);
    --color-link-hover:var(--brand-magenta);
    --color-link-active:#0a73b8;

    /* background colours */

    --color-bg-surface: #f2f2f2;
    --color-bg-footer: #303435;
    --color-bg-nav-hover: #000;

    --color-bar-header: #303435;

    /* BUTTONS COLOURS */

    /* Primary Button Default*/
    
    --color-btn-prim-border: #303435;
    --color-btn-prim-text: #303435;

    /* Primary Button Hover*/

    --color-btn-prim-bg-hover: var(--brand-cyan);
    --color-btn-prim-text-hover: var(--color-text-inverse);

    /* Cards */

    --color-card-bg: #f2f2f2;

    /* FONTS FAMILIES*/

    --ff-body: Afacad, sans-serif;
    --ff-nav: WhirlyBirdie, sans-serif;
    --ff-headers: WhirlyBirdie, sans-serif;

    /* FONT SIZES (Modular Scale 1.250 - Major Third) */

    --font-size-xs: 0.80rem;     /* 12.8px */
    --font-size-sm: 0.875rem;    /* 14px */
    --font-size-base: 1rem;      /* 16px - Used for Body Text */
    --font-size-md: 1.125rem;    /* 18px - Recommended for H4 */
    --font-size-lg: 1.25rem;     /* 20px */
    --font-size-xl: 1.563rem;    /* 25px - Recommended for H3 */
    --font-size-2xl: 1.953rem;   /* 31.25px - Recommended for H2 */
    --font-size-3xl: 2.441rem;   /* 39px - Recommended for H1 */
    --font-size-display-md: 3.052rem; /* 48.8px - For DISPLAY size="md" */
    --font-size-display-lg: 3.815rem; /* 61.04px - For DISPLAY size="lg" */
    --font-size-display-xl: 4.768rem; /* 76.29px - For DISPLAY size="xl" */


    /* FONT WEIGHTS */

    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* LINE HEIGHTS */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* SPACING */

    --spacing-base: 8px;
    --spacing-xs: calc(var(--spacing-base)*0.5);    /* 4px */
    --spacing-sm: var(--spacing-base);              /* 8px */              
    --spacing-md: calc(var(--spacing-base) * 2);    /* 16px */
    --spacing-lg: calc(var(--spacing-base) * 3);    /* 24px */
    --spacing-xl: calc(var(--spacing-base) * 4);    /* 32px */
    --spacing-2xl: calc(var(--spacing-base) * 6);   /* 48px */
    --spacing-3xl: calc(var(--spacing-base) * 8);   /* 64px */

}

/* TYPOGRAPHY ============================================================== */

/* HEADERS */

    h1{
        font-family: var(--ff-headers);
        font-size: var(--font-size-display-xl);
        font-weight: var(--font-weight-regular);
        padding: 0;
        margin:0;
        /* line-height: ; */

        color: var(--color-text-inverse);
    }

    h2{
        font-family: var(--ff-headers);
        font-size: var(--font-size-xl);
        font-weight: var(--font-weight-regular);
        margin:0;
        /* line-height: ; */

        color: var(--color-text-default);
    }

    h3{
        font-family: var(--ff-headers);
        font-size: var(--font-size-lg);
        font-weight: var(--font-weight-regular);
        margin:0;
        /* line-height: ; */

        color: var(--color-text-default);
    }

    h3.thick {
        -webkit-text-stroke: 1px var(--color-text-default);
    }


    h4{
        font-family: var(--ff-headers);
        font-size: var(--font-size-md);
        font-weight: var(--font-weight-regular);
        margin:0;
        /* line-height: ; */

        color: var(--color-text-default);
    }

    h4.thick {
        -webkit-text-stroke: 1px var(--color-text-default);
    }



/* BODY TEXT */

    p{
        font-family: var(--ff-body);
        font-size: var(--font-size-lg);
        font-weight: var(--font-weight-regular);
        margin:0;
        /* line-height: ; */

        color: var(--color-text-default);
    }

    .bigger-p p {
        font-size: (var(--font-size-xl));
    }

    .white-text p {
        color: var(--white);
    }

    a {
        font-family: var(--ff-body);
        font-size: var(--font-size-lg);
        font-weight: var(--foint-weight-regular);
        text-decoration: none;
        cursor: pointer;

        color: var(--color-link-default);
    }

    a:hover{
        color: var(--color-link-hover);
    }

    a:active{
        color: var(--color-link-active);
    }

    /* BUTTONS */

    button{
        cursor: pointer;
        justify-content: center;
        padding: 16px;
        border: none;

        font-family: var(--ff-headers);
        font-size: var(--font-size-xs);
        font-weight: var(--font-weight-bold);
        /* line-height: ; */

        background-color: rgba(255,255,255,0);
        color: var(--color-text-nav-default);

        transition: linear 0.1s;
    }

    /* Button Nav */

    .btn-nav:hover{
        background: -webkit-linear-gradient(45deg, var(--brand-magenta),var(--brand-cyan));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .btn-nav.active{
        background-color: var(--color-bg-nav-hover);
        color: var(--color-text-nav-hover);
    }

    /* Button Primary */

    .btn-primary{
        border: 2px solid var(--color-btn-prim-border);
        color: var(--color-btn-prim-text);
    }

    .btn-primary.bright{
        border: 2px solid var(--color-bg-surface);
        color: var(--color-bg-surface);
    }

    .btn-primary.responsive{
        width: 100%;
    }

    .btn-primary-active{
        border: none;
        background: black;
        color: var(--color-text-inverse);
    }

    .btn-primary:hover{
        border: 2px solid rgba(255,255,255,0);
        background-color: var(--color-btn-prim-bg-hover);
        color: var(--color-btn-prim-text-hover);

        transform: scale(1.1);
    }

    #toTopBtn {
        display: block;
        position: fixed;
        bottom: var(--spacing-2xl);
        right: var(--spacing-2xl);
        z-index: 99;

        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    #toTopBtn.visible{
        opacity: 1;
        pointer-events: auto;
    }

    /* FORMS */

    input {
        display: flex;
        flex: 0 1;
        padding: var(--spacing-md);
        border-radius: var(--spacing-base);
        border: solid 1px #D9D9D9;

        font-family: var(--ff-body);
    }

    textarea {
        display: flex;
        flex: 1;
        min-height: 256px;
        padding: var(--spacing-md);
        border-radius: var(--spacing-base);
        border: solid 1px #D9D9D9;
        font-family: var(--ff-body);
        resize: none;
    }

    label {
        font-family: var(--ff-body);
    }

        button[type="submit"] {
        position: relative;
        background: linear-gradient(135deg, var(--brand-magenta), var(--brand-cyan));
        border-radius: var(--spacing-base);
        color: var(--color-text-inverse);
        overflow: hidden;
        border: none;
        width: 100%;
        padding: var(--spacing-md);
        font-family: var(--ff-body);
        font-size: var(--font-size-md);
        cursor: pointer;
    }

    button[type="submit"]::before {
        content: '';
        position: absolute;
        inset: 0;
        background: #2C2C2C;
        transition: opacity 0.1s linear;
    }

    button[type="submit"] span{
        position: relative;
        z-index: 1;
    }

    button[type="submit"]:hover::before {
        opacity: 0;
    }

    .socials-icon{
        transition: linear 0.1s;
        cursor: pointer;
    }

    .socials-icon:hover{
        transform: scale(1.4);
    }

    /* CARDS */

    .card {
        display: flex;
        /* flex: 1; */
        flex-direction: column;
        justify-content: flex-start;
        overflow: hidden;

        background: var(--color-card-bg);
        border-radius: var(--spacing-md);
        border: solid 1px rgba(0,0,0,0.25);
        /* min-width: 336px; */
        /* max-width: 516px; */

        transition: ease-out 0.1s;
    }

    .card:hover {
        transform: scale(1.05);
        cursor: pointer;
    }

    /* General CSS. The image is changed by declaring additiona CSS classes each specific section. Use this HTML structure:
    
    <div class="card-picture <!-- ID of picture's class -->"> </div>

    */

    .card-picture {
        display: flex;
        flex-direction: column;
        flex: 0 1;
        justify-content: center;
        padding: var(--spacing-xl);
        /* min-width: 336px; */
        min-height: 264px;
        align-self: stretch;
    }

    .card-content{
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: space-between;
        padding: var(--spacing-xl);
        min-height: 320px;
    }

    .card-content-text h3{
        margin: 0 0 var(--spacing-xl) 0;
    }

    .card-button-area {
        display: flex;
        flex: 0 1;
        justify-content: flex-end;
        flex-direction: row;
    }

/* COMMON WEBSITE SECTIONS ======================================================*/

/* HEADER STRUCTURES */

.header-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--spacing-base);

    padding: var(--spacing-2xl) var(--spacing-2xl) 0 var(--spacing-2xl);
}

.header-right{
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: var(--spacing-base);

    padding: var(--spacing-2xl) var(--spacing-2xl) 0 var(--spacing-2xl);
}

/* HEADER BOTTOM LINES / RECTANGLES */

.rectangle-left{
    width:267px;
    height:12px;
    background-color: var(--color-bar-header);

    position:relative;
    left: -48px;
    top: 0;
}

.rectangle-right{
    width:267px;
    height:12px;
    background-color: var(--color-bar-header);

    position:relative;
    left: 48px;
    top: 0;
}

/* FOOTER */

html {
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    margin: 0;
    background-color: var(--color-bg-surface);
    overflow-x: hidden;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.body-contact-page {
    background: url("assets/images/contact-background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: var(--spacing-xl) var(--spacing-2xl);
    gap: var(--spacing-lg);
    background: var(--color-bg-footer);

    border-top: solid 4px;
    border-image-source: linear-gradient(to right, var(--brand-magenta), var(--brand-cyan));
    border-image-slice: 1;
}

footer h2 {
    color: var(--color-text-inverse);
}

.footer-info {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: fit-content;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-nav{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: fit-content;
    gap: var(--spacing-base);
}

.footer-nav-bar {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: fit-content;
    gap: var(--spacing-base);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: fit-content;
    gap: var(--spacing-base);
}

.footer-socials{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width:fit-content;
    gap: var(--spacing-md);
}

/* MOBILE MENU OVERLAY */

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-surface);
    z-index: 999;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* Hidden off-screen to the right by default */
    transform: translateX(100%);
    transition: transform 0.35s ease;
}

/* Visible state — toggled by JS */
.mobile-nav-overlay.open {
    transform: translateX(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.btn-mobile-nav {
    width: 100%;
    padding: var(--spacing-xl) var(--spacing-2xl);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    font-family: var(--ff-headers);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-default);
    text-align: center;
    cursor: pointer;

    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-mobile-nav.active {
    background-color: var(--color-bg-nav-hover);
    color: var(--color-text-inverse);
}

.btn-mobile-nav:hover:not(.active) {
    background: -webkit-linear-gradient(45deg, var(--brand-magenta), var(--brand-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-nav-overlay-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-2xl);
}

.btn-close-menu {
    font-family: var(--ff-nav);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-nav-default);
    background: transparent;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    transition: linear 0.1s;
}

.btn-close-menu:hover {
    background: -webkit-linear-gradient(45deg, var(--brand-magenta), var(--brand-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Locks page scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* WEBSITE SECTIONS =========================================================== */

/* HERO SECTION */

.hero{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    align-self: stretch;
    flex:1;
    padding: 0 var(--spacing-2xl) 0 0;
    /* width:100%; */
}

.hero-content{
    display: flex;
    flex-direction: column;
    flex:1;
    height: 700px;
    box-sizing: border-box;

    /* background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.70) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%),url(assets/images/exterior_day_1_edited_v002.jpg) lightgray 50%; */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;

    border-bottom: 4px solid;
    border-image-source: linear-gradient(to right, var(--brand-magenta), var(--brand-cyan));
    border-image-slice: 1;
}

.home-hero-picture{
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.70) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%),url(assets/images/exterior_day_1_edited_v002.jpg) lightgray 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;}

.projects-hero-picture{
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.70) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%),url(assets/images/coworking-office/office_render1_v005.png) lightgray 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.services-hero-picture{
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.70) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%),url(assets/images/victor-konder/victorkonder_render_002_edit_v003.jpg) lightgray 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}



header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: fit-content;
    flex:0 1;
    

    padding: var(--spacing-lg) 0 var(--spacing-lg) var(--spacing-2xl) ;
}

.logo{
    display: flex;
    justify-content: center;
    align-items: center;
    transition: linear 0.1s;
}

.logo:hover{
    cursor: pointer;
    transform: scale(1.1);
}

.nav-bar{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: fit-content;

    padding: 16px 16px 16px 16px;

    background-color: var(--color-bg-surface);
    }

.hero-content-area{
    display: flex;
    flex:1;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap:var(--spacing-base);
    padding: var(--spacing-2xl);
}

.hero-text-area{
    color: var(--color-text-inverse);
    gap:var(--spacing-base);
}

.hero-text-area-p{
    max-width: 534px;
}

.hero-text-area-p p{
    color: var(--color-text-bright);
}

/* ABOUT US SECTION */

.about-us{
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--spacing-2xl);
    gap: var(--spacing-lg);
}

.about-us-content {
    display: flex;
    flex:1;
    flex-direction: row;
    justify-content: flex-start;
    gap: 112px;
}

.about-us-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--spacing-base);
}


.about-us-text{
    display: flex;
    flex:1;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: var(--spacing-md)

}

.about-us-text-column {
    display: flex;
    flex: 1;
    justify-content: flex-start;
    min-width: 330px;
} 

.about-us-button-area{
    display: flex;
    flex:1;
    justify-content: flex-end;
    padding: var(--spacing-base);
}

/* SERVICES SECTION */

.services{
    display: flex;
    /* flex: 1; */
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: top;
}

/* .services-header{
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: var(--spacing-base);

    padding: var(--spacing-2xl) var(--spacing-2xl) 0 var(--spacing-2xl);
} */

.services-content{
    display: flex;
    flex:1;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: linear-gradient(to bottom, rgba(242, 242, 242, 0.85), transparent 100%), url(assets/images/services_section_bg.jpg);
    background-color: rgba(242, 242, 242,0.85);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;

    padding: var(--spacing-lg) var(--spacing-2xl) 104px var(--spacing-2xl); 
    gap: var(--spacing-lg);
}

.services-text{
    display: flex;
    flex: 1;
    justify-content: center;
    max-width: 1200px;
    text-align: center;

    padding: var(--spacing-md) var(--spacing-2xl) var(--spacing-md) var(--spacing-2xl);
}

.services-cards-area{
    display: flex;
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);

    max-width: 1300px;
}

.service-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: var(--spacing-lg);
    gap: var(--spacing-md);
    min-width: 360px;
    width: 360px;
    height: 242px;
    border-radius: 24px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);

    text-align: center;

    background-color: var(--color-bg-surface);

    transition: linear 0.1s;
}

.service-card:hover{
    transform:scale(1.1);
}

.services-button-area{
    display: flex;
    flex: 0 1;
    max-width: 1300px;
    width: 100%;
    padding: var(--spacing-xl) 0;
}

.services-button-area a {
    display: flex;
    width: 100%;
}

/* PROJECTS SECTION */

.projects {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
    /* gap: var(--spacing-md); */
    gap: 0;
    padding: 0 0 var(--spacing-3xl) 0;
}

/* .projects-header {
    display: flex;
    flex:1;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--spacing-base);

    padding: var(--spacing-lg) var(--spacing-2xl) 0 var(--spacing-2xl);
} */

/* PROJECTS COMPONENT */

/* Main container - fills entire width of its parent */
.projects-container {
    display: flex;
    /* flex: 1; */
    width: 100%;
    height: 700px;
    /* Adjust height as needed */
    overflow: hidden;
}

/* Each image/button link */
.project-link {
    position: relative;
    display:block;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    transition: flex 0.5s ease;
}

/* Background image layer */
.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

/* ========================================
IMAGE CUSTOMIZATION
Replace the background-image URLs below with your own images.
Image 1: Left side (Projetos Executados)
Image 2: Right side (Projetos Não-Executados)
 ======================================== */

.project-link--left::before {
    /* Replace this URL with your first image */
    background-image: url(assets/images/house-compressed/1st_floor_living_room_1_v002.jpg);
}

.project-link--right::before {
    /* Replace this URL with your second image */
    background-image: url(assets/images/Pontal_ComercialGalpao_render_edit_v004.jpg);
}

/* Dark overlay layer */
.project-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.5s ease;
    pointer-events: none;
}

/* Text styling */
.project-link-text {
    display: flex;
    flex:1;
    justify-content: flex-start;
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 10;
    border-bottom: solid 1px #fff;

    /* ========================================
    FONT CUSTOMIZATION
    Update the font-family below to match your imported font.
    Adjust font-size, color, and other properties as needed.
    ======================================== */
    font-family: var(--ff-headers);
    font-size: var(--font-size-xl);
    color: var(--color-text-inverse);
    text-transform: uppercase;
    line-height: var(--line-height-tight);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ========================================
HOVER STATES
When hovering on one side:
- That side expands (flex: 0.75)
- The other side shrinks (flex: 0.5) and gets dark overlay
======================================== */

/* When hovering the LEFT link */
.projects-container:has(.project-link--left:hover) .project-link--left {
    flex: 0.75;
}

.projects-container:has(.project-link--left:hover) .project-link--right {
    flex: 0.5;
}

.projects-container:has(.project-link--left:hover) .project-link--right::after {
    background-color: rgba(0, 0, 0, 0.5);
}

/* When hovering the RIGHT link */
.projects-container:has(.project-link--right:hover) .project-link--right {
    flex: 0.75;
}

.projects-container:has(.project-link--right:hover) .project-link--left {
    flex: 0.5;
}

.projects-container:has(.project-link--right:hover) .project-link--left::after {
    background-color: rgba(0, 0, 0, 0.5);
}

/* ========================================
RESPONSIVE ADJUSTMENTS
Modify breakpoints and values as needed for your design.
======================================== */

 /* WHO WE ARE SECTION */

    .who-we-are {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    }

    /* .who-we-are-header {
      display: flex;
      flex: 1;
      flex-direction: column;
      justify-content: flex-end;
      align-items: flex-end;
      gap: var(--spacing-base);
      padding: 0 var(--spacing-2xl);
    } */


    .who-we-are-content {
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-2xl);
        padding: var(--spacing-3xl) calc(5 * var(--spacing-xl)) var(--spacing-3xl) calc(5 * var(--spacing-xl));
        min-height: 700px;
        position: relative;
        overflow: hidden;
    }

    /* .who-we-are-gradient-top{
        position:absolute;
        top:0;
        left:0;
        width:100%;
        height:180px;
        background-color: linear-gradient(to bottom, var(--color-bg-surface), transparent);
        z-index: 1;
        pointer-events: none;
    } */

    .who-we-are-bg-video {
        position: absolute;
        top:0;
        left:0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        -webkit-mask-image: linear-gradient(to bottom, transparent, black 180px);
        mask-image: linear-gradient(to bottom, transparent, black 180px);
    }

    .who-we-are-card {
      display: flex;
      flex: 1;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      min-width: 864px;
      max-width: 1200px;
      gap: var(--spacing-base);

      /* 3D Tilt properties */
      cursor: default;
      transition: transform 0.2s ease-out;
      transform-style: preserve-3d;

      position: relative;
      z-index: 2;
    }

    .who-we-are-card-picture {
      width: 330px;
      height: 330px;
      border-radius: 112px;
      box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
      z-index: 1;
    }

    .card-photo-1 {
      background: url('assets/images/photos/photo-carlos.jpg');
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
    }

    .card-photo-2 {
      background: url('assets/images/photos/photo-matheus.jpg');
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
    }

    .who-we-are-card-text-box-left {
      display: flex;
      flex: 1;
      flex-direction: column;
      height: fit-content;
      margin-left: -72px;
      gap: var(--spacing-base);
    }


    .who-we-are-card-text-box-right {
      display: flex;
      flex: 1;
      flex-direction: column;
      height: fit-content;
      margin-right: -72px;
      gap: var(--spacing-base);
    }

    .card-name-left {
      display: flex;
      flex: 0 1;
      flex-direction: row;
      justify-content: flex-start;
      align-items: left;
      padding: 0 0 0 112px;
      color: white;
    }

    .card-name-right {
      display: flex;
      flex: 0 1;
      flex-direction: row;
      justify-content: flex-end;
      align-items: right;
      padding: 0 112px 0 0;
      color: white;
    }

    .card-paragraph-box-left {
      padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-xl) 112px;
      background-color: var(--color-card-bg);
      border-right: solid 2px;
      border-bottom: solid 2px;
      border-image-source: linear-gradient(to right, var(--brand-magenta), var(--brand-cyan));
      border-image-slice: 1;
      box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    }

    .card-paragraph-box-right {
      padding: var(--spacing-xl) 112px var(--spacing-xl) var(--spacing-xl);
      background-color: var(--color-card-bg);
      border-left: solid 2px;
      border-bottom: solid 2px;
      border-image-source: linear-gradient(to right, var(--brand-magenta), var(--brand-cyan));
      border-image-slice: 1;
      box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    }

    .card-paragraph-box-left p,
    .card-paragraph-box-right p {
      color: #374151;
      line-height: 1.75;
    }

/* TESTIMONIALS SECTION */

.testimonials-section {
    display: flex;
    flex:1;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;

    padding: calc(2*var(--spacing-2xl));

    background: linear-gradient(179deg, rgba(243, 243, 243, 0.40) 0.84%, rgba(243, 243, 243, 0.00) 99.57%), rgba(45, 198, 220, 0.48);
}

.testimonials-card {
    display: flex;
    flex: 1 1;
    flex-direction: column;
    justify-content: center;
    position: relative;
    align-items: center;

    gap: var(--spacing-xl);
    padding: var(--spacing-xl) var(--spacing-3xl);

    background: var(--color-card-bg);
    border-radius: var(--spacing-3xl);
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
}

.testimonials-card-header {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-weight: var(--font-weight-semibold);
    gap: var(--spacing-lg);
}

.testimonials-card-header-divider {
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: center;
}

.testimonials {
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: center;
    gap: var(--spacing-2xl);
    overflow: hidden;
}

.single-testimonial {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--spacing-md);
    justify-content: flex-start;
    max-width: 360px;
}

.single-testimonial-header {
    display: flex;
    flex: 0 1;
    flex-direction: row;
    justify-content: flex-start;
    /* height: fit-content; */
}

.single-testimonial-review {
    display: flex;
    flex: 0 1;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: var(--spacing-base);
    /* height: fit-content; */
}

.single-testimonial-paragraph {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
}

.quotation-mark{
    position: absolute;
    top: -16px;
    left: var(--spacing-3xl);
}

.quotation-mark-upside-down{
    position: absolute;
    bottom: -16px;
    right: var(--spacing-3xl);
}

/* CONTACT */

.contact {
    background: url("assets/images/contact-background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 0 0 var(--spacing-2xl);
}

.contact.contact-page {
    background: none;
}

/* .contact-header {
    padding: var(--spacing-xl) var(--spacing-2xl);
} */

.header-left-contact-page {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--spacing-base);

    padding: var(--spacing-md) var(--spacing-2xl) 0 var(--spacing-2xl);
}

.contact-content {
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    width: fit-content;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--spacing-xl) var(--spacing-2xl);
    min-width: 256px;
}

.contact-call-to-action {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap:0;
}

.contact-question {
    font-family: var(--ff-body); 
    font-size: var(--font-size-display-md); 
    color: #303435;
    margin:0;
}

.contact-us-text {
    display: inline-block;
    width: fit-content;
    margin:0;
    font-family: var(--ff-body);
    font-size: var(--font-size-display-md);
    background: -webkit-linear-gradient(to right, var(--brand-magenta), var(--brand-cyan));
    background: linear-gradient(to right, var(--brand-magenta), var(--brand-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* fallback */

}

.contact-form{
    display: flex;
    flex:1;
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--spacing-lg) calc(3*var(--spacing-2xl));
    gap: var(--spacing-md);
    min-width: 256px;
}

.contact-form-row {
    display: flex;
    flex:0 1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--spacing-md);
}

.contact-form-name {
    display: flex;
    flex:1;
    flex-direction: column;
    gap: 0;
}

.contact-form-email {
    display: flex;
    flex:1;
    flex-direction: column;
    gap: 0;
}

.contact-form-message {
    display: flex;
    flex:1;
    flex-direction: column;
    gap:0;
}

/* SERVICES PAGE ============================================================== */

.services-body{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--spacing-2xl);
    gap: var(--spacing-lg);

    flex:1;
}

.services-body h1{
    color: var(--color-text-default);
}

/* ---- AI GENERATED CSS ---- */

/* ── SERVICES GRID SECTION ─────────────────────────── */
.srv-services-section { 
    position: relative; 
    flex-shrink: 0; 
    width: 100%; 
    z-index: 1
}

.srv-services-section-bg { 
    position: absolute; 
    inset: 0; 
    pointer-events: none; 
}

.srv-services-section-bg img {
  position: absolute; 
  inset: 0;
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  opacity: 0.15;
}

.srv-services-section-bg-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(242,242,242,0) 65.865%, #f2f2f2 100%);
}
.srv-services-section-inner {
  position: relative;
  flex:1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 0 80px 0;
}
.srv-services-top-fade {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 160px;
  background: linear-gradient(180deg, #f2f2f2 0%, rgba(242,242,242,0) 100%);
  pointer-events: none;
}

/* ── SECTION LABEL (right-aligned) ─────────────────── */
.srv-section-label { 
    position: relative; 
    flex-shrink: 0; 
    width: 100%; 
}

.srv-section-label-text {
  display: flex;
  align-items: center;
  padding: 12px 48px 12px 0;
  justify-content: flex-end;
}

.srv-section-label-text > span {
  font-family: var(--srv-display);
  font-size: 24px;
  color: var(--srv-mid);
  letter-spacing: 0.06em;
  font-weight: 300;
}

.srv-section-bar-right {
  position: absolute;
  background: var(--color-btn-prim-text);
  height: 12px;
  top: 49px;
  right: 0;
  width: 235px;
}

.srv-services-intro-text {
  font-family: var(--ff-body);
  font-size: 20px;
  color: var(--srv-text);
  font-weight: 400;
  text-align: center;
  padding: 16px 0;
  width: 100%;
  position: relative;
  margin: 0;
}

/* ── CARDS GRID ────────────────────────────────────── */

.srv-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px,1fr));
    padding: var(--spacing-xl) 0;
    gap: var(--spacing-2xl);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

/* ── SERVICE CARD ──────────────────────────────────── */
/* Named srv-service-card to avoid theme's .service-card */
.srv-service-card {
  background: var(--color-card-bg);
  filter: drop-shadow(0px 0px 6px rgba(0,0,0,0.25));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 380px;
  min-height: 436px;
  transition: ease-out 0.1s;
}

.srv-service-card:hover { 
    transform: scale(1.1);  
}

.srv-card-top-strip {
  height: 4px;
  width: 100%;
  flex-shrink: 0;
  background: var(--brand-gradient-rotated);
}
.srv-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: var(--spacing-xl);
  flex: 1;
}
.srv-card-header { 
    display: flex; 
    align-items: flex-start; 
    gap: 20px; 
}
.srv-card-icon { 
    flex-shrink: 0; 
    margin-top: 4px; 
}

.srv-card-title-group { 
    display: flex; 
    flex-direction: column; 
    gap: 4px; }

.srv-card-title {
  font-family: var(--ff-body);
  font-size: var(--font-size-lg);
  color: var(--color-btn-prim-text);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.04em;
  line-height: 1.25;
}
.srv-card-subtitle {
  font-family: var(--ff-body);
  font-size: var(--font-size-sm);
  color: var(--srv-mid);
  font-weight: var(--font-weight-regular);
}
.srv-card-description {
  font-family: var(--ff-body);
  font-size: var(--font-size-base);
  color: var(--srv-mid);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  margin: 0;
}
.srv-card-bullets {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.srv-card-bullets li { display: flex; align-items: flex-start; gap: 10px; }
.srv-bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--srv-grad);
  flex-shrink: 0;
  margin-top: 6px;
}
.srv-card-bullets li > span {
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--srv-text);
  font-weight: 400;
  line-height: 1.5;
}

/* ── WHY US ────────────────────────────────────────── */
.srv-why-us { position: relative; flex-shrink: 0; width: 100%; }
.srv-why-us-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  padding: 72px 48px 128px;
}
.srv-section-center-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.srv-section-center-header > span {
  font-family: var(--srv-display);
  font-size: 24px;
  color: var(--srv-mid);
  font-weight: 300;
  letter-spacing: 0.06em;
}
.srv-gradient-line { height: 6px; background: var(--srv-grad); }
.srv-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  width: 100%;
}
.srv-stat-card {
  background: white;
  filter: drop-shadow(0px 0px 6px rgba(0,0,0,0.15));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  flex: 1 1 200px;
  max-width: 260px;
  transform: none;
  transition: none;
}
.srv-stat-card:hover { transform: none; cursor: default; }

.srv-stat-num {
  font-family: var(--ff-headers);
  font-size: var(--font-size-display-md);
  font-weight: 600;
  background: var(--brand-gradient-rotated);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.srv-stat-label {
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--srv-mid);
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

/* ── CTA SECTION ───────────────────────────────────── */
.srv-cta-section { 
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column; 
    flex-shrink: 0; 
    width: 100%; 
    overflow: hidden; 
}

.srv-cta-bg { 
    position: absolute; 
    inset: 0; 
    pointer-events: none; 
    background-image: linear-gradient(rgba(0,0,0,0.75) 0 0), url(https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1400&h=700&fit=crop&auto=format);
    background-size: cover;
    background-position: center;
}
.srv-cta-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding: 72px 48px;
}
.srv-cta-title-group { display: flex; flex-direction: column; gap: 8px; text-align: center; }

.srv-cta-title-plain {
  font-family: var(--ff-body);
  font-size: 48px;
  color: #f2f2f2;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

.srv-cta-title-grad {
  font-family: var(--ff-body);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  background: var(--brand-gradient-rotated);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.srv-cta-desc {
  font-family: var(--ff-body);
  font-size: 20px;
  color: rgba(242,242,242,0.8);
  font-weight: 400;
  max-width: 540px;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}
.srv-cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  justify-content: center;
}
.srv-cta-btn {
  padding: 16px;
  font-family: var(--srv-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 32px;
  color: #f2f2f2;
  border: 2px solid #f2f2f2;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  /* prevent theme button styles from applying */
  border-radius: 0;
  transform: none;
  transition: none;
}
.srv-cta-btn:hover {
  color: #f2f2f2;
  transform: none;
  background: rgba(255,255,255,0.1);
  border-color: #f2f2f2;
}
.srv-cta-btn.secondary {
  font-weight: 400;
  color: rgba(242,242,242,0.7);
  border-color: rgba(242,242,242,0.5);
}
.srv-cta-email {
  font-family: var(--ff-body);
  font-size: 18px;
  color: rgba(242,242,242,0.7);
  font-weight: 400;
  margin: 0;
}

/* ---- END OF AI GENERATED CSS ---- */

/* PROJECTS PAGE ============================================================== */

.projects-page-body {
    display: flex;
    flex:1;
    flex-direction: column;
    padding: var(--spacing-xl) var(--spacing-2xl);
    justify-content: flex-start;
    align-items: flex-start;
}

.projects-page-header{
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: space-between;
    align-items: center;    
}

.projects-page-header-button-area{
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xl);
}

/* .projects-page-card-row {
    display: flex;
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: var(--spacing-xl) 0;
    gap: var(--spacing-xl);
    align-self: stretch;
} */

.projects-page-card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    padding: var(--spacing-xl) 0;
    gap: var(--spacing-xl);
    width: 100%;
}

.card-picture-angelo-raimundo-barreiras {
    background: url(assets/images/exterior_day_1_edited_v002.jpg);
    background-size: cover;
}

.card-picture-shell-comercial {
    background: url(assets/images/Pontal_ComercialGalpão_render_edit_v004.jpg);
    background-size: cover;
}

.card-picture-co-working {
    background:url(assets/images/coworking-office/office_render1_v005.png);
    background-size: cover;
}

/* PROJECT PAGE (For Individual Projects) ======================================================= */

.project-page-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl) var(--spacing-2xl);
    gap: var(--spacing-2xl);
}

.project-page-header{
    display: flex;
    flex:1;
    flex-direction: column;
    gap: var(--spacing-md);
}

.project-page-header h1{
    color: var(--color-text-default);
}

.project-page-header-button-area{
    display: flex;
    flex: 1;
    flex-direction: row;
    height: var(--spacing-3xl);
    gap: var(--spacing-xl);
}

.project-page-header-stroke {
    display: flex;
    flex:1;
    border-top: solid 1px black;
}

.project-page-content{
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: var(--spacing-xl) var(--spacing-xl);
    gap: var(--spacing-xl);
    width: 100%;
    max-width: 1200px;
    justify-content: center;
    border: solid 1px rgba(0,0,0,0.25);
    box-sizing: border-box;
}

.project-page-card-row{
    padding: var(--spacing-xl) 0;
    border-top: solid 1px black;
}

/* BREAKPOINTS =================================================================*/

@media (min-width: 769px) {
      /* Hide hamburger on desktop (default state) */
    .btn-hamburger {
        display: none;
    }

    .card-photo-mobile{
        display: none;
    }
    
}

/* ############################## */
/* Tablet (W: 1000px) */
/* ############################## */

@media screen and (max-width:1000px) {

    .card{
        min-width: 336px;
        max-width: 434px;
    }

   /* Hide hamburger on desktop (default state) */
    .btn-hamburger {
        display: none;
    }

    /* HERO */

    .hero {
        padding: 0; /* remove right padding so image fills edge-to-edge */
    }

    .hero-content {
        max-height: 700px;
    }

    /* HEADER */

    header {       
        display: flex;
        flex: 0 1;
        padding: var(--spacing-xl);
        justify-content: flex-start;
        gap: var(--spacing-xl);
        align-items: center;
    }

    .nav-bar {
        display: flex;
        flex:1;
    }

    .btn-nav{
        font-size: 12px;
    }

    /* .btn-hamburger {
        display: flex;
        align-items: center;
        gap: var(--spacing-xs);
        padding: var(--spacing-sm) var(--spacing-md);
        font-family: var(--ff-nav);
        font-size: var(--font-size-xs);
        font-weight: var(--font-weight-bold);
        color: var(--color-text-nav-default);
        background: transparent;
        border: none;
        cursor: pointer;
    } */

    .btn-hamburger:hover {
        background: -webkit-linear-gradient(45deg, var(--brand-magenta), var(--brand-cyan));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* HERO TEXT */

    .hero-content-area {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .hero-content-area h1 {
        font-size: var(--font-size-display-md); /* 61px → down from 76px */
    }

    .hero-text-area-p {
        max-width: 100%;
    }

    /* ABOUT US */

    .about-us-content{
    flex-direction: column;
    gap: var(--spacing-xl);
    }

    /* SERVICES */
    .service-card{
        max-width: 300px;
        min-width: 160px;
        flex:1;
    }

    /* PROJECTS */

    .projects-container {
        flex-direction: column;
        height: 800px;
    }

    .project-link-text {
        font-size: 1.5rem;
        bottom: 20px;
        left: 20px;
    }

    /* WHO WE ARE */

    .who-we-are{
        display: flex;
        flex:1;
    }

    .who-we-are-content{
        display: flex;
        flex:1;
        padding: var(--spacing-xl);
    }

    .who-we-are-card {
        flex-direction: column;
        min-width: 0;
        gap: var(--spacing-xl);
    }

    .who-we-are-card-picture {
        border-radius: 160px;
    }

    .card-photo-mobile{
        display: flex;
    }

    .card-photo-desktop{
        display: none;
    }

    .who-we-are-card-text-box-left{
        margin: 0;
        padding: var(--spacing-xl) 0;
        gap: var(--spacing-md);
        justify-content: flex-start;
        min-width: 0;
        background: var(--color-card-bg);
        border-left: solid 2px;
        border-bottom: solid 2px;
        border-image-source: linear-gradient(to right, var(--brand-magenta), var(--brand-cyan));
        border-image-slice: 1;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    }

    .card-name-left{
        margin:0;
        padding: 0;
        justify-content: center;
        min-width: 0;
        text-align: center;
    }

    .card-paragraph-box-left{
        padding: 0 var(--spacing-xl);
        min-width: 0;
        border: 0px;
        box-shadow: none;
        background:none;
    }

    .who-we-are-card-text-box-right{
        margin: 0;
        padding: var(--spacing-xl) 0;
        justify-content: flex-start;
        min-width: 0;
        background: var(--color-card-bg);
        border-left: solid 2px;
        border-bottom: solid 2px;
        border-image-source: linear-gradient(to right, var(--brand-magenta), var(--brand-cyan));
        border-image-slice: 1;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    }

    .card-name-right{
        margin:0;
        padding: 0 var(--spacing-base);
        justify-content: center;
        min-width: 0;
        text-align: center;
    }

    .card-paragraph-box-right{
        padding: 0 var(--spacing-xl);
        min-width: 0;
        border: 0px;
        box-shadow: none;
        background: none;
    }

    .testimonials-section {
    padding: var(--spacing-2xl) var(--spacing-lg);
}

/* Remove the outer white card — let the cyan background show */
    .testimonials-card {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        padding: var(--spacing-lg) 0;
        gap: var(--spacing-lg);
    }

    /* Make the row horizontally scrollable */
    .testimonials {
        overflow-x: scroll;
        overflow-y: hidden;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: stretch;
        gap: var(--spacing-lg);
        padding: var(--spacing-md) var(--spacing-xs) var(--spacing-xl) var(--spacing-xs);
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    /* Give each testimonial its own card */
        .single-testimonial {
        flex: 0 0 auto;
        min-width: 280px;
        max-width: 320px;
        background: var(--color-card-bg);
        border-radius: var(--spacing-md);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        padding: var(--spacing-xl);
    }

    /* Reposition quotation marks for tablet/mobile */

    .quotation-mark {
        top: 100px; /* push below the DEPOIMENTOS header */
        left: var(--spacing-md);
    }

    .quotation-mark-upside-down {
        bottom: var(--spacing-xl);
        right: var(--spacing-md);
    }

    /* CONTACT SECTION */

    .contact-form{
        padding: var(--spacing-xl);
    }

    .contact-form-row{
        flex-direction: column;
    }

    /* PROJECTS PAGE */

    .projects-page-body {
        padding: var(--spacing-xl) var(--spacing-xl);
        justify-content: center;
        align-items: center;
    }

    .projects-page-card-row {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }

    /* PROJECT PAGE */

    .project-page-body{
        padding: var(--spacing-xl);
    }

    .project-page-header h1{
        font-size: var(--font-size-display-md); /* 61px → down from 76px */
    }

}

/* ############################## */
/* MOBILE BREAKPOINT */
/* ############################## */

@media (max-width: 560px) {

    .header-left,
    .header-right{
    justify-content: center;
    align-items: center;
    }


     /* Fix rectangle overflow on mobile */
    #rectangle-left,
    #rectangle-right {
        left: 0;
        width: 100%;
    }

   .btn-nav{
        display: none;
   }

    .btn-hamburger {
        display: flex;
    }

    /* HERO */

    .hero-content {
        height: 600px;
        background-attachment: scroll;
    }

    /* HEADER */

    header {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .nav-bar{
        justify-content: flex-end;
    }

    /* HERO TEXT */

    .hero-content-area {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .hero-content-area h1 {
        font-size: calc(var(--font-size-display-md)*0.5); /* 48px → down from 61px */
    }

    .hero-content-area p {
        font-size: var(--font-size-base); /* tighten body text on small screens */
    }

    /* SERVICES */
    
    /* .services-text h3 {
        font-family: var(--ff-body);
        font-size: var(--font-size-md);
    } */

    .services-content {
        padding: calc(var(--spacing-xl)*3) var(--spacing-xl);
    }

    .services-cards-area{
        flex: 1 0;
        width: 100%;
        padding: var(--spacing-xl);
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: flex-start;
        overflow-x: scroll;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .service-card {
        flex: 1 0;
        min-width: 300px;
    }

    /* TESTIMONIALS — mobile */

    .single-testimonial {
        min-width: 260px;
    }

    /* PROJECTS */

    .projects-container {
        height: 600px;
    }

    .project-link-text {
        font-size: 1.2rem;
        bottom: 15px;
        left: 15px;
    }

    /* PROJECTS PAGE */

    .projects-page-card-row {
        grid-template-columns: 1fr; /* single column on mobile */
    }

}