/* ============================================
   BRANDING MUSTHAVES — SPACIOUS & MODERN REDESIGN
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,200;0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ─── TOKENS ─────────────────────────────── */
:root {
    --dark: #211612;
    --beige: #C7B9A3;
    --beige-dim: #a09282;
    --amber: #EF9C3B;
    --amber-glow: rgba(239, 156, 59, 0.15);
    --cream: #F5EFE6;
    --white: #FEFEFC;

    --serif: 'Playfair Display', serif;
    --sans: 'DM Sans', sans-serif;

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 100px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --section-padding: 200px 0;
    /* Huge whitespace as requested */
}

/* ─── RESET ──────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--white);
    color: var(--dark);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.8;
    overflow-x: clip;
    /* clip instead of hidden allows position: sticky to work */
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    background: none;
    outline: none;
}

/* ─── SECTION VARIANTS ───────────────────── */
section {
    padding: var(--section-padding);
}

.section-dark {
    position: relative;
    z-index: 2;
    background: var(--dark);
    color: var(--beige);
}

.section-dark .section-title,
.section-dark .nav-logo {
    color: var(--white);
}

.section-light {
    position: relative;
    z-index: 2;
    background: var(--white);
    color: var(--dark);
}

#services {
    padding-top: 80px;
    padding-bottom: 80px;
}

#usps {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-cream {
    position: relative;
    z-index: 2;
    background: var(--cream);
    color: var(--dark);
}

/* ─── UTILITIES ──────────────────────────── */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 60px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber);
}

.italic {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
}

/* ─── SCROLL PROGRESS ────────────────────── */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: var(--amber);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ─── CURSOR ─────────────────────────────── */
#cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--amber);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s var(--ease-out), width 0.3s var(--ease-out), height 0.3s var(--ease-out), opacity 0.3s;
}

#cursor.hovering {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--amber);
}

/* ─── NAV ────────────────────────────────── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: all 0.4s var(--ease-out);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(254, 254, 252, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(33, 22, 18, 0.07);
}

header.scrolled .nav-logo,
header.scrolled .nav-links a {
    color: var(--dark);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1002;
    /* Keeps logo above mobile menu */
    text-decoration: none;
}

.nav-logo-img {
    display: block;
    height: 120px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}

/* When header turns light on scroll or hamburger is open — show the dark logo */
header.scrolled .nav-logo-img,
header .hamburger-btn.active~.nav-logo-img {
    filter: none;
}

.nav-links {
    display: flex;
    gap: 86px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--amber);
    /* Orange on hover */
}

/* Nav Right & Language Switcher */
.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 1002;
    /* Keep above dropdown */
    position: relative;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    /* Semi-transparent white */
    letter-spacing: 0.05em;
}

header.scrolled .lang-switch {
    color: rgba(0, 0, 0, 0.4);
    /* Dark when scrolled */
}

.lang-btn {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
    opacity: 0.6;
}

.lang-btn:hover {
    opacity: 1;
    color: var(--amber);
}

.lang-btn.active {
    opacity: 1;
    color: var(--white);
    /* White when on hero */
}

header.scrolled .lang-btn.active {
    color: var(--dark);
    /* Dark when scrolled */
}

.lang-divider {
    opacity: 0.5;
    user-select: none;
}

.nav-cta {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 26px;
    border-radius: var(--radius-lg);
    background: var(--amber);
    border: none;
    color: var(--dark);
    transition: all 0.3s;
    white-space: nowrap;
}

header.scrolled .nav-cta {
    background: var(--amber);
    color: var(--dark);
}

.nav-cta:hover {
    background: #f5aa4a;
    /* Lighter amber for hover */
    color: var(--dark);
    transform: scale(1.05);
}

/* ─── HAMBURGER MENU ─── */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    /* Above mobile dropdown */
    width: 30px;
    height: 20px;
    position: relative;
    margin-left: 12px;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

header.scrolled .hamburger-btn span {
    background: var(--dark);
}

.hamburger-btn span:nth-child(1) {
    top: 0;
}

.hamburger-btn span:nth-child(2) {
    top: 9px;
}

.hamburger-btn span:nth-child(3) {
    top: 18px;
}

/* Hamburger Active State (X) */
.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Ensure hamburger icon is white when menu is open */
header .hamburger-btn.active span {
    background: var(--white) !important;
}

/* ─── HERO ───────────────────────────────── */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

/* Dark base */
.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--dark);
}

/* Warm amber glow from bottom-left */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 15% 110%, rgba(239, 156, 59, 0.09) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 85% -10%, rgba(199, 185, 163, 0.07) 0%, transparent 60%);
    pointer-events: none;
}


.hero-inner {
    position: relative;
    z-index: 2;
    margin-left: 0;
    max-width: none;
    padding: 120px 60px 80px 5vw;
    text-align: left;
}

/* Badge pill */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
}

.hero-badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #EF9C3B;
    box-shadow: 0 0 6px rgba(239, 156, 59, 0.6);
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 500;
    line-height: 1.06;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    max-width: 900px;
}

.hero h1 em {
    font-style: italic;
    color: var(--beige);
    font-weight: 400;
}

.hero-sub {
    font-size: 15px;
    color: rgba(199, 185, 163, 0.5);
    max-width: 480px;
    margin-bottom: 44px;
    line-height: 1.85;
}

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

/* ─── BUTTONS ────────────────────────────── */

/* Hero primary: amber fill */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--amber);
    color: var(--dark);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: none;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.btn-hero-primary:hover {
    background: #f5aa4a;
    transform: translateY(-3px);
}

/* Hero secondary: ghost outline */
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: rgba(199, 185, 163, 0.7);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(199, 185, 163, 0.2);
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}

.btn-hero-secondary:hover {
    background: rgba(199, 185, 163, 0.07);
    color: var(--white);
    border-color: rgba(199, 185, 163, 0.4);
    transform: translateY(-2px);
}

.section-cream .btn-hero-secondary {
    border-color: rgba(33, 22, 18, 0.2);
    color: var(--dark);
}

.section-cream .btn-hero-secondary:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
    box-shadow: 0 8px 24px rgba(33, 22, 18, 0.15);
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: var(--dark);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(33, 22, 18, 0.2);
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
    text-decoration: none;
}

.btn-outline-dark:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(33, 22, 18, 0.15);
}

/* Generic fill btn (service cards, etc.) */
.btn-fill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--beige);
    color: var(--dark);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 1px solid var(--beige);
    transition: all 0.3s var(--ease-out);
}

.btn-fill:hover {
    background: transparent;
    border-color: #e8834a;
    color: #e8834a;
    transform: translateY(-2px);
}

/* Ghost btn: outlined version */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--beige);
    border: 1.5px solid rgba(199, 185, 163, 0.35);
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease-out);
}

.btn-ghost:hover {
    border-color: var(--beige);
    color: var(--white);
    transform: translateY(-2px);
}

/* Remove duplicated .btn-outline-dark and .btn-outline-dark:hover lines since they conflict with 549 */

/* Plain orange text link */
.text-link-amber {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--amber);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.text-link-amber::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background: var(--amber);
    transition: transform 0.3s ease;
    transform-origin: right;
    transform: scaleX(1);
}

.text-link-amber:hover {
    color: #f5aa4a;
    /* Slightly lighter orange on hover */
}

.text-link-amber:hover::after {
    transform-origin: left;
    transform: scaleX(0);
}

/* Amber accent fill variant (for CTAs outside hero) */
.btn-amber {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 48px;
    background: var(--amber);
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
}

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



/* ─── SECTION HEADERS ────────────────────── */
.section-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 80px;
    text-align: center;
    align-items: center;
}

.services-header {
    margin-bottom: 40px;
    /* Reduced space under 'how can we help' */
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 500;
    line-height: 1.0;
    letter-spacing: -0.01em;
    color: var(--dark);
}

.section-title em {
    color: #c7b9a3;
    /* Matches the visual lightness of the reference */
    font-style: italic;
    font-weight: 400;
}

.section-desc {
    max-width: 650px;
    font-size: 16px;
    color: rgba(33, 22, 18, 0.6);
    /* Slightly lighter gray on the light mode */
    font-family: var(--sans);
    line-height: 1.6;
}

/* ─── SERVICES GRID ──────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 36px 32px;
    background: #fcfbf9;
    /* Clean cream white */
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    overflow: hidden;
    /* Smooth 20px rounded */
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);

}

.sc-watermark {
    position: absolute;
    top: -10px;
    right: -10px;
    font-family: var(--serif);
    font-size: 160px;
    font-weight: 700;
    color: rgba(33, 22, 18, 0.08);
    /* Increased for better visibility */
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transition: color 0.4s ease, transform 0.4s ease;
    transform-origin: right top;
    z-index: 0;
}

.service-card-block:hover .sc-watermark {
    color: rgba(33, 22, 18, 0.12);
    /* Increased for better visibility on hover */
    transform: scale(1.04);
}

.sc-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(33, 22, 18, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: var(--amber);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card-block:hover .sc-icon-wrapper {
    background: var(--amber);
    color: var(--white);
    transform: scale(1.05);
    border-color: var(--amber);
    box-shadow: 0 12px 24px rgba(232, 131, 74, 0.2);
}

.sc-top {
    position: relative;
    z-index: 1;
}

.conversion-box {
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.conversion-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e8834a, #f0a86b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px 20px 0 0;
    z-index: 2;
}

.conversion-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 64px rgba(33, 22, 18, 0.14);
    border-color: rgba(33, 22, 18, 0.18);
}

.conversion-box:hover::before {
    transform: scaleX(1);
}

.service-icon {
    color: #c7b9a3;
    /* Beige icon color */
    margin-bottom: 32px;
}

.service-title {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 500;
}

.service-text {
    font-size: 13.5px;
    color: rgba(33, 22, 18, 0.6);
    margin-bottom: 40px;
    line-height: 1.6;
    flex-grow: 1;
    /* Pushes the link to the bottom */
}

.service-link {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    color: #c7b9a3;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.3s;
    margin-top: auto;
}

.service-link:hover {
    color: var(--dark);
}

.service-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

/* ─── TEMPLATE SHOWCASE ──────────────────── */
#template-showcase {
    background: #fbf9f6;
    /* Matching cream background to blend in nicely or create soft contrast */
    padding: 120px 0;
}

.template-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.template-image-wrapper {
    position: relative;
    width: 100%;
}

.template-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #eedcca;
    /* Base template beige color */
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sans);
    color: rgba(33, 22, 18, 0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
    /* Soft drop shadow */
}

/* Later when you add the image, give the img tag class="template-img" */
.template-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
    display: block;
}

.template-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.template-content .label {
    margin-bottom: 24px;
}

.template-heading {
    font-family: var(--serif);
    font-size: clamp(40px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 32px;
}

.template-heading em {
    color: #c7b9a3;
    font-style: italic;
    font-weight: 400;
}

.template-text {
    font-size: 16px;
    color: rgba(33, 22, 18, 0.6);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
}

.template-features {
    list-style: none;
    margin-bottom: 48px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.template-features li {
    font-family: var(--sans);
    font-size: 15px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.template-features li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c7b9a3;
}

/* ─── SCANNER CARD ───────────────────────── */
.scanner-card {
    background: transparent;
    padding: 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scanner-title {
    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 24px;
}

.scanner-title em {
    color: #c7b9a3;
    /* Matches the beige accent color */
    font-style: italic;
    font-weight: 400;
}

.scanner-desc {
    font-family: var(--sans);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14.5px;
    max-width: 680px;
    line-height: 1.6;
    margin-bottom: 48px;
}

.scanner-features {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    font-family: var(--sans);
    font-size: 12px;
    color: rgba(199, 185, 163, 0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.scanner-form {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.scanner-input {
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    /* Extremely subtle dark input */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    /* Match site-wide button radius */
    color: var(--white);
    font-size: 14px;
    font-family: var(--sans);
    outline: none;
    transition: all 0.3s;
    text-align: left;
}

.scanner-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.scanner-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.scanner-btn-new {
    padding: 20px 24px;
    border-radius: 10px;
    background: var(--amber);
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--sans);
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    border: none;
    cursor: pointer;
}

.scanner-btn-new:hover {
    background: #f5aa4a;
    transform: translateY(-3px);
}

.scanner-btn:hover {
    transform: scale(1.02);
}

/* ─── PROCESS ────────────────────────────── */
#process {
    padding-top: 64px;
    padding-bottom: 64px;
    background: #fbf9f6;
}

.process-header {
    margin-bottom: 40px;
}

.process-header .section-desc {
    color: rgba(33, 22, 18, 0.5);
    /* Lighter gray */
    font-size: 15px;
    margin-top: -8px;
    /* Pulled slightly closer to the title */
}

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

.process-item {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 48px 32px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.process-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

.process-num {
    font-family: var(--serif);
    font-size: 56px;
    font-weight: 500;
    line-height: 1;
    color: #c7b9a3;
    /* Beige font color */
    margin-bottom: 24px;
    transition: color 0.4s ease, transform 0.4s ease;
}

.process-item:hover .process-num {
    color: var(--amber);
    transform: scale(1.05);
}

.process-title {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}

.process-desc {
    font-family: var(--sans);
    font-size: 13.5px;
    color: rgba(33, 22, 18, 0.6);
    line-height: 1.7;
    max-width: 280px;
}

/* ─── USPs LIST ──────────────────────────── */
.usps-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 60px;
    /* Reduced from 100px */
}

.usp-tag {
    padding: 24px 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    /* Rounded tags */
    font-size: 15px;
    font-weight: 600;
    color: var(--beige);
    transition: all 0.4s;
    letter-spacing: 0.05em;
}

.usp-tag:hover {
    background: var(--amber);
    color: var(--dark);
    border-color: var(--amber);
    transform: translateY(-5px);
}

/* ─── FAQ ACCORDION ──────────────────────── */
#faq {
    background: #fff;
    /* White background */
    padding-top: 80px;
    padding-bottom: 80px;
}

.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    /* Top border for first item */
}

.faq-q {
    padding: 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 0.02em;
}

.faq-toggle-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Creating a chevron down */
.faq-toggle-icon::before {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--dark);
    border-bottom: 2px solid var(--dark);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.3s;
}

.faq-toggle-icon::after {
    display: none;
    /* Removing the plus shape */
}

.faq-item.open .faq-toggle-icon::before {
    transform: rotate(225deg) translateY(-2px);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: rgba(33, 22, 18, 0.6);
    font-family: var(--sans);
    font-size: 14.5px;
    line-height: 1.7;
}

.faq-a p {
    padding-bottom: 32px;
    /* Move padding to inner content so container collapses fully to 0 */
}

/* ─── CTA BOX ────────────────────────────── */
.cta-box {
    background: var(--dark);
    padding: 72px 60px;
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-box .section-title {
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-box p {
    margin-bottom: 36px;
    opacity: 0.6;
    font-size: 16px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

/* ─── FOOTER ─────────────────────────────── */
footer {
    padding: 80px 0 40px;
    background: var(--dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 100px;
    margin-bottom: 80px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 24px;
    margin-left: -12px;
    /* Pull left to align the 'b' stem perfectly with text below */
    filter: brightness(0) invert(1);
    /* makes the dark logo white/light */
    display: block;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 32px;
    font-family: var(--sans);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

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

.footer-col ul li {
    margin-bottom: 20px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    /* Matching the greyish shade */
    text-decoration: none;
    transition: all 0.3s;
}

.footer-col a:hover {
    color: var(--amber);
    /* Orange on hover */
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Thin transparent line */
    display: flex;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.go-top-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 24px;
}

.go-top-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

/* ─── HELPER CLASSES ─── */
.mobile-br {
    display: none;
}

.desktop-br {
    display: block;
}

/* ─── BREAKPOINTS ─── */
@media (max-width: 1400px) {

    /* Compress desktop header spacing slightly before hamburger breakpoint */
    .nav-logo-img {
        height: 90px;
    }

    .nav-links {
        gap: 24px;
    }

    .nav-right {
        gap: 16px;
    }

    .container {
        padding: 0 40px;
    }
}

@media (max-width: 1100px) {
    .container {
        padding: 0 40px;
    }

    .services-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

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

    /* --- MOBILE NAV TRIGGERED AT 1100px FOR MORE SPACE --- */
    .hamburger-btn {
        display: block;
    }

    .nav-cta {
        padding: 10px 18px;
        font-size: 11px;
        letter-spacing: 0.05em;
    }

    .nav-logo-img {
        height: 80px;
    }

    .nav-right {
        gap: 16px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: var(--dark);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s var(--ease-out);
        margin: 0;
        padding: 0;
    }

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

    .nav-links a {
        font-size: 28px;
        color: var(--white) !important;
        font-family: var(--serif);
        text-transform: none;
        letter-spacing: 0;
    }

    .nav-links a:hover {
        color: var(--amber) !important;
    }
}

@media (max-width: 1100px) {

    /* Hero fixes for mobile/tablet */
    .hero>div {
        grid-template-columns: 1fr !important;
    }

    .hero-inner {
        padding: 120px 40px 100px !important;
        /* Pushed up (was 160px) */
        text-align: left !important;
        align-items: flex-start !important;
    }

    .hero h1 {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-sub {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    /* Hide the right-side split image on tablet/mobile so text has full focus */
    .hero>div>div:nth-child(2) {
        display: none !important;
    }

    /* Override inline flex rows on services page to stack */
    .sc-bottom,
    .cta-box div[style*="display: flex; gap: 24px"] {
        justify-content: center;
    }

    .service-card-block-dark {
        grid-template-columns: 1fr !important;
    }

    /* Override inline flexing on Noelia block for iPads so it doesn't squish */
    div[style*="flex-wrap: wrap"]>div[style*="width: 240px"] {
        width: 100% !important;
        height: 440px !important;
        /* Slightly taller for iPad */
    }

    div[style*="flex-wrap: wrap"]>div[style*="text-align: right"] {
        align-items: center !important;
        text-align: center !important;
        padding: 16px 24px 32px !important;
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    section {
        padding: 80px 0 !important;
    }

    .services-grid,
    .process-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mobile-br {
        display: block;
    }

    .desktop-br {
        display: none;
    }

    .hero-inner {
        padding: 100px 24px 60px !important;
        text-align: center !important;
        align-items: center !important;
    }

    .hero-actions {
        justify-content: center !important;
    }

    .page-hero {
        padding: 110px 24px 60px !important;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-title {
        font-size: clamp(32px, 9vw, 44px) !important;
        line-height: 1.15;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(40px, 12vw, 64px) !important;
    }

    .scanner-title {
        font-size: clamp(44px, 13vw, 68px) !important;
    }

    body.lang-nl .hero h1 {
        font-size: clamp(36px, 11vw, 64px) !important;
    }

    #faq {
        padding-bottom: 30px !important;
    }

    #cta {
        padding-top: 30px !important;
    }

    .nav-right {
        gap: 16px;
    }

    .nav-cta {
        padding: 12px 20px;
        font-size: 11px;
    }

    .usps-list {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-top: 40px;
    }

    .usp-tag {
        text-align: center;
        padding: 16px 24px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        /* Switch order to bring button down */
        gap: 24px;
        align-items: center;
        /* Center the bottom lines on mobile */
        text-align: center;
        padding-top: 32px;
    }

    .footer-legal-links {
        margin-left: 0 !important;
        flex-direction: column;
        gap: 12px !important;
    }

    .go-top-btn {
        margin-left: 0;
        margin-bottom: 16px;
    }

    .cta-box {
        padding: 48px 24px;
        text-align: center;
    }

    .cta-box p,
    .scanner-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .scanner-card {
        text-align: center;
        align-items: center;
    }

    .scanner-features {
        justify-content: center;
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons-wrapper,
    .cta-box div[style*="gap: 24px"],
    .sc-bottom,
    .scanner-form {
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
        width: 100%;
    }

    .scanner-input,
    .scanner-btn-new,
    .scanner-form button {
        width: 100% !important;
        justify-content: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-fill,
    .btn-ghost,
    .btn-outline-dark,
    .btn-amber {
        padding: 10px 18px !important;
        font-size: 11px !important;
    }

    .faq-q {
        padding: 24px 0;
        font-size: 15px;
    }

    /* Override inline flexing on Noelia block */
    div[style*="flex-wrap: wrap"]>div[style*="width: 240px"] {
        width: 100% !important;
        height: 380px !important;
    }

    div[style*="flex-wrap: wrap"]>div[style*="text-align: right"] {
        align-items: center !important;
        text-align: center !important;
        padding: 32px 24px !important;
    }
}

@media (max-width: 480px) {
    .nav-logo-img {
        height: 90px;
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 10px !important;
        font-size: 10px !important;
        flex: 1;
        justify-content: center;
        white-space: nowrap;
        gap: 6px;
    }

    /* On very small mobile screens, the header elements get too crowded */
    .nav-cta {
        display: none !important;
        /* Hide intake button so hamburger and lang and logo fit */
    }

    .lang-switch {
        gap: 4px;
        font-size: 11px;
    }

    .nav-right {
        gap: 12px;
        /* Reduce gap */
    }
}