:root {
    --bg-ivory: #F9F8F6;
    --text-dark: #1A1A1A;
    --accent-grey: #888888;
    --bg-cream: #F0EDE6;
    --border-color: #E2DDD5;
    --white: #FFFFFF;
    
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'DM Sans', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--bg-ivory);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-ivory);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    background: none;
}

/* TYPOGRAPHY */
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* LAYOUT */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.bg-cream {
    background-color: var(--bg-cream);
}

.text-center { text-align: center; }
.mt-l { margin-top: 4rem; }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--text-dark);
    color: var(--white);
    border: 1px solid var(--text-dark);
}

.btn-primary:hover {
    background-color: #333;
    border-color: #333;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background-color: var(--bg-cream);
}

.full-width {
    width: 100%;
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth), background-color var(--transition-smooth);
    background-color: rgba(249, 248, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    opacity: 1;
    pointer-events: auto;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:not(.btn):hover {
    color: var(--accent-grey);
}

.mobile-menu-btn {
    display: none !important;
}

.mobile-menu {
    display: none !important;
}

/* SAAS HERO */
.saas-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #0d0f0f;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.saas-hero::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.saas-hero-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image: url('mk_bungalo_3.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transform: scaleX(-1);
    z-index: 0;
    pointer-events: none;
}

.saas-hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .saas-hero-container {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.saas-hero-content {
    text-align: left;
    position: relative;
    z-index: 1;
}



.saas-hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #bcc2fb;
    color: #0d0f0f;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: none;
}

.saas-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.saas-hero-content h1 .highlight {
    color: #3d8174;
    text-shadow: 0 2px 15px rgba(61, 129, 116, 0.3), 0 4px 30px rgba(0, 0, 0, 0.8);
}

.saas-hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    max-width: 540px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-ctas {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.hero-ctas .btn {
    width: 220px;
    height: 56px;
    padding: 0;
}

.hero-ctas .btn-primary {
    background-color: #3d8174;
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 24px rgba(61, 129, 116, 0.4);
    transform: translateY(0);
    transition: all 0.3s ease;
}
.hero-ctas .btn-primary:hover {
    background-color: #4da393; /* Slightly brighter on hover for pop */
    box-shadow: 0 12px 32px rgba(61, 129, 116, 0.6);
    transform: translateY(-2px);
}

.btn-outline-dark {
    border: 1px solid #bcc2fb;
    color: #bcc2fb;
    background: transparent;
}
.btn-outline-dark:hover {
    background: #bcc2fb;
    color: #0d0f0f;
}

.saas-hero-trust {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #bcc2fb;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.saas-hero-trust .trust-icon-img {
    height: 20px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    display: block;
}

/* Image Showcase */
.saas-hero-visual {
    position: relative;
}

.image-showcase {
    position: relative;
    border-radius: 16px;
    border: 8px solid var(--white);
    box-shadow: var(--shadow-lg);
    background: var(--bg-cream);
}

.showcase-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.showcase-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
    border: 1px solid var(--border-color);
}

.card-icon {
    width: 40px;
    height: 40px;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1.2;
    color: var(--text-dark);
}

.card-text span {
    font-size: 0.8rem;
    color: var(--accent-grey);
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@media (max-width: 991px) {
    .saas-hero-content {
        text-align: center;
    }
    .saas-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .saas-hero-trust {
        justify-content: center;
    }
    .showcase-card {
        left: 20px;
        bottom: -20px;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.7;
}

.scroll-indicator.dark {
    color: var(--text-dark);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* SECTION HEADERS */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header p {
    color: var(--accent-grey);
    font-size: 1.1rem;
}

.ota-subheading {
    color: #444;
    font-size: 1.2rem;
    font-weight: 500;
}

/* OTA COMPARISON */
.ota-comparison {
    background-color: var(--bg-ivory);
}

.ota-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    width: 85%;
    margin: 0 auto 3rem auto;
}

@media (min-width: 900px) {
    .ota-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.ota-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform var(--transition-smooth);
}

.pro-listing {
    box-shadow: 0 0 20px rgba(154, 124, 79, 0.25), var(--shadow-md);
    border-color: rgba(154, 124, 79, 0.6);
}

.pro-banner {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    padding: 0.5rem;
    letter-spacing: 0.05em;
}

@keyframes image-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.ota-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: clamp(180px, 48vw, 240px) clamp(90px, 24vw, 120px);
    gap: 2px;
}

.ota-grid .img-main,
.ota-grid .img-small {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    background-color: #f0ede6;
}

.ota-grid .img-main {
    grid-column: 1 / -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ota-grid .img-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poor-img {
    background: linear-gradient(135deg, #ddd, #bcaaa4);
    filter: blur(2px) contrast(0.8);
}

.ota-details {
    padding: 1.5rem;
}

.ota-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ota-meta-left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ota-meta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    text-align: right;
    flex-shrink: 0;
}

.ota-name-rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
}

.ota-name-rating h3 {
    margin-bottom: 0;
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
}

.ota-rating-inline {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    white-space: nowrap;
}

.rating-poor {
    color: #c0392b;
    background-color: #fdf0ef;
}

.rating-pro {
    color: #1a6b3a;
    background-color: #eaf5ee;
}

.ota-price {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-dark);
    line-height: 1;
}

.ota-price span {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--accent-grey);
}

.occupancy-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    width: fit-content;
}

.badge-poor {
    background-color: #ffebee;
    color: #c62828;
}

.badge-pro {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.ota-score-row {
    margin-top: 0.1rem;
    margin-bottom: 0.4rem;
}

.ota-score-label {
    font-size: 0.9rem;
    color: #aaa;
}

.ota-checklist {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ota-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.ota-checklist svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Good checklist: dark checkmarks */
.ota-checklist:not(.bad-checklist) svg {
    color: var(--text-dark);
}

/* Bad checklist: all black to match */
.bad-checklist li {
    color: var(--text-dark);
}

.bad-checklist svg {
    color: var(--text-dark);
}

/* Caption pinned to column 2 of the grid on desktop, centered under pro card */
.pro-caption {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding-top: 0.5rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: #9a7c4f;
    letter-spacing: 0.04em;
}

@media (min-width: 900px) {
    .pro-caption {
        grid-column: 2;
    }
}

.pro-caption svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #9a7c4f;
}

.ota-conclusion {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--accent-grey);
}

/* BEFORE/AFTER (HIDDEN) */
.before-after-section {
    background-color: var(--bg-ivory);
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.after-image {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slider-label {
    position: absolute;
    top: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 0.8rem;
    border-radius: 4px;
}

.before-image .slider-label { right: 1rem; }
.after-image .slider-label { left: 1rem; }

.slider-control {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: white;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 5;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.slider-button svg {
    width: 14px;
    height: 14px;
    color: #333;
}

/* DATA & IMPACT */
.data-impact {
    background-color: var(--bg-ivory);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.impact-heading {
    margin-bottom: 2.5rem;
}

.impact-heading h2 {
    margin-bottom: 0.4rem;
}

.impact-heading h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--accent-grey);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-list-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
    overflow: hidden;
}

.camera-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 155%;
    height: 155%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.9;
}

.camera-glow-bg svg {
    width: 100%;
    height: 100%;
    filter: blur(30px);
}

.stat-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 3rem;
    background: transparent;
}

@media (max-width: 768px) {
    .stat-list {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

.stat-row {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
}

.stat-row-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-row-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.1;
    color: var(--text-dark);
}

.stat-row-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-row-text svg {
    width: 20px;
    height: 20px;
    color: var(--accent-grey);
    stroke-width: 1.5;
    flex-shrink: 0;
}

.stat-citation {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent-grey);
    position: relative;
    cursor: help;
    display: inline-block;
    align-self: flex-start;
}

/* Tooltip styling */
.tooltip-trigger .tooltip-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 100%;
    left: 0;
    transform: translateY(-8px);
    background-color: var(--text-dark);
    color: var(--white);
    padding: 0.85rem 1.1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.5;
    font-weight: 400;
    white-space: normal;
    width: 260px;
    z-index: 10;
    transition: all var(--transition-fast);
    pointer-events: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    letter-spacing: normal;
}

.tooltip-trigger .tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 1.5rem;
    border-width: 6px;
    border-style: solid;
    border-color: var(--text-dark) transparent transparent transparent;
}

.tooltip-trigger:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(-4px);
}

.stat-footnote {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--accent-grey);
    font-style: italic;
}


/* GALLERY PREVIEW */
.gallery-section {
    background-color: var(--bg-cream);
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    color: var(--accent-grey);
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-dark);
}

.tab-btn.active {
    color: var(--text-dark);
    border-bottom-color: var(--text-dark);
    font-weight: 500;
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
    gap: 8px;
}

@media (min-width: 768px) {
    .gallery-preview-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 320px;
    }
}

@media (min-width: 1024px) {
    .gallery-preview-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 300px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 6px;
}

.gallery-item.span-2 {
    grid-column: span 2;
}

.gallery-item.span-row {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26,26,26,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-family: var(--font-heading);
    transition: background-color var(--transition-fast);
}

.gallery-item:hover .more-overlay {
    background-color: rgba(26,26,26,0.7);
}

.view-all-btn {
    padding: 0.75rem 2.5rem;
}

/* WHY BINNY HOUSE */
.why-us {
    background-color: var(--bg-ivory);
}

.features-stack {
    max-width: 800px;
    margin: 0 auto;
}

.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 8px;
    transition: background-color var(--transition-fast);
}

.feature-row.alt {
    background-color: var(--bg-cream);
}

.feature-row .feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background-color: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.feature-row.alt .feature-icon {
    background-color: var(--white);
}

.feature-row .feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-text p {
    color: var(--accent-grey);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* OUR PROCESS NEW */
.process-section {
    background-color: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.process-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

@media (min-width: 768px) {
    .process-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 31px;
        left: calc(50% + 40px);
        width: calc(100% + 1.5rem - 80px);
        height: 2px;
        background-color: var(--border-color);
        z-index: 1;
    }
}

.process-icon {
    width: 64px;
    height: 64px;
    background-color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.process-icon svg {
    width: 32px;
    height: 32px;
}

.process-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.process-desc {
    color: var(--accent-grey);
    font-size: 0.95rem;
}

/* PRICING & ROI */
.pricing-roi {
    background-color: var(--bg-ivory);
}

.pricing-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.price-large {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 1.5rem 0 2.5rem;
}

.pricing-features {
    text-align: left;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--text-dark);
    flex-shrink: 0;
}

.addon-feature {
    color: var(--accent-grey);
}

.pricing-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--accent-grey);
}

.roi-title {
    margin-bottom: 0.75rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.roi-subtitle {
    color: var(--accent-grey);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.roi-table-container {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 12px;
    background-color: #1a1a1a;
    border: 1px solid #333;
}

.roi-table {
    width: 100%;
    border-collapse: collapse;
    color: #d1d5db;
    text-align: left;
    font-size: 1rem;
}

.roi-table th, .roi-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #333;
}

.roi-table th {
    font-family: var(--font-heading);
    font-weight: 500;
    color: #fff;
    font-size: 1.1rem;
}

.roi-table tbody tr:last-child td {
    border-bottom: none;
}

.roi-table tfoot td {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    font-size: 1.15rem;
    border-top: 1px solid #444;
    border-bottom: none;
}

.roi-table td svg {
    color: #fff;
}

/* FOOTER */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-desc {
    color: #a0a0a0;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.footer-links a {
    color: var(--white);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #a0a0a0;
}

.copyright {
    color: #666;
    font-size: 0.85rem;
    border-top: 1px solid #333;
    padding-top: 2rem;
}

/* MODALS */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    padding: 1rem;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

/* Ensure Access Modal stays on top of Masonry Modal */
#access-modal {
    z-index: 1500;
}

#access-modal .modal-content {
    z-index: 1501;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    position: relative;
    background-color: var(--white);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 2.5rem;
    z-index: 1;
    transform: translateY(20px);
    transition: transform var(--transition-smooth);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--accent-grey);
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-header p {
    color: var(--accent-grey);
    font-size: 0.9rem;
}

/* FORMS */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-dark);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.checkbox-group input {
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.8rem;
    color: var(--accent-grey);
    margin-bottom: 0;
    font-weight: 400;
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-feedback.success {
    background-color: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #c8e6c9;
}

.form-feedback.error {
    background-color: #ffebee;
    color: #b71c1c;
    border: 1px solid #ffcdd2;
}

.modal-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.modal-divider span {
    padding: 0 1rem;
    color: var(--accent-grey);
    font-size: 0.8rem;
}

.whatsapp-btn {
    border-color: #25D366;
    color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #f0fdf4;
    border-color: #25D366;
}

.whatsapp-btn svg {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.privacy-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--accent-grey);
    margin-top: 1rem;
}

/* GALLERY POPUP */
.gallery-popup-content {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.gallery-close {
    color: var(--white);
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
}

.gallery-close:hover {
    color: #ddd;
}

.gallery-popup-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    z-index: 2;
}

.popup-tab-btn {
    padding: 0.5rem 1rem;
    color: #aaa;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.popup-tab-btn.active {
    color: var(--white);
    font-weight: 500;
}

.gallery-main-display {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 1rem;
    min-height: 0; /* important for flexbox image fitting */
}

.gallery-nav {
    color: rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 2;
}

.gallery-nav:hover {
    color: var(--white);
    background: rgba(0,0,0,0.6);
}

.gallery-nav svg {
    width: 24px;
    height: 24px;
}

.main-image-container {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-counter {
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.thumbnail-strip-container {
    height: 80px;
    width: 100%;
    padding: 0 1.5rem;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.thumbnail-strip-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.thumbnail-strip {
    display: flex;
    gap: 0.5rem;
    height: 100%;
    justify-content: center;
    min-width: min-content;
}

@media (max-width: 768px) {
    .thumbnail-strip {
        justify-content: flex-start;
    }
}

.thumb-item {
    height: 100%;
    aspect-ratio: 1;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity var(--transition-fast);
    border-radius: 4px;
    overflow: hidden;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item.active {
    opacity: 1;
    border: 2px solid var(--white);
}

/* ANIMATIONS */
.reveal {
    transition: all 0.8s ease-out;
}

.reveal.js-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.js-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* TRUSTED BY BRANDS */
.trusted-brands {
    background-color: #D5CFC4; /* Darker taupe */
    padding: 3rem 0;
}

.brands-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* create a fade effect on edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.brands-marquee {
    display: flex;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
}

.brands-marquee:hover {
    animation-play-state: paused;
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 6.8rem;
    padding-right: 6.8rem; /* match gap */
}

.brands-track img {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Warm monochromatic tint to match ivory/cream theme */
    filter: grayscale(100%) sepia(20%) hue-rotate(350deg) contrast(1.1) opacity(0.7);
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.brands-track img:hover {
    /* Reveal original brand colors on hover */
    filter: grayscale(0%) sepia(0%) opacity(1);
}

@keyframes scroll-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.preview-collage-overlay {
    position: absolute;
    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.4);

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    transition: opacity var(--transition-smooth);

    backdrop-filter: blur(2px);

    z-index: 2;

}



.preview-collage-wrapper:hover .preview-collage-overlay {

    opacity: 1;

}




/* V2 GALLERY PREVIEW BLOCK */
.gallery-section-v2 {
    background-color: var(--bg-cream);
}

.preview-collage-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1.5px solid #3d8174;
    box-shadow: 0 0 15px rgba(61, 129, 116, 0.4), var(--shadow-lg);
    background-color: #fff;
    /* ensure there's height for grid */
    min-height: 400px;
}

/* MOVING BACKGROUND COLLAGE */
.moving-bg-container {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    pointer-events: none;
}

.moving-bg-row {
    display: flex;
    gap: 15px;
    width: max-content;
    animation: scroll-horizontal 120s linear infinite;
}

.moving-bg-row.reverse {
    animation: scroll-horizontal-reverse 150s linear infinite;
}

.moving-bg-row img {
    height: 300px;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    filter: grayscale(100%) contrast(90%);
}

.moving-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 35, 25, 0.75); /* Dark and warm overlay */
    backdrop-filter: blur(5px); /* 5px gaussian blur */
    -webkit-backdrop-filter: blur(5px);
    z-index: 0;
    pointer-events: none;
}

.preview-collage {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 4px;
    background-color: #fff;
}

.preview-collage .collage-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-collage .collage-item:first-child {
    grid-row: 1 / -1;
}

.preview-collage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.preview-collage-wrapper:hover .preview-collage-overlay {
    opacity: 1;
}

.preview-collage-overlay .btn {
    transform: translateY(20px);
    transition: transform var(--transition-smooth), background-color 0.3s, color 0.3s;
}

.preview-collage-wrapper:hover .preview-collage-overlay .btn {
    transform: translateY(0);
}

/* MASONRY POPUP (85% Viewport) */
.masonry-modal .masonry-popup-content {
    background-color: var(--bg-ivory);
    width: 85vw;
    height: 85vh;
    max-width: none;
    padding: 0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 1001; /* Above modal overlay */
}

.masonry-scroll-area {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2rem;
    padding-top: 3.5rem;
}

/* Ensure the popup itself scales and centers well */
.modal.masonry-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.masonry-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-cream);
    border-radius: 50%;
    padding: 0.5rem;
    color: var(--text-dark);
    z-index: 10;
}

.masonry-grid {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.masonry-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

@keyframes revealItem {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.masonry-item.revealed-new {
    animation: revealItem 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.masonry-item {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: block;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-smooth);
}

.masonry-item:hover img {
    transform: scale(1.02);
}

/* LIGHTBOX POPUP */
.lightbox-modal {
    z-index: 2000;
    padding: 0;
    overflow: hidden;
}

.lightbox-modal .modal-overlay {
    background-color: rgba(0, 0, 0, 0.98);
}

.lightbox-modal .lightbox-popup-content {
    width: 100vw;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2001;
    background: transparent;
    border-radius: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.lightbox-main-display {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}

.lightbox-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(30, 30, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-nav svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

.lightbox-nav.prev {
    left: 2rem;
}

.lightbox-nav.next {
    right: 2rem;
}

@media (max-width: 768px) {
    .lightbox-main-display,
    .gallery-main-display {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: minmax(0, 1fr) auto;
        align-items: center;
        justify-items: center;
        min-height: 0;
        min-width: 0;
        padding: 0;
        overflow: hidden;
    }

    .lightbox-image-container,
    .main-image-container {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
        height: 100%;
        min-height: 0;
        min-width: 0;
        padding: 0 0.5rem;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lightbox-nav,
    .gallery-nav {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        width: 46px;
        height: 46px;
        margin: 0.5rem 0 0.25rem 0;
        z-index: 10;
    }

    .lightbox-nav:hover,
    .gallery-nav:hover {
        transform: scale(1.08);
    }

    .lightbox-nav:active,
    .gallery-nav:active {
        transform: scale(0.95);
    }

    .lightbox-nav svg,
    .gallery-nav svg {
        width: 22px;
        height: 22px;
    }

    .lightbox-nav.prev,
    .gallery-nav.prev {
        grid-column: 1;
        grid-row: 2;
        justify-self: end;
        margin-right: 1.25rem;
    }

    .lightbox-nav.next,
    .gallery-nav.next {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        margin-left: 1.25rem;
    }

    .lightbox-counter,
    .gallery-counter {
        padding: 0.5rem;
        margin: 0;
    }
}

.lightbox-counter {
    text-align: center;
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    color: white;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 0.5rem;
    z-index: 100;
}




.logo img, .footer-logo img { max-height: 40px; width: auto; display: block; }
.footer-logo img { margin: 0 auto; }

/* ==========================================
   MOBILE-ONLY RESPONSIVE ADJUSTMENTS
   ========================================== */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.6rem 1rem;
        gap: 0.5rem;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .nav-links .btn {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .logo img.brand-logo {
        max-height: 32px;
    }

    .ota-cards {
        width: 100%;
    }

    .stat-list {
        padding: 1.5rem 1rem;
    }

    .pricing-card {
        padding: 2rem 1.25rem;
    }

    .roi-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .saas-hero-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-ctas {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.625rem;
    }

    .hero-ctas .btn {
        width: 175px;
        height: 48px;
        padding: 0;
        font-size: 0.875rem;
        white-space: normal;
        line-height: 1.2;
    }

    .saas-hero-trust .trust-icon-img {
        height: 24px;
    }

    .nav-container {
        padding: 0.5rem 0.65rem;
        gap: 0.4rem;
    }

    .nav-links {
        gap: 0.4rem;
    }

    .nav-links .btn {
        padding: 0.35rem 0.65rem;
        font-size: 0.75rem;
    }

    .logo img.brand-logo {
        max-height: 28px;
    }
}






