* {
    box-sizing: border-box;
}

:root {
    --ink: #0f172a;
    --ink-soft: #334155;
    --muted: #64748b;
    --line: rgba(15, 23, 42, 0.09);
    --line-strong: rgba(15, 23, 42, 0.14);
    --surface: rgba(255, 255, 255, 0.86);
    --surface-solid: #ffffff;
    --soft: #f8fafc;
    --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.08);
    --shadow-strong: 0 28px 90px rgba(15, 23, 42, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 4%, var(--brand-soft), transparent 28%),
        radial-gradient(circle at 90% 10%, rgba(15, 23, 42, 0.07), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 42%, #ffffff 100%);
    min-height: 100vh;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.site-page {
    overflow: hidden;
}

/* NAVBAR */

.navbar {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar.bg-white {
    background: rgba(255, 255, 255, 0.78) !important;
}

.navbar.border-bottom {
    border-bottom: 1px solid rgba(15, 23, 42, 0.07) !important;
}

.navbar-brand {
    color: var(--ink) !important;
    letter-spacing: -0.03em;
}

.nav-link {
    color: #475569 !important;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.55rem 0.85rem !important;
}

.nav-link:hover {
    background: #f1f5f9;
    color: var(--ink) !important;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, var(--brand), #0f172a);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}

/* BUTTONS */

.btn {
    font-weight: 850;
}

.btn-brand {
    background:
        linear-gradient(135deg, var(--brand), #0f172a);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.btn-brand:hover {
    transform: translateY(-1px);
    background:
        linear-gradient(135deg, #0f172a, var(--brand));
    color: #ffffff;
}

.btn-soft {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 23, 42, 0.1);
    color: var(--ink);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.btn-soft:hover {
    background: var(--ink);
    color: #ffffff;
}

/* HERO */

.hero-section {
    padding: 96px 0 54px;
    position: relative;
}

.premium-hero::before {
    content: "";
    position: absolute;
    inset: 44px auto auto -160px;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: var(--brand-soft);
    filter: blur(10px);
    opacity: 0.65;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 68px;
    align-items: center;
}

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

.hero-badge,
.mini-label,
.section-title span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 9px 15px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--brand);
    font-weight: 900;
    font-size: 0.82rem;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.hero-title {
    font-size: clamp(2.7rem, 6.4vw, 6rem);
    line-height: 0.91;
    letter-spacing: -0.075em;
    font-weight: 950;
    color: var(--ink);
    max-width: 820px;
}

.hero-text {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.17rem;
    line-height: 1.78;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 10px 13px;
    color: #334155;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.hero-trust-item span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--brand);
}

.hero-visual {
    position: relative;
}

.hero-showcase {
    position: relative;
    min-height: 590px;
    border-radius: 48px;
    overflow: hidden;
    background:
        linear-gradient(135deg, var(--brand-soft), #ffffff);
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.9);
    isolation: isolate;
}

.hero-showcase::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 36px;
    z-index: 2;
    pointer-events: none;
}

.hero-showcase img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.62)),
        radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.7), transparent 32%);
}

.hero-floating-card {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 28px;
    padding: 19px;
    display: grid;
    gap: 5px;
}

.hero-floating-card span {
    font-size: 0.75rem;
    color: var(--brand);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.hero-floating-card strong {
    color: var(--ink);
    font-size: 1.08rem;
}

.hero-floating-card small {
    color: var(--muted);
    line-height: 1.45;
}

.hero-floating-main {
    left: 24px;
    right: 24px;
    bottom: 24px;
}

.hero-floating-contact {
    top: 24px;
    right: 24px;
    max-width: 270px;
}

/* LAYOUT VARIATIONS */

.layout-image_left .hero-grid {
    direction: rtl;
}

.layout-image_left .hero-grid > * {
    direction: ltr;
}

.layout-split_cards .hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
}

.layout-split_cards .service-card:nth-child(even),
.layout-split_cards .process-card:nth-child(even),
.layout-split_cards .testimonial-card:nth-child(even) {
    transform: translateY(18px);
}

.layout-bold_editorial .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
}

.layout-bold_editorial .hero-title {
    font-size: clamp(3.1rem, 7vw, 7.2rem);
    line-height: 0.86;
}

.layout-bold_editorial .hero-showcase {
    border-radius: 52px 52px 52px 130px;
    min-height: 630px;
}

/* QUICK INFO */

.quick-info-grid {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 34px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.quick-info-grid div {
    padding: 25px;
    display: grid;
    gap: 6px;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
}

.quick-info-grid div:last-child {
    border-right: 0;
}

.quick-info-grid span {
    color: var(--muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    font-weight: 950;
}

.quick-info-grid strong {
    color: var(--ink);
    font-size: 1.02rem;
}

/* SECTIONS */

.section-padding {
    padding: 92px 0;
}

.section-title h2 {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 950;
    letter-spacing: -0.06em;
    margin-top: 15px;
    margin-bottom: 13px;
    color: var(--ink);
}

.section-title p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.75;
    font-size: 1.04rem;
}

.section-title-left p {
    margin-left: 0;
}

/* SERVICES */

.services-section {
    position: relative;
}

.services-section::before {
    content: "";
    position: absolute;
    inset: auto -180px 60px auto;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: var(--brand-soft);
    opacity: 0.6;
    pointer-events: none;
}

.service-card,
.contact-card,
.form-card,
.process-card,
.testimonial-card {
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 34px;
    padding: 30px;
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.065);
    backdrop-filter: blur(18px);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.service-card:hover,
.process-card:hover,
.testimonial-card:hover,
.contact-card:hover,
.form-card:hover {
    transform: translateY(-7px);
    border-color: rgba(15, 23, 42, 0.16);
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.12);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, var(--brand-soft), #ffffff);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    margin-bottom: 22px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.service-card h3,
.process-card h3 {
    font-size: 1.18rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: var(--ink);
}

.service-card p,
.process-card p {
    color: var(--muted);
    margin-bottom: 0;
    line-height: 1.68;
}

/* PROCESS */

.process-section {
    padding: 92px 0;
    background:
        radial-gradient(circle at 10% 10%, var(--brand-soft), transparent 30%),
        linear-gradient(135deg, #ffffff, #f8fafc);
}

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

.process-card strong {
    display: inline-flex;
    color: var(--brand);
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-weight: 950;
}

/* FEATURES */

.feature-strip {
    padding: 38px 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), transparent 30%),
        linear-gradient(135deg, var(--brand), #0f172a);
}

.feature-pill {
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 16px 18px;
    text-align: center;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

/* GALLERY */

.gallery-section {
    background:
        radial-gradient(circle at 100% 0%, var(--brand-soft), transparent 28%),
        #ffffff;
}

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

.gallery-card {
    overflow: hidden;
    border-radius: 34px;
    min-height: 290px;
    background: #e2e8f0;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 52%, rgba(15, 23, 42, 0.24));
    pointer-events: none;
}

.gallery-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-card:hover img {
    transform: scale(1.055);
}

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

.gallery-card-large img {
    height: 662px;
}

/* TESTIMONIALS */

.testimonials-section {
    background:
        radial-gradient(circle at top left, var(--brand-soft), transparent 30%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.stars {
    color: var(--brand);
    letter-spacing: 0.08em;
    font-size: 1.15rem;
}

.testimonial-quote {
    color: #334155;
    line-height: 1.78;
    margin-bottom: 0;
    font-size: 1.02rem;
}

.testimonial-person {
    margin-top: auto;
    display: grid;
    gap: 3px;
}

.testimonial-person strong {
    color: var(--ink);
    font-weight: 900;
}

.testimonial-person span {
    color: var(--muted);
    font-size: 0.9rem;
}

/* CTA */

.cta-band {
    padding: 36px 0 92px;
}

.cta-card {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.26), transparent 28%),
        linear-gradient(135deg, var(--brand), #0f172a);
    color: #ffffff;
    border-radius: 42px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -80px;
    bottom: -120px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

.cta-card span {
    display: inline-flex;
    margin-bottom: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    opacity: 0.86;
    font-weight: 950;
}

.cta-card h2 {
    font-weight: 950;
    letter-spacing: -0.05em;
    margin-bottom: 8px;
}

.cta-card p {
    opacity: 0.84;
    margin-bottom: 0;
    max-width: 680px;
}

/* CONTACT */

.contact-section {
    background:
        radial-gradient(circle at top right, var(--brand-soft), transparent 32%),
        linear-gradient(180deg, #f8fafc, #ffffff);
}

.contact-card h2 {
    margin-top: 15px;
    font-weight: 950;
    letter-spacing: -0.05em;
    color: var(--ink);
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.contact-list div {
    display: grid;
    gap: 5px;
    padding: 16px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.055);
}

.contact-list strong {
    font-size: 0.74rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.075em;
    font-weight: 950;
}

.contact-list span {
    color: var(--ink);
    font-weight: 750;
}

.form-label {
    color: var(--ink);
    font-weight: 850;
}

.form-control {
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.94);
    min-height: 54px;
}

textarea.form-control {
    min-height: 150px;
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.22rem rgba(15, 23, 42, 0.08);
}

.map-placeholder,
.map-box {
    border-radius: 34px;
    min-height: 240px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.02)),
        #ffffff;
    border: 1px dashed rgba(15, 23, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 900;
    box-shadow: var(--shadow-soft);
}

/* FOOTER */

.site-footer {
    background: rgba(255, 255, 255, 0.88);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* FLOATING WHATSAPP */

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 100;
    background: #22c55e;
    color: #ffffff;
    border-radius: 999px;
    padding: 14px 19px;
    font-weight: 950;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.25);
}

.floating-whatsapp:hover {
    color: #ffffff;
    background: #16a34a;
    transform: translateY(-1px);
}

/* ANIMATIONS */

.reveal-item,
.reveal-section {
    animation-duration: 0.75s;
    animation-timing-function: ease;
    animation-fill-mode: both;
}

.animation-none .reveal-item,
.animation-none .reveal-section {
    animation: none;
}

.animation-fade .reveal-item,
.animation-fade .reveal-section {
    animation-name: fadeReveal;
}

.animation-slide .reveal-item,
.animation-slide .reveal-section {
    animation-name: slideReveal;
}

.animation-zoom .reveal-item,
.animation-zoom .reveal-section {
    animation-name: zoomReveal;
}

.reveal-item:nth-child(2) {
    animation-delay: 0.08s;
}

.reveal-item:nth-child(3) {
    animation-delay: 0.16s;
}

.reveal-item:nth-child(4) {
    animation-delay: 0.24s;
}

@keyframes fadeReveal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideReveal {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomReveal {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}



/* Builder v9: motion/effects/transition chooser */
.transition-instant { --motion-duration: 0ms; --motion-ease: linear; }
.transition-fast { --motion-duration: 180ms; --motion-ease: ease-out; }
.transition-normal { --motion-duration: 420ms; --motion-ease: ease; }
.transition-smooth { --motion-duration: 680ms; --motion-ease: cubic-bezier(.2,.8,.2,1); }
.transition-slow { --motion-duration: 980ms; --motion-ease: cubic-bezier(.16,1,.3,1); }
.transition-dramatic { --motion-duration: 1200ms; --motion-ease: cubic-bezier(.19,1,.22,1); }

.business-body .reveal-item,
.business-body .reveal-section {
    animation-duration: var(--motion-duration, .75s);
    animation-timing-function: var(--motion-ease, ease);
}

.animation-float .reveal-item,
.animation-float .reveal-section,
.reveal-parallax_soft .reveal-item,
.reveal-parallax_soft .reveal-section {
    animation-name: floatReveal;
}

.animation-lift .reveal-item,
.animation-lift .reveal-section,
.reveal-fade_up .reveal-item,
.reveal-fade_up .reveal-section {
    animation-name: slideReveal;
}

.animation-blur .reveal-item,
.animation-blur .reveal-section,
.reveal-blur_in .reveal-item,
.reveal-blur_in .reveal-section {
    animation-name: blurReveal;
}

.animation-flip .reveal-item,
.animation-flip .reveal-section {
    animation-name: flipReveal;
    backface-visibility: hidden;
}

.animation-bounce .reveal-item,
.animation-bounce .reveal-section {
    animation-name: bounceReveal;
}

.animation-stagger .reveal-item,
.reveal-cascade .reveal-item {
    animation-name: slideReveal;
}

.animation-cinematic .reveal-item,
.animation-cinematic .reveal-section {
    animation-name: cinematicReveal;
}

.reveal-fade_in .reveal-item,
.reveal-fade_in .reveal-section {
    animation-name: fadeReveal;
}

.reveal-slide_left .reveal-item,
.reveal-slide_left .reveal-section {
    animation-name: slideLeftReveal;
}

.reveal-slide_right .reveal-item,
.reveal-slide_right .reveal-section {
    animation-name: slideRightReveal;
}

.reveal-scale_in .reveal-item,
.reveal-scale_in .reveal-section {
    animation-name: zoomReveal;
}

.effect-premium {
    --motion-ease: cubic-bezier(.16,1,.3,1);
}

.effect-event_energy .hero-section,
.effect-lively .hero-section {
    position: relative;
    overflow: hidden;
}

.effect-event_energy .hero-section::before,
.effect-lively .hero-section::before {
    content: "";
    position: absolute;
    inset: -30% auto auto -18%;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand) 14%, transparent);
    filter: blur(8px);
    pointer-events: none;
    animation: ambientPulse 5s ease-in-out infinite alternate;
}

.effect-playful .service-card:nth-child(2n),
.effect-playful .gallery-card:nth-child(2n) {
    transform: rotate(-.5deg);
}

.effect-playful .service-card:nth-child(2n + 1),
.effect-playful .gallery-card:nth-child(2n + 1) {
    transform: rotate(.5deg);
}

.hover-effect-lift :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover {
    transform: translateY(-5px);
}

.hover-effect-glow :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover {
    box-shadow: 0 22px 50px color-mix(in srgb, var(--brand) 24%, rgba(15,23,42,.18));
}

.hover-effect-zoom :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div):hover {
    transform: scale(1.018);
}

.hover-effect-shadow :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover {
    box-shadow: 0 26px 62px rgba(15, 23, 42, .18);
}

.hover-effect-border :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover {
    box-shadow: inset 0 0 0 2px var(--brand), 0 18px 40px rgba(15,23,42,.10);
}

.hover-effect-underline .navbar a:hover,
.hover-effect-underline .site-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.hover-effect-tilt :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div):hover {
    transform: translateY(-3px) rotate(-.65deg);
}

.hover-effect-pulse :is(.btn,.quick-action-card):hover {
    animation: softPulse .9s ease-in-out infinite alternate;
}

.hover-effect-none :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover {
    transform: none !important;
    box-shadow: inherit;
}

.page-transition-fade main { animation: pageFadeIn var(--motion-duration, .55s) var(--motion-ease, ease) both; }
.page-transition-slide_up main { animation: pageSlideUp var(--motion-duration, .65s) var(--motion-ease, ease) both; }
.page-transition-zoom_in main { animation: pageZoomIn var(--motion-duration, .65s) var(--motion-ease, ease) both; }
.page-transition-curtain main { animation: pageCurtainIn var(--motion-duration, .85s) var(--motion-ease, ease) both; transform-origin: top center; }

@keyframes floatReveal {
    from { opacity: 0; transform: translateY(34px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes blurReveal {
    from { opacity: 0; filter: blur(14px); transform: translateY(12px); }
    to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes flipReveal {
    from { opacity: 0; transform: perspective(700px) rotateX(12deg) translateY(18px); }
    to { opacity: 1; transform: perspective(700px) rotateX(0) translateY(0); }
}

@keyframes bounceReveal {
    0% { opacity: 0; transform: translateY(24px) scale(.96); }
    70% { opacity: 1; transform: translateY(-4px) scale(1.015); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cinematicReveal {
    from { opacity: 0; transform: translateY(34px) scale(.94); filter: saturate(.7) blur(8px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: saturate(1) blur(0); }
}

@keyframes slideLeftReveal {
    from { opacity: 0; transform: translateX(-34px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRightReveal {
    from { opacity: 0; transform: translateX(34px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes ambientPulse {
    from { transform: translate3d(0,0,0) scale(.92); opacity: .45; }
    to { transform: translate3d(24px,18px,0) scale(1.1); opacity: .72; }
}

@keyframes softPulse {
    from { transform: scale(1); }
    to { transform: scale(1.025); }
}

@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pageSlideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pageZoomIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: scale(1); } }
@keyframes pageCurtainIn { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
    .reveal-item,
    .reveal-section {
        animation: none !important;
    }
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .hero-section {
        padding: 68px 0 44px;
    }

    .hero-grid,
    .layout-split_cards .hero-grid,
    .layout-bold_editorial .hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .layout-image_left .hero-grid {
        direction: ltr;
    }

    .hero-showcase,
    .layout-bold_editorial .hero-showcase {
        min-height: 500px;
        border-radius: 38px;
    }

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

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

    .gallery-card-large {
        grid-column: span 2;
    }

    .gallery-card-large img {
        height: 440px;
    }

    .cta-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 52px 0 34px;
    }

    .section-padding,
    .process-section {
        padding: 64px 0;
    }

    .hero-title {
        letter-spacing: -0.055em;
    }

    .hero-actions {
        display: grid;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-showcase,
    .layout-bold_editorial .hero-showcase {
        min-height: 410px;
        border-radius: 30px;
    }

    .hero-showcase::after {
        inset: 12px;
        border-radius: 23px;
    }

    .hero-floating-contact {
        left: 18px;
        right: 18px;
        top: 18px;
        max-width: none;
    }

    .hero-floating-main {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .quick-info-grid {
        grid-template-columns: 1fr;
        border-radius: 26px;
        margin-top: 34px;
    }

    .quick-info-grid div {
        border-right: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        padding: 20px;
    }

    .quick-info-grid div:last-child {
        border-bottom: 0;
    }

    .service-card,
    .contact-card,
    .form-card,
    .process-card,
    .testimonial-card {
        border-radius: 26px;
        padding: 23px;
    }

    .layout-split_cards .service-card:nth-child(even),
    .layout-split_cards .process-card:nth-child(even),
    .layout-split_cards .testimonial-card:nth-child(even) {
        transform: none;
    }

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

    .gallery-card,
    .gallery-card-large {
        grid-column: span 1;
        grid-row: span 1;
        border-radius: 26px;
    }

    .gallery-card img,
    .gallery-card-large img {
        height: 280px;
    }

    .cta-card {
        border-radius: 28px;
        padding: 28px;
    }

    .floating-whatsapp {
        left: 18px;
        right: 18px;
        text-align: center;
    }
}
/* ACTIVE LAYOUT + DESIGN SYSTEM
   These classes are written by the Business Profile layout fields. */

.business-body {
    background: var(--page-bg, linear-gradient(180deg, #ffffff 0%, #f8fafc 48%, #ffffff 100%));
}

.business-navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.business-navbar-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    object-fit: cover;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.brand-name-text {
    font-weight: 950;
}

.site-page {
    background: var(--site-page-bg, transparent);
}

.hero-image-frame {
    min-height: var(--hero-image-height, 520px);
    overflow: hidden;
    border-radius: 44px;
    background:
        radial-gradient(circle at 20% 12%, rgba(255, 255, 255, .72), transparent 28%),
        linear-gradient(135deg, var(--brand-soft), rgba(255, 255, 255, .92));
    border: 1px solid rgba(255, 255, 255, .92);
    box-shadow: var(--shadow-strong);
    position: relative;
}

.hero-image-frame::after {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255, 255, 255, .44);
    border-radius: inherit;
    pointer-events: none;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
}

.hero-image-placeholder {
    min-height: inherit;
    display: grid;
    place-items: center;
    padding: 28px;
    color: var(--brand);
    font-size: clamp(2rem, 5vw, 4.8rem);
    font-weight: 950;
    line-height: .95;
    letter-spacing: -.07em;
    text-align: center;
}

.hero-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.hero-meta-card {
    display: grid;
    gap: 5px;
    border-radius: 24px;
    padding: 18px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .07);
}

.hero-meta-card span,
.quick-info-grid span {
    color: var(--muted);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero-meta-card strong,
.quick-info-grid strong {
    color: var(--ink);
    font-weight: 950;
    line-height: 1.15;
}

.hero-meta-card small {
    color: var(--muted);
    line-height: 1.45;
}

.gallery-fit-cover { object-fit: cover; }
.gallery-fit-contain { object-fit: contain; }
.gallery-fit-fill { object-fit: fill; }
.gallery-position-center { object-position: center; }
.gallery-position-top { object-position: top; }
.gallery-position-bottom { object-position: bottom; }
.gallery-position-left { object-position: left; }
.gallery-position-right { object-position: right; }

.hero-radius-none,
.gallery-radius-none { border-radius: 0; }
.hero-radius-small,
.gallery-radius-small { border-radius: 18px; }
.hero-radius-medium,
.gallery-radius-medium { border-radius: 34px; }
.hero-radius-large,
.gallery-radius-large { border-radius: 52px; }
.hero-radius-pill,
.gallery-radius-pill { border-radius: 999px; }

.gallery-card {
    min-height: var(--gallery-height, 290px);
}

.gallery-card img {
    height: var(--gallery-height, 320px);
}

.gallery-size-wide {
    grid-column: span 2;
}

.gallery-size-tall {
    grid-row: span 2;
}

.gallery-size-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-size-wide img,
.gallery-size-large img {
    height: var(--gallery-height, 430px);
}

.gallery-size-tall img {
    height: var(--gallery-height, 662px);
}

/* Design personalities */
.design-trustworthy_clean {
    --page-bg: radial-gradient(circle at 8% 4%, var(--brand-soft), transparent 28%), linear-gradient(180deg, #ffffff 0%, #f8fafc 46%, #ffffff 100%);
}

.design-natural_fresh,
.design-fresh_clean,
.design-fresh_bright {
    --page-bg: radial-gradient(circle at 8% 4%, rgba(187, 247, 208, .62), transparent 26%), radial-gradient(circle at 92% 14%, var(--brand-soft), transparent 30%), linear-gradient(180deg, #f7fee7 0%, #ffffff 45%, #f8fafc 100%);
}

.design-calm_travel,
.design-elegant_event {
    --page-bg: radial-gradient(circle at 10% 8%, rgba(191, 219, 254, .55), transparent 28%), radial-gradient(circle at 92% 12%, var(--brand-soft), transparent 34%), linear-gradient(180deg, #eff6ff 0%, #ffffff 45%, #f8fafc 100%);
}

.design-retail_bright,
.design-local_practical,
.design-bold_promo {
    --page-bg: radial-gradient(circle at 8% 5%, rgba(254, 240, 138, .58), transparent 26%), radial-gradient(circle at 92% 8%, var(--brand-soft), transparent 34%), linear-gradient(180deg, #fff7ed 0%, #ffffff 46%, #f8fafc 100%);
}

.design-warm_artisan,
.design-bold_food {
    --page-bg: radial-gradient(circle at 5% 5%, rgba(254, 215, 170, .64), transparent 29%), radial-gradient(circle at 95% 12%, var(--brand-soft), transparent 34%), linear-gradient(180deg, #fff7ed 0%, #ffffff 42%, #fffbeb 100%);
}

.design-beauty_polished,
.design-fashion_editorial,
.design-editorial_social {
    --page-bg: radial-gradient(circle at 8% 4%, rgba(251, 207, 232, .55), transparent 28%), radial-gradient(circle at 92% 12%, var(--brand-soft), transparent 32%), linear-gradient(180deg, #fff1f2 0%, #ffffff 44%, #f8fafc 100%);
}

.design-refined_professional,
.design-clean_corporate,
.design-minimal_personal {
    --page-bg: radial-gradient(circle at 92% 12%, rgba(203, 213, 225, .48), transparent 30%), linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f8fafc 100%);
}

.design-industrial_practical,
.design-bold_masculine {
    --page-bg: radial-gradient(circle at 10% 6%, rgba(148, 163, 184, .5), transparent 30%), linear-gradient(180deg, #f1f5f9 0%, #ffffff 45%, #e2e8f0 100%);
}

.design-bold_masculine .hero-title,
.design-fashion_editorial .hero-title,
.design-editorial_social .hero-title {
    text-transform: uppercase;
    letter-spacing: -.09em;
}

.design-refined_professional .hero-title,
.design-clean_corporate .hero-title,
.design-minimal_personal .hero-title {
    letter-spacing: -.055em;
}

/* Layout styles */
.layout-service_leads .business-actions-grid {
    transform: translateY(-6px);
}

.layout-service_leads .business-action-card {
    border-width: 2px;
}

.layout-product_showcase .hero-grid {
    grid-template-columns: .88fr 1.12fr;
}

.layout-product_showcase .hero-section {
    padding-top: 78px;
}

.layout-product_showcase .hero-title {
    font-size: clamp(2.6rem, 5.8vw, 5.7rem);
}

.layout-product_showcase .quick-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #0f172a;
}

.layout-product_showcase .quick-info-grid span {
    color: rgba(255, 255, 255, .62);
}

.layout-product_showcase .quick-info-grid strong {
    color: #ffffff;
}

.layout-product_showcase .service-card {
    border-radius: 26px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.layout-professional_profile .hero-grid {
    grid-template-columns: 1.14fr .86fr;
    align-items: start;
}

.layout-professional_profile .hero-title {
    max-width: 860px;
    font-size: clamp(2.5rem, 5.4vw, 5.4rem);
}

.layout-professional_profile .hero-image-frame {
    min-height: var(--hero-image-height, 430px);
    border-radius: 28px;
    box-shadow: 0 16px 44px rgba(15, 23, 42, .10);
}

.layout-professional_profile .service-card,
.layout-professional_profile .testimonial-card,
.layout-professional_profile .process-card {
    border-top: 4px solid var(--brand);
    box-shadow: none;
}

.layout-visual_creator .hero-grid {
    grid-template-columns: .82fr 1.18fr;
}

.layout-visual_creator .hero-title {
    font-size: clamp(3rem, 7vw, 7rem);
}

.layout-visual_creator .hero-image-frame {
    min-height: var(--hero-image-height, 610px);
    border-radius: 58px 58px 18px 58px;
}

.layout-visual_creator .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
}

.layout-hospitality .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
}

.layout-hospitality .hero-copy {
    max-width: 920px;
    text-align: center;
    margin: 0 auto;
}

.layout-hospitality .hero-actions,
.layout-hospitality .hero-trust-row,
.layout-hospitality .hero-badge {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.layout-hospitality .hero-image-frame {
    min-height: var(--hero-image-height, 560px);
    border-radius: 48px;
}

.layout-hospitality .quick-info-grid {
    margin-top: 24px;
}

/* Hero variants */
.hero-full_bleed_image .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
}

.hero-full_bleed_image .hero-visual {
    order: -1;
}

.hero-full_bleed_image .hero-image-frame {
    min-height: var(--hero-image-height, 540px);
    border-radius: 0 0 54px 54px;
}

.hero-full_bleed_image .hero-copy {
    max-width: 980px;
}

.hero-promo_banner .hero-section {
    padding-top: 72px;
}

.hero-promo_banner .hero-copy {
    border-radius: 38px;
    padding: clamp(24px, 4vw, 46px);
    background: linear-gradient(135deg, var(--brand), #0f172a);
    color: #ffffff;
    box-shadow: var(--shadow-strong);
}

.hero-promo_banner .hero-title,
.hero-promo_banner .hero-text {
    color: #ffffff;
}

.hero-promo_banner .hero-badge,
.hero-promo_banner .hero-trust-item {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .24);
    color: #ffffff;
}

.hero-product_focus .hero-image-frame {
    border-radius: 42px 42px 90px 42px;
}

.hero-profile_intro .hero-image-frame {
    border-radius: 999px 999px 34px 34px;
    max-width: 520px;
    margin-left: auto;
}

/* Card styles */
.cards-product_cards .service-card,
.cards-soft_product .service-card,
.cards-menu_cards .service-card,
.cards-promo_cards .service-card,
.cards-compact_promo .service-card {
    background: #ffffff;
    border-radius: 26px;
    border: 1px solid rgba(15, 23, 42, .08);
}

.cards-promo_cards .service-icon,
.cards-compact_promo .service-icon,
.cards-menu_cards .service-icon {
    background: #0f172a;
    color: #ffffff;
}

.cards-professional_cards .service-card,
.cards-editorial_cards .service-card {
    border-radius: 18px;
    box-shadow: none;
}

.cards-luxury_cards .service-card,
.cards-lookbook_cards .service-card,
.cards-media_cards .service-card {
    border-radius: 34px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.cards-room_cards .service-card,
.cards-package_cards .service-card {
    border-radius: 30px;
}

/* Gallery styles */
.gallery-catalog_grid .gallery-grid,
.gallery-menu_grid .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-lookbook .gallery-grid,
.gallery-masonry_social .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
}

.gallery-lookbook .gallery-card:nth-child(1),
.gallery-masonry_social .gallery-card:nth-child(1),
.gallery-portfolio_grid .gallery-card:nth-child(1),
.gallery-venue_showcase .gallery-card:nth-child(1),
.gallery-room_showcase .gallery-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-lookbook .gallery-card:nth-child(1) img,
.gallery-masonry_social .gallery-card:nth-child(1) img,
.gallery-portfolio_grid .gallery-card:nth-child(1) img,
.gallery-venue_showcase .gallery-card:nth-child(1) img,
.gallery-room_showcase .gallery-card:nth-child(1) img {
    height: 662px;
}

.gallery-minimal_grid .gallery-card,
.gallery-portfolio_grid .gallery-card {
    box-shadow: none;
    border-color: rgba(15, 23, 42, .08);
}

.gallery-before_after_grid .gallery-card::before {
    content: "Before / After";
    position: absolute;
    z-index: 2;
    left: 14px;
    top: 14px;
    border-radius: 999px;
    padding: 7px 10px;
    background: rgba(15, 23, 42, .78);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
}

/* Preview frame polish */
.business-body.is-preview .navbar {
    position: sticky;
}

.business-body.is-preview .floating-whatsapp {
    display: none;
}

@media (max-width: 991px) {
    .layout-product_showcase .hero-grid,
    .layout-professional_profile .hero-grid,
    .layout-visual_creator .hero-grid,
    .hero-full_bleed_image .hero-grid {
        grid-template-columns: 1fr;
    }

    .layout-visual_creator .gallery-grid,
    .gallery-catalog_grid .gallery-grid,
    .gallery-menu_grid .gallery-grid,
    .gallery-lookbook .gallery-grid,
    .gallery-masonry_social .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-full_bleed_image .hero-image-frame {
        border-radius: 36px;
    }
}

@media (max-width: 767px) {
    .hero-image-frame,
    .layout-visual_creator .hero-image-frame,
    .layout-hospitality .hero-image-frame,
    .hero-full_bleed_image .hero-image-frame {
        min-height: var(--hero-image-height, 340px);
        border-radius: 30px;
    }

    .hero-meta-grid,
    .layout-product_showcase .quick-info-grid {
        grid-template-columns: 1fr;
    }

    .layout-visual_creator .gallery-grid,
    .gallery-catalog_grid .gallery-grid,
    .gallery-menu_grid .gallery-grid,
    .gallery-lookbook .gallery-grid,
    .gallery-masonry_social .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-size-wide,
    .gallery-size-large,
    .gallery-lookbook .gallery-card:nth-child(1),
    .gallery-masonry_social .gallery-card:nth-child(1),
    .gallery-portfolio_grid .gallery-card:nth-child(1),
    .gallery-venue_showcase .gallery-card:nth-child(1),
    .gallery-room_showcase .gallery-card:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-lookbook .gallery-card:nth-child(1) img,
    .gallery-masonry_social .gallery-card:nth-child(1) img,
    .gallery-portfolio_grid .gallery-card:nth-child(1) img,
    .gallery-venue_showcase .gallery-card:nth-child(1) img,
    .gallery-room_showcase .gallery-card:nth-child(1) img {
        height: var(--gallery-height, 280px);
    }
}

/* SECTION-LEVEL LAYOUT SYSTEM
   Business Page Sections now control each section independently. */

.section-card-grid {
    display: grid;
    grid-template-columns: repeat(var(--section-columns, 3), minmax(0, 1fr));
    gap: 22px;
}

.process-grid.section-card-grid,
.gallery-grid {
    grid-template-columns: repeat(var(--section-columns, 3), minmax(0, 1fr));
}

.section-spacing-compact {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
}

.section-spacing-normal {
    padding-top: 92px !important;
    padding-bottom: 92px !important;
}

.section-spacing-spacious {
    padding-top: 128px !important;
    padding-bottom: 128px !important;
}

.section-spacing-huge {
    padding-top: 164px !important;
    padding-bottom: 164px !important;
}

.hero-section.section-spacing-compact {
    padding-top: 54px !important;
}

.hero-section.section-spacing-spacious,
.hero-section.section-spacing-huge {
    padding-top: 116px !important;
}

.section-bg-default {
    background-color: transparent;
}

.section-bg-soft {
    background:
        radial-gradient(circle at 8% 0%, var(--brand-soft), transparent 30%),
        linear-gradient(180deg, rgba(248, 250, 252, .96), rgba(255, 255, 255, .96));
}

.section-bg-white {
    background: #ffffff;
}

.section-bg-brand {
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .22), transparent 34%),
        linear-gradient(135deg, var(--brand), #0f172a);
    color: #ffffff;
}

.section-bg-dark {
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .12), transparent 32%),
        linear-gradient(135deg, #020617, #111827);
    color: #ffffff;
}

.section-bg-image_like {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .04), rgba(15, 23, 42, .16)),
        radial-gradient(circle at 85% 0%, var(--brand-soft), transparent 38%);
}

.section-bg-brand .section-title h2,
.section-bg-brand .section-title p,
.section-bg-brand .section-title-left h2,
.section-bg-brand .section-title-left p,
.section-bg-dark .section-title h2,
.section-bg-dark .section-title p,
.section-bg-dark .section-title-left h2,
.section-bg-dark .section-title-left p,
.hero-section.section-bg-brand .hero-title,
.hero-section.section-bg-brand .hero-text,
.hero-section.section-bg-dark .hero-title,
.hero-section.section-bg-dark .hero-text {
    color: #ffffff;
}

.section-bg-brand .section-title span,
.section-bg-dark .section-title span,
.hero-section.section-bg-brand .hero-badge,
.hero-section.section-bg-dark .hero-badge {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .24);
    color: #ffffff;
}

.section-align-left .section-title,
.section-align-left .hero-copy {
    text-align: left !important;
}

.section-align-left .section-title p,
.section-align-left .section-title span {
    margin-left: 0;
    margin-right: auto;
}

.section-align-center .section-title,
.section-align-center .hero-copy {
    text-align: center !important;
}

.section-align-center .section-title p,
.section-align-center .section-title span,
.section-align-center .hero-badge {
    margin-left: auto;
    margin-right: auto;
}

.section-align-center .hero-actions,
.section-align-center .hero-trust-row {
    justify-content: center;
}

.section-align-right .section-title,
.section-align-right .hero-copy {
    text-align: right !important;
}

.section-align-right .section-title p,
.section-align-right .section-title span,
.section-align-right .hero-badge {
    margin-left: auto;
    margin-right: 0;
}

.section-align-right .hero-actions,
.section-align-right .hero-trust-row {
    justify-content: flex-end;
}

.section-layout-centered.hero-section .hero-grid,
.section-layout-stacked.hero-section .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
}

.section-layout-centered.hero-section .hero-copy,
.section-layout-stacked.hero-section .hero-copy {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.section-layout-centered.hero-section .hero-actions,
.section-layout-centered.hero-section .hero-trust-row,
.section-layout-centered.hero-section .hero-badge,
.section-layout-stacked.hero-section .hero-actions,
.section-layout-stacked.hero-section .hero-trust-row,
.section-layout-stacked.hero-section .hero-badge {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.section-layout-split.hero-section .hero-grid {
    grid-template-columns: .72fr 1.28fr;
}

.section-layout-banner.hero-section .container {
    background:
        radial-gradient(circle at 90% 0%, rgba(255, 255, 255, .18), transparent 34%),
        linear-gradient(135deg, var(--brand), #0f172a);
    border-radius: 48px;
    padding: clamp(26px, 4.8vw, 58px);
    color: #ffffff;
    box-shadow: var(--shadow-strong);
}

.section-layout-banner.hero-section .hero-title,
.section-layout-banner.hero-section .hero-text {
    color: #ffffff;
}

.section-layout-banner.hero-section .hero-badge,
.section-layout-banner.hero-section .hero-trust-item {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .24);
    color: #ffffff;
}

.section-layout-featured .section-card-grid > .service-card:first-child,
.section-layout-featured .section-card-grid > .testimonial-card:first-child,
.section-layout-featured .section-card-grid > .process-card:first-child {
    grid-column: span 2;
    background:
        radial-gradient(circle at 100% 0%, var(--brand-soft), transparent 38%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.section-layout-compact .section-card-grid {
    gap: 12px;
}

.section-layout-compact .service-card,
.section-layout-compact .testimonial-card,
.section-layout-compact .process-card {
    padding: 20px;
    border-radius: 20px;
    box-shadow: none;
}

.section-layout-mosaic .gallery-grid,
.section-layout-mosaic.gallery-section .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-layout-mosaic .gallery-card:first-child,
.section-layout-mosaic .gallery-card:nth-child(4) {
    grid-column: span 2;
    grid-row: span 2;
}

.section-layout-mosaic .gallery-card:first-child img,
.section-layout-mosaic .gallery-card:nth-child(4) img {
    height: var(--gallery-height, 662px);
}

.section-layout-banner.cta-band .cta-card {
    min-height: 320px;
    align-items: flex-end;
}

.section-layout-centered.cta-band .cta-card,
.section-layout-stacked.cta-band .cta-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.section-layout-stacked.contact-section .row {
    flex-direction: column;
}

.section-layout-stacked.contact-section .col-lg-5,
.section-layout-stacked.contact-section .col-lg-7 {
    width: 100%;
}

.section-visual-bold .service-card,
.section-visual-bold .process-card,
.section-visual-bold .testimonial-card,
.section-visual-promo .service-card,
.section-visual-promo .process-card,
.section-visual-promo .testimonial-card {
    background: #0f172a;
    color: #ffffff;
    border-color: rgba(255, 255, 255, .12);
}

.section-visual-bold .service-card h3,
.section-visual-bold .service-card p,
.section-visual-bold .process-card h3,
.section-visual-bold .process-card p,
.section-visual-bold .testimonial-quote,
.section-visual-promo .service-card h3,
.section-visual-promo .service-card p,
.section-visual-promo .process-card h3,
.section-visual-promo .process-card p,
.section-visual-promo .testimonial-quote {
    color: #ffffff;
}

.section-visual-editorial .section-title h2,
.section-visual-luxury .section-title h2 {
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: -.045em;
}

.section-visual-minimal .service-card,
.section-visual-minimal .process-card,
.section-visual-minimal .testimonial-card,
.section-visual-minimal .contact-card,
.section-visual-minimal .form-card,
.section-visual-clean .service-card,
.section-visual-clean .process-card,
.section-visual-clean .testimonial-card {
    box-shadow: none;
    background: #ffffff;
}

.section-visual-soft .service-card,
.section-visual-soft .process-card,
.section-visual-soft .testimonial-card {
    background: linear-gradient(180deg, #ffffff, var(--brand-soft));
}

/* Stronger overall preset layout personalities. */
.layout-product_showcase .hero-section:not(.section-bg-brand):not(.section-bg-dark) {
    background:
        radial-gradient(circle at 85% 12%, var(--brand-soft), transparent 35%),
        linear-gradient(180deg, #fff7ed, #ffffff 62%);
}

.layout-product_showcase .services-section .service-card {
    min-height: 270px;
    display: flex;
    flex-direction: column;
}

.layout-product_showcase .services-section .service-icon {
    width: 68px;
    height: 68px;
    border-radius: 26px;
    font-size: 1.35rem;
}

.layout-professional_profile .hero-section:not(.section-bg-brand):not(.section-bg-dark) {
    background:
        linear-gradient(90deg, #ffffff 0%, #ffffff 52%, #f1f5f9 52%, #f8fafc 100%);
}

.layout-professional_profile .quick-info-grid {
    border-radius: 0;
    box-shadow: none;
    border-left: 4px solid var(--brand);
}

.layout-visual_creator .hero-section:not(.section-bg-brand):not(.section-bg-dark) {
    background:
        radial-gradient(circle at 80% 8%, rgba(255, 255, 255, .14), transparent 34%),
        linear-gradient(135deg, #020617, #111827 55%, var(--brand));
}

.layout-visual_creator .hero-section:not(.section-bg-brand):not(.section-bg-dark) .hero-title,
.layout-visual_creator .hero-section:not(.section-bg-brand):not(.section-bg-dark) .hero-text {
    color: #ffffff;
}

.layout-visual_creator .hero-section:not(.section-bg-brand):not(.section-bg-dark) .hero-badge,
.layout-visual_creator .hero-section:not(.section-bg-brand):not(.section-bg-dark) .hero-trust-item {
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, .2);
}

.layout-hospitality .hero-section:not(.section-bg-brand):not(.section-bg-dark) {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .05), transparent),
        radial-gradient(circle at 50% 0%, var(--brand-soft), transparent 40%);
}

.layout-hospitality .hero-image-frame {
    min-height: var(--hero-image-height, 650px);
}

@media (max-width: 991px) {
    .section-card-grid,
    .process-grid.section-card-grid,
    .gallery-grid,
    .section-layout-mosaic .gallery-grid,
    .section-layout-mosaic.gallery-section .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-layout-split.hero-section .hero-grid {
        grid-template-columns: 1fr;
    }

    .section-layout-banner.hero-section .container {
        border-radius: 34px;
    }
}

@media (max-width: 767px) {
    .section-card-grid,
    .process-grid.section-card-grid,
    .gallery-grid,
    .section-layout-mosaic .gallery-grid,
    .section-layout-mosaic.gallery-section .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section-spacing-compact,
    .section-spacing-normal,
    .section-spacing-spacious,
    .section-spacing-huge {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .section-layout-featured .section-card-grid > .service-card:first-child,
    .section-layout-featured .section-card-grid > .testimonial-card:first-child,
    .section-layout-featured .section-card-grid > .process-card:first-child,
    .section-layout-mosaic .gallery-card:first-child,
    .section-layout-mosaic .gallery-card:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .layout-professional_profile .hero-section:not(.section-bg-brand):not(.section-bg-dark) {
        background: linear-gradient(180deg, #ffffff, #f8fafc);
    }
}

/* WEB BUILDER V1: NAVIGATION, FOOTER, CUSTOM SECTIONS */
.business-navbar {
    transition: background .2s ease, border-color .2s ease, padding .2s ease;
}

.business-navbar .container {
    gap: 14px;
}

.nav-bg-glass .business-navbar {
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-bg-white .business-navbar {
    background: #ffffff !important;
}

.nav-bg-soft .business-navbar {
    background: var(--brand-soft) !important;
}

.nav-bg-brand .business-navbar {
    background: var(--brand) !important;
    border-color: rgba(255, 255, 255, .18) !important;
}

.nav-bg-dark .business-navbar {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, .12) !important;
}

.nav-bg-brand .business-navbar .navbar-brand,
.nav-bg-brand .business-navbar .nav-link,
.nav-bg-brand .business-navbar .brand-name-text,
.nav-bg-dark .business-navbar .navbar-brand,
.nav-bg-dark .business-navbar .nav-link,
.nav-bg-dark .business-navbar .brand-name-text {
    color: #ffffff !important;
}

.nav-bg-brand .business-navbar .btn-brand,
.nav-bg-dark .business-navbar .btn-brand {
    background: #ffffff;
    color: #0f172a;
    box-shadow: none;
}

.nav-layout-centered .business-navbar .container {
    justify-content: center;
}

.nav-layout-centered .business-navbar-brand {
    margin-inline: auto;
}

.nav-layout-centered .navbar-collapse {
    flex-grow: 0;
}

.nav-layout-split .business-navbar .container {
    max-width: min(1680px, calc(100% - 32px));
}

.nav-layout-compact .business-navbar .container {
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
}

.business-navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--nav-brand-text) !important;
}

.business-navbar-logo-wrap,
.business-navbar .brand-mark {
    padding: var(--nav-logo-padding);
    border-radius: var(--nav-logo-radius);
    background: var(--nav-logo-bg);
}

.business-navbar-logo {
    object-fit: contain;
    border-radius: inherit;
}

.nav-logo-size-small .business-navbar-logo,
.nav-logo-size-small .brand-mark {
    width: 32px;
    height: 32px;
}

.nav-logo-size-medium .business-navbar-logo,
.nav-logo-size-medium .brand-mark {
    width: 42px;
    height: 42px;
}

.nav-logo-size-large .business-navbar-logo,
.nav-logo-size-large .brand-mark {
    width: 56px;
    height: 56px;
}

.nav-logo-size-huge .business-navbar-logo,
.nav-logo-size-huge .brand-mark {
    width: 72px;
    height: 72px;
}

.brand-name-text {
    font-size: var(--nav-brand-font-size);
    color: var(--nav-brand-text);
}

.business-navbar .nav-link {
    color: var(--nav-link-custom) !important;
}

.nav-logo-layout-image_only .brand-name-text,
.nav-logo-layout-text_only .business-navbar-logo-wrap,
.nav-logo-layout-text_only .brand-mark {
    display: none !important;
}

.site-footer-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-layout-simple .site-footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.footer-layout-centered .site-footer-inner {
    align-items: center;
    text-align: center;
}

.footer-layout-columns .site-footer-inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: start;
}

.footer-bg-soft .site-footer {
    background: var(--brand-soft);
}

.footer-bg-brand .site-footer {
    background: var(--brand);
    color: #ffffff;
}

.footer-bg-dark .site-footer {
    background: #0f172a;
    color: #ffffff;
}

.footer-bg-brand .site-footer .text-muted,
.footer-bg-dark .site-footer .text-muted {
    color: rgba(255, 255, 255, .72) !important;
}

.site-footer-custom {
    width: 100%;
}

.custom-builder-section {
    position: relative;
}

.custom-builder-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 34px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 30px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.custom-builder-grid.has-image {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.custom-builder-copy h2 {
    margin: 14px 0 12px;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: .95;
    letter-spacing: -.06em;
    font-weight: 950;
}

.custom-builder-copy p {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.custom-builder-image video,
.custom-builder-image img {
    width: 100%;
    min-height: 320px;
    max-height: 520px;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .16);
}

.custom-footer-builder-section {
    padding-block: 42px;
    background: #0f172a;
    color: #ffffff;
}

.custom-footer-builder-section .custom-builder-grid {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12);
    box-shadow: none;
}

.custom-footer-builder-section .custom-builder-copy p {
    color: rgba(255, 255, 255, .72);
}

@media (max-width: 992px) {
    .custom-builder-grid.has-image,
    .footer-layout-columns .site-footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-layout-simple .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* WEB BUILDER V2: arrangement presets and per-section colour controls */
.reveal-section {
    position: relative;
}

.reveal-section[style*="--section-heading-custom"] .section-title h2,
.reveal-section[style*="--section-heading-custom"] .section-title-left h2,
.reveal-section[style*="--section-heading-custom"] .hero-title,
.reveal-section[style*="--section-heading-custom"] h2,
.reveal-section[style*="--section-heading-custom"] h3 {
    color: var(--section-heading-custom) !important;
}

.reveal-section[style*="--section-text-custom"] .section-title p,
.reveal-section[style*="--section-text-custom"] .section-title-left p,
.reveal-section[style*="--section-text-custom"] .hero-text,
.reveal-section[style*="--section-text-custom"] p,
.reveal-section[style*="--section-text-custom"] small,
.reveal-section[style*="--section-text-custom"] span:not(.service-icon):not(.business-action-icon) {
    color: var(--section-text-custom) !important;
}

.reveal-section[style*="--section-accent-custom"] .section-title span,
.reveal-section[style*="--section-accent-custom"] .section-title-left span,
.reveal-section[style*="--section-accent-custom"] .hero-badge,
.reveal-section[style*="--section-accent-custom"] .service-icon,
.reveal-section[style*="--section-accent-custom"] .mini-label,
.reveal-section[style*="--section-accent-custom"] a:not(.btn) {
    color: var(--section-accent-custom) !important;
}

.reveal-section[style*="--section-container-bg-custom"] .container,
.reveal-section[style*="--section-container-bg-custom"].cta-band .cta-card,
.reveal-section[style*="--section-container-bg-custom"] .contact-card,
.reveal-section[style*="--section-container-bg-custom"] .form-card {
    background: var(--section-container-bg-custom) !important;
}

.arrangement-conversion_first .cta-band {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
}

.arrangement-shop_front .services-section .service-card,
.arrangement-shop_front .gallery-card {
    border-radius: 30px;
}

.arrangement-story_first .process-section {
    background: linear-gradient(180deg, #ffffff, var(--brand-soft));
}

.arrangement-gallery_first .gallery-section {
    padding-top: 48px !important;
}

.arrangement-gallery_first .gallery-grid,
.arrangement-portfolio_showcase .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.arrangement-profile_first .features-card-grid .feature-pill,
.arrangement-profile_first .testimonial-card {
    border-radius: 999px;
}

.arrangement-contact_first .contact-section,
.arrangement-lead_capture .contact-section {
    background: linear-gradient(135deg, var(--brand-soft), #ffffff);
}

.arrangement-editorial_flow .section-title h2,
.arrangement-portfolio_showcase .section-title h2 {
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: -.045em;
}

.arrangement-event_landing .cta-card {
    min-height: 360px;
    align-items: flex-end;
}

.arrangement-minimal_one_page .service-card,
.arrangement-minimal_one_page .process-card,
.arrangement-minimal_one_page .testimonial-card,
.arrangement-minimal_one_page .contact-card,
.arrangement-minimal_one_page .form-card {
    box-shadow: none !important;
    border-radius: 18px;
}

@media (max-width: 991px) {
    .arrangement-gallery_first .gallery-grid,
    .arrangement-portfolio_showcase .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .arrangement-gallery_first .gallery-grid,
    .arrangement-portfolio_showcase .gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* Builder v5: section element-level styling.
   These are intentionally scoped to common visible inner elements so layout wrappers do not break. */
.section-has-builder-div-styles :is(.service-card, .process-card, .testimonial-card, .hero-meta-card, .business-action-card, .contact-card, .form-card, .quick-info-grid > div, .custom-builder-copy, .custom-builder-image, .gallery-card, .feature-pill) {
    background: var(--builder-div-bg, var(--card-bg, #ffffff));
    color: var(--builder-div-text, inherit);
    font-family: var(--builder-div-font-family, inherit);
    font-size: var(--builder-div-font-size, inherit);
    font-weight: var(--builder-div-font-weight, inherit);
    padding: var(--builder-div-padding, var(--card-padding, inherit));
    border-radius: var(--builder-div-radius, var(--radius-lg, inherit));
    transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.section-has-builder-div-styles :is(.service-card, .process-card, .testimonial-card, .hero-meta-card, .business-action-card, .contact-card, .form-card, .quick-info-grid > div, .custom-builder-copy, .custom-builder-image, .gallery-card, .feature-pill):hover {
    background: var(--builder-div-hover-bg, var(--builder-div-bg, var(--card-bg, #ffffff)));
    color: var(--builder-div-hover-text, var(--builder-div-text, inherit));
}

.section-has-builder-span-styles :is(.hero-badge, .mini-label, .section-title span, .section-title-left span, .service-icon, .business-action-icon, .hero-trust-item span, .contact-row span:first-child, .feature-pill span, .gallery-card span) {
    background: var(--builder-span-bg, inherit);
    color: var(--builder-span-text, inherit);
    font-family: var(--builder-span-font-family, inherit);
    font-size: var(--builder-span-font-size, inherit);
    font-weight: var(--builder-span-font-weight, inherit);
    padding: var(--builder-span-padding, inherit);
    border-radius: var(--builder-span-radius, inherit);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.section-has-builder-span-styles :is(.hero-badge, .mini-label, .section-title span, .section-title-left span, .service-icon, .business-action-icon, .hero-trust-item span, .contact-row span:first-child, .feature-pill span, .gallery-card span):hover {
    background: var(--builder-span-hover-bg, var(--builder-span-bg, inherit));
    color: var(--builder-span-hover-text, var(--builder-span-text, inherit));
}

.section-has-builder-button-styles :is(.btn, .business-action-card, a.btn, button.btn) {
    background: var(--builder-button-bg, var(--brand));
    color: var(--builder-button-text, #ffffff);
    font-size: var(--builder-button-font-size, inherit);
    border-radius: var(--builder-button-radius, 999px);
    transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.section-has-builder-button-styles :is(.btn, .business-action-card, a.btn, button.btn):hover {
    background: var(--builder-button-hover-bg, var(--builder-button-bg, var(--brand)));
    color: var(--builder-button-hover-text, var(--builder-button-text, #ffffff));
}


/* Builder v6: richer navigation and section-header styling */
.business-navbar {
    background: var(--nav-bg-custom, inherit);
    color: var(--nav-text-custom, inherit);
    border-color: var(--nav-border-custom, rgba(148, 163, 184, .22)) !important;
    border-radius: var(--nav-radius-custom, 0);
    box-shadow: var(--nav-shadow-custom, none);
    font-family: var(--nav-font-family-custom, inherit);
    font-size: var(--nav-font-size-custom, inherit);
    font-weight: var(--nav-font-weight-custom, 700);
}

.business-navbar > .container {
    padding-top: var(--nav-padding-y-custom, .5rem) !important;
    padding-bottom: var(--nav-padding-y-custom, .5rem) !important;
}

.business-navbar .navbar-brand,
.business-navbar .brand-name-text,
.business-navbar .nav-link {
    color: var(--nav-text-custom, var(--ink)) !important;
    font-family: var(--nav-font-family-custom, inherit);
    font-size: var(--nav-font-size-custom, inherit);
    font-weight: var(--nav-font-weight-custom, 700);
}

.business-navbar .nav-link {
    color: var(--nav-link-custom, var(--nav-text-custom, #475569)) !important;
    border-radius: 999px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.business-navbar .nav-link:hover,
.business-navbar .nav-link:focus {
    background: var(--nav-hover-bg-custom, rgba(15, 23, 42, .06));
    color: var(--nav-link-hover-custom, var(--brand)) !important;
}

.nav-bg-glass .business-navbar {
    background: color-mix(in srgb, var(--nav-bg-custom, rgba(255,255,255,.86)) 82%, transparent) !important;
}

.nav-bg-brand .business-navbar {
    background: var(--nav-bg-custom, var(--brand)) !important;
}

.nav-bg-dark .business-navbar {
    background: var(--nav-bg-custom, #0f172a) !important;
}

.nav-bg-soft .business-navbar {
    background: var(--nav-bg-custom, var(--brand-soft)) !important;
}

.section-has-builder-header-styles :is(.section-title, .section-title-left),
.section-has-builder-header-styles.hero-section .hero-copy,
.section-has-builder-header-styles.cta-band .cta-card > div:first-child {
    max-width: var(--builder-section-header-max-width, inherit);
    margin-left: var(--builder-section-header-margin-inline, inherit);
    margin-right: var(--builder-section-header-margin-inline, inherit);
    margin-bottom: var(--builder-section-header-margin-bottom, inherit) !important;
    padding: var(--builder-section-header-padding, inherit);
    border-radius: var(--builder-section-header-radius, inherit);
    background: var(--builder-section-header-bg, transparent);
    color: var(--builder-section-header-text, inherit);
    border: 1px solid var(--builder-section-header-border, transparent);
    box-shadow: var(--builder-section-header-shadow, none);
    font-family: var(--builder-section-header-font-family, inherit);
    font-size: var(--builder-section-header-font-size, inherit);
    font-weight: var(--builder-section-header-font-weight, inherit);
    text-align: var(--builder-section-header-align, inherit);
    transition: background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.section-has-builder-header-styles :is(.section-title, .section-title-left):hover,
.section-has-builder-header-styles.hero-section .hero-copy:hover,
.section-has-builder-header-styles.cta-band .cta-card > div:first-child:hover {
    background: var(--builder-section-header-hover-bg, var(--builder-section-header-bg, transparent));
    color: var(--builder-section-header-hover-text, var(--builder-section-header-text, inherit));
}

.section-has-builder-header-styles :is(.section-title h2, .section-title-left h2, .hero-title, .cta-card h2) {
    color: var(--builder-section-header-heading, var(--section-heading-custom, inherit)) !important;
    font-family: var(--builder-section-header-font-family, inherit);
    font-size: var(--builder-section-header-font-size, inherit);
    font-weight: var(--builder-section-header-font-weight, inherit);
    text-transform: var(--builder-section-header-transform, none);
    letter-spacing: var(--builder-section-header-letter-spacing, inherit);
}

.section-has-builder-header-styles :is(.section-title p, .section-title-left p, .hero-text, .cta-card p) {
    color: var(--builder-section-header-description, var(--builder-section-header-text, inherit)) !important;
}

.section-has-builder-header-styles :is(.section-title span, .section-title-left span, .hero-badge, .cta-card span) {
    color: var(--builder-section-header-accent, var(--section-accent-custom, inherit)) !important;
    font-family: var(--builder-section-header-font-family, inherit);
    text-transform: var(--builder-section-header-transform, none);
    letter-spacing: var(--builder-section-header-letter-spacing, inherit);
}

.section-has-builder-header-styles.section-align-center :is(.section-title, .section-title-left),
.section-has-builder-header-styles[style*="--builder-section-header-align: center"] :is(.section-title, .section-title-left) {
    margin-left: auto;
    margin-right: auto;
}

.section-has-builder-header-styles[style*="--builder-section-header-align: right"] :is(.section-title, .section-title-left) {
    margin-left: auto;
    margin-right: 0;
}

/* Builder v7: visual website-layout picker output */
.business-body {
    font-family: var(--body-font-custom, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    color: var(--body-text-custom, inherit);
    padding: var(--body-canvas-spacing, 0);
}

.body-bg-custom_colour,
.body-bg-plain {
    background: var(--body-bg-custom, #ffffff) !important;
}

.body-bg-soft_gradient {
    background:
        radial-gradient(1000px 420px at 0% 0%, color-mix(in srgb, var(--brand-soft) 75%, transparent), transparent 55%),
        radial-gradient(900px 360px at 100% 0%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 50%),
        #ffffff !important;
}

.body-bg-bold_gradient {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--brand) 78%, #020617), color-mix(in srgb, var(--brand) 26%, #0f172a)) !important;
    color: #f8fafc;
}

.body-bg-dark_canvas {
    background: #020617 !important;
    color: #f8fafc;
}

.body-bg-paper {
    background: #faf7ef !important;
}

.body-bg-image,
.body-layout-image_background_body {
    background:
        linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.82)),
        var(--body-bg-image, linear-gradient(135deg, #e2e8f0, #f8fafc)) center/cover fixed !important;
}

.body-width-narrow main > .page-shell,
.body-width-narrow main > .business-page {
    max-width: 980px;
    margin-inline: auto;
}

.body-width-wide main > .page-shell,
.body-width-wide main > .business-page {
    max-width: 1320px;
    margin-inline: auto;
}

.body-width-full main > .page-shell,
.body-width-full main > .business-page {
    max-width: none;
}

.body-layout-blank_canvas main,
.body-layout-blank_canvas_nav main {
    min-height: 70vh;
}

.body-layout-blank_canvas main:empty::before,
.body-layout-blank_canvas_nav main:empty::before {
    content: "Blank canvas — add custom sections from Business Page Sections.";
    display: grid;
    place-items: center;
    min-height: 70vh;
    color: #64748b;
}

.body-layout-full_screen_hero .hero-section {
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
}

.body-layout-full_screen_hero .hero-grid {
    min-height: 72vh;
    align-items: center;
}

.body-layout-split_screen .hero-grid,
.hero-video_left .hero-grid,
.hero-product_focus .hero-grid,
.hero-creator_profile .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hero-centered_stack .hero-grid,
.hero-minimal_statement .hero-grid,
.body-layout-centered_minimal .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 880px;
    margin-inline: auto;
}

.hero-centered_stack .hero-visual,
.hero-minimal_statement .hero-visual,
.body-layout-centered_minimal .hero-visual {
    max-width: 720px;
    margin-inline: auto;
}

.hero-full_bleed_image .hero-section,
.body-layout-hospitality_image_first .hero-section {
    background:
        linear-gradient(90deg, rgba(15,23,42,.76), rgba(15,23,42,.20)),
        var(--body-bg-image, transparent);
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.hero-full_bleed_image .hero-section :is(.hero-title, .hero-text, .hero-badge),
.body-layout-hospitality_image_first .hero-section :is(.hero-title, .hero-text, .hero-badge) {
    color: #ffffff !important;
}

.body-layout-z_pattern .section-padding:nth-of-type(even),
.body-layout-f_pattern .section-padding:nth-of-type(even) {
    background: color-mix(in srgb, var(--brand-soft) 54%, transparent);
}

.body-layout-broken_grid .section-card-grid,
.body-layout-portfolio_canvas .gallery-grid {
    align-items: start;
}

.body-layout-broken_grid .section-card-grid > *:nth-child(2n),
.body-layout-portfolio_canvas .gallery-grid > *:nth-child(3n) {
    transform: translateY(24px);
}

.body-layout-card_grid .service-card,
.body-layout-shopfront_catalogue .service-card {
    min-height: 100%;
    border: 1px solid rgba(148,163,184,.24);
}

.body-layout-shopfront_catalogue .services-section {
    background: linear-gradient(180deg, #ffffff, color-mix(in srgb, var(--brand-soft) 52%, #ffffff));
}

.body-layout-magazine_editorial .section-title h2,
.body-layout-magazine_editorial .hero-title {
    font-family: Georgia, serif;
    letter-spacing: -.04em;
}

.body-layout-event_poster .hero-copy,
.hero-poster .hero-copy {
    border: 2px solid color-mix(in srgb, var(--brand) 65%, #ffffff);
    border-radius: 28px;
    padding: clamp(24px, 5vw, 56px);
    background: color-mix(in srgb, var(--brand-soft) 70%, #ffffff);
}

.nav-layout-centered .business-navbar > .container,
.nav-layout-logo_center_links_split .business-navbar > .container {
    justify-content: center;
    gap: 1rem;
}

.nav-layout-centered .business-navbar-brand,
.nav-layout-logo_center_links_split .business-navbar-brand {
    margin-inline: auto;
}

.nav-layout-minimal .business-navbar {
    box-shadow: none !important;
    border-bottom-color: transparent !important;
}

.nav-layout-button_heavy .business-navbar .btn-brand {
    padding-inline: 1.35rem !important;
    transform: scale(1.04);
}

.nav-layout-transparent_overlay .business-navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: transparent !important;
    border-color: transparent !important;
}

.footer-layout-columns .site-footer-inner,
.footer-layout-mega_footer .site-footer-inner {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.footer-layout-centered .site-footer-inner,
.footer-layout-social_creator .site-footer-inner,
.footer-layout-newsletter .site-footer-inner {
    justify-items: center;
    text-align: center;
}

.footer-layout-newsletter .site-footer-inner,
.footer-layout-lead_footer .site-footer-inner {
    padding-block: 2rem;
    border-radius: 26px;
    background: color-mix(in srgb, var(--brand-soft) 70%, #ffffff);
}

.footer-layout-social_creator .site-footer-inner {
    border-radius: 26px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, #ffffff), #ffffff);
}

.footer-layout-map_contact .site-footer-inner {
    align-items: start;
    gap: 1.5rem;
}

.footer-layout-minimal_strip .site-footer {
    padding-block: .75rem !important;
}

.custom-builder-video {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(20px, 4vw, 48px);
    align-items: center;
}

.custom-builder-embed-box {
    overflow: hidden;
    border-radius: 24px;
    background: #0f172a;
    color: #ffffff;
    min-height: 320px;
    display: grid;
    place-items: center;
}

.custom-builder-embed-box iframe,
.custom-builder-embed-box video {
    width: 100%;
    min-height: 320px;
    border: 0;
}

.builder-empty-embed {
    padding: 24px;
    text-align: center;
    color: #cbd5e1;
    font-weight: 800;
}

.custom-builder-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(var(--section-columns, 3), minmax(0, 1fr));
    gap: 1rem;
}

.custom-builder-placeholder-grid > div {
    border: 1px solid rgba(148,163,184,.24);
    border-radius: 22px;
    padding: 1.2rem;
    background: #ffffff;
}

@media (max-width: 991px) {
    .custom-builder-video,
    .body-layout-split_screen .hero-grid,
    .hero-video_left .hero-grid,
    .hero-product_focus .hero-grid,
    .hero-creator_profile .hero-grid {
        grid-template-columns: 1fr;
    }

    .body-layout-broken_grid .section-card-grid > *:nth-child(2n),
    .body-layout-portfolio_canvas .gallery-grid > *:nth-child(3n) {
        transform: none;
    }

    .footer-layout-columns .site-footer-inner,
    .footer-layout-mega_footer .site-footer-inner {
        grid-template-columns: 1fr;
    }
}

/* BUILDER V7.1: Make visual navigation choices visibly different */
@media (min-width: 992px) {
    .business-navbar > .container {
        transition: all .22s ease;
    }

    .nav-layout-brand_left_links_right .business-navbar > .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-layout-centered .business-navbar > .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .7rem;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .nav-layout-centered .business-navbar-brand {
        margin: 0 !important;
    }

    .nav-layout-centered .business-navbar .navbar-collapse {
        flex-grow: 0;
        width: 100%;
        justify-content: center;
    }

    .nav-layout-centered .business-navbar .navbar-nav {
        width: 100%;
        justify-content: center;
    }

    .nav-layout-split .business-navbar > .container {
        max-width: min(1760px, calc(100% - 36px));
        display: flex;
        justify-content: space-between;
        gap: clamp(2rem, 5vw, 5rem);
    }

    .nav-layout-split .business-navbar .navbar-collapse {
        justify-content: flex-end;
    }

    .nav-layout-compact .business-navbar {
        --nav-padding-y-custom: 2px;
    }

    .nav-layout-compact .business-navbar > .container {
        max-width: 980px;
        min-height: 52px;
    }

    .nav-layout-compact .business-navbar .business-navbar-logo,
    .nav-layout-compact .business-navbar .brand-mark {
        width: 32px !important;
        height: 32px !important;
        font-size: .9rem;
    }

    .nav-layout-compact .business-navbar .nav-link,
    .nav-layout-compact .business-navbar .btn-brand {
        font-size: .82rem !important;
        padding: .38rem .72rem !important;
    }

    .nav-layout-logo_center_links_split .business-navbar > .container {
        position: relative;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 1.2rem;
    }

    .nav-layout-logo_center_links_split .business-navbar-brand {
        grid-column: 2;
        grid-row: 1;
        margin: 0 !important;
        justify-self: center;
        z-index: 2;
    }

    .nav-layout-logo_center_links_split .business-navbar .navbar-collapse {
        grid-column: 1 / 4;
        grid-row: 1;
        width: 100%;
    }

    .nav-layout-logo_center_links_split .business-navbar .navbar-nav {
        width: 100%;
        justify-content: space-between;
        padding-inline: clamp(1rem, 12vw, 14rem);
    }

    .nav-layout-button_heavy .business-navbar .navbar-nav {
        gap: .5rem !important;
    }

    .nav-layout-button_heavy .business-navbar .nav-link {
        border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
        background: color-mix(in srgb, var(--brand-soft) 55%, #ffffff);
        border-radius: 999px;
        padding: .62rem 1rem !important;
    }

    .nav-layout-button_heavy .business-navbar .btn-brand {
        transform: scale(1.08);
        box-shadow: 0 16px 34px color-mix(in srgb, var(--brand) 28%, transparent) !important;
    }

    .nav-layout-minimal .business-navbar {
        background: transparent !important;
        border-bottom-color: transparent !important;
        box-shadow: none !important;
    }

    .nav-layout-minimal .business-navbar .brand-mark,
    .nav-layout-minimal .business-navbar-logo-wrap {
        background: transparent !important;
        box-shadow: none !important;
    }

    .nav-layout-minimal .business-navbar .nav-link {
        font-size: .88rem;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .nav-layout-transparent_overlay .business-navbar {
        position: absolute !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 40;
        background: linear-gradient(180deg, rgba(15, 23, 42, .50), transparent) !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }

    .nav-layout-transparent_overlay .business-navbar .navbar-brand,
    .nav-layout-transparent_overlay .business-navbar .brand-name-text,
    .nav-layout-transparent_overlay .business-navbar .nav-link {
        color: #ffffff !important;
        text-shadow: 0 1px 18px rgba(0, 0, 0, .35);
    }

    .nav-layout-transparent_overlay .business-navbar .btn-brand {
        background: rgba(255, 255, 255, .92) !important;
        color: #0f172a !important;
        box-shadow: none !important;
    }

    .nav-layout-sidebar_ready {
        padding-left: 270px;
    }

    .nav-layout-sidebar_ready .business-navbar {
        position: fixed !important;
        inset: 0 auto 0 0;
        width: 270px;
        height: 100vh;
        z-index: 45;
        border-right: 1px solid var(--nav-border-custom, rgba(148, 163, 184, .22));
        border-bottom: 0 !important;
        overflow-y: auto;
    }

    .nav-layout-sidebar_ready .business-navbar > .container {
        min-height: 100%;
        padding: 1.25rem !important;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 1.25rem;
    }

    .nav-layout-sidebar_ready .business-navbar .business-navbar-brand {
        margin: 0 !important;
        justify-content: flex-start;
    }

    .nav-layout-sidebar_ready .business-navbar .navbar-collapse {
        display: block !important;
        flex-grow: 0;
        width: 100%;
    }

    .nav-layout-sidebar_ready .business-navbar .navbar-nav {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: .45rem !important;
        width: 100%;
    }

    .nav-layout-sidebar_ready .business-navbar .nav-link,
    .nav-layout-sidebar_ready .business-navbar .btn-brand {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
    }
}

@media (max-width: 991.98px) {
    .nav-layout-sidebar_ready {
        padding-left: 0;
    }
}

/* Builder v10: aggressive motion/intensity controls */
:root {
    --motion-distance: 32px;
    --motion-scale-start: .94;
    --motion-blur: 10px;
    --hover-lift: -10px;
    --hover-scale: 1.024;
    --hover-tilt: -1.25deg;
    --hover-glow-opacity: .28;
    --page-transition-distance: 20px;
    --page-transition-scale-start: .97;
}

@keyframes slideReveal {
    from { opacity: 0; transform: translateY(var(--motion-distance, 24px)); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomReveal {
    from { opacity: 0; transform: scale(var(--motion-scale-start, .96)); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes floatReveal {
    from { opacity: 0; transform: translateY(calc(var(--motion-distance, 32px) * 1.25)) scale(var(--motion-scale-start, .985)); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes blurReveal {
    from { opacity: 0; filter: blur(var(--motion-blur, 14px)); transform: translateY(calc(var(--motion-distance, 24px) * .55)); }
    to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes flipReveal {
    from { opacity: 0; transform: perspective(800px) rotateX(calc(var(--motion-intensity, 2) * 5deg)) translateY(calc(var(--motion-distance, 18px) * .75)); }
    to { opacity: 1; transform: perspective(800px) rotateX(0) translateY(0); }
}

@keyframes bounceReveal {
    0% { opacity: 0; transform: translateY(var(--motion-distance, 24px)) scale(var(--motion-scale-start, .96)); }
    70% { opacity: 1; transform: translateY(calc(var(--motion-distance, 24px) * -.18)) scale(calc(1 + (var(--motion-intensity, 2) * .008))); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cinematicReveal {
    from { opacity: 0; transform: translateY(calc(var(--motion-distance, 34px) * 1.2)) scale(var(--motion-scale-start, .94)); filter: saturate(.7) blur(var(--motion-blur, 8px)); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: saturate(1) blur(0); }
}

@keyframes slideLeftReveal {
    from { opacity: 0; transform: translateX(calc(var(--motion-distance, 34px) * -1)); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRightReveal {
    from { opacity: 0; transform: translateX(var(--motion-distance, 34px)); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pageSlideUp {
    from { opacity: 0; transform: translateY(var(--page-transition-distance, 18px)); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pageZoomIn {
    from { opacity: 0; transform: scale(var(--page-transition-scale-start, .985)); }
    to { opacity: 1; transform: scale(1); }
}

.hover-effect-lift :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover {
    transform: translateY(var(--hover-lift, -5px));
}

.hover-effect-glow :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover {
    box-shadow: 0 calc(18px + (var(--motion-intensity, 2) * 4px)) calc(42px + (var(--motion-intensity, 2) * 8px)) color-mix(in srgb, var(--brand) calc(var(--hover-glow-opacity, .24) * 100%), rgba(15,23,42,.18));
}

.hover-effect-zoom :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div):hover {
    transform: scale(var(--hover-scale, 1.018));
}

.hover-effect-shadow :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover {
    box-shadow: 0 calc(18px + (var(--motion-intensity, 2) * 4px)) calc(44px + (var(--motion-intensity, 2) * 9px)) rgba(15, 23, 42, calc(.12 + (var(--hover-glow-opacity, .24) * .24)));
}

.hover-effect-border :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover {
    box-shadow: inset 0 0 0 calc(1px + (var(--motion-intensity, 2) * .55px)) var(--brand), 0 18px 40px rgba(15,23,42,.10);
}

.hover-effect-tilt :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div):hover {
    transform: translateY(var(--hover-lift, -3px)) rotate(var(--hover-tilt, -.65deg));
}

.hover-effect-pulse :is(.btn,.quick-action-card):hover {
    animation: softPulse var(--motion-duration, .9s) ease-in-out infinite alternate;
}

@keyframes softPulse {
    from { transform: scale(1); }
    to { transform: scale(var(--hover-scale, 1.025)); }
}

.section-animation-fade.reveal-section,
.section-animation-fade .reveal-item { animation-name: fadeReveal !important; }
.section-animation-slide.reveal-section,
.section-animation-slide .reveal-item,
.section-animation-lift.reveal-section,
.section-animation-lift .reveal-item { animation-name: slideReveal !important; }
.section-animation-zoom.reveal-section,
.section-animation-zoom .reveal-item { animation-name: zoomReveal !important; }
.section-animation-float.reveal-section,
.section-animation-float .reveal-item { animation-name: floatReveal !important; }
.section-animation-blur.reveal-section,
.section-animation-blur .reveal-item { animation-name: blurReveal !important; }
.section-animation-flip.reveal-section,
.section-animation-flip .reveal-item { animation-name: flipReveal !important; }
.section-animation-bounce.reveal-section,
.section-animation-bounce .reveal-item { animation-name: bounceReveal !important; }
.section-animation-cinematic.reveal-section,
.section-animation-cinematic .reveal-item { animation-name: cinematicReveal !important; }
.section-animation-none.reveal-section,
.section-animation-none .reveal-item { animation: none !important; }

.section-hover-effect-lift :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover { transform: translateY(var(--hover-lift, -5px)) !important; }
.section-hover-effect-glow :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover { box-shadow: 0 24px 60px color-mix(in srgb, var(--brand) calc(var(--hover-glow-opacity, .24) * 100%), rgba(15,23,42,.18)) !important; }
.section-hover-effect-zoom :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div):hover { transform: scale(var(--hover-scale, 1.018)) !important; }
.section-hover-effect-shadow :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover { box-shadow: 0 30px 75px rgba(15,23,42,.22) !important; }
.section-hover-effect-border :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover { box-shadow: inset 0 0 0 2px var(--brand), 0 18px 40px rgba(15,23,42,.10) !important; }
.section-hover-effect-tilt :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div):hover { transform: translateY(var(--hover-lift, -3px)) rotate(var(--hover-tilt, -.65deg)) !important; }
.section-hover-effect-pulse :is(.btn,.quick-action-card):hover { animation: softPulse var(--motion-duration, .9s) ease-in-out infinite alternate !important; }
.section-hover-effect-none :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover { transform: none !important; box-shadow: inherit !important; }

.motion-intensity-4 .effect-event_energy .hero-section::before,
.motion-intensity-5 .effect-event_energy .hero-section::before,
.motion-intensity-4.effect-event_energy .hero-section::before,
.motion-intensity-5.effect-event_energy .hero-section::before {
    width: 480px;
    height: 480px;
    opacity: .9;
}

/* Builder v11: stronger visible motion + true as-you-scroll reveal */
.business-body:not(.reveal-none) .is-scroll-reveal-pending:not(.is-scroll-reveal-visible) {
    opacity: 0;
    animation: none !important;
    transform: translateY(var(--motion-distance, 42px)) scale(var(--motion-scale-start, .9));
    filter: blur(calc(var(--motion-blur, 12px) * .35));
    will-change: transform, opacity, filter, clip-path;
}

.business-body:not(.reveal-none) .is-scroll-reveal-visible {
    opacity: 1;
    animation-duration: var(--motion-duration, .75s);
    animation-timing-function: var(--motion-ease, cubic-bezier(.16,1,.3,1));
    animation-fill-mode: both;
    animation-delay: var(--reveal-delay, 0ms);
}

.reveal-zoom_out .reveal-item,
.reveal-zoom_out .reveal-section {
    animation-name: zoomOutReveal;
}

.reveal-rotate_in .reveal-item,
.reveal-rotate_in .reveal-section,
.animation-rotate_in .reveal-item,
.animation-rotate_in .reveal-section {
    animation-name: rotateInReveal;
}

.reveal-wipe_up .reveal-item,
.reveal-wipe_up .reveal-section,
.animation-wipe .reveal-item,
.animation-wipe .reveal-section {
    animation-name: wipeUpReveal;
}

.animation-pop .reveal-item,
.animation-pop .reveal-section {
    animation-name: popReveal;
}

.animation-swing .reveal-item,
.animation-swing .reveal-section {
    animation-name: swingReveal;
    transform-origin: top center;
}

@keyframes zoomOutReveal {
    from { opacity: 0; transform: scale(calc(1.08 + (var(--motion-intensity, 2) * .045))); filter: blur(calc(var(--motion-blur, 12px) * .45)); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes rotateInReveal {
    from { opacity: 0; transform: rotate(calc(var(--motion-intensity, 2) * -5deg)) translateY(calc(var(--motion-distance, 38px) * .7)) scale(var(--motion-scale-start, .9)); }
    to { opacity: 1; transform: rotate(0) translateY(0) scale(1); }
}

@keyframes wipeUpReveal {
    from { opacity: 0; clip-path: inset(100% 0 0 0); transform: translateY(calc(var(--motion-distance, 40px) * .45)); }
    to { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(0); }
}

@keyframes popReveal {
    0% { opacity: 0; transform: scale(calc(var(--motion-scale-start, .82) * .86)) translateY(calc(var(--motion-distance, 38px) * .45)); }
    68% { opacity: 1; transform: scale(calc(1 + (var(--motion-intensity, 2) * .025))) translateY(calc(var(--motion-distance, 38px) * -.10)); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes swingReveal {
    0% { opacity: 0; transform: perspective(900px) rotateX(calc(var(--motion-intensity, 2) * 8deg)) translateY(calc(var(--motion-distance, 38px) * .85)); }
    70% { opacity: 1; transform: perspective(900px) rotateX(calc(var(--motion-intensity, 2) * -1.4deg)) translateY(calc(var(--motion-distance, 38px) * -.08)); }
    100% { opacity: 1; transform: perspective(900px) rotateX(0) translateY(0); }
}

/* Make level 4-5 visibly stronger for demos */
.motion-intensity-4,
.motion-intensity-5 {
    --motion-duration: max(var(--motion-duration, .9s), .95s);
}

.motion-intensity-5 {
    --motion-distance: max(var(--motion-distance, 124px), 112px);
    --motion-blur: max(var(--motion-blur, 40px), 34px);
    --hover-lift: min(var(--hover-lift, -38px), -34px);
    --hover-scale: max(var(--hover-scale, 1.14), 1.12);
}

.hover-intensity-4.hover-effect-lift :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover,
.hover-intensity-5.hover-effect-lift :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover {
    transform: translateY(var(--hover-lift, -34px)) scale(1.015);
}

.hover-intensity-4.hover-effect-zoom :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div):hover,
.hover-intensity-5.hover-effect-zoom :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div):hover {
    transform: translateY(-6px) scale(var(--hover-scale, 1.12));
}

.hover-intensity-4.hover-effect-glow :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover,
.hover-intensity-5.hover-effect-glow :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div,.btn):hover {
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 22%, transparent), 0 28px 80px color-mix(in srgb, var(--brand) calc(var(--hover-glow-opacity, .55) * 100%), rgba(15,23,42,.22));
}

.hover-intensity-4.hover-effect-tilt :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div):hover,
.hover-intensity-5.hover-effect-tilt :is(.service-card,.quick-action-card,.gallery-card,.testimonial-card,.custom-builder-placeholder-grid > div):hover {
    transform: translateY(var(--hover-lift, -28px)) rotate(var(--hover-tilt, -6deg)) scale(1.02);
}

.effect-event_energy.motion-intensity-5 .hero-section::before,
.effect-lively.motion-intensity-5 .hero-section::before {
    width: 560px;
    height: 560px;
    opacity: .95;
    filter: blur(14px);
}

.effect-tech .premium-hero,
.effect-editorial .premium-hero {
    position: relative;
    overflow: hidden;
}

.effect-tech .premium-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(37,99,235,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.10) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: calc(.16 + (var(--motion-intensity, 2) * .04));
    animation: techGridDrift 9s linear infinite;
}

.effect-editorial .section-title,
.effect-editorial .hero-title {
    letter-spacing: -.055em;
}

@keyframes techGridDrift {
    from { background-position: 0 0; }
    to { background-position: 72px 72px; }
}

@media (prefers-reduced-motion: reduce) {
    .is-scroll-reveal-pending,
    .is-scroll-reveal-visible {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
        animation: none !important;
    }
}

/* Builder v12: per-section scroll reveal + image effects */
.business-body:not(.reveal-none) .section-scroll-reveal-none.reveal-section,
.business-body:not(.reveal-none) .section-scroll-reveal-none .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    animation: none !important;
}

.business-body:not(.reveal-none) :is(.section-scroll-reveal-fade_up,.section-scroll-reveal-cinematic).is-scroll-reveal-pending:not(.is-scroll-reveal-visible),
.business-body:not(.reveal-none) :is(.section-scroll-reveal-fade_up,.section-scroll-reveal-cinematic) .is-scroll-reveal-pending:not(.is-scroll-reveal-visible) {
    transform: translateY(var(--section-reveal-distance, var(--motion-distance, 42px))) scale(var(--section-reveal-scale-start, var(--motion-scale-start, .9)));
    filter: blur(calc(var(--section-reveal-blur, var(--motion-blur, 12px)) * .25));
}

.business-body:not(.reveal-none) .section-scroll-reveal-fade_in.is-scroll-reveal-pending:not(.is-scroll-reveal-visible),
.business-body:not(.reveal-none) .section-scroll-reveal-fade_in .is-scroll-reveal-pending:not(.is-scroll-reveal-visible) {
    transform: none;
    filter: none;
}

.business-body:not(.reveal-none) .section-scroll-reveal-slide_left.is-scroll-reveal-pending:not(.is-scroll-reveal-visible),
.business-body:not(.reveal-none) .section-scroll-reveal-slide_left .is-scroll-reveal-pending:not(.is-scroll-reveal-visible) {
    transform: translateX(calc(var(--section-reveal-distance, var(--motion-distance, 42px)) * -1));
}

.business-body:not(.reveal-none) .section-scroll-reveal-slide_right.is-scroll-reveal-pending:not(.is-scroll-reveal-visible),
.business-body:not(.reveal-none) .section-scroll-reveal-slide_right .is-scroll-reveal-pending:not(.is-scroll-reveal-visible) {
    transform: translateX(var(--section-reveal-distance, var(--motion-distance, 42px)));
}

.business-body:not(.reveal-none) .section-scroll-reveal-scale_in.is-scroll-reveal-pending:not(.is-scroll-reveal-visible),
.business-body:not(.reveal-none) .section-scroll-reveal-scale_in .is-scroll-reveal-pending:not(.is-scroll-reveal-visible) {
    transform: scale(var(--section-reveal-scale-start, var(--motion-scale-start, .9)));
}

.business-body:not(.reveal-none) .section-scroll-reveal-zoom_out.is-scroll-reveal-pending:not(.is-scroll-reveal-visible),
.business-body:not(.reveal-none) .section-scroll-reveal-zoom_out .is-scroll-reveal-pending:not(.is-scroll-reveal-visible) {
    transform: scale(calc(1.08 + (var(--section-scroll-reveal-intensity, 2) * .045)));
    filter: blur(calc(var(--section-reveal-blur, var(--motion-blur, 12px)) * .35));
}

.business-body:not(.reveal-none) .section-scroll-reveal-blur_in.is-scroll-reveal-pending:not(.is-scroll-reveal-visible),
.business-body:not(.reveal-none) .section-scroll-reveal-blur_in .is-scroll-reveal-pending:not(.is-scroll-reveal-visible) {
    transform: translateY(calc(var(--section-reveal-distance, var(--motion-distance, 42px)) * .35));
    filter: blur(var(--section-reveal-blur, var(--motion-blur, 12px)));
}

.business-body:not(.reveal-none) .section-scroll-reveal-rotate_in.is-scroll-reveal-pending:not(.is-scroll-reveal-visible),
.business-body:not(.reveal-none) .section-scroll-reveal-rotate_in .is-scroll-reveal-pending:not(.is-scroll-reveal-visible) {
    transform: rotate(calc(var(--section-reveal-rotate, 12deg) * -1)) translateY(calc(var(--section-reveal-distance, var(--motion-distance, 42px)) * .65)) scale(var(--section-reveal-scale-start, .9));
}

.business-body:not(.reveal-none) .section-scroll-reveal-wipe_up.is-scroll-reveal-pending:not(.is-scroll-reveal-visible),
.business-body:not(.reveal-none) .section-scroll-reveal-wipe_up .is-scroll-reveal-pending:not(.is-scroll-reveal-visible) {
    clip-path: inset(100% 0 0 0);
    transform: translateY(calc(var(--section-reveal-distance, var(--motion-distance, 42px)) * .35));
}

.business-body:not(.reveal-none) .section-scroll-reveal-fade_in.is-scroll-reveal-visible,
.business-body:not(.reveal-none) .section-scroll-reveal-fade_in .is-scroll-reveal-visible { animation-name: fadeReveal !important; }
.business-body:not(.reveal-none) .section-scroll-reveal-fade_up.is-scroll-reveal-visible,
.business-body:not(.reveal-none) .section-scroll-reveal-fade_up .is-scroll-reveal-visible { animation-name: slideReveal !important; }
.business-body:not(.reveal-none) .section-scroll-reveal-slide_left.is-scroll-reveal-visible,
.business-body:not(.reveal-none) .section-scroll-reveal-slide_left .is-scroll-reveal-visible { animation-name: slideLeftReveal !important; }
.business-body:not(.reveal-none) .section-scroll-reveal-slide_right.is-scroll-reveal-visible,
.business-body:not(.reveal-none) .section-scroll-reveal-slide_right .is-scroll-reveal-visible { animation-name: slideRightReveal !important; }
.business-body:not(.reveal-none) .section-scroll-reveal-scale_in.is-scroll-reveal-visible,
.business-body:not(.reveal-none) .section-scroll-reveal-scale_in .is-scroll-reveal-visible { animation-name: zoomReveal !important; }
.business-body:not(.reveal-none) .section-scroll-reveal-zoom_out.is-scroll-reveal-visible,
.business-body:not(.reveal-none) .section-scroll-reveal-zoom_out .is-scroll-reveal-visible { animation-name: zoomOutReveal !important; }
.business-body:not(.reveal-none) .section-scroll-reveal-blur_in.is-scroll-reveal-visible,
.business-body:not(.reveal-none) .section-scroll-reveal-blur_in .is-scroll-reveal-visible { animation-name: blurReveal !important; }
.business-body:not(.reveal-none) .section-scroll-reveal-rotate_in.is-scroll-reveal-visible,
.business-body:not(.reveal-none) .section-scroll-reveal-rotate_in .is-scroll-reveal-visible { animation-name: rotateInReveal !important; }
.business-body:not(.reveal-none) .section-scroll-reveal-wipe_up.is-scroll-reveal-visible,
.business-body:not(.reveal-none) .section-scroll-reveal-wipe_up .is-scroll-reveal-visible { animation-name: wipeUpReveal !important; }
.business-body:not(.reveal-none) .section-scroll-reveal-cascade.is-scroll-reveal-visible,
.business-body:not(.reveal-none) .section-scroll-reveal-cascade .is-scroll-reveal-visible { animation-name: slideReveal !important; }
.business-body:not(.reveal-none) .section-scroll-reveal-cinematic.is-scroll-reveal-visible,
.business-body:not(.reveal-none) .section-scroll-reveal-cinematic .is-scroll-reveal-visible { animation-name: cinematicReveal !important; }

.section-image-effect-zoom_hover :is(.hero-image-frame,.gallery-card,.custom-builder-image),
.section-image-effect-lift_hover :is(.hero-image-frame,.gallery-card,.custom-builder-image),
.section-image-effect-tilt_hover :is(.hero-image-frame,.gallery-card,.custom-builder-image),
.section-image-effect-glow_hover :is(.hero-image-frame,.gallery-card,.custom-builder-image) {
    overflow: hidden;
}

.section-image-effect-zoom_hover :is(.hero-image-frame,.gallery-card,.custom-builder-image) img,
.section-image-effect-lift_hover :is(.hero-image-frame,.gallery-card,.custom-builder-image) img,
.section-image-effect-tilt_hover :is(.hero-image-frame,.gallery-card,.custom-builder-image) img,
.section-image-effect-glow_hover :is(.hero-image-frame,.gallery-card,.custom-builder-image) img,
.section-image-effect-float :is(.hero-image-frame,.gallery-card,.custom-builder-image) img,
.section-image-effect-ken_burns :is(.hero-image-frame,.gallery-card,.custom-builder-image) img,
.section-image-effect-parallax_soft :is(.hero-image-frame,.gallery-card,.custom-builder-image) img {
    transition: transform var(--motion-duration, .65s) var(--motion-ease, cubic-bezier(.16,1,.3,1)), filter var(--motion-duration, .65s) ease, box-shadow var(--motion-duration, .65s) ease;
    will-change: transform, filter;
}

.section-image-effect-zoom_hover :is(.hero-image-frame,.gallery-card,.custom-builder-image):hover img {
    transform: scale(var(--image-effect-scale, 1.08));
}

.section-image-effect-lift_hover :is(.hero-image-frame,.gallery-card,.custom-builder-image):hover img {
    transform: translateY(var(--image-effect-lift, -12px)) scale(calc(1 + ((var(--image-effect-level, 2)) * .008)));
}

.section-image-effect-tilt_hover :is(.hero-image-frame,.gallery-card,.custom-builder-image):hover img {
    transform: translateY(var(--image-effect-lift, -10px)) rotate(var(--image-effect-tilt, 3deg)) scale(calc(1 + ((var(--image-effect-level, 2)) * .01)));
}

.section-image-effect-glow_hover :is(.hero-image-frame,.gallery-card,.custom-builder-image):hover {
    box-shadow: 0 26px 70px color-mix(in srgb, var(--brand) calc(var(--image-effect-glow, .35) * 100%), transparent);
}

.section-image-effect-float :is(.hero-image-frame,.gallery-card,.custom-builder-image) img {
    animation: imageFloat var(--image-effect-duration, 3.8s) ease-in-out infinite alternate;
}

.section-image-effect-ken_burns :is(.hero-image-frame,.gallery-card,.custom-builder-image) img {
    animation: imageKenBurns var(--image-effect-slow-duration, 10s) ease-in-out infinite alternate;
    transform-origin: center;
}

.section-image-effect-parallax_soft :is(.hero-image-frame,.gallery-card,.custom-builder-image) img {
    transform: translateY(calc(var(--image-effect-lift, -12px) * -.25)) scale(calc(1 + (var(--image-effect-level, 2) * .012)));
}

.section-image-effect-reveal_zoom.is-scroll-reveal-visible :is(.builder-effect-image),
.section-image-effect-reveal_zoom .is-scroll-reveal-visible :is(.builder-effect-image) {
    animation: imageRevealZoom var(--motion-duration, .75s) var(--motion-ease, ease) both;
    animation-delay: var(--reveal-delay, 0ms);
}

.section-image-effect-reveal_blur.is-scroll-reveal-visible :is(.builder-effect-image),
.section-image-effect-reveal_blur .is-scroll-reveal-visible :is(.builder-effect-image) {
    animation: imageRevealBlur var(--motion-duration, .75s) var(--motion-ease, ease) both;
    animation-delay: var(--reveal-delay, 0ms);
}

@keyframes imageFloat {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(calc(var(--image-effect-lift, -12px) * .85)) scale(calc(1 + (var(--image-effect-level, 2) * .01))); }
}

@keyframes imageKenBurns {
    from { transform: scale(1) translate3d(0, 0, 0); }
    to { transform: scale(calc(1.04 + (var(--image-effect-level, 2) * .025))) translate3d(calc(var(--image-effect-level, 2) * -1.5px), calc(var(--image-effect-level, 2) * -2px), 0); }
}

@keyframes imageRevealZoom {
    from { opacity: .35; transform: scale(calc(1.10 + (var(--image-effect-level, 2) * .045))); filter: blur(calc(var(--image-effect-blur, 6px) + 4px)); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes imageRevealBlur {
    from { opacity: .25; filter: blur(calc(var(--image-effect-blur, 6px) + 8px)) saturate(.75); transform: translateY(calc(var(--section-reveal-distance, 40px) * .28)); }
    to { opacity: 1; filter: blur(0) saturate(1); transform: translateY(0); }
}

.gallery-empty-placeholder {
    min-height: 220px;
    display: grid;
    place-items: center;
    gap: .35rem;
    padding: 1.25rem;
    border: 1px dashed rgba(15, 23, 42, .22);
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, .10), rgba(37, 99, 235, .08)),
        repeating-linear-gradient(45deg, rgba(15, 23, 42, .045) 0 10px, transparent 10px 20px);
    color: var(--text);
    text-align: center;
}

.gallery-empty-placeholder strong {
    font-size: .95rem;
    font-weight: 950;
}

.gallery-empty-placeholder small {
    max-width: 230px;
    color: var(--muted);
    line-height: 1.5;
}

/* V31: editable footer logo, links, and CTA */
.site-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.site-footer-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(148, 163, 184, .24);
    padding: 4px;
}

.site-footer-links {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer-links a {
    color: inherit;
    text-decoration: none;
    font-weight: 850;
    font-size: .92rem;
    opacity: .82;
}

.site-footer-links a:hover {
    opacity: 1;
    color: var(--brand);
}

.site-footer-links .site-footer-cta {
    border-radius: 999px;
    padding: 9px 14px;
    background: var(--brand);
    color: #ffffff;
    opacity: 1;
}

.footer-bg-brand .site-footer-links .site-footer-cta,
.footer-bg-dark .site-footer-links .site-footer-cta {
    background: #ffffff;
    color: var(--brand);
}

.footer-bg-brand .site-footer-links a:hover,
.footer-bg-dark .site-footer-links a:hover {
    color: #ffffff;
}

@media (max-width: 720px) {
    .footer-layout-simple .site-footer-inner,
    .footer-layout-columns .site-footer-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer-links {
        justify-content: flex-start;
    }
}

/* Ehopto Studio v42: extra background moods used by the in-preview studio. */
.body-bg-white {
    background: #ffffff !important;
}

.body-bg-pattern_grid {
    background-color: var(--body-bg-custom, #f8fafc) !important;
    background-image:
        linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px),
        radial-gradient(900px 360px at 100% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 55%) !important;
    background-size: 34px 34px, 34px 34px, auto !important;
}

.body-bg-dark {
    background: #020617 !important;
    color: #f8fafc;
}

.section-bg-pattern_glow {
    background:
        radial-gradient(700px 260px at 8% 0%, color-mix(in srgb, var(--brand-soft) 90%, transparent), transparent 54%),
        radial-gradient(620px 260px at 100% 12%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 56%),
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
}

.section-bg-pattern_glow::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(color-mix(in srgb, var(--brand) 18%, transparent) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: .38;
}

.section-bg-pattern_glow > .container,
.section-bg-image_like > .container,
.section-bg-dark > .container,
.section-bg-brand > .container {
    position: relative;
    z-index: 1;
}

.hero-section[style*="--section-bg-image"],
.reveal-section[style*="--section-bg-image"] {
    color: #ffffff;
}

.hero-section[style*="--section-bg-image"] .hero-title,
.hero-section[style*="--section-bg-image"] .hero-text,
.reveal-section[style*="--section-bg-image"] .section-title h2,
.reveal-section[style*="--section-bg-image"] .section-title p,
.reveal-section[style*="--section-bg-image"] .section-title span,
.reveal-section[style*="--section-bg-image"] .section-title-left h2,
.reveal-section[style*="--section-bg-image"] .section-title-left p,
.reveal-section[style*="--section-bg-image"] .section-title-left span {
    color: inherit !important;
}

/* Ehopto Studio v43: richer nav/footer colour schemes */
.nav-bg-nav_ehopto_glass .business-navbar {
    background: color-mix(in srgb, var(--nav-bg-custom, #ecfeff) 82%, transparent) !important;
    backdrop-filter: blur(18px);
    border-color: var(--nav-border-custom, rgba(20,184,166,.20)) !important;
}

.nav-bg-nav_pharmacy .business-navbar,
.nav-bg-nav_clinical .business-navbar,
.nav-bg-nav_midnight .business-navbar,
.nav-bg-nav_warm .business-navbar,
.nav-bg-nav_gradient_dark .business-navbar {
    background: var(--nav-bg-custom, #0f172a) !important;
    border-color: var(--nav-border-custom, rgba(255,255,255,.16)) !important;
}

.nav-bg-nav_gradient_dark .business-navbar {
    background: linear-gradient(135deg, #020617, #0f172a 42%, color-mix(in srgb, var(--brand) 42%, #0f172a)) !important;
}

.nav-bg-nav_soft_rose .business-navbar {
    background: var(--nav-bg-custom, #fff1f2) !important;
    border-color: var(--nav-border-custom, rgba(244,63,94,.20)) !important;
}

.nav-bg-nav_pharmacy .business-navbar :is(.navbar-brand,.nav-link,.brand-name-text),
.nav-bg-nav_clinical .business-navbar :is(.navbar-brand,.nav-link,.brand-name-text),
.nav-bg-nav_midnight .business-navbar :is(.navbar-brand,.nav-link,.brand-name-text),
.nav-bg-nav_warm .business-navbar :is(.navbar-brand,.nav-link,.brand-name-text),
.nav-bg-nav_gradient_dark .business-navbar :is(.navbar-brand,.nav-link,.brand-name-text) {
    color: var(--nav-link-custom, #ffffff) !important;
}

.nav-bg-nav_pharmacy .business-navbar .btn-brand,
.nav-bg-nav_clinical .business-navbar .btn-brand,
.nav-bg-nav_midnight .business-navbar .btn-brand,
.nav-bg-nav_warm .business-navbar .btn-brand,
.nav-bg-nav_gradient_dark .business-navbar .btn-brand {
    background: #ffffff !important;
    color: var(--brand, #0f766e) !important;
    border-color: transparent !important;
}

.nav-bg-nav_soft_rose .business-navbar .btn-brand,
.nav-bg-nav_ehopto_glass .business-navbar .btn-brand {
    background: var(--brand) !important;
    color: #ffffff !important;
}

.nav-logo-layout-text_only .business-navbar-logo-wrap,
.nav-logo-layout-text_only .business-navbar-logo {
    display: none !important;
}

.nav-logo-size-large .business-navbar-logo {
    width: 58px !important;
    height: 58px !important;
}

.nav-logo-size-small .business-navbar-logo {
    width: 32px !important;
    height: 32px !important;
}

.footer-bg-white .site-footer {
    background: #ffffff !important;
    color: #0f172a;
    border-top: 1px solid rgba(148,163,184,.24);
}

.footer-bg-soft_brand .site-footer {
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand-soft) 82%, #ffffff), #ffffff) !important;
    color: #0f172a;
}

.footer-bg-light_card .site-footer {
    background: #f8fafc !important;
    color: #0f172a;
    border-top: 1px solid rgba(148,163,184,.24);
}

.footer-bg-ehopto_gradient .site-footer,
.footer-bg-pharmacy .site-footer,
.footer-bg-midnight .site-footer,
.footer-bg-warm .site-footer {
    color: #ffffff;
}

.footer-bg-ehopto_gradient .site-footer {
    background: linear-gradient(135deg, #0f766e, #2563eb) !important;
}

.footer-bg-pharmacy .site-footer {
    background: linear-gradient(135deg, #064e3b, #047857) !important;
}

.footer-bg-midnight .site-footer {
    background: linear-gradient(135deg, #020617, #0f172a) !important;
}

.footer-bg-warm .site-footer {
    background: linear-gradient(135deg, #9a3412, #ea580c) !important;
}

.footer-bg-ehopto_gradient .site-footer :is(.text-muted,a),
.footer-bg-pharmacy .site-footer :is(.text-muted,a),
.footer-bg-midnight .site-footer :is(.text-muted,a),
.footer-bg-warm .site-footer :is(.text-muted,a) {
    color: rgba(255,255,255,.78) !important;
}

.footer-bg-ehopto_gradient .site-footer strong,
.footer-bg-pharmacy .site-footer strong,
.footer-bg-midnight .site-footer strong,
.footer-bg-warm .site-footer strong {
    color: #ffffff;
}

.footer-bg-ehopto_gradient .site-footer .site-footer-cta,
.footer-bg-pharmacy .site-footer .site-footer-cta,
.footer-bg-midnight .site-footer .site-footer-cta,
.footer-bg-warm .site-footer .site-footer-cta {
    background: #ffffff !important;
    color: var(--brand, #0f766e) !important;
}

/* Studio image controls */
.hero-image-frame,
.gallery-card,
.custom-builder-image,
.custom-builder-embed-box {
    box-sizing: border-box;
}

.hero-image-frame {
    width: var(--builder-media-width, auto);
}

.gallery-card {
    width: var(--builder-media-width, auto);
}

.gallery-card img,
.gallery-card video {
    height: var(--gallery-height, 320px);
}

.custom-builder-image,
.custom-builder-embed-box {
    width: var(--builder-media-width, 100%);
    max-width: var(--builder-media-width, 100%);
}

.custom-builder-image img,
.custom-builder-image video,
.custom-builder-embed-box img,
.custom-builder-embed-box video {
    min-height: var(--custom-media-height, 320px);
    height: var(--custom-media-height, auto);
}

.gallery-radius-pill,
.hero-radius-pill,
.gallery-radius-round,
.hero-radius-round {
    border-radius: 999px !important;
}



/* v45 · Logo identity polish
   Keep uploaded transparent logos clean, stop fallback logo marks from showing pale/white gutters,
   and make the Business Details logo behave predictably across nav/footer. */
.business-navbar-brand {
    min-width: 0;
}

.business-navbar-logo-wrap {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    overflow: visible;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.nav-logo-size-small .business-navbar-logo-wrap,
.nav-logo-size-small .business-navbar-logo,
.nav-logo-size-small .business-navbar .brand-mark {
    width: 32px;
    height: 32px;
}

.nav-logo-size-medium .business-navbar-logo-wrap,
.nav-logo-size-medium .business-navbar-logo,
.nav-logo-size-medium .business-navbar .brand-mark {
    width: 42px;
    height: 42px;
}

.nav-logo-size-large .business-navbar-logo-wrap,
.nav-logo-size-large .business-navbar-logo,
.nav-logo-size-large .business-navbar .brand-mark {
    width: 56px;
    height: 56px;
}

.nav-logo-size-huge .business-navbar-logo-wrap,
.nav-logo-size-huge .business-navbar-logo,
.nav-logo-size-huge .business-navbar .brand-mark {
    width: 72px;
    height: 72px;
}

.business-navbar-logo {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.business-navbar .brand-mark {
    flex: 0 0 auto;
    padding: 0 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--brand, #0f766e), #0f172a) !important;
    border: 0 !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .18) !important;
}

.nav-logo-layout-logo_badge .business-navbar-logo-wrap {
    padding: 4px !important;
    border-radius: var(--nav-logo-radius, 999px) !important;
    background: var(--nav-logo-bg, rgba(255,255,255,.82)) !important;
}

.nav-logo-layout-large_mark .business-navbar-logo-wrap {
    padding: 0 !important;
    background: transparent !important;
}

.nav-logo-layout-image_only .business-navbar-brand {
    gap: 0;
}

.site-footer-logo {
    object-fit: contain;
    background: transparent !important;
    border: 0 !important;
}

/* Ehopto v46: remove pale hero edge glow on dark/custom heroes.
   The base premium hero uses a soft decorative blob that can look like an unwanted
   white/grey gutter on dark hero sections. Keep the page full-bleed and clean. */
.business-body .hero-section.premium-hero.section-bg-dark::before,
.business-body .hero-section.premium-hero.section-bg-brand::before,
.business-body .hero-section.premium-hero[style*="--section-bg-custom"]::before,
.business-body .hero-section.premium-hero[style*="--section-container-bg-custom"]::before {
    display: none !important;
    opacity: 0 !important;
}

/* Make sure the public site canvas itself does not create pale side gutters. */
.business-body main,
.business-body .site-page {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.business-body .site-page > section,
.business-body .site-page > .hero-section,
.business-body .site-page > .section-padding,
.business-body .site-page > .feature-strip,
.business-body .site-page > .cta-band {
    width: 100%;
}


/* Ehopto v47: save-safe Studio values + true edge-to-edge public canvas.
   The Studio can set dark/custom hero styles while the body may still have a light
   page background. These rules prevent pale side gutters from showing around the
   website and keep dark hero pages visually continuous. */
html:has(body.business-body),
body.business-body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.business-body main,
body.business-body .site-page {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
}

body.business-body .site-page > section,
body.business-body .site-page > .hero-section,
body.business-body .site-page > .section-padding,
body.business-body .site-page > .feature-strip,
body.business-body .site-page > .cta-band,
body.business-body .site-page > .contact-section {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.business-body:has(.site-page > .hero-section:first-child.section-bg-dark),
body.business-body:has(.site-page > .hero-section:first-child[style*="--section-bg-custom"]),
body.business-body:has(.site-page > .hero-section:first-child[style*="--section-container-bg-custom"]) {
    background: #020617 !important;
}

body.business-body:has(.site-page > .hero-section:first-child.section-bg-dark) main,
body.business-body:has(.site-page > .hero-section:first-child.section-bg-dark) .site-page,
body.business-body:has(.site-page > .hero-section:first-child[style*="--section-bg-custom"]) main,
body.business-body:has(.site-page > .hero-section:first-child[style*="--section-bg-custom"]) .site-page,
body.business-body:has(.site-page > .hero-section:first-child[style*="--section-container-bg-custom"]) main,
body.business-body:has(.site-page > .hero-section:first-child[style*="--section-container-bg-custom"]) .site-page {
    background: #020617 !important;
}

body.business-body .hero-section.section-bg-dark,
body.business-body .hero-section[style*="--section-bg-custom"] {
    background-color: var(--section-bg-custom, #020617) !important;
}

body.business-body .hero-section[style*="--section-container-bg-custom"] .container {
    border-radius: 0;
}

@media (min-width: 992px) {
    body.business-body .hero-section > .container {
        max-width: min(1720px, calc(100vw - 72px));
    }
}

@media (max-width: 991.98px) {
    body.business-body .hero-section > .container,
    body.business-body .section-padding > .container,
    body.business-body .feature-strip > .container,
    body.business-body .cta-band > .container,
    body.business-body .contact-section > .container {
        max-width: calc(100vw - 28px);
    }
}
