/* ═══════════════════════════════════════
   Cinnaboner for Manufacturers
   Inherits design system from parent site
   ═══════════════════════════════════════ */

:root {
    --bg-color: #FFFAF6;
    --text-primary: #1A0D03;
    --text-secondary: #1A0D03;
    --text-muted: #555555;
    --accent-orange: #FF945D;
    --accent-text: #F09768;
    --grid-color: #EAE0D5;

    --font-sans: 'Albert Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'PT Serif', "Times New Roman", Times, serif;
    --font-mono: 'JetBrains Mono', monospace;
    --tag-color: #887C76;
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Grid Background */
.grid-background {
    position: fixed;
    top: -50vh;
    left: -50vw;
    width: 200vw;
    height: 200vh;
    z-index: -1;
    pointer-events: none;
    background-image: url('../pattern.svg');
    background-size: 406px 613px;
    background-position: left top;
    background-repeat: repeat;
    opacity: 0.8;
    will-change: transform;
}

/* Layout */
.page-container {
    max-width: 1312px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Video Section ── */
.mfr-video-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 80px;
    padding: 0 16px;
    display: flex;
    justify-content: center;
}

.mfr-video-player {
    position: relative;
    width: 83.33%;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.mfr-video-iframe-wrap {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
}

.mfr-video-iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.mfr-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.0);
    z-index: 1;
    transition: opacity 0.1s ease;
}

.mfr-video-player.playing .mfr-video-overlay {
    opacity: 0;
    pointer-events: none;
}

.mfr-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FF945D;
    border: none;
    border-radius: 76px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 22px 28px 22px 22px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 2;
}

.mfr-video-play:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.mfr-video-play .ri-play-circle-fill {
    font-size: 24px;
    color: #FFFFFF;
    line-height: 1;
}

.mfr-video-play-label {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #FFFFFF;
    white-space: nowrap;
    line-height: 22px;
}

.mfr-video-player.playing .mfr-video-play {
    opacity: 0;
    pointer-events: none;
}

/* ── Navbar ── */
.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 24px 0;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-self: start;
}

.navbar .logo img {
    width: 186px;
    height: 36px;
}

.mobile-nav-header .logo img {
    width: 186px;
    height: 36px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.nav-cta {
    justify-self: end;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-orange);
}

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

/* ── Mobile Nav Overlay (Global System) ── */
.mobile-nav-overlay {
    display: none;
    /* JS controlled */
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--bg-color);
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.open {
    display: flex;
    transform: translateX(0);
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 16px;
    width: 100%;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 20px;
}

.mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1A0D03 !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer;
    color: #fff !important;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.mobile-nav-close svg {
    width: 20px;
    height: 20px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 48px;
    overflow-y: auto;
}

.mobile-nav-link {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-link i {
    display: none;
}

.mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 0 40px;
}

.mobile-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.mobile-nav-cta--primary {
    background: var(--accent-orange);
    border: 1.5px solid var(--accent-orange);
    color: white;
}

.mobile-nav-cta--outline {
    background: transparent;
    border: 1.5px solid rgba(26, 13, 3, 0.12);
    color: var(--text-primary);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    opacity: 0.8;
}

/* ── Hero ── */
.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 80px;
    padding-bottom: 60px;
    text-align: left;
    width: 100%;
}

.hero-content {
    max-width: 1024px;
    margin: 0 0 60px 0;
    z-index: 2;
    width: 100%;
}

.hero-badge {
    color: var(--accent-orange);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: 32px;
    white-space: nowrap;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 64px);
    line-height: 72px;
    font-weight: 500;
    letter-spacing: normal;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.accent-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    color: var(--accent-text);
    padding-right: 0;
}

.hero-subtext {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 36px;
    margin: 0 0 0 108px;
}

.hero-subtext strong {
    font-weight: 700;
}

/* Hero centered variant */
.hero--centered {
    align-items: center;
    text-align: center;
}

.hero-content--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-subtext--centered {
    margin: 0;
}

/* Hero CTA Mobile */
.hero-cta-mobile {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    width: 100%;
}

.hero-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 24px;
    border-radius: 16px;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.hero-cta-btn--secondary {
    background: transparent;
    border: 1.5px solid rgba(26, 13, 3, 0.12);
    color: var(--text-primary);
}

.hero-cta-btn--secondary:hover {
    background: rgba(26, 13, 3, 0.03);
}

.hero-cta-btn--primary {
    background: var(--accent-orange);
    border: 1.5px solid var(--accent-orange);
    color: white;
}

.hero-cta-btn--primary:hover {
    opacity: 0.9;
}

/* Hero Tags */
.hero-carousel-tags {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100vw;
    margin: 30px auto 40px;
    margin-left: calc(-50vw + 50%);
    z-index: 2;
    flex-wrap: wrap;
}

.hero-tag {
    background-color: #FFFFFF;
    border: 1px solid #FDF1E7;
    border-radius: 2px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px 0 12px;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    font-size: 16px;
    color: #887C76;
    white-space: nowrap;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-dot--product-design {
    background: #FF945D;
}

.hero-dot--product-strategy {
    background: #baa89b;
}

.hero-dot--mobile-web {
    background: #7F578C;
}

.hero-dot--ai-mvp {
    background: #B95580;
}

.hero-dot--marketing {
    background: #007D46;
}

.hero-dot--seo-geo {
    background: #798A0A;
}

.hero-dot--branding {
    background: #ff8887;
}

.hero-dot--website-design {
    background: #df615d;
}

.hero-dot--ux-audit {
    background: #FFEACF;
}

/* ── Manufacturer Stats Strip ── */
.mfr-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 48px 24px;
    background: white;
    border-top: 1px solid rgba(234, 224, 213, 0.6);
    border-bottom: 1px solid rgba(234, 224, 213, 0.6);
    position: relative;
    z-index: 2;
}

.mfr-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mfr-stat-value {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    color: var(--text-primary);
}

.mfr-stat-label {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--tag-color);
    text-align: center;
}

.mfr-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(234, 224, 213, 0.8);
}

/* ── Who Is This For ── */
.mfr-who-section {
    padding: 80px 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
}

.mfr-who-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: var(--bg-color);
    z-index: -1;
}

.mfr-who-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 80px;
}

.mfr-who-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 52px;
    line-height: 1.15;
    color: var(--text-primary);
    margin: 0;
}

.mfr-who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1280px;
}

.mfr-who-card {
    background: white;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid rgba(234, 224, 213, 0.6);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.mfr-who-card:hover {
    box-shadow: 0 8px 32px rgba(26, 13, 3, 0.06);
    transform: translateY(-4px);
}

.mfr-who-card-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.mfr-who-card-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--tag-color);
}

/* ── Services (reused from main site) ── */
.services-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 16px;
    width: 100%;
}

.services-header {
    text-align: center;
    margin-bottom: 56px;
}

.services-badge {
    margin-bottom: 24px;
    color: var(--accent-text);
}

.services-title {
    font-weight: 500;
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.services-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-subtitle strong {
    font-weight: 700;
}

.services-tabs {
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 56px auto;
    background: #fdf1e6;
    padding: 4px;
    border-radius: 16px;
    gap: 4px;
    overflow-x: auto;
    position: relative;
    z-index: 1;
}

.services-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 15px;
    color: #6C7381; /* muted gray-blue */
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.services-tab:hover {
    color: #FF945D;
}

.services-tab.active {
    color: #FF945D;
}

.services-tab-highlight {
    position: absolute;
    top: 4px;
    left: 0;
    height: calc(100% - 8px);
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    pointer-events: none;
}

.services-tab i {
    font-size: 18px;
    line-height: 1;
    color: currentColor;
}

.services-tab.active i {
    color: currentColor;
}

.services-tab.active i {
    color: currentColor;
}

.services-cards-container {
    position: relative;
    min-height: 480px;
}

.services-panel {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    animation: fadeIn 0.4s ease;
}

.services-panel.active {
    display: grid;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

/* ── Service Card ── */
.svc-card {
    background: white;
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(234, 224, 213, 0.6);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-align: left;
}

.svc-card:hover {
    box-shadow: 0 8px 32px rgba(26, 13, 3, 0.06);
    transform: translateY(-4px);
}

.svc-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 22px;
}

.svc-card-icon i {
    font-size: 24px;
    line-height: 1;
}

.svc-card-icon--orange {
    background: #FFF0E2;
}

.svc-card-icon--orange i {
    color: var(--accent-orange);
}

.svc-card-icon--green {
    background: #E6F5ED;
}

.svc-card-icon--green i {
    color: #007D46;
}

.svc-card-icon--purple {
    background: #F0E8F5;
}

.svc-card-icon--purple i {
    color: #7F578C;
}

.svc-card-icon--blue {
    background: #E3F0FA;
}

.svc-card-icon--blue i {
    color: #4A90D9;
}

.svc-card-icon--red {
    background: #FDECEC;
}

.svc-card-icon--red i {
    color: #CC3340;
}

.svc-card-icon--teal {
    background: #E0F5F0;
}

.svc-card-icon--teal i {
    color: #2BA897;
}

.svc-card-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.svc-card-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--tag-color);
    margin-bottom: 28px;
}

.svc-card-visual {
    margin-top: auto;
    background: var(--bg-color);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(234, 224, 213, 0.5);
}

.svc-stat-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 6px;
}

.svc-stat-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--tag-color);
    letter-spacing: 0.5px;
}

.svc-stat-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-orange);
    text-decoration: none;
}

.svc-stat-value {
    font-weight: 700;
    font-size: 28px;
    color: var(--text-primary);
    line-height: 1.2;
}

.svc-stat-change {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    margin-left: 8px;
}

.svc-stat-change--up {
    color: #007D46;
}

.svc-mini-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.svc-mini-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.svc-mini-list-item span:first-child {
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--tag-color);
}

.svc-mini-list-item span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

/* ── CTA Section ── */
.cta-section {
    padding: 80px 16px 200px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.cta-content {
    text-align: center;
    max-width: 760px;
}

.cta-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 52px;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.cta-subtext {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    max-width: 640px;
    margin: 0 auto 56px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

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

.cta-btn--primary:hover {
    opacity: 0.85;
    box-shadow: 0 4px 16px rgba(255, 148, 93, 0.3);
}

.cta-btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(26, 13, 3, 0.15);
}

.cta-btn--outline:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.cta-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--tag-color);
}

.cta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #007D46;
    flex-shrink: 0;
}

.cta-section--compact {
    padding: 120px 16px 200px;
}

.cta-section--compact .cta-subtext {
    white-space: nowrap;
}

/* ── Process Timeline ── */
.mfr-process-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 16px;
    width: 100%;
}

.mfr-process-header {
    text-align: center;
    margin-bottom: 80px;
}

.mfr-process-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 52px;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.mfr-process-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    white-space: nowrap;
}

.mfr-process-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 760px;
    margin: 0 auto;
}

.mfr-process-step {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(26, 13, 3, 0.06);
    position: relative;
}

.mfr-process-step:first-child {
    border-top: 1px solid rgba(26, 13, 3, 0.06);
}

.mfr-step-number {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-orange);
    flex-shrink: 0;
    padding-top: 4px;
    letter-spacing: 1px;
}

.mfr-step-content {
    flex: 1;
}

.mfr-step-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.mfr-step-desc {
    font-size: 16px;
    line-height: 1.65;
    color: var(--tag-color);
    margin-bottom: 12px;
}

.mfr-step-meta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mfr-step-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-orange);
}

.mfr-step-duration i {
    font-size: 14px;
    line-height: 1;
}

/* ── Domains ── */
.domains-section {
    padding: 100px 16px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.domains-content {
    text-align: center;
    max-width: 860px;
}

.domains-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 48px;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.domains-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 auto 40px;
    line-height: 1.5;
}

.domains-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.domain-pill {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: white;
    border: 1px solid rgba(26, 13, 3, 0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.domain-pill:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 2px 12px rgba(255, 148, 93, 0.15);
}

/* ── Service Showcase (Bento Grid) ── */
.svc-showcase {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 16px 120px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.svc-showcase-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.svc-showcase-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 48px;
    line-height: 56px;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.svc-showcase-subtitle {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: var(--text-primary);
    margin: 0;
}

/* 4-column sub-grid: 416 | 92 | 308 | 416 (gap 16px)
   Top row:    info card spans 1-2 (524px) | square col 3 (308px) | tall col 4 (416px)
   Bottom row: img col 1 (416px) | img spans 2-3 (416px) | tall continues */
.svc-showcase-grid {
    display: grid;
    grid-template-columns: 416fr 92fr 308fr 416fr;
    grid-template-rows: 308px 308px;
    gap: 16px;
    width: 100%;
}

.svc-showcase-card--info {
    grid-column: 1 / 3;
    grid-row: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #050402;
}

.svc-showcase-card-bg {
    position: absolute;
    inset: 0;
}

.svc-showcase-card-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.svc-showcase-card-content {
    position: relative;
    z-index: 1;
    padding: 30px 30px 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.svc-showcase-card-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 48px;
    line-height: 1.15;
    color: white;
}

.svc-showcase-card-subtitle {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 1);
    margin-top: 8px;
}

.svc-showcase-card-list {
    list-style: disc;
    padding-left: 27px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.svc-showcase-card-list li {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    color: white;
}

.svc-showcase-img {
    border-radius: 20px;
    overflow: hidden;
}

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

.svc-showcase-img--square {
    grid-column: 3;
    grid-row: 1;
}

.svc-showcase-img--tall {
    grid-column: 4;
    grid-row: 1 / 3;
}

.svc-showcase-img--bottom-left {
    grid-column: 1;
    grid-row: 2;
}

.svc-showcase-img--bottom-center {
    grid-column: 2 / 4;
    grid-row: 2;
}

.svc-showcase-mobile {
    display: none;
}

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

/* ── Case Study ── */
.case-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 120px 0 80px;
    position: relative;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1280px;
    margin: 0 auto 48px;
    padding: 0 16px;
    gap: 40px;
}

.case-left {
    flex-shrink: 0;
}

.case-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 52px;
    line-height: 60px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.case-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 500px;
    margin-top: 16px;
}

.case-right {
    max-width: 627px;
    padding-top: 8px;
}

.case-badge {
    margin-bottom: 8px;
    color: var(--accent-orange);
}

.case-desc {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* Case Carousel */
.case-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: grab;
    user-select: none;
    padding: 0 20px;
    margin-top: 40px;
}

.case-carousel-wrapper:active {
    cursor: grabbing;
}

.case-carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

.case-slide {
    height: 360px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    pointer-events: none;
}

.case-slide img {
    height: 100%;
    width: auto;
    display: block;
}

/* ── Packages ── */
.mfr-packages-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 16px;
    width: 100%;
}

.mfr-packages-header {
    text-align: center;
    margin-bottom: 80px;
}

.mfr-packages-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 52px;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.mfr-packages-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.mfr-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mfr-package-card {
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(234, 224, 213, 0.6);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.mfr-package-card:hover {
    box-shadow: 0 8px 32px rgba(26, 13, 3, 0.06);
    transform: translateY(-4px);
}

.mfr-package-card--featured {
    border-color: var(--accent-orange);
    box-shadow: 0 4px 24px rgba(255, 148, 93, 0.12);
    position: relative;
}

.mfr-package-card--featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-orange);
    color: white;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.mfr-package-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--accent-orange);
    margin-bottom: 12px;
}

.mfr-package-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.mfr-package-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--tag-color);
    margin-bottom: 28px;
}

.mfr-package-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    flex: 1;
}

.mfr-package-list li {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-primary);
    padding-left: 24px;
    position: relative;
}

.mfr-package-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-orange);
    opacity: 0.6;
}

.mfr-package-cta {
    width: 100%;
    text-align: center;
}

/* ── FAQ ── */
.faq-section {
    padding: 120px 16px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.faq-content {
    max-width: 760px;
    width: 100%;
    text-align: center;
}

.faq-badge {
    margin-bottom: 24px;
}

.faq-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 52px;
    line-height: 1.125;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.faq-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 auto 56px;
    line-height: 1.6;
}

.faq-list {
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid rgba(26, 13, 3, 0.08);
}

.faq-item:first-child {
    border-top: 1px solid rgba(26, 13, 3, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.4;
    color: var(--text-primary);
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-orange);
}

.faq-icon {
    font-size: 22px;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
    color: var(--tag-color);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-orange);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.faq-answer > * {
    min-height: 0;
    overflow: hidden;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    padding: 0 0 24px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: #1a0d03;
    margin: 0 0 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ── Footer ── */
.social-row {
    margin: 120px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.clutch-row {
    width: 100%;
    text-align: center;
}

.clutch-row .clutch-widget {
    display: inline-block;
}

.clutch-row .clutch-widget iframe {
    width: 182px !important;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.footer-spacer {
    height: 120px;
    background-image: url('../pattern.svg');
    background-size: 406px 613px;
    background-position: left top;
    background-repeat: repeat;
    opacity: 0.8;
}

.site-footer {
    padding: 32px 40px 128px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-cookie-link {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--tag-color);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-cookie-link:hover {
    color: var(--accent-orange);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--tag-color);
}

/* ── Flexible Team Section ── */
/* ── Why Work With Us ── */
.mfr-why-section {
    padding: 120px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
}

.mfr-why-section::before {
    display: none;
}

.mfr-why-header {
    text-align: center;
    margin-bottom: 64px;
}

.mfr-why-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 52px;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 0;
}

.mfr-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1280px;
}

.mfr-why-card {
    background: white;
    border-radius: 16px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mfr-why-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--tag-color);
    margin-bottom: 24px;
}

.mfr-why-card-title {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.mfr-why-card-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--tag-color);
    margin-top: auto;
}

/* ── Testimonial Section ── */
.testimonial-section {
    padding: 0;
    margin: 0 0 80px 0;
}

.testimonial-section--jack {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 10;
    background-color: var(--bg-color);
}

.testimonial-card {
    background-color: #FFFFFF;
    max-width: 1280px;
    width: calc(100% - 48px);
    height: 560px;
    border-radius: 20px;
    display: flex;
    padding: 20px 50px 20px 20px;
    gap: 50px;
    margin: 0 auto;
}

.testimonial-card--right-img {
    padding: 20px 20px 20px 50px;
}

.testimonial-image {
    width: 396px;
    height: 520px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

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

.testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 30px;
    padding-bottom: 30px;
    max-width: 764px;
    width: 100%;
    position: relative;
}

.testimonial-quote-icon {
    margin-bottom: 20px;
}

.testimonial-quote {
    font-family: 'PT Serif', serif;
    font-style: italic;
    font-size: 24px;
    line-height: 36px;
    color: #1a0d03;
    margin: 0;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 24px;
    font-family: 'Albert Sans', sans-serif;
}

.author-name {
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: #1a0d03;
    display: block;
}

.author-title {
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    color: #1a0d03;
    display: block;
}

/* ── Custom Package Card ── */
.mfr-package-card--custom {
    border-style: dashed;
    border-color: rgba(234, 224, 213, 0.8);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.mfr-package-custom-spacer {
    flex: 1;
}

/* ── Carousel Section ── */
.carousel-section {
    padding: 100px 0 160px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

.carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: -1;
}

.carousel-bg-head {
    position: absolute;
    left: calc(50% + 250px);
    top: -200px;
    height: 521px;
    width: 647px;
    opacity: 0.15;
    mix-blend-mode: multiply;
    z-index: 0;
    pointer-events: none;
    transform: scaleX(-1);
    object-fit: contain;
}

.carousel-header {
    max-width: 1280px;
    margin: 0 auto 80px;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.carousel-badge {
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #F09768;
    position: relative;
    z-index: 2;
}

.carousel-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 52px;
    line-height: 60px;
    color: var(--text-primary);
    margin: 0;
    position: relative;
    z-index: 2;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: grab;
    user-select: none;
    padding: 0 16px;
    touch-action: pan-y;
}

.carousel-wrapper:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    will-change: transform;
    width: max-content;
}

.carousel-slide {
    flex-shrink: 0;
    height: 380px;
    margin-right: 10px;
    pointer-events: none;
}

.carousel-slide img {
    height: 100%;
    width: auto;
    display: block;
}

/* ══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════ */

/* ── Back to Top Button ── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 50px;
    height: 50px;
    background-color: #D1D1D1;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #BDBDBD;
    transform: translateY(-4px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        display: none !important;
    }

    .social-row {
        margin-top: 80px;
        padding: 0 16px;
    }

    .footer-spacer {
        height: 80px;
    }

    .site-footer {
        padding: 28px 24px 120px;
    }
}

@media (max-width: 1024px) {

    /* ── Header Collapse Stage 1: 1024px ── */
    .nav-links .nav-link:not(.calendly-trigger) {
        display: none;
    }

    .nav-links {
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
        flex: 1;
        gap: 30px;
        margin-right: 0px;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        gap: 30px;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #1A0D03 !important;
        border: none !important;
        border-radius: 50% !important;
        cursor: pointer;
        color: #fff !important;
        font-size: 20px;
        transition: transform 0.2s;
        flex-shrink: 0;
        appearance: none;
        -webkit-appearance: none;
    }

    .mobile-menu-btn:hover {
        transform: scale(1.05);
    }

    .svc-showcase-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 280px 280px 280px;
    }

    .svc-showcase-card--info {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .svc-showcase-img--square {
        grid-column: 1;
        grid-row: 2;
    }

    .svc-showcase-img--tall {
        grid-column: 2;
        grid-row: 2 / 4;
    }

    .svc-showcase-img--bottom-left {
        grid-column: 1;
        grid-row: 3;
    }

    .svc-showcase-img--bottom-center {
        display: none;
    }

    .svc-showcase-card-title {
        font-size: 30px;
        line-height: 1.3;
    }

    .case-header {
        flex-direction: column;
        gap: 24px;
    }

    .case-right {
        max-width: 100%;
    }

    .services-panel,
    .mfr-who-grid,
    .mfr-packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mfr-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mfr-stats {
        gap: 32px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 5vw, 52px);
        line-height: 1.15;
    }

    .hero-subtext {
        margin-left: 0;
    }

    /* Carousel section */
    .carousel-title {
        font-size: 40px;
        line-height: 48px;
    }

    .carousel-header {
        padding: 0 16px;
    }

    /* Testimonial */
    .testimonial-card {
        padding: 20px;
    }

    .testimonial-card--right-img {
        flex-direction: column-reverse;
        padding: 20px;
    }

    .testimonial-image {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .testimonial-image img {
        object-fit: contain;
        border-radius: 12px;
    }

    .testimonial-quote {
        font-size: 20px;
        line-height: 30px;
    }

    .author-name,
    .author-title {
        font-size: 20px;
        line-height: 28px;
    }
}

@media (max-width: 768px) {
    .svc-showcase-grid {
        display: none;
    }

    .svc-showcase-mobile {
        display: block;
    }

    .svc-showcase-mobile img {
        border-radius: 16px;
    }

    .svc-showcase {
        padding: 70px 16px 80px;
    }

    .svc-showcase-header {
        margin-bottom: 40px;
    }

    .svc-showcase-title {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 8px;
    }

    .svc-showcase-subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .services-tabs {
        gap: 4px;
        margin-bottom: 32px;
    }

    .services-tab {
        padding: 10px 20px;
        font-size: 14px;
    }

    .services-cards-container {
        min-height: auto;
    }

    .mfr-video-player {
        width: 100%;
    }

    .navbar {
        padding: 16px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar .stats-row {
        gap: 20px;
    }

    /* Stage 2 Collapse: Mobile (768px) */
    .nav-links,
    .navbar .nav-cta {
        display: none !important;
    }

    .navbar .logo img,
    .mobile-nav-header .logo img {
        height: 32px !important;
        width: auto !important;
    }

    /* Match overlay header padding to navbar (padding: 16px 20px inside 16px container = 36px from edge) */
    .mobile-nav-header {
        padding: 16px 20px;
    }

    .mobile-nav-close {
        width: 40px;
        height: 40px;
    }

    .mobile-nav-close svg {
        width: 20px;
        height: 20px;
    }

    /* Adjusted spacing for mobile view */
    .mobile-nav-inner {
        padding: 0 16px;
    }

    .hero {
        padding-top: 40px;
        padding-bottom: 32px;
    }

    .hero-title {
        font-size: clamp(2.25rem, 9vw, 3.25rem);
        line-height: 1.15;
    }

    .hero-subtext {
        font-size: 18px;
        line-height: 28px;
        margin-left: 0;
    }

    .hero-cta-mobile {
        display: flex;
    }

    .hero-carousel-tags {
        gap: 8px;
        padding: 0 16px;
        flex-wrap: wrap;
    }

    .hero-tag {
        font-size: 14px;
        height: 36px;
        padding: 0 14px;
    }

    .mfr-stats {
        flex-wrap: wrap;
        gap: 24px;
        padding: 32px 16px;
    }

    .mfr-stat-divider {
        display: none;
    }

    .mfr-stat {
        width: calc(50% - 12px);
    }

    .mfr-stat-value {
        font-size: 28px;
    }

    .mfr-who-title,
    .mfr-process-title,
    .mfr-packages-title,
    .mfr-why-title,
    .services-title,
    .domains-title,
    .faq-title,
    .cta-title,
    .case-title {
        font-size: clamp(2rem, 7vw, 2.5rem);
        line-height: 1.2;
    }

    .mfr-why-section {
        padding: 80px 16px;
    }

    .mfr-why-grid,
    .mfr-who-grid,
    .services-panel,
    .mfr-packages-grid {
        grid-template-columns: 1fr;
    }

    .mfr-why-card-title {
        font-size: 22px;
    }

    /* Testimonials */
    .testimonial-section {
        margin: 0 0 40px;
    }

    .testimonial-section--jack {
        margin-top: 60px;
    }

    .testimonial-card {
        width: calc(100% - 24px);
        height: auto;
        flex-direction: column;
        padding: 16px;
        gap: 24px;
        border-radius: 16px;
    }

    .testimonial-card--right-img {
        flex-direction: column-reverse;
        padding: 16px;
    }

    .testimonial-image {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .testimonial-image img {
        border-radius: 12px;
    }

    .testimonial-content {
        padding: 8px 0;
    }

    .testimonial-quote {
        font-size: 18px;
        line-height: 28px;
    }

    .testimonial-quote-icon img {
        width: 32px;
    }

    .author-name {
        font-size: 18px;
        line-height: 24px;
    }

    .author-title {
        font-size: 16px;
        line-height: 24px;
    }

    .mfr-who-section {
        padding: 80px 0 40px;
    }

    .mfr-who-header {
        margin-bottom: 40px;
    }

    .mfr-process-section,
    .services-section,
    .mfr-packages-section {
        padding: 80px 16px;
    }

    .mfr-process-step {
        gap: 20px;
        padding: 28px 0;
    }

    .case-slide {
        height: 240px;
    }

    .mfr-process-subtitle {
        white-space: normal;
    }

    .cta-section--compact .cta-subtext {
        white-space: normal;
    }

    .cta-section {
        padding: 40px 16px 120px;
    }

    .cta-section--compact {
        padding: 80px 16px 120px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        min-width: 200px;
        width: 100%;
        max-width: 320px;
    }

    .domains-section {
        padding: 70px 16px;
    }

    .domains-title {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 12px;
    }

    .domains-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .domains-grid {
        gap: 6px;
    }

    .domain-pill {
        padding: 10px 18px;
        font-size: 13px;
    }

    .faq-section {
        padding: 80px 16px;
    }

    .case-section {
        padding: 80px 0 40px;
    }

    .case-tags {
        max-width: 100%;
    }

    .mfr-package-card--featured::before {
        font-size: 10px;
    }

    .footer-spacer {
        height: 60px;
    }

    .social-row {
        margin-top: 60px;
        padding: 0 16px;
        gap: 32px;
    }

    .social-icons {
        gap: 10px;
    }

    .site-footer {
        padding: 24px 20px 100px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    /* Carousel section */
    .carousel-section {
        padding: 60px 0 100px;
    }

    .carousel-title {
        font-size: 28px;
        line-height: 36px;
    }

    .carousel-slide {
        height: 320px;
    }

    .carousel-bg-head {
        display: none;
    }

    /* FAQ */
    .faq-question {
        font-size: 15px;
        padding: 20px 0;
    }

    .faq-answer p {
        font-size: 15px;
    }

    .cta-subtext {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2rem, 10vw, 2.5rem);
    }

    .hero-tag {
        font-size: 13px;
        height: 34px;
        padding: 0 12px;
    }

    .mfr-stat {
        width: 100%;
    }

    .mfr-video-section {
        margin: 0 0 60px;
        padding: 0;
        display: flex;
        justify-content: center;
    }

    .mfr-video-player {
        width: 100%;
        border-radius: 0;
    }

    .mfr-video-play {
        padding: 10px 22px 10px 16px;
    }

    .mfr-video-play-label {
        font-size: 15px;
    }

    .services-tab {
        padding: 8px 14px;
        font-size: 13px;
    }

    .svc-showcase {
        padding: 60px 16px 80px;
    }

    .svc-showcase-header {
        margin-bottom: 30px;
    }

    .svc-showcase-title {
        font-size: clamp(2rem, 7vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .svc-showcase-subtitle {
        font-size: 16px;
        line-height: 22px;
    }

    .svc-showcase-grid {
        grid-template-rows: 160px 160px;
        gap: 8px;
    }

    .svc-showcase-mobile img {
        border-radius: 12px;
    }

    /* Carousel section */
    .carousel-title {
        font-size: 28px;
        line-height: 36px;
    }

    .carousel-slide {
        height: 250px;
    }

    .testimonial-image {
        height: auto;
    }
}



/* ── Cookie Consent Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #FFFAF6;
    box-shadow: 0 -4px 32px rgba(26, 13, 3, 0.08);
    padding: 20px 40px;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-banner__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-banner__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.cookie-banner__text {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 22px;
    color: var(--text-primary);
    margin: 0;
}

.cookie-banner__link {
    color: var(--accent-orange);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__link:hover {
    opacity: 0.8;
}

.cookie-banner__toggles {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.cookie-toggle input {
    display: none;
}

.cookie-toggle__slider {
    width: 36px;
    height: 20px;
    background: rgba(26, 13, 3, 0.12);
    border-radius: 100px;
    position: relative;
    transition: background 0.2s ease;
}

.cookie-toggle__slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cookie-toggle input:checked+.cookie-toggle__slider {
    background: var(--text-primary);
}

.cookie-toggle input:checked+.cookie-toggle__slider::after {
    transform: translateX(16px);
}

.cookie-toggle__slider--locked {
    background: var(--text-primary);
    opacity: 0.5;
}

.cookie-toggle__slider--locked::after {
    transform: translateX(16px);
}

.cookie-toggle__label {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-primary);
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner__btn {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-banner__btn--settings {
    background: transparent;
    border: 1px solid rgba(26, 13, 3, 0.15);
    color: var(--tag-color);
}

.cookie-banner__btn--settings:hover {
    color: var(--text-primary);
    border-color: rgba(26, 13, 3, 0.3);
}

.cookie-banner__btn--reject {
    background: transparent;
    border: 1px solid rgba(26, 13, 3, 0.15);
    color: var(--text-primary);
}

.cookie-banner__btn--reject:hover {
    background: rgba(26, 13, 3, 0.04);
}

.cookie-banner__btn--accept {
    background: var(--text-primary);
    border: 1px solid var(--text-primary);
    color: #FFFAF6;
}

.cookie-banner__btn--accept:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px 20px;
    }

    .cookie-banner__inner {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .cookie-banner__toggles {
        gap: 16px;
    }

    .cookie-banner__actions {
        justify-content: stretch;
    }

    .cookie-banner__btn {
        flex: 1;
        text-align: center;
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ── Chatbot Formatting Styles ── */
.message-content a {
    color: #F09768;
    /* Brand accent orange */
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.message-content a:hover {
    opacity: 0.8;
}

.message-content ul,
.message-content ol {
    margin: 12px 0;
    padding-left: 24px;
}

.message-content li {
    margin-bottom: 6px;
    list-style-type: disc;
}

.message-content br {
    content: "";
    display: block;
    margin-top: 10px;
}

.message-content hr {
    border: 0;
    border-top: 1px solid #E5D9CC;
    margin: 20px 0;
}

.message-content strong {
    font-weight: 700;
}