:root {
    --bg-ivory: #F6F0E7;
    --text-deep: #2c3340;
    --text-muted: #666873;
    --accent-rose: #b45b5e;
    --accent-rose-2: #c77477;
    --accent-purple: #7d3cff;
    --border-soft: #d9c5c5;
    --interarte-red: #773835;
    --interart-orange: #faf6f0;
    --interart-soft-red: #be4f58;
    --card-shadow: 0 8px 22px rgba(0,0,0,.06);
    --radius-xl: 1.2rem;
}

@font-face {
    font-family: "Ashford-bold";
    src: url("/assets/fonts/TANASHFORD.otf") format("opentype"), url("/assets/fonts/ashford-bold.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Ashford";
    src: url("/assets/fonts/ashford.woff") format("woff"), url("/assets/fonts/ashford.otf") format("opentype");
    font-style: normal;
    font-display: swap;
}

.bold-ashford {
    font-family: "Cardo", serif;
}

html, body {
    scroll-behavior: smooth
}

body {
    background: var(--bg-ivory);
    color: var(--text-deep);
    font-family: "Cardo", serif;
    line-height: 1.65;
    letter-spacing: .2px;
}

/* NAVBAR */
/* --- keep your existing colors/fonts on brand/links --- */
.navbar {
    padding: .9rem 0;
    background: rgba(246,240,231,.9);
    backdrop-filter: saturate(120%) blur(6px);
    border-bottom: 1px solid rgba(0,0,0,.04);
    /* REMOVE custom display:flex/gap from here */
}

/* brand + links (yours) */
.navbar-brand {
    font-family: "Cardo", serif;
    letter-spacing: .06em;
    font-weight: 500;
    font-size: 30px;
    color: var(--interarte-red);
}

.nav-link {
    font-family: "Cinzel", serif;
    letter-spacing: .05em;
    font-weight: 600;
    font-size: 25px;
    color: var(--text-deep);
}

    .nav-link.active, .nav-link:hover {
        color: var(--accent-rose);
    }

/* === NAV LAYOUT & SPACING === */

/* let the right side (collapse) take remaining width */
.navbar .navbar-collapse {
    flex: 1 1 auto;
}

/* main nav list: pushed to the right, controlled gap, no forced width */
.navbar .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* push items to the right */
    margin-left: auto; /* keeps them on the right of the brand */
    width: auto; /* no clamp() width – just content */
    gap: 1.8rem; /* spacing between menu items */
}

    /* prevent items from stretching */
    .navbar .navbar-nav .nav-item {
        flex: 0 0 auto !important;
    }

/* menu link size & style (slightly smaller than before) */
.navbar .nav-link {
    font-family: "Cinzel", serif;
    letter-spacing: .05em;
    font-weight: 600;
    font-size: 1.1rem; /* ~17–18px */
    padding: .25rem 0; /* less vertical padding */
}

    /* active underline similar to luminae */
    .navbar .nav-link.active {
        position: relative;
    }

        .navbar .nav-link.active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -0.35rem;
            width: 60%;
            height: 3px;
            margin-inline: auto;
            background: var(--accent-rose);
        }

/* slightly tighter on large but not collapsed */
@media (max-width: 1200px) {
    .navbar .navbar-nav {
        gap: 1.2rem;
    }

    .navbar .nav-link {
        font-size: 1rem; /* a bit smaller on medium screens */
    }
}

/* collapsed menu: stacked list, full width */
@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        width: 100%;
        justify-content: flex-start;
        gap: 0; /* stacked, no horizontal gap */
    }

    .navbar .nav-link {
        padding: .5rem 0;
        font-size: .95rem;
    }
}

.navbar {
    padding: 1.3rem 0; /* was .9rem; adjust to taste */
}

/* extra top padding for main content */
main {
    padding-top: 1.5rem;
}

.navbar.sticky-top {
    top: 0;
    z-index: 1030;
}


/* HERO (Home) */
.hero {
    position: relative;
    overflow: hidden;
    /* border: 4px solid var(--accent-purple); */
    /* border-radius: 16px; */
}

/* The image defines the hero�s height and shows fully (no crop) */
.hero-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    /* border-radius: 12px; */
}

.hero::before {
    /* Leather-ish gradient placeholder; replace with your texture if you want */
    content: "";
    position: absolute;
    inset: 0;
    
    filter: contrast(1.03) saturate(0.9);
}

.hero .content {
    position: static; /* not needed anymore */
    padding: 0;
    color: #fff;
}


/* Overlay text centered on top of the image */
.hero .hero-overlay {
    position: absolute !important;
    left: 62%;
    bottom: 8rem;
    transform: translateX(-50%);
    z-index: 2;
    padding: 0 !important;
}

.display-title {
    font-family: "Cinzel", serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 4vw + 1rem, 5rem);
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.05;
}

.btn-rose {
    background: #ffffff;
    color: var(--interarte-red);
    border: 2px solid #fff;
    /* border-radius: 12px; */
    padding: .85rem 1.6rem;
    font-family: "Cinzel", serif;
    letter-spacing: .05em;
    font-weight: 600;
}

    .btn-rose:hover {
        background: #f5f5f5;
        color: var(--text-deep)
    }

.btn-rose-outline {
    color: var(--accent-rose);
    background: transparent;
    border: 2px solid var(--accent-rose);
    border-radius: 12px;
    padding: .9rem 2.2rem;
    font-family: "Cinzel", serif;
    letter-spacing: .04em;
}

    .btn-rose-outline:hover {
        background: var(--accent-rose);
        color: #fff;
    }


.btn-red {
    color: white;
    background: var(--interart-soft-red);
    /* border-radius:12px; */
    padding: .9rem 2.2rem;
    font-family: "Cinzel", serif;
    letter-spacing: .04em;
}

    .btn-red:hover {
        background: var(--accent-rose);
        color: #fff;
    }


/* SECTION HEADINGS */
.section-title {
    font-family: "Cinzel", serif;
    font-weight: 700;
    letter-spacing: .04em;
    font-size: clamp(1.6rem, 1vw + 1.4rem, 2.2rem);
    margin-bottom: 1.25rem;
}

.text-deep-styled {
    font-family: "Cinzel", serif;
    font-weight: 300;
    letter-spacing: .04em;
    font-size: clamp(1.6rem, 1vw + 1.4rem, 1.2rem);
    margin-bottom: 1.25rem;
}

.section-title-normal {
    font-weight: 700;
    letter-spacing: .04em;
    font-size: clamp(1.6rem, 1vw + 1.4rem, 2.2rem);
    margin-bottom: 1.25rem;
}

.section-title-sm {
    font-family: "Cinzel", serif;
    font-weight: 900 !important;
    letter-spacing: .04em;
    font-size: clamp(1.6rem, 1vw + 1.4rem, 1.8rem);
    margin-bottom: 1.25rem;
}

.eyebrow {
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .95rem;
    color: var(--text-muted);
}

/* SERVICES */
.card-service {
    background: #fff;
    /* border-radius:var(--radius-xl); */
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,.06);
    overflow: hidden;
    height: 100%;
}

    .card-service img {
        width: 100%;
        height: 290px;
        object-fit: cover;
    }

    .card-service .card-body {
        padding: 1.4rem 1.35rem 1.2rem
    }

    .card-service .card-title {
        font-family: "Cardo", serif;
        font-size: 1.5rem;
        font-weight: 400;
        margin-bottom: .35rem;
    }

    .card-service .card-body-text {
        font-size: 1.20rem;
    }

    /* SPLIT SECTIONS (image + text) */
    .split-img {
        width: 100%;
        height: 360px;
        object-fit: cover;
        border-radius: 16px;
        box-shadow: var(--card-shadow);
    }

.split-img-vxl {
    width: 100%;
    height: 720px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

/* LIST WITH DOTS */
.pretty-list li {
    margin: .35rem 0
}

    .pretty-list li::marker {
        color: var(--text-deep)
    }

/* OUTLINED QUOTE BOXES */
.quote {
    border: 2px solid var(--accent-rose);
    padding: 1.25rem 1.35rem;
    /* border-radius:12px; */
    background: #fff;
    box-shadow: var(--card-shadow);
    font-style: italic;
    height: 100%;
}

/* FAQ */
.faq h5 {
    font-family: "Cinzel", serif;
    margin-bottom: .35rem
}

/* NEWSLETTER */
.newsletter {
    text-align: center;
    max-width: 90%;
}

    .newsletter .form-control {
        padding: .9rem 1rem;
        border-radius: 12px;
        border: 1px solid #ddd;
        background: #fff;
    }

/* FOOTER */
footer {
    border-top: 1px solid rgba(0,0,0,.05);
    color: var(--text-muted);
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: all .7s ease
}

    .reveal.visible {
        opacity: 1;
        transform: none
    }

/* Spacing helpers */
.py-section {
    padding: clamp(3rem, 6vw, 5rem) 0
}

.font-ashford-like {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.text-main-red {
    color: var(--interarte-red);
}

.text-deep {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 2rem;
}

.text-deeper {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 2rem;
}

.text-simple {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.7rem;
}

/* Hero section for Consultas */
.consultas-hero {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    /* Fixed height: adjust as needed */
    height: 400px;
    /* Background image */
    background: url("../img/consultas.jpg") center center / cover no-repeat;
}

/* Title on top */
.consultas-title {
    font-family: "Cinzel", serif;
    font-weight: 800;
    font-size: clamp(5rem, 5vw, 3.5rem); /* responsive font size */
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 3px 12px rgba(0,0,0,.6);
    margin: 0;
    padding: 0 1rem; /* some side breathing room */
    line-height: 1.1;
}

@media (min-width: 992px) {
    #sobre img {
        max-height: 600px;
        width: auto;
    }
}

/* Testimonials block */
.quote.square {
    border: 2px solid var(--accent-rose);
    padding: 1.25rem 1.35rem;
    border-radius: 0; /* square corners */
    background: #fff;
    box-shadow: none; /* clean, no shadow */
    font-style: normal; /* no italic */
    height: auto;
}

.curso-text {
    font-family: "Cardo", serif; /* same base font as the site */
    font-weight: 600; /* slight bold (semibold effect) */
    font-size: 1.75rem; /* slightly larger than body */
    line-height: 1.8;
    max-width: 900px; /* keeps text in a nice readable column */
    margin: 0 auto; /* centers the block */
}

/* For square button override */
.square-btn {
    border-radius: 0 !important;
    padding: 1rem 2.2rem;
    font-weight: 600;
}

/* Yin/Yang icon */
.benefit-icon {
    width: 84px;
    height: 84px;
    margin-bottom: 0.75rem;
}

/* Text under icons */
.benefit-text {
    font-family: "Cardo", serif;
    font-size: clamp(1rem, 0.9rem + .4vw, 1.3rem);
    font-weight: 400; /* lighter, like in your screenshot */
    color: #2c2c35; /* slightly softer than pure black */
    line-height: 1.6;
}

/* NEWSLETTER */
.newsletter-text {
    font-family: "Cinzel", serif;
    font-size: 1.3rem;
    color: var(--text-deep);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.newsletter-form {
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    border-radius: 0; /* square */
    border: 1px solid #ccc;
    padding: 0.75rem 1rem;
    font-family: "Cinzel", serif;
    font-size: 1rem;
}

.newsletter-btn {
    border-radius: 0; /* square */
    background-color: var(--interarte-red);
    color: #fff;
    font-family: "Cinzel", serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
}

    .newsletter-btn:hover {
        background-color: #a33b3b; /* darker hover */
    }

.content-block {
    /* estilos din�micos aplicados pelo backoffice */
}

/* AUTH BUTTONS */
.navbar .nav-item .nav-btn {
    font-family: "Cinzel", serif;
    letter-spacing: .04em;
    padding: .45rem 1.3rem;
    border-radius: 999px;
    margin-top: .5rem;
}

@media (min-width: 992px) {
    .navbar .nav-item .nav-btn {
        margin-top: 0;
        margin-left: .75rem;
    }
}

.navbar .nav-item .btn-outline-dark {
    border-color: var(--text-deep);
    color: var(--text-deep);
}

    .navbar .nav-item .btn-outline-dark:hover {
        background: var(--text-deep);
        color: #fff;
    }

.nav-auth-toggle {
    font-family: "Cinzel", serif;
    font-weight: 600;
    letter-spacing: .04em;
}

/* COURSE GRID */
.course-card-grid {
    align-items: stretch;
}

.course-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 100%;
}

.course-card__image {
    width: 100%;
    padding-top: 135%;
    background-size: cover;
    background-position: center;
}

.course-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    background: var(--bg-ivory);
}

.course-card__eyebrow {
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--accent-rose);
}

.course-card__title {
    font-family: "Cinzel", serif;
    font-size: 1rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0;
}

.course-card__subtitle {
    font-family: "Cardo", serif;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.course-card__description {
    font-size: .95rem;
    color: var(--text-deep);
}

.course-card__footer {
    margin-top: auto;
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.course-card__price {
    font-family: "Cinzel", serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--interarte-red);
}

.course-eyebrow {
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--accent-rose);
}

/* PERSONAL AREA */
.personal-course-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

@media (min-width: 768px) {
    .personal-course-card {
        flex-direction: row;
    }
}

.personal-course-card__image {
    width: 100%;
    min-height: 220px;
    background-size: cover;
    background-position: center;
}

@media (min-width: 768px) {
    .personal-course-card__image {
        width: 240px;
        min-height: 100%;
    }
}

.personal-course-card__body {
    padding: 1.5rem;
    flex: 1 1 auto;
}

.personal-course-card__title {
    font-family: "Cinzel", serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.personal-course-card__subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.personal-course-card__description {
    font-size: .95rem;
    color: var(--text-deep);
}

.personal-area-form .form-label {
    font-family: "Cinzel", serif;
    letter-spacing: .04em;
}

.hero-banner {
    width: 100%;
    height: 425px; /* adjust for your preferred height */
    overflow: hidden;
    position: relative;
    color: #fff;
}

    .hero-banner .hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover; /* ensures it fills the space */
        background-position: center; /* centers nicely */
        background-repeat: no-repeat;
        transition: transform 0.3s ease;
        filter: brightness(0.8); /* darkens the image for readability */
    }

    /* optional hover zoom effect */
    .hero-banner:hover .hero-image {
        transform: scale(1.03);
    }

.hero-banner-xl {
    width: 100%;
    height: 600px; /* adjust for your preferred height */
    overflow: hidden;
    position: relative;
    color: #fff;
}

    .hero-banner-xl .hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover; /* ensures it fills the space */
        background-position: center; /* centers nicely */
        background-repeat: no-repeat;
        transition: transform 0.3s ease;
        filter: brightness(0.8); /* darkens the image for readability */
    }

    /* optional hover zoom effect */
    .hero-banner:hover .hero-image {
        transform: scale(1.03);
    }

.hero-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    padding: 0 1rem;
    text-align: center;
}

.hero-title {
    font-family: Ashford-bold, serif;
    font-size: clamp(1.0rem, 6vw, 4rem) !important; /* responsive */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Overlay container positioned at bottom center of the hero */
.hero-overlay-main {
    position: absolute !important;
    left: 62%;
    bottom: clamp(1rem, 6vw, 9rem);
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    width: max-content; /* key: don't be 100% */
    max-width: calc(100% - 2rem); /* keep safe margins */
}

    /* Optional: make button stand out over bright images */
    .hero-overlay-main .btn-rose {
        background-color: rgba(255,255,255,0.9);
        color: var(--interarte-red);
        border: 2px solid rgba(255,255,255,0.9);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

        .hero-overlay-main .btn-rose:hover {
            background-color: #fff;
            color: var(--text-deep);
        }

@media (max-width: 991.98px) {
    .hero-overlay-main {
        left: 50%;
    }
}

.square-btn {
    border-radius: 0 !important;
    padding: 1rem 2.5rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .square-btn {
        padding: 0.8rem 1.8rem;
    }
}

.rect-area{
    border-radius: 0 !important;
}

.square-crop {
    width: 100%; /* or set a fixed size like 260px */
    aspect-ratio: 1 / 1; /* makes it a square */
    object-fit: cover; /* fills the square, cropping the overflow */
    object-position: center; /* crop equally around center */
    display: block;
}

/* BIG OUTLINED BUTTON — matches the mockup */
.btn-outline-rose {
    display: inline-block;
    background: transparent;
    color: var(--interart-soft-red);
    border: 3px solid var(--interart-soft-red);
    border-radius: 0; /* rectangular corners */
    font-family: "Cinzel", serif;
    font-weight: 600;
    letter-spacing: .05em;
    font-size: 1.1rem;
    padding: 1rem 4.8rem; /* larger, elegant size */
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-outline-rose:hover {
        background: var(--interarte-red);
        color: #fff;
        border-color: var(--interarte-red);
    }

@media (max-width: 768px) {
    .btn-outline-rose {
        padding: 0.8rem 2.5rem;
        font-size: 1rem;
    }
}



/* ADMIN DASHBOARD */
/* === AUTO-GENERATED CONTENT STYLES START === */
/* === AUTO-GENERATED CONTENT STYLES END === */

/* ---- Services cards: equal heights + button baseline alignment ---- */

/* Card is a vertical flex column */
#servicos .card-service {
    display: flex !important;
    flex-direction: column !important;
}

    /* Content area grows; pushes footer down */
    #servicos .card-service .card-body--content {
        flex: 1 1 auto;
    }

    /* Footer sits at bottom-left with consistent padding */
    #servicos .card-service .card-footer--cta {
        margin-top: auto; /* pin to bottom */
        padding: 0 1.35rem 1.6rem 1.35rem; /* same side/bottom spacing as your body */
        background: transparent; /* keep your look */
        border-top: 0; /* no card border line */
    }

        /* Button alignment (avoid stray margins) */
        #servicos .card-service .card-footer--cta .square-btn {
            margin: 0;
            align-self: flex-start;
        }

/* Ensure columns stretch so all cards are equal height */
#servicos .row.g-4 {
    align-items: stretch;
}

    #servicos .row.g-4 > [class^="col-"],
    #servicos .row.g-4 > [class*=" col-"] {
        display: flex; /* column is flex */
    }

    #servicos .row.g-4 .card-service {
        flex: 1 1 auto; /* card fills the column height */
    }

/* === Split block: image must match text height === */
@media (min-width: 768px) {
    .arranje-images .row { /* keep Bootstrap flex row */
        align-items: stretch; /* columns same height as tallest */
    }

    /* Image column becomes a positioned container */
    .arranje-images .col-md-5 {
        position: relative;
        min-height: 100%; /* ensure non-zero height */
    }

        /* Image fills the column box exactly */
        .arranje-images .col-md-5 > img {
            position: absolute;
            inset: 0; /* top:0 right:0 bottom:0 left:0 */
            width: auto;
            height: 100%;
            object-fit: cover; /* crop as needed, keep aspect */
        }
}

/* On mobile, use natural flow */
@media (max-width: 767.98px) {
    .arranje-images .col-md-5 > img {
        position: static;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}


/* CTA sizing that auto-scales (mobile -> desktop) */
.hero-overlay-main .hero-cta {
    font-size: clamp(.85rem, 1.2vw, 1.35rem);
    padding: clamp(.45rem, 1vw, .85rem) clamp(.85rem, 2vw, 2.2rem);
    line-height: 1.1;
}

@media (max-width: 575.98px) {
    .hero-overlay-main .hero-cta {
        font-size: .80rem;
        padding: .42rem .85rem;
        letter-spacing: .02em;
    }
}

@media (max-width: 575.98px) {
    .hero-overlay-main {
        bottom: 1.1rem; /* tweak this */
        width: max-content; /* key for visual alignment */
        max-width: calc(100% - 2rem);
        left: 60%;
    }
}

@media (max-width: 576px) {
    .mobile-margin {
        margin: 16px;
        border: none;
        max-width: 90%;
    }

    .mobile-background-color {
        background: var(--bg-ivory) !important;
    }
}

/* Center + prevent overflow everywhere */
.substack-embed {
    width: 100%;
    max-width: 440px; /* your desktop target */
    margin: 0 auto; /* centers horizontally */
    box-sizing: border-box;
}

    /* Make iframe obey the wrapper (and viewport) */
    .substack-embed iframe {
        display: block;
        width: 100%;
        max-width: 100vw; /* safety net */
        height: 340px;
        border: 1px solid #EEE;
        box-sizing: border-box;
    }

/* Tablet */
@media (max-width: 768px) {
    .substack-embed {
        max-width: 100%;
        padding: 0 12px; /* optional spacing */
    }

        .substack-embed iframe {
            height: 340px;
        }
}

/* Mobile */
@media (max-width: 480px) {
    .substack-embed {
        padding: 0 14px; /* optional spacing */
        max-width: 100%;
    }

        .substack-embed iframe {
            height: 360px;
        }
}

/* Hidden everywhere by default */
.only-mobile {
    display: none !important;
}

/* Show only on mobile (Bootstrap-ish breakpoint) */
@media (max-width: 575.98px) {
    .only-mobile {
        display: block !important; /* or inline / flex, see variants below */
    }

    .hero-overlay-mobile {
        position: relative;
        z-index: 2;
        height: 100% !important;
        width: 100%;
        padding: 0 1rem;
        text-align: center;
    }

    section.hero-banner.only-mobile {
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }

        /* OVERRIDE THE DESKTOP ABSOLUTE BACKGROUND BEHAVIOR */
        section.hero-banner.only-mobile .hero-image {
            position: relative !important; /* <-- KEY */
            height: 140px !important;
            width: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            filter: none !important; /* <-- KEY: stop dimming on mobile */
        }

        /* Put text OVER the image (classic hero) */
        section.hero-banner.only-mobile .hero-overlay-mobile {
            position: absolute !important;
            inset: 0;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 1rem;
            text-align: center;
        }

            /* Add a subtle readable backing so text always shows */
            section.hero-banner.only-mobile .hero-overlay-mobile::before {
                content: "";
                position: absolute;
                inset: 0;
                background: rgba(0,0,0,.25); /* tune */
                z-index: -1;
            }

        section.hero-banner.only-mobile .hero-title {
            margin: 0;
            line-height: 1.15;
            font-size: clamp(24px, 6vw, 40px);
        }
}

/* Visible everywhere by default */
.only-desktop {
    display: block !important; /* or flex / inline-block depending on your layout */
}

/* Hide on mobile */
@media (max-width: 575.98px) {
    .only-desktop {
        display: none !important;
    }
}

.front-page-title {
    font-family: 'cardo' serif !important;
    font-style: italic;
    font-weight: 400 !important;
    font-size: clamp(1.6rem, 1vw + 1.4rem, 2.2rem) !important
}

/* Mobile: remove vertical padding */
@media (max-width: 767.98px) {
    .py-section {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .mobile-margin-top {
        padding-top: 3rem !important;
    }

    .mobile-full-width {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}

:root {
    --burger-color: #7b3a37; /* set to your brand color */
}

/* IMPORTANT: kill Bootstrap button defaults */
button.nav-burger {
    -webkit-appearance: none;
    appearance: none;
    background: transparent !important;
    border: 2px solid var(--burger-color) !important;
    border-radius: 999px !important;
    width: 56px;
    height: 56px;
    padding: 0 !important;
    margin: 0;
    box-shadow: none !important;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Bars block */
.nav-burger__lines {
    width: 22px; /* shorter bars like the example */
    height: 16px;
    position: relative;
    display: block;
}

    /* Three rounded lines */
    .nav-burger__lines::before,
    .nav-burger__lines::after,
    .nav-burger__lines span {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px; /* thickness */
        background: var(--burger-color);
        border-radius: 999px;
    }

    .nav-burger__lines::before {
        top: 0;
    }

    .nav-burger__lines::after {
        bottom: 0;
    }

/* middle line (use background trick instead of extra markup) */
.nav-burger__lines {
    background: linear-gradient(var(--burger-color) 0 0) left 50%/100% 3px no-repeat;
}

/* Optional: nicer tap */
button.nav-burger:active {
    transform: scale(0.98);
}

@media (max-width: 767.98px) {
    .service-image {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important; /* PERFECT SQUARE */
        object-fit: cover !important; /* crop, don’t stretch */
        height: auto !important; /* let aspect-ratio control it */
        display: block;
    }
}

@media (min-width: 768px) {
    .navbar .nav-burger {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    img.mobile-square-crop {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        object-fit: cover !important;
        object-position: center top; /* cut bottom */
        display: block;
    }

        /* override your .split-img fixed height ONLY for this image */
        img.mobile-square-crop.split-img {
            height: auto !important;
        }
}




