/* ============================================
   GLOBAL STYLES & VARIABLES
   ============================================ */

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

:root {
    /* Header height from script.js; extra pull closes any remaining white strip */
    --header-stack-height: 110px;
    --hero-extra-pull: 0px;
    /* Home, About, Contact: nudge first hero slightly below navbar */
    --hero-main-offset: 30px;
    /* Services dropdown pages: first hero (form hero) */
    --hero-service-offset: 42px;
    --primary: #0B1F3A;
    --primary-alt: #163159;
    --secondary: #C8A96A;
    --accent-teal: #C8A96A;
    --accent-red: #C8A96A;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-light: #f5f5f5;
    --bg-muted: #F9F9F9;
    --border-light: #e0e0e0;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 32px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: white;
    overflow-x: hidden;
}

@media (max-width: 1024px) {
    :root {
        --header-stack-height: 102px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-stack-height: 84px;
        --hero-main-offset: 22px;
        --hero-service-offset: 30px;
    }
}

/* Hard reset to prevent any top gap above header (.min-h-screen excluded: it needs top padding for fixed header) */
html,
body,
.site-header,
.site-header-inner,
.top-bar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Inline links inside page content (sections only — not header/footer/nav bars) */
section a[href]:not(.btn):not([class*="btn-"]):not(.nav-link):not(.top-bar-link):not(.social-icon):not(.social-icon-footer) {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(200, 169, 106, 0.45);
    text-underline-offset: 0.2em;
    text-decoration-thickness: 2px;
}

section a[href]:not(.btn):not([class*="btn-"]):not(.nav-link):not(.top-bar-link):not(.social-icon):not(.social-icon-footer):hover {
    color: #a08249;
    text-decoration-color: rgba(160, 130, 73, 0.75);
}

/* Dark sections: brighter links for contrast */
section.hero-section a[href]:not(.btn):not([class*="btn-"]):not(.nav-link):not(.top-bar-link):not(.social-icon):not(.social-icon-footer),
section.premium-section a[href]:not(.btn):not([class*="btn-"]):not(.nav-link):not(.top-bar-link):not(.social-icon):not(.social-icon-footer),
section.recent-collections-section a[href]:not(.btn):not([class*="btn-"]):not(.nav-link):not(.top-bar-link):not(.social-icon):not(.social-icon-footer) {
    color: #e4c991;
    text-decoration-color: rgba(228, 201, 145, 0.55);
}

section.hero-section a[href]:not(.btn):not([class*="btn-"]):not(.nav-link):not(.top-bar-link):not(.social-icon):not(.social-icon-footer):hover,
section.premium-section a[href]:not(.btn):not([class*="btn-"]):not(.nav-link):not(.top-bar-link):not(.social-icon):not(.social-icon-footer):hover,
section.recent-collections-section a[href]:not(.btn):not([class*="btn-"]):not(.nav-link):not(.top-bar-link):not(.social-icon):not(.social-icon-footer):hover {
    color: #f4e1bb;
    text-decoration-color: rgba(244, 225, 187, 0.85);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.min-h-screen {
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Shell padding + hero pull-up: dark hero bg covers area under fixed header (no white margin gap) */
body > .min-h-screen {
    padding-top: var(--header-stack-height);
    display: flow-root;
}

/* Home + About + Contact: first hero slightly below navbar */
body > .min-h-screen > section.hero-section:first-of-type:not(.services-hero-section):not(.hero-section--video),
body > .min-h-screen > section.about-top-banner:first-of-type {
    margin-top: calc(-1 * var(--header-stack-height) - var(--hero-extra-pull, 0px) + var(--hero-main-offset)) !important;
    margin-bottom: 0;
}

/* Home page: first hero a bit lower under header */
body > .min-h-screen > section.hero-section--video:first-of-type {
    margin-top: calc(-1 * var(--header-stack-height) - var(--hero-extra-pull, 0px) + var(--hero-main-offset) + 26px) !important;
    margin-bottom: 0;
    padding-top: clamp(2.25rem, 4.5vw, 3.35rem);
}

/* Services dropdown pages: first hero (services-hero-section) */
body > .min-h-screen > section.hero-section.services-hero-section:first-of-type {
    margin-top: calc(-1 * var(--header-stack-height) - var(--hero-extra-pull, 0px) + var(--hero-service-offset)) !important;
    margin-bottom: 0;
}

body > .min-h-screen > section.about-top-banner:first-of-type {
    padding-top: 0;
    padding-bottom: 0;
}

.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.container.center {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

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

.btn-primary:hover {
    background: var(--primary-alt);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--primary);
    font-weight: 700;
}

.btn-secondary:hover {
    background: #b69558;
}

.btn-secondary-dark {
    background: #1a1a1a;
    color: white;
}

.btn-secondary-dark:hover {
    background: #000;
}

.btn-white {
    background: white;
    color: var(--primary);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: #f5f5f5;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 700;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.btn-dark {
    background: #1a1a1a;
    color: white;
    font-weight: 600;
}

.btn-dark:hover {
    background: #000;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .button-group {
        flex-direction: column;
        width: 100%;
    }

    .button-group .btn {
        width: 100%;
    }
}

/* ============================================
   POPUP MODAL
   ============================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    padding: 2rem 2rem;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    color: var(--primary);
}

.modal-close:hover {
    background: #f5f5f5;
}

.modal-header {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.modal-accent-bar {
    width: 6px;
    height: 32px;
    background: var(--secondary);
    border-radius: 50%;
    margin-top: 4px;
}

.modal-title {
    font-size: 1.875rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.2;
}

.modal-subtitle {
    color: #666;
    font-weight: 500;
    margin-bottom: 2rem;
    margin-left: 1rem;
    font-size: 0.875rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 1rem;
}

.form-group {
    position: relative;
}

.input-label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.875rem;
    background: white;
    transition: all 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #bbb;
    font-weight: 500;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 23, 39, 0.1);
}

.form-textarea {
    padding-left: 3rem;
    min-height: 120px;
    resize: vertical;
    padding-top: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.btn-submit {
    width: 100%;
    height: 64px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    cursor: pointer;
    margin-top: 1.5rem;
    box-shadow: 0 8px 16px rgba(200, 169, 106, 0.25);
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.btn-submit:hover {
    background: #b69558;
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: scale(0.95);
}

/* ============================================
   FLOATING BARS
   ============================================ */

.floating-social-left {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 0 8px 8px 0;
    padding: 0.5rem 0.25rem;
    box-shadow: var(--shadow-md);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #666;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: #f0f0f0;
    color: var(--accent-teal);
}

.floating-contact-right {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.contact-btn {
    padding: 1rem;
    border: none;
    background: white;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
}

.contact-btn:last-child {
    border-bottom: none;
}

.contact-btn:hover {
    background: #f5f5f5;
}

.quote-btn {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    padding: 1.5rem 0.5rem;
    min-height: auto;
    white-space: nowrap;
}

/* ============================================
   TOP BAR
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    /* Above hero content/cards so Services dropdown is never covered */
    z-index: 200;
    margin: 0;
    padding: 0;
    background: transparent;
}

.site-header-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: white;
    border-radius: 0;
    /* Must allow navbar dropdown to extend below the header */
    overflow: visible;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    border: 0;
}

.top-bar {
    width: 100%;
    max-width: 100%;
    background: white;
    color: #666;
    font-size: 0.6875rem;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.top-bar-left {
    background: var(--primary);
    color: white;
    padding: 0.45rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    border-radius: 0 0 42px 0;
    padding-right: 2rem;
    width: 75%;
    flex: 0 0 75%;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0 1.25rem 0 0;
    margin-left: auto;
}

@media (max-width: 1200px) {
    .top-bar-left {
        width: 62%;
        flex: 0 0 62%;
    }
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5b7280;
    font-weight: 600;
    font-size: 0.6875rem;
}

.top-bar-link:hover {
    color: var(--primary);
}

.top-bar-link svg {
    color: var(--accent-teal);
}

@media (max-width: 768px) {
    .top-bar-right {
        display: none;
    }

    .top-bar-left {
        width: auto;
        flex: 0 0 auto;
    }

    .floating-social-left,
    .floating-contact-right {
        display: none;
    }

    .top-bar-link {
        font-size: 0.65rem;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background: white;
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
    z-index: 2;
    overflow: visible;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.navbar-left {
    display: flex;
    align-items: center;
    order: 1;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 0;
}

.logo-img {
    display: block;
    height: clamp(40px, 4.8vw, 54px);
    width: auto;
    max-width: min(260px, 46vw);
    object-fit: contain;
    object-position: left center;
    transition: opacity 0.2s ease;
}

.logo:hover .logo-img,
.logo:focus-visible .logo-img {
    opacity: 0.88;
}

.logo:focus-visible {
    outline: 2px solid var(--secondary, #fbbf24);
    outline-offset: 4px;
    border-radius: 4px;
}

.navbar-menu {
    display: flex;
    order: 2;
    flex: 1 1 auto;
    justify-content: center;
    gap: 1.35rem;
    font-weight: 600;
    font-size: 0.75rem;
    color: #4b5563;
    align-items: center;
    overflow: visible;
}

.nav-toggle {
    order: 3;
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0,0,0,0.1);
    background: white;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0f172a;
}

.nav-toggle:active {
    transform: scale(0.98);
}

.nav-link {
    color: #6b7280;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-teal);
    border-bottom-color: var(--accent-teal);
}

.nav-link.has-caret {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transform: translateY(1px);
    opacity: 0.85;
}

/* Services dropdown (navbar) — reference flyout layout */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 5;
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 272px;
    padding: 0.65rem 0;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
    z-index: 250;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
    overflow: visible;
}

@media (min-width: 1025px) {
    .nav-item-dropdown:hover .nav-dropdown-panel,
    .nav-item-dropdown:focus-within .nav-dropdown-panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.nav-dropdown-link,
.nav-dropdown-sub-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.62rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    color: #111111;
    border-bottom: none;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, text-decoration-color 0.15s ease;
}

.nav-dropdown-link:hover,
.nav-dropdown-sub-link:hover {
    background: #ececec;
    color: #111111;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nav-dropdown-link:focus-visible,
.nav-dropdown-sub-link:focus-visible {
    outline: 2px solid #111111;
    outline-offset: -2px;
}

.nav-dropdown-link.has-sub-caret::after,
.nav-dropdown-sub-trigger.has-sub-caret::after {
    content: "";
    flex-shrink: 0;
    width: 0;
    height: 0;
    margin-left: auto;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #111111;
    opacity: 0.9;
}

/* Book Publishing — flyout sub-dropdown (right side) */
.nav-dropdown-sub {
    position: relative;
}

.nav-dropdown-sub-trigger {
    width: 100%;
}

.nav-dropdown-sub-toggle {
    display: none;
}

.nav-sub-caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #111111;
}

.nav-dropdown-sub-panel {
    position: absolute;
    left: calc(100% - 2px);
    top: 0;
    min-width: 290px;
    padding: 0.65rem 0;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
    z-index: 260;
    opacity: 0;
    visibility: hidden;
    transform: translateX(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
}

.nav-dropdown-sub-link {
    justify-content: flex-start;
}

@media (min-width: 1025px) {
    .nav-dropdown-sub:hover .nav-dropdown-sub-panel,
    .nav-dropdown-sub:focus-within .nav-dropdown-sub-panel {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        pointer-events: auto;
    }

    .nav-dropdown-sub:hover .nav-dropdown-sub-trigger,
    .nav-dropdown-sub:focus-within .nav-dropdown-sub-trigger {
        background: #ececec;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
}

@media (max-width: 1024px) {
    .nav-dropdown-panel {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        display: none;
        margin: 0.35rem 0 0;
        min-width: 0;
        width: 100%;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        padding: 0.25rem 0 0.35rem;
        border-left: 3px solid rgba(0, 0, 0, 0.12);
        background: #ffffff;
        overflow: visible;
    }

    .navbar.is-open .nav-item-dropdown .nav-dropdown-panel {
        display: block;
    }

    .nav-dropdown-link,
    .nav-dropdown-sub-link {
        padding: 0.5rem 0.85rem 0.5rem 1rem;
        font-size: 0.8125rem;
        white-space: normal;
    }

    .nav-dropdown-sub {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .nav-dropdown-sub-trigger {
        flex: 1;
        min-width: calc(100% - 2.5rem);
    }

    .nav-dropdown-sub-trigger.has-sub-caret::after {
        display: none;
    }

    .nav-dropdown-sub-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .nav-dropdown-sub-panel {
        position: static;
        flex: 1 1 100%;
        display: none;
        min-width: 0;
        width: 100%;
        margin: 0.2rem 0 0.35rem 0.75rem;
        padding: 0.35rem 0;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        border-left: 3px solid rgba(0, 0, 0, 0.1);
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .nav-dropdown-sub.is-sub-open .nav-dropdown-sub-panel {
        display: block;
    }

    .nav-dropdown-sub.is-sub-open .nav-sub-caret {
        transform: rotate(180deg);
    }
}

.btn-start-project {
    order: 4;
    flex-shrink: 0;
    background: var(--secondary);
    color: var(--text-primary);
    font-weight: 800;
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    box-shadow: 0 10px 18px rgba(0,0,0,0.12);
}

.btn-start-project:hover {
    background: #b69558;
}

@media (max-width: 1024px) {
    .navbar-menu {
        display: none;
        order: 10;
        flex: 1 1 100%;
        justify-content: flex-start;
    }

    /* Mobile header: logo | hamburger + CTA (one row), menu below when open */
    .navbar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem 0.65rem;
        padding: 0.7rem 1rem;
    }

    .navbar-left {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
    }

    .nav-toggle {
        order: 2;
        display: inline-flex;
        flex: 0 0 44px;
        margin-left: auto;
    }

    .btn-start-project {
        order: 3;
        flex: 0 0 auto;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0.55rem 0.9rem !important;
        font-size: 0.72rem !important;
        white-space: nowrap;
    }

    .navbar.is-open .navbar-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 0.85rem 0 1rem;
        margin-top: 0.35rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        max-height: min(70vh, 480px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar.is-open .nav-link {
        width: 100%;
        padding: 0.55rem 0;
        font-size: 0.85rem;
    }

    .navbar.is-open .btn-start-project {
        display: none;
    }

    .logo-img {
        height: clamp(34px, 8vw, 42px);
        max-width: min(170px, 55vw);
    }
}

@media (max-width: 640px) {
    .top-bar-left {
        width: 100%;
        flex: 1 1 100%;
        border-radius: 0;
        font-size: 0.6rem;
    }

    .top-bar-left span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navbar {
        padding: 0.6rem 0.85rem;
    }

    .logo-img {
        height: 30px;
        max-width: min(140px, 50vw);
    }

    .btn-start-project {
        padding: 0.5rem 0.7rem !important;
        font-size: 0.65rem !important;
    }
}

@media (max-width: 400px) {
    .btn-start-project {
        display: none !important;
    }

    .navbar.is-open .btn-start-project {
        display: inline-flex !important;
        order: 5;
        flex: 1 0 100%;
        width: 100% !important;
        justify-content: center;
        margin-top: 0.5rem !important;
        padding: 0.7rem 1rem !important;
        font-size: 0.75rem !important;
    }
}

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

section {
    padding: 5rem 2rem;
}

@media (max-width: 768px) {
    section {
        padding: 3rem 1rem;
    }
}

/* ============================================
   3D SCROLL REVEAL (ALL SECTIONS)
   ============================================ */

section.reveal-3d {
    opacity: 0;
    transform-style: preserve-3d;
    perspective: 1200px;
    will-change: transform, opacity;
    transition: transform 0.9s cubic-bezier(.2,.9,.2,1), opacity 0.9s ease;
}

section.reveal-3d.reveal-3d--left {
    transform: translateX(-56px) rotateY(10deg) translateZ(0);
}

section.reveal-3d.reveal-3d--right {
    transform: translateX(56px) rotateY(-10deg) translateZ(0);
}

section.reveal-3d.is-visible {
    opacity: 1;
    transform: translateX(0) rotateY(0deg) translateZ(0);
}

@media (max-width: 768px) {
    section.reveal-3d.reveal-3d--left {
        transform: translateX(-24px) rotateY(6deg);
    }

    section.reveal-3d.reveal-3d--right {
        transform: translateX(24px) rotateY(-6deg);
    }
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-heading {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #999;
}

.highlight {
    color: var(--accent-teal);
}

.section-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.section-paragraph {
    color: #999;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 2xl;
}

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

.hero-section {
    background: linear-gradient(135deg, #0b1727 0%, #15264D 100%);
    color: white;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

/* Home hero: full-bleed background video */
.hero-section--video {
    background: #0b1727;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: url('./Book Publishing servicessss/The Publishers House6.jpg') center center / cover no-repeat;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.03);
    filter: brightness(0.92) contrast(1.05);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, rgba(11, 23, 39, 0.9) 0%, rgba(21, 38, 77, 0.55) 42%, rgba(11, 23, 39, 0.72) 100%),
        linear-gradient(180deg, rgba(11, 23, 39, 0.35) 0%, rgba(11, 23, 39, 0.85) 100%);
}

.hero-section--video .hero-container {
    position: relative;
    z-index: 2;
}

/* Home hero image: slightly smaller; no transform (scroll parallax must not resize it) */
.hero-section--video .hero-img {
    max-width: 81%;
    width: auto;
    height: auto;
    transform: none !important;
}

.hero-section--video .hero-buttons .btn-outline {
    background: #1a1a1a;
    color: #ffffff;
    border: 2px solid #1a1a1a;
}

.hero-section--video .hero-buttons .btn-outline:hover {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-video {
        display: none;
    }

    .hero-section--video {
        background: linear-gradient(135deg, #0b1727 0%, #15264D 100%);
    }
}

/* First hero only: override global section padding so block sits tight under navbar */
body > .min-h-screen > section.hero-section:first-of-type {
    padding-top: clamp(1.75rem, 4vw, 2.85rem);
    padding-bottom: clamp(3rem, 5vw, 5rem);
    padding-left: 2rem;
    padding-right: 2rem;
    scroll-margin-top: var(--header-stack-height);
}

@media (max-width: 768px) {
    body > .min-h-screen > section.hero-section:first-of-type {
        padding-top: clamp(1.35rem, 3.5vw, 2rem);
        padding-bottom: 3rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Services pages: inner spacing only (margin-top from first-hero rule above) */
.services-hero-section {
    padding-top: clamp(0.85rem, 2vw, 1.35rem);
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

body > .min-h-screen > section.hero-section.services-hero-section:first-of-type {
    padding-top: clamp(1.75rem, 3.75vw, 2.5rem);
}

body > .min-h-screen > section.hero-section:first-of-type:not(.services-hero-section) {
    padding-top: clamp(2rem, 4.25vw, 3rem);
}

body > .min-h-screen > section.about-top-banner:first-of-type {
    padding-top: 0.5rem;
}

@media (max-width: 768px) {
    body > .min-h-screen > section.hero-section.services-hero-section:first-of-type {
        padding-top: clamp(1.5rem, 3.25vw, 2rem);
    }

    body > .min-h-screen > section.hero-section:first-of-type:not(.services-hero-section) {
        padding-top: clamp(1.5rem, 3.75vw, 2.15rem);
    }
}

.services-hero-section .hero-container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.25rem;
    padding: 2.5rem 2rem 2.25rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .services-hero-section .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1rem 1.75rem;
    }

    .services-hero-title {
        font-size: clamp(1.45rem, 4.5vw, 2rem);
        max-width: 100%;
    }

    .services-hero-desc {
        max-width: 100%;
    }

    .services-hero-form-card {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .services-hero-buttons {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .services-hero-section .hero-container {
        padding: 1.25rem 0.85rem 1.5rem;
    }

    .services-hero-form input,
    .services-hero-form textarea {
        font-size: 16px;
    }

    .services-hero-buttons .btn {
        flex: 1 1 auto;
        min-width: 0;
    }
}

.services-hero-badge {
    margin-bottom: 1.25rem;
}

.services-hero-title {
    font-size: clamp(1.6rem, 3.1vw, 2.55rem);
    margin-bottom: 1.25rem;
}

.services-hero-desc {
    max-width: 95%;
    margin-bottom: 1.75rem;
}

.services-hero-brands {
    margin-top: 2.25rem;
    opacity: 1;
    filter: none;
    filter: grayscale(0%);
}

.services-hero-form-card {
    background: white;
    border-radius: 8px;
    padding: 1.25rem 1.25rem 1.5rem;
    box-shadow: var(--shadow-sm);
    color: var(--primary);
    width: 100%;
}

.services-hero-form-title {
    font-weight: 900;
    text-align: center;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.services-hero-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.services-hero-form label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 0.25rem;
}

.services-hero-form input,
.services-hero-form textarea {
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 0.65rem 0.75rem;
    font-family: inherit;
    font-size: 0.85rem;
    background: white;
    outline: none;
}

.services-hero-form textarea {
    min-height: 110px;
    resize: none;
}

.services-hero-form input:focus,
.services-hero-form textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(252, 167, 36, 0.15);
}

.services-hero-form-submit {
    margin-top: 0.25rem;
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 6px;
    background: var(--primary);
    color: white;
    font-weight: 900;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.services-hero-form-submit:hover {
    background: var(--primary-alt);
}

/* Shared hero contact form (includes/layout/form.php) */
.services-hero-form-card--pro {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 0 1.35rem 1.4rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(200, 169, 106, 0.25);
}

.services-hero-form-accent {
    height: 4px;
    margin: 0 -1.35rem 1rem;
    background: linear-gradient(90deg, var(--secondary) 0%, #e8c991 50%, var(--secondary) 100%);
}

.services-hero-form-header {
    text-align: center;
    margin-bottom: 1.1rem;
}

.services-hero-form-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(200, 169, 106, 0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.65rem;
}

.services-hero-form-card--pro .services-hero-form-title {
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    color: var(--primary);
}

.services-hero-form-subtitle {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
    font-weight: 500;
}

.services-hero-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.services-hero-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

@media (max-width: 520px) {
    .services-hero-form-row {
        grid-template-columns: 1fr;
    }
}

.services-hero-form-card--pro .services-hero-form input,
.services-hero-form-card--pro .services-hero-form textarea {
    border-radius: 8px;
    border-color: #e2e8f0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.services-hero-form-card--pro .services-hero-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 46px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a5c 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-hero-form-card--pro .services-hero-form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(21, 38, 77, 0.35);
    background: linear-gradient(135deg, #1a3a5c 0%, var(--primary) 100%);
}

.services-hero-form-trust {
    margin: 0.5rem 0 0;
    text-align: center;
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 600;
}

/* ============================================
   ABOUT PAGE TOP BANNER
   (attached to navbar bottom, full width)
   ============================================ */
.about-top-banner {
    width: 100%;
    background: linear-gradient(135deg, #1D4855 0%, #0B2D38 100%);
    color: white;
    height: 261px;
    padding: 0 1rem;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-margin-top: var(--header-stack-height);
}

.about-top-title {
    width: 100%;
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.1;
}

/* ============================================
   LEGAL PAGES (Privacy Policy — reference layout)
   ============================================ */
.legal-page-banner {
    position: relative;
    width: 100%;
    min-height: clamp(260px, 38vw, 340px);
    margin: 0;
    padding: clamp(3.5rem, 6vw, 5rem) 1rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    scroll-margin-top: var(--header-stack-height);
}

body > .min-h-screen > section.legal-page-banner:first-of-type {
    margin-top: calc(-1 * var(--header-stack-height) - var(--hero-extra-pull, 0px) + var(--hero-main-offset)) !important;
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

body > .min-h-screen > section.legal-page-terms:first-of-type {
    margin-top: calc(-1 * var(--header-stack-height) - var(--hero-extra-pull, 0px) + var(--hero-main-offset) + 28px) !important;
    padding-top: clamp(3.25rem, 6.5vw, 5rem);
    padding-bottom: clamp(3.25rem, 5vw, 4.75rem);
}

.legal-banner-bg {
    position: absolute;
    inset: -12px;
    background:
        url('./Book Publishing servicessss/The Publishers House10.jpg') center center / cover no-repeat;
    filter: blur(7px);
    transform: scale(1.06);
    z-index: 0;
}

.legal-page-terms .legal-banner-bg {
    background-image: url('./Book Publishing servicessss/The Publishers House6.jpg');
    background-position: center 35%;
}

.legal-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(55, 35, 18, 0.72) 0%,
        rgba(75, 48, 26, 0.78) 50%,
        rgba(45, 28, 14, 0.82) 100%
    );
    z-index: 1;
}

.legal-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.legal-page-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: clamp(2.35rem, 6vw, 3.75rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 1.75rem;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.legal-banner-actions {
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.btn-legal-start {
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-legal-start:hover {
    background: #000000;
    transform: translateY(-1px);
}

.btn-legal-chat {
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-legal-chat:hover {
    background: #000000;
    transform: translateY(-1px);
}

.legal-page-content {
    background: #ffffff;
    padding: clamp(2.75rem, 4.5vw, 4.5rem) 1.5rem;
    box-sizing: border-box;
}

.legal-page-content > .container {
    max-width: 920px;
}

.legal-prose {
    max-width: 100%;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.0625rem;
    color: #1a1a1a;
    text-align: left;
}

.priv_data.legal-prose > p,
.terms_conditions.legal-prose > p {
    margin: 0 0 1.15rem;
    line-height: 1.8;
    color: #1a1a1a;
    font-size: inherit;
}

.priv_data.legal-prose > b,
.terms_conditions.legal-prose > b {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 2.25rem 0 0.85rem;
    padding: 0;
    border: none;
}

.priv_data.legal-prose > b:first-of-type,
.terms_conditions.legal-prose > b:first-of-type {
    margin-top: 0;
}

.priv_data.legal-prose > p + b,
.priv_data.legal-prose > ul + b,
.terms_conditions.legal-prose > p + b,
.terms_conditions.legal-prose > ul + b {
    margin-top: 2rem;
}

.priv_data.legal-prose ul,
.terms_conditions.legal-prose ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0.5rem 0 1.35rem;
}

.priv_data.legal-prose ul li,
.terms_conditions.legal-prose ul li {
    line-height: 1.8;
    margin-bottom: 0.65rem;
    color: #1a1a1a;
    font-size: inherit;
}

.priv_data.legal-prose ul li b,
.terms_conditions.legal-prose ul li b {
    display: inline;
    margin: 0;
    color: #1a1a1a;
    font-weight: 700;
    font-family: inherit;
}

.priv_data.legal-prose a,
.terms_conditions.legal-prose a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}

.priv_data.legal-prose a:hover,
.terms_conditions.legal-prose a:hover {
    color: #1d4ed8;
}

.priv_data.legal-prose br,
.terms_conditions.legal-prose br {
    display: none;
}

@media (max-width: 768px) {
    body > .min-h-screen > section.legal-page-banner:first-of-type {
        min-height: 240px;
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }

    body > .min-h-screen > section.legal-page-terms:first-of-type {
        padding-top: clamp(2.75rem, 6vw, 3.5rem);
        margin-top: calc(-1 * var(--header-stack-height) - var(--hero-extra-pull, 0px) + var(--hero-main-offset) + 18px) !important;
    }

    .legal-page-title {
        letter-spacing: 0.08em;
        margin-bottom: 1.35rem;
    }

    .legal-banner-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .btn-legal-start,
    .btn-legal-chat {
        width: 100%;
    }

    .legal-page-content {
        padding: 2rem 1rem 3rem;
    }

    .legal-prose {
        font-size: 1rem;
    }
}

/* ============================================
   ABOUT STORY SECTION (from g.png)
   ============================================ */
.about-story-section {
    width: 100%;
    background: white;
    /* override global `section { padding: ... }` */
    padding: 3.25rem 1rem;
    box-sizing: border-box;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 3.25rem;
    row-gap: 2.75rem;
    align-items: start;
}

.about-story-top-left {
    grid-column: 1;
    grid-row: 1;
    max-width: 560px;
}

.about-story-illustration {
    grid-column: 2;
    grid-row: 1;
    /* Crop to only the right illustration area */
    width: 520px;
    height: 420px;
    position: relative;
    overflow: hidden;
    margin-top: 0.25rem;
}

.about-story-illustration-img {
    position: absolute;
    top: -30px;
    left: -760px;
    width: 1440px;
    height: auto;
    user-select: none;
    pointer-events: none;
}

.about-story-bottom-left {
    grid-column: 1;
    grid-row: 2;
    max-width: 560px;
}

.about-story-bottom-right {
    grid-column: 2;
    grid-row: 2;
    max-width: 520px;
}

.about-story-item {
    margin-bottom: 2.25rem;
}

.about-story-title {
    color: var(--primary);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.85rem;
}

.about-story-heading {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.85rem;
}

.about-story-paragraph {
    color: #5b7280;
    font-size: 0.78rem;
    line-height: 1.85;
}

/* ============================================
   RECENT COLLECTIONS SECTION (from p.png)
   ============================================ */
.recent-collections-section {
    width: 100%;
    background: #0b1727;
    padding: 3.75rem 1rem 3.25rem;
    color: white;
    box-sizing: border-box;
}

.recent-collections-container {
    max-width: 1280px;
}

.recent-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.recent-subtitle {
    text-align: center;
    color: rgba(255,255,255,0.82);
    font-size: 0.75rem;
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto;
    margin-bottom: 2.5rem;
}

.recent-cards {
    display: flex;
    gap: 2.1rem;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: nowrap;
}

.recent-card {
    width: 185px;
    height: 255px;
    border-radius: 2px;
    box-shadow: 0 18px 38px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    background: rgba(255,255,255,0.03);
}

.recent-card-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 50% 50%;
}

@media (max-width: 1100px) {
    .recent-cards {
        flex-wrap: wrap;
        gap: 1.25rem;
    }
}

@media (max-width: 900px) {
    .about-story-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        row-gap: 2.25rem;
    }

    .about-story-illustration {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        height: 380px;
        margin-top: 0;
    }

    .about-story-illustration-img {
        left: -610px;
        top: -25px;
        transform: scale(0.95);
        transform-origin: top left;
    }

    .about-story-top-left,
    .about-story-bottom-left,
    .about-story-bottom-right {
        max-width: 100%;
    }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 2.75rem;
    padding: 3rem 2rem;
}

@media (max-width: 768px) {
    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.75rem 1rem 2rem;
        align-items: stretch;
    }

    /* Home hero: heading first, then image */
    .hero-section:not(.hero-split-section) .hero-content {
        order: 1;
        width: 100%;
    }

    .hero-section:not(.hero-split-section) .hero-image {
        order: 2;
        width: 100%;
    }

    .hero-section:not(.hero-split-section) .hero-img {
        max-width: 100%;
        width: 100%;
        max-height: min(300px, 58vw);
        object-fit: cover;
        border-radius: 10px;
    }
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 88%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
    border-radius: 12px;
    transform: scale(1);
}

/* Image + text split hero (service pages section 2 + home publishing block) */
.hero-split-section .hero-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 2.75rem;
    padding: clamp(2.25rem, 4vw, 3rem) 2rem;
}

.hero-split-section .hero-image {
    flex: 0 1 44%;
    max-width: 46%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-height: 0;
}

.hero-split-section .hero-content {
    flex: 1 1 54%;
    min-width: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-split-section .hero-img {
    width: 100%;
    max-width: min(100%, 400px);
    max-height: min(420px, 48vh);
    height: auto;
    object-fit: contain;
    object-position: center center;
    margin: 0 auto;
    display: block;
    position: relative;
    top: clamp(-2.25rem, -5vh, -0.85rem);
}

@media (max-width: 768px) {
    .hero-split-section .hero-container {
        flex-direction: column;
        align-items: stretch;
        padding: 2rem 1rem;
    }

    .hero-split-section .hero-image {
        flex: none;
        max-width: 100%;
        width: 100%;
        order: -1;
    }

    .hero-split-section .hero-img {
        max-width: 100%;
        max-height: min(300px, 62vw);
        top: 0;
    }

    .hero-img {
        transform: none;
    }

    .hero-section--video .hero-img {
        max-width: 85%;
        transform: none !important;
    }

    .hero-buttons {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero-description {
        max-width: 100%;
    }
}
.hero-content {
    z-index: 10;
}

.hero-badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    display: inline-block;
}

.hero-title {
    font-size: clamp(1.5rem, 2.8vw, 2.45rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    max-width: 24ch;
}

.hero-description {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.6rem;
    max-width: 72ch;
}

/* Global `p` uses --text-secondary (#666); keep hero copy readable on navy */
.hero-section .hero-content p {
    color: rgba(255, 255, 255, 0.92);
}

.hero-section .hero-content > p:not(.hero-description):not(.services-hero-desc) {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    max-width: 72ch;
}

.hero-section .hero-content h3,
.hero-section .hero-content h4,
.hero-section .hero-content h5 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-brands {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-weight: 900;
    font-size: 0.875rem;
    opacity: 0.6;
    transition: all 0.2s ease;
    filter: grayscale(100%);
}

.hero-brands:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ============================================
   SECTION ALTERNATIVE (MUTED BACKGROUND)
   ============================================ */

.section-alt {
    background: #f9f9f9;
}

.section-alt .section-title {
    font-size: 2rem;
    color: var(--primary);
}

.section-alt .section-description {
    color: #666;
}

/* ============================================
   VIDEO/PLACEHOLDER STYLING
   ============================================ */

.video-placeholder {
    position: relative;
    aspect-ratio: 16/9;
    background: #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-md);
}

.section-media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
    transition: background 0.2s ease;
}

.video-placeholder:hover .video-overlay {
    background: rgba(0,0,0,0.2);
}

.play-icon {
    position: relative;
    z-index: 10;
    transition: transform 0.2s ease;
}

.video-placeholder:hover .play-icon {
    transform: scale(1.1);
}

.video-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.9);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.video-label span:last-child {
    font-size: 0.75rem;
    color: #999;
}

/* ============================================
   ROCKET CONTAINER
   ============================================ */

.rocket-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.rocket-shape {
    position: relative;
    width: 256px;
    height: 192px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rocket-shape span {
    font-size: 4rem;
}

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

.services-section {
    background: white;
}

/* Services section (cards layout) */
.services-section .container {
    padding-top: 1rem;
}

.services-header {
    margin-bottom: 2rem;
    text-align: left;
}

.services-heading {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #999;
}

.services-section .services-heading .highlight {
    color: var(--secondary);
}

.services-subtitle {
    color: #999;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    max-width: 55rem;
}

.services-section .services-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 1.25rem;
}

.btn-call-now {
    background: #1a1a1a;
    color: white;
    border: 2px solid var(--secondary);
    font-weight: 800;
}

/* Override global services-grid and card styling to match screenshot layout */
.services-section .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .services-section .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .services-section .services-grid {
        grid-template-columns: 1fr;
    }
}

.services-section .service-card {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    transition: none;
}

.services-section .service-card:hover {
    box-shadow: none;
    transform: none;
}

@keyframes service-icon-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes service-icon-turn {
    from {
        transform: rotate(0deg) scale(1);
    }
    to {
        transform: rotate(360deg) scale(1.06);
    }
}

/* Icon wrapper — no 3D flip (flat images stay visible) */
.services-section .service-icon-3d {
    display: inline-block;
    margin-bottom: 0.75rem;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    line-height: 0;
}

.services-section .service-icon-3d .service-icon,
.services-section .service-icon-3d .service-icon-img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
    object-position: center center;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
    transform-origin: center center;
    animation: service-icon-float 3.4s ease-in-out infinite;
}

.services-section .service-icon.icon-self {
    color: #f59e0b;
}

.services-section .service-icon.icon-proof {
    color: #22c55e;
}

.services-section .service-icon.icon-copy {
    color: #3b82f6;
}

.services-section .service-icon.icon-cover {
    color: #ec4899;
}

.services-section .service-icon.icon-illustration {
    color: #8b5cf6;
}

.services-section .service-card:hover .service-icon-3d .service-icon,
.services-section .service-card:hover .service-icon-3d .service-icon-img {
    animation: service-icon-turn 0.7s ease-in-out 1 forwards;
    filter: drop-shadow(0 8px 14px rgba(200, 169, 106, 0.28));
}

.services-section .service-card:nth-child(2) .service-icon {
    animation-delay: 0s;
}

.services-section .service-card:nth-child(3) .service-icon {
    animation-delay: 0.4s;
}

.services-section .service-card:nth-child(4) .service-icon {
    animation-delay: 0.8s;
}

.services-section .service-card:nth-child(5) .service-icon {
    animation-delay: 1.2s;
}

.services-section .service-card:nth-child(6) .service-icon {
    animation-delay: 1.6s;
}

@media (prefers-reduced-motion: reduce) {
    .services-section .service-icon-3d .service-icon,
    .services-section .service-icon-3d .service-icon-img {
        animation: none;
    }

    .services-section .service-card:hover .service-icon-3d .service-icon,
    .services-section .service-card:hover .service-icon-3d .service-icon-img {
        animation: none;
        transform: scale(1.06);
        filter: none;
    }
}

.services-section .service-title {
    color: #444;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.services-section .service-text {
    color: #999;
    font-size: 0.75rem;
    line-height: 1.65;
}

.services-section .service-card.featured {
    border: 2px solid var(--secondary);
    padding: 1.25rem 1.25rem 1.5rem;
    border-radius: 6px;
    background: white;
    box-shadow: none;
    transform: none;
    border-top: none;
}

.service-card-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 280px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    border: none;
    box-shadow: none;
}

.service-card-image-crop {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 290px;
    min-height: 220px;
    object-fit: contain;
    object-position: center bottom;
    border-radius: 0;
    background: transparent;
    mix-blend-mode: multiply;
    filter: none;
    transform: translateY(4px);
    transition: transform 0.35s ease;
}

.services-section .service-card-image:hover .service-card-image-crop {
    transform: translateY(0) scale(1.02);
}

@media (max-width: 640px) {
    .service-card-image {
        min-height: 240px;
    }

    .service-card-image-crop {
        max-height: 250px;
        min-height: 200px;
    }
}

/* (kept global services-buttons for other pages; header-specific one is scoped above) */
.services-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
}

.service-card.featured {
    border: 2px solid var(--secondary);
}

.service-icon {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 0.75rem;
}

.service-text {
    font-size: 0.875rem;
    color: #999;
    line-height: 1.6;
}

/* ============================================
   PREMIUM SECTION
   ============================================ */

.premium-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-alt) 100%);
    color: white;
    position: relative;
}

.premium-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,5 61,39 98,39 68,57 79,91 50,72 21,91 32,57 2,39 39,39"/></svg>') repeat;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.premium-section .container {
    position: relative;
    z-index: 1;
}

.premium-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.premium-subtitle {
    color: #ccc;
    margin-bottom: 3rem;
    font-size: 0.95rem;
}

/* ============================================
   TABS
   ============================================ */

.tabs {
    width: 100%;
}

.tabs-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-btn {
    background: transparent;
    border: none;
    color: #999;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 1rem 2rem 1rem 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: white;
}

.tab-btn.active {
    background: var(--secondary);
    color: var(--primary);
    border-radius: 4px;
    border-bottom: none;
}

.tab-content,
.tab-content-why {
    display: none;
    animation: fadeIn 0.35s ease;
    will-change: opacity, transform;
}

.tab-content.active,
.tab-content-why.active {
    display: block;
}

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

.tab-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 768px) {
    .tab-inner {
        flex-direction: column;
        gap: 2rem;
    }
}

.circle-image {
    width: 256px;
    height: 256px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 4px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.circle-image:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.tab-section-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tab-illustration {
    width: 86%;
    height: 86%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.6rem;
    color: #0B1F3A;
    text-align: center;
    padding: 1rem;
}

.tab-illustration span {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1A1A1A;
}

.tab-illustration-writing {
    background: radial-gradient(circle at 30% 20%, #fff6e2 0%, #f7dfad 95%);
}

.tab-illustration-editing {
    background: radial-gradient(circle at 30% 20%, #eef6ff 0%, #d7eaff 95%);
}

.tab-illustration-marketing {
    background: radial-gradient(circle at 30% 20%, #eafdf3 0%, #c9f2dc 95%);
}

.tab-illustration-publishing {
    background: radial-gradient(circle at 30% 20%, #f3eeff 0%, #ddd1ff 95%);
}

.tab-text {
    color: #ccc;
    line-height: 1.8;
    font-size: 0.875rem;
}

.tab-text p {
    margin-bottom: 2rem;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-section {
    background: #f9f9f9;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-top: 4px solid var(--secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.pricing-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-header h3 {
    color: #999;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.pricing-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #333;
}

.pricing-price span {
    color: var(--secondary);
    font-size: 1.5rem;
}

.pricing-list {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #666;
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
}

.pricing-list li::before {
    content: '•';
    color: #333;
    font-weight: bold;
    width: 1.5rem;
    flex-shrink: 0;
}

.pricing-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   WHY US SECTION
   ============================================ */

.why-us-section {
    background: white;
    border-top: 1px solid #f0f0f0;
    margin-top: -0.75rem;
    padding-top: clamp(2.35rem, 4vw, 3.15rem);
    padding-bottom: clamp(3.5rem, 5vw, 4.5rem);
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (max-width: 768px) {
    .why-us-section {
        margin-top: -0.5rem;
        padding-top: 2rem;
        padding-bottom: 2.75rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 640px) {
    .why-us-section {
        margin-top: 0;
        padding-top: 1.75rem;
        padding-bottom: 2.25rem;
    }
}

.why-us-content {
    flex: 1;
    align-self: start;
    margin-top: 1.85rem;
    padding-top: 0.5rem;
}

@media (max-width: 768px) {
    .why-us-content {
        margin-top: 1.35rem;
        padding-top: 0.4rem;
    }
}

@media (max-width: 640px) {
    .why-us-content {
        margin-top: 1rem;
        padding-top: 0.25rem;
    }
}

.why-us-section .why-us-content .section-title {
    margin-top: 0;
    margin-bottom: 0.9rem;
    line-height: 1.2;
}

.why-us-section .why-us-content .tabs-header {
    justify-content: flex-start;
    margin-bottom: 1.15rem;
    gap: 0.65rem;
}

.why-us-section .why-us-content .tab-btn {
    padding: 0.7rem 1.25rem;
}

.why-us-image {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: clamp(240px, 36vw, 330px);
    margin-left: 0;
    margin-right: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.why-us-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Uses flex layout — left copy sits higher; video/image column stays visually balanced */
.why-us-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.why-us-section .why-us-image {
    align-self: center;
    justify-self: start;
    transform: translateX(-0.75rem);
}

@media (max-width: 768px) {
    .why-us-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: start;
    }

    .why-us-image {
        max-width: 100%;
        height: clamp(200px, 52vw, 260px);
        margin-left: 0;
        transform: none;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    background: #f9f9f9;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 2rem;
}

.testimonials-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #333;
}

.trustpilot-badge {
    text-align: right;
}

.badge-title {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.badge-stars {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.badge-info {
    font-size: 0.75rem;
    color: #999;
}

.carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.carousel-track::-webkit-scrollbar {
    height: 6px;
}

.carousel-track::-webkit-scrollbar-track {
    background: #e5e5e5;
    border-radius: 10px;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: var(--accent-teal);
    border-radius: 10px;
}

.carousel-item {
    scroll-snap-align: start;
    min-width: calc(33.333% - 1rem);
    flex: 0 0 calc(33.333% - 1rem);
}

@media (max-width: 768px) {
    .carousel-item {
        min-width: calc(50% - 0.75rem);
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 640px) {
    .carousel-item {
        min-width: 100%;
        flex: 0 0 100%;
    }
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card p {
    font-style: italic;
    color: #999;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-card h4 {
    color: var(--accent-teal);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-card span {
    font-size: 0.75rem;
    color: #999;
    font-weight: 700;
    text-transform: uppercase;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dot.active {
    background: var(--accent-teal);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    background: white;
}

.faq-section .container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .faq-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.faq-left {
    display: flex;
    justify-content: center;
}

.faq-icon {
    width: 256px;
    height: 256px;
    background: linear-gradient(135deg, #d7bb82, var(--secondary));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 900;
    color: #8a6f3d;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transform: rotate(3deg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s ease;
}

.faq-icon:hover {
    transform: rotate(0deg);
}

.faq-title,
.faq-subtitle {
    font-size: 1.875rem;
    font-weight: 700;
}

.faq-title {
    color: #333;
}

.faq-subtitle {
    color: var(--accent-teal);
    margin-bottom: 1rem;
}

.faq-description {
    color: #999;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   ACCORDION
   ============================================ */

.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion-item {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.accordion-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.accordion-btn:hover {
    color: var(--accent-teal);
    background: #f5f5f5;
}

.accordion-btn::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.accordion-item.active .accordion-btn::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
    background: white;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 1rem;
    font-size: 0.875rem;
    color: #999;
    line-height: 1.6;
}

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

.contact-section {
    background: #f9f9f9;
}

.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .contact-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    font-size: 0.875rem;
}

.contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

.contact-form .form-row > div {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-form input,
.contact-form textarea {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.75rem 0;
    background: transparent;
    font-family: inherit;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

.form-disclaimer {
    font-size: 0.7rem;
    color: #999;
    font-style: italic;
    margin-top: 0.5rem;
}

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

.footer {
    background: #0b1727;
    color: white;
    padding: 4rem 2rem 1rem;
}

.footer .container {
    display: grid;
    grid-template-columns: 1fr;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, 3.2fr);
    gap: 2.5rem 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    align-items: start;
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-logo {
    display: block;
    margin-bottom: 1rem;
    line-height: 0;
    text-decoration: none;
}

.footer-logo-img {
    display: block;
    height: clamp(48px, 5vw, 60px);
    width: auto;
    max-width: min(280px, 100%);
    object-fit: contain;
    object-position: left top;
}

.footer-tagline {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.footer-tagline span {
    font-weight: 700;
    font-style: normal;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #ccc;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem 1.75rem;
}

.footer-links-col {
    min-width: 0;
}

.footer-links h4 {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(200, 169, 106, 0.35);
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-links a {
    display: inline-block;
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(3px);
}

@media (max-width: 1200px) {
    .footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #999;
}

.footer-bottom-left > div {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.footer-bottom-left a {
    color: #999;
    transition: color 0.2s ease;
}

.footer-bottom-left a:hover {
    color: white;
}

.footer-bottom-right {
    display: flex;
    gap: 1rem;
}

.social-icon-footer {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.social-icon-footer:hover {
    background: white;
    color: #0b1727;
    border-color: white;
}

/* ============================================
   LIVE CHAT WIDGET
   ============================================ */

.live-chat-widget {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 40;
    background: var(--secondary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.live-chat-widget:hover {
    background: #b69558;
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE UTILITIES (site-wide mobile)
   ============================================ */

img,
video,
svg {
    max-width: 100%;
    height: auto;
}

.hero-img,
.section-media-img,
.tab-section-img,
.why-us-photo,
.service-card-image-crop {
    max-width: 100%;
}

/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .premium-title {
        font-size: 1.65rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .tabs-header {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        gap: 0.5rem;
        padding-bottom: 0.5rem;
        scrollbar-width: thin;
    }

    .tab-btn {
        flex: 0 0 auto;
        padding: 0.75rem 1rem;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .why-us-section .why-us-content .tabs-header {
        flex-wrap: wrap;
        overflow-x: visible;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .grid-2 {
        gap: 1.5rem;
    }

    .grid-2 > * {
        min-width: 0;
    }

    .video-placeholder {
        width: 100%;
        max-width: 100%;
    }

    .section-alt .section-title,
    .contact-title,
    .faq-title,
    .faq-subtitle {
        font-size: 1.5rem;
    }

    .hero-title {
        max-width: none;
        font-size: clamp(1.45rem, 5vw, 2rem);
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }

    body > .min-h-screen > section.hero-section:first-of-type:not(.services-hero-section) {
        padding-left: 0;
        padding-right: 0;
    }

    body > .min-h-screen > section.hero-section:first-of-type:not(.services-hero-section) .hero-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-description,
    .hero-section .hero-content p {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

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

    .services-heading {
        font-size: clamp(1.35rem, 5vw, 1.65rem);
        line-height: 1.25;
    }

    .services-subtitle {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .services-section .services-buttons {
        flex-direction: column;
        width: 100%;
    }

    .services-section .services-buttons .btn {
        width: 100%;
    }

    .premium-subtitle {
        margin-bottom: 2rem;
        font-size: 0.875rem;
    }

    .circle-image {
        width: min(220px, 72vw);
        height: min(220px, 72vw);
    }

    .tab-text {
        text-align: left;
    }

    .pricing-grid {
        margin: 2rem 0;
        gap: 1.25rem;
    }

    .pricing-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .pricing-buttons .btn {
        width: 100%;
    }

    .faq-icon {
        width: min(200px, 60vw);
        height: min(200px, 60vw);
        font-size: 2.5rem;
    }

    .about-top-banner {
        height: auto;
        min-height: 180px;
        padding: 2.5rem 1rem;
    }

    .about-top-title {
        font-size: clamp(1.75rem, 7vw, 2.35rem);
    }

    .about-story-illustration {
        height: clamp(220px, 55vw, 320px);
    }

    .about-story-illustration-img {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(1);
        transform-origin: center center;
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: relative;
    }

    .recent-title {
        font-size: 1.65rem;
    }

    .recent-subtitle {
        font-size: 0.8rem;
        padding: 0 0.5rem;
    }

    .video-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .modal-content {
        width: min(94vw, 520px);
        max-height: 92vh;
        overflow-y: auto;
        padding: 1.25rem 1rem 1.5rem;
    }

    .modal-title {
        font-size: 1.35rem;
    }

    .modal-subtitle,
    .modal-form {
        margin-left: 0;
        padding-left: 0;
    }

    .btn-submit {
        height: 52px;
        font-size: 1rem;
    }

    .contact-title {
        margin-bottom: 1.5rem;
    }

    .contact-item {
        font-size: 0.8rem;
        word-break: break-word;
    }

    .footer-contact p {
        word-break: break-word;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

    .footer-bottom-left > div {
        flex-wrap: wrap;
        justify-content: center;
    }

    .live-chat-widget {
        right: 0.75rem;
        bottom: 0.75rem;
        max-width: calc(100vw - 1.5rem);
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    section {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 1.45rem;
        line-height: 1.25;
    }

    .section-description {
        font-size: 0.875rem;
    }

    .hero-title {
        font-size: clamp(1.35rem, 6vw, 1.85rem);
    }

    .btn {
        white-space: normal;
        text-align: center;
    }

    .site-header .navbar .btn-start-project {
        width: auto;
        white-space: nowrap;
    }

    .hero-buttons .btn,
    .button-group .btn,
    .services-section .services-buttons .btn {
        width: 100%;
    }

    .testimonials-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonials-header h2 {
        font-size: 1.45rem;
    }

    .trustpilot-badge {
        text-align: left;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .contact-form-wrapper {
        padding: 1.25rem;
    }

    .contact-form input,
    .contact-form textarea,
    .form-input,
    .form-textarea,
    .services-hero-form input,
    .services-hero-form textarea {
        font-size: 16px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .service-card-image {
        min-height: 200px;
    }

    .grid-2 .button-group {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-split-section .hero-container {
        padding: 1.75rem 0.85rem;
    }

    .services-hero-buttons {
        flex-direction: column;
    }

    .services-hero-buttons .btn {
        width: 100%;
    }

    .tab-btn {
        padding: 0.65rem 0.85rem;
        letter-spacing: 0.08em;
    }

    .accordion-btn {
        font-size: 0.85rem;
        padding: 0.85rem 0.75rem;
        text-align: left;
    }

    .social-icon-footer {
        width: 36px;
        height: 36px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
