/* ──────────────────────────────────────────────────────────
   GLOBAL ELITE TRAVEL - CMS PAGES UNIFIED STYLESHEET (PHASE 3)
   True Full-Width Layout + Living Background + Mouse Interactivity
   ────────────────────────────────────────────────────────── */

:root {
    --ink: #0b1f3a;
    --navy-900: #06122a;
    --navy-800: #0b2a5b;
    --slate-600: #475569;
    --slate-300: #cbd5e1;
    --surface: #ffffff;
    --page-bg: #f6f8fb;
    --accent: #1d4ed8;
    --accent-2: #38bdf8;
    --accent-rgb: 29, 78, 216;
    --accent-2-rgb: 56, 189, 248;
    --speed: 1;
    --wide: 1760px;
    --gutter: clamp(20px, 4vw, 72px);
}

/* ================= 1. PAGE WRAPPER & LAYER B BACKGROUND ================= */
.cms-page-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 100vh;
    background-color: var(--page-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    overflow-x: clip; /* Prevent any horizontal scrollbar */
}

/* Layer B: Full-page soft drifting mesh gradient */
.cms-page-wrapper::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(var(--accent-rgb), 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 65%, rgba(var(--accent-2-rgb), 0.07) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(var(--accent-rgb), 0.05) 0%, transparent 45%);
    /* animation: meshDrift 30s ease-in-out infinite alternate; */ /* [COMMENTED OUT FOR STATIC PREVIEW: Background Mesh Drift] */
}

@keyframes meshDrift {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.06) translate(2%, 1.5%);
    }
    100% {
        transform: scale(1) translate(-2%, -1.5%);
    }
}

/* Layer B: Light subtle dot grid with center mask */
.cms-page-wrapper::after {
    content: '';
    position: absolute;
    top: 45vh;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at 50% 30%, transparent 20%, rgba(0, 0, 0, 0.7) 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, transparent 20%, rgba(0, 0, 0, 0.7) 80%);
}

/* Floating ambient parallax shapes (Desktop Layer B) */
.cms-floating-shapes {
    display: none; /* [COMMENTED OUT FOR STATIC PREVIEW: Background Floating Shapes] */
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.cms-float-shape {
    position: absolute;
    opacity: 0.12;
    color: var(--accent);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.1s cubic-bezier(0, 0, 0.2, 1);
    will-change: transform;
}

/* ================= 2. FULL-WIDTH HERO SECTION ================= */
.cms-full-hero {
    position: relative;
    width: 100%;
    min-height: 48vh;
    padding-top: 140px;
    padding-bottom: 110px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--accent) 140%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Hero Canvas (Layer A) */
.cms-hero-canvas {
    display: none; /* [COMMENTED OUT FOR STATIC PREVIEW: Background Canvas] */
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Hero Cursor Spotlight */
.cms-hero-spotlight {
    display: none; /* [COMMENTED OUT FOR STATIC PREVIEW: Mouse Spotlight] */
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(circle 420px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    mix-blend-mode: screen;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

/* Hero CSS Orbs with Screen blend mode */
.cms-hero-bg-fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.45;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}
.hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(75px);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.45;
    will-change: transform;
    /* animation: floatGlow calc(14s * var(--speed, 1)) ease-in-out infinite alternate; */ /* [COMMENTED OUT FOR STATIC PREVIEW: Background Orb Float] */
}
.orb-primary {
    top: -12%;
    right: 12%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}
.orb-secondary {
    bottom: 0%;
    left: -6%;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
}

/* TRUE FULL-WIDTH HERO INNER CONTAINER (Step 3) */
.cms-hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--wide);
    padding-inline: var(--gutter);
    margin-inline: auto;
}

.cms-hero-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
@media (min-width: 992px) {
    .cms-hero-row {
        grid-template-columns: 1.2fr 1fr;
        gap: 48px;
    }
}

.cms-hero-left-block {
    will-change: transform;
}

/* Transparent Breadcrumb */
.cms-hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}
.hero-crumb-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}
.hero-crumb-link:hover {
    color: #ffffff;
    text-decoration: underline;
}
.hero-crumb-sep {
    color: rgba(255, 255, 255, 0.35);
}
.hero-crumb-current {
    color: #ffffff;
    font-weight: 600;
}

/* Staggered H1 */
.cms-hero-title {
    font-size: clamp(40px, 5.5vw, 66px);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -1.4px;
    color: #ffffff;
    margin: 0 0 16px 0;
    display: flex;
    flex-wrap: wrap;
    column-gap: 15px;
    row-gap: 6px;
}
.hero-title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px);
    animation: wordSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes wordSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Caption */
.cms-hero-caption {
    font-size: clamp(15.5px, 1.8vw, 18px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 0 18px 0;
    opacity: 0;
    animation: fadeInCaption 0.8s ease 0.35s forwards;
}
@keyframes fadeInCaption {
    to { opacity: 1; }
}

/* Quick-contact Glass Pills inside Hero (Contact page) */
.hero-quick-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}
.hero-quick-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
}
.hero-quick-pill:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Hotel Trust Row under Hero Caption (Step 5) */
.hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}
.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-trust-item i {
    color: var(--accent-2);
    font-size: 14px;
}

/* Hero Illustration Container (Wider on >=1200px) */
.cms-hero-illustration-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    perspective: 1000px;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-svg-illustration {
    width: 100%;
    height: auto;
    max-height: 380px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
    transition: filter 0.3s ease, transform 0.3s ease;
}
.cms-hero-illustration-wrap:hover .hero-svg-illustration {
    filter: drop-shadow(0 25px 50px rgba(var(--accent-rgb), 0.45));
}
.cms-hero-illustration-wrap:hover {
    --speed: 0.5; /* Hover speeds up animations */
}

/* ================= 2.1 HERO SVG KEYFRAME ANIMATIONS ================= */
@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, -30px) scale(1.1); }
    100% { transform: translate(-20px, 25px) scale(0.95); }
}

/* Globe SVG Animations (About Us) */
.spin-slow {
    transform-origin: center;
    animation: rotate360 calc(40s * var(--speed, 1)) linear infinite;
}
@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.meridian-wave {
    animation: meridianShift calc(6s * var(--speed, 1)) ease-in-out infinite alternate;
}
@keyframes meridianShift {
    0% { transform: scaleX(1); }
    100% { transform: scaleX(0.4); }
}

.flight-arc-dash {
    stroke-dashoffset: 200;
    animation: dashLoop calc(4s * var(--speed, 1)) linear infinite;
}
@keyframes dashLoop {
    to { stroke-dashoffset: 0; }
}

.plane-flight-carrier {
    offset-path: path("M 45,215 C 80,60 240,50 275,195");
    animation: flyOnPath calc(5s * var(--speed, 1)) ease-in-out infinite;
}
@keyframes flyOnPath {
    0% {
        offset-distance: 0%;
        opacity: 0;
        transform: scale(0.7);
    }
    10% { opacity: 1; transform: scale(1); }
    90% { opacity: 1; transform: scale(1); }
    100% {
        offset-distance: 100%;
        opacity: 0;
        transform: scale(0.7);
    }
}

.pulse-point {
    animation: pulseStar calc(2.2s * var(--speed, 1)) infinite ease-in-out alternate;
}
.pulse-point.delay-1 { animation-delay: calc(0.6s * var(--speed, 1)); }
.pulse-point.delay-2 { animation-delay: calc(1.2s * var(--speed, 1)); }
@keyframes pulseStar {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.4); }
}

/* Shield SVG Animations (Privacy Policy) */
.shield-draw-stroke {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawStroke calc(2s * var(--speed, 1)) cubic-bezier(0.16, 1, 0.3, 1) forwards, floatGentle calc(5s * var(--speed, 1)) ease-in-out 2s infinite alternate;
}
@keyframes drawStroke {
    to { stroke-dashoffset: 0; }
}

.lock-shackle-anim {
    transform-origin: center;
    animation: lockSnap calc(2.4s * var(--speed, 1)) ease-in-out infinite alternate;
}
@keyframes lockSnap {
    0%, 40% { transform: translateY(-7px); }
    60%, 100% { transform: translateY(0); }
}

.shield-ping-wave {
    transform-origin: center;
    animation: pingOut calc(3s * var(--speed, 1)) cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes pingOut {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Contract SVG Animations (Terms of Use) */
.doc-float-group {
    animation: floatGentle calc(4.5s * var(--speed, 1)) ease-in-out infinite alternate;
}
@keyframes floatGentle {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.typing-line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawStroke calc(1.8s * var(--speed, 1)) ease forwards;
}
.tline-1 { animation-delay: calc(0.3s * var(--speed, 1)); }
.tline-2 { animation-delay: calc(0.6s * var(--speed, 1)); }
.tline-3 { animation-delay: calc(0.9s * var(--speed, 1)); }
.tline-4 { animation-delay: calc(1.2s * var(--speed, 1)); }

.legal-stamp-anim {
    transform-origin: 195px 225px;
    animation: stampDrop calc(1.2s * var(--speed, 1)) cubic-bezier(0.175, 0.885, 0.32, 1.275) calc(1.5s * var(--speed, 1)) both;
}
@keyframes stampDrop {
    0% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Cookies & Preferences SVG Animations (Cookies Policy) */
.cookie-float {
    animation: floatGentle calc(5s * var(--speed, 1)) ease-in-out infinite alternate;
}
.toggle-knob-pulse {
    animation: knobGlow calc(2s * var(--speed, 1)) ease-in-out infinite alternate;
}
@keyframes knobGlow {
    0% { filter: drop-shadow(0 0 2px var(--accent)); }
    100% { filter: drop-shadow(0 0 10px var(--accent-2)); }
}

/* Preferences Toggles & Gear Animations (Cookies Policy) */
.pref-gear-anim {
    transform-origin: 0 0;
    animation: gearSpin calc(12s * var(--speed, 1)) linear infinite;
}
@keyframes gearSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.pref-knob.knob-1 {
    animation: knobSlide1 calc(4s * var(--speed, 1)) ease-in-out infinite alternate;
}
.pref-knob.knob-2 {
    animation: knobSlide2 calc(5s * var(--speed, 1)) ease-in-out infinite alternate;
}
.pref-knob.knob-3 {
    animation: knobSlide3 calc(4.5s * var(--speed, 1)) ease-in-out infinite alternate;
}
@keyframes knobSlide1 {
    0% { transform: translateX(0); }
    100% { transform: translateX(12px); }
}
@keyframes knobSlide2 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-18px); }
}
@keyframes knobSlide3 {
    0% { transform: translateX(0); }
    100% { transform: translateX(16px); }
}

.orbit-dot {
    animation: orbitPulse calc(3s * var(--speed, 1)) ease-in-out infinite alternate;
}
.dot-1 { animation-delay: calc(0.2s * var(--speed, 1)); }
.dot-2 { animation-delay: calc(1s * var(--speed, 1)); }
.dot-3 { animation-delay: calc(1.8s * var(--speed, 1)); }
@keyframes orbitPulse {
    0% { opacity: 0.4; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.3); }
}

/* Disclaimer SVG Animations */
.radar-wave {
    transform-origin: center;
    animation: radarPulse calc(3.5s * var(--speed, 1)) cubic-bezier(0, 0, 0.2, 1) infinite;
}
.wave-1 { animation-delay: 0s; }
.wave-2 { animation-delay: calc(1.1s * var(--speed, 1)); }
.wave-3 { animation-delay: calc(2.2s * var(--speed, 1)); }
@keyframes radarPulse {
    0% { transform: scale(0.85); opacity: 0.9; }
    100% { transform: scale(1.35); opacity: 0; }
}

.seal-rotate {
    transform-origin: 160px 160px;
    animation: sealSpin calc(60s * var(--speed, 1)) linear infinite;
}
@keyframes sealSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.check-draw {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawStroke calc(1.2s * var(--speed, 1)) ease calc(0.5s * var(--speed, 1)) forwards;
}

.pulse-beacon {
    animation: pulseStar calc(2.5s * var(--speed, 1)) infinite ease-in-out alternate;
}

/* Contact Headset & Chat Bubbles SVG Animations */
.sound-wave {
    animation: soundPulse calc(1.8s * var(--speed, 1)) ease-in-out infinite alternate;
}
.sound-wave.delay-1 {
    animation-delay: calc(0.5s * var(--speed, 1));
}
@keyframes soundPulse {
    0% { opacity: 0.2; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.15); }
}

.mic-glow {
    animation: micBlink calc(2.2s * var(--speed, 1)) ease-in-out infinite alternate;
}
@keyframes micBlink {
    0% { filter: drop-shadow(0 0 1px #ffffff); }
    100% { filter: drop-shadow(0 0 8px var(--accent-2)); }
}

.headset-band {
    animation: headsetBreath calc(4s * var(--speed, 1)) ease-in-out infinite alternate;
}
@keyframes headsetBreath {
    0% { stroke-width: 7; }
    100% { stroke-width: 8; }
}

.chat-bubble-pop.bubble-1 {
    transform-origin: 64px 124px;
    animation: popBubble calc(3.5s * var(--speed, 1)) cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
}
.chat-bubble-pop.bubble-2 {
    transform-origin: 230px 96px;
    animation: popBubble calc(3.5s * var(--speed, 1)) cubic-bezier(0.175, 0.885, 0.32, 1.275) calc(1.2s * var(--speed, 1)) infinite;
}
@keyframes popBubble {
    0% { transform: scale(0); opacity: 0; }
    12% { transform: scale(1.08); opacity: 1; }
    20%, 80% { transform: scale(1); opacity: 1; }
    92% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(0); opacity: 0; }
}

.type-dot {
    animation: typeDotBounce calc(1.2s * var(--speed, 1)) infinite ease-in-out;
}
.dot-a { animation-delay: 0s; }
.dot-b { animation-delay: calc(0.2s * var(--speed, 1)); }
.dot-c { animation-delay: calc(0.4s * var(--speed, 1)); }
@keyframes typeDotBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40% { transform: translateY(-5px); opacity: 1; }
}


/* Hero Skyline Silhouette & Curved Wave Divider (Step 5) */
.cms-hero-skyline {
    position: absolute;
    bottom: 42px;
    left: 0;
    width: 100%;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.10;
    color: var(--accent-2);
}
.cms-hero-skyline svg {
    display: block;
    width: 100%;
    height: 60px;
}
.cms-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
}
.cms-hero-wave svg {
    display: block;
    width: 100%;
    height: 75px;
}
.cms-hero-wave path {
    fill: var(--page-bg);
}

/* ================= 3. CONTENT AREA & CRISP OVERLAP CARDS ================= */
.cms-content-container {
    position: relative;
    width: 100%;
    max-width: var(--wide);
    padding-inline: var(--gutter);
    margin-inline: auto;
    z-index: 5;
    padding-bottom: 70px;
}

/* Document Page Grid: Main Card + Sticky Sidebar (Step 3) */
.cms-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}
@media (min-width: 1200px) {
    .cms-content-grid {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 40px;
    }
}

/* Contact Page Grid: Equal-Height Form & Services Panel (Step 3) */
.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: stretch;
}
@media (min-width: 992px) {
    .contact-content-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        gap: 40px;
    }
}

/* Overlap Card & Panels (No 3D Tilt, Text-Safe 1px Border Glow - Step 4) */
.cms-overlap-card,
.contact-form-wrap,
.contact-side-panel {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(203, 213, 225, 0.85);
    box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.07), 0 2px 8px rgba(15, 23, 42, 0.02);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    z-index: 5;
}

.cms-overlap-card {
    margin-top: -65px;
    padding: 48px 44px;
}

/* 1px Border glow ring on hover (mask-composite excludes card body so text stays 100% crisp) */
/* [COMMENTED OUT FOR STATIC PREVIEW: Mouse Border Glow Ring]
.cms-overlap-card::before,
.contact-form-wrap::before,
.contact-side-panel::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), 0.55), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 1;
}

.cms-overlap-card:hover::before,
.contact-form-wrap:hover::before,
.contact-side-panel:hover::before {
    opacity: 1;
}
*/

.cms-overlap-card:focus-within,
.contact-form-wrap:focus-within,
.contact-side-panel:focus-within {
    border-color: rgba(var(--accent-rgb), 0.45);
    box-shadow: 0 20px 50px -10px rgba(var(--accent-rgb), 0.12), 0 2px 10px rgba(15, 23, 42, 0.03);
}

.contact-form-wrap {
    padding: 38px 34px;
}

.contact-side-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 38px 34px;
}

.minimal-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--ink);
    margin-bottom: 6px;
}

.minimal-input {
    height: 48px;
    border: 1.5px solid var(--slate-300);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 16px;
    color: var(--ink);
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.minimal-input::placeholder {
    color: #64748b;
    font-size: 14px;
}

.minimal-input:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.15) !important;
    background-color: #ffffff;
    color: var(--ink);
    outline: none;
}

.minimal-textarea {
    height: auto !important;
    min-height: 115px;
    resize: vertical;
    padding-top: 12px;
    line-height: 1.5;
}

.minimal-checkbox {
    border-radius: 4px;
    border-color: var(--slate-300);
    margin-top: 0.18em;
    cursor: pointer;
}

.minimal-checkbox:checked {
    background-color: var(--navy-800);
    border-color: var(--navy-800);
}

.minimal-submit-btn {
    background-color: var(--navy-800);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 24px;
    letter-spacing: 0.2px;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.minimal-submit-btn:hover {
    background-color: var(--accent);
    box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.25);
    transform: translateY(-1px);
    color: #ffffff;
}

.minimal-submit-btn:active {
    transform: translateY(0);
}

.minimal-subheading {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
}

.minimal-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px 5px 6px;
    border-radius: 50px;
    background: #ffffff;
    border: 1.5px solid var(--slate-300);
    transition: all 0.2s ease;
}

.minimal-contact-pill:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.12);
    transform: translateY(-1px);
}

.pill-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--page-bg);
    border: 1px solid var(--slate-300);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-2);
    flex-shrink: 0;
    transition: background-color 0.2s, color 0.2s;
}

.minimal-contact-pill:hover .pill-icon-circle {
    background: var(--accent);
    color: #ffffff;
}

.pill-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-600);
}

.minimal-contact-pill:hover .pill-text {
    color: var(--ink);
}

.services-heading {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 24px;
    letter-spacing: -0.2px;
}

.services-list {
    margin: 0;
    padding: 0;
}

.services-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 13.5px;
    color: var(--slate-600);
    line-height: 1.5;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-item:nth-child(1) { transition-delay: 0.1s; }
.services-item:nth-child(2) { transition-delay: 0.2s; }
.services-item:nth-child(3) { transition-delay: 0.3s; }
.services-item:nth-child(4) { transition-delay: 0.4s; }

.services-item.is-revealed {
    opacity: 1;
    transform: translateX(0);
}

.services-item:hover {
    transform: translateX(4px);
}

.services-item:hover .check-icon-wrap {
    transform: scale(1.12);
    color: var(--accent);
}

.check-icon-wrap {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.locations-block {
    padding-top: 20px;
    border-top: 1.5px solid var(--slate-300);
}

.location-col {
    padding: 4px 0;
}

.location-pin-svg {
    color: var(--accent);
    flex-shrink: 0;
}

.location-country-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
}

.location-address-lines {
    font-size: 12px;
    color: var(--slate-600);
    line-height: 1.55;
    margin-left: 25px;
}

.minimal-map-frame {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    margin-top: auto;
    border: 1.5px solid var(--slate-300);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.minimal-map-frame .map-embed-container {
    flex: 1 1 auto;
    width: 100%;
    min-height: 200px;
    height: 100%;
}
.minimal-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 200px;
    border: 0;
}

@keyframes errorShake {
    10%, 90% { transform: translateX(-4px); }
    20%, 80% { transform: translateX(6px); }
    30%, 50%, 70% { transform: translateX(-6px); }
    40%, 60% { transform: translateX(6px); }
}

.input-shake-error {
    animation: errorShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18) !important;
}

/* ================= 4. TYPOGRAPHY & SCROLL REVEAL ================= */
.cms-rendered-content {
    font-size: 16.5px;
    line-height: 1.85;
    color: #334155;
    max-width: 100%;
}
.cms-rendered-content h1,
.cms-rendered-content h2,
.cms-rendered-content h3,
.cms-rendered-content h4 {
    color: #0f172a;
    font-weight: 750;
    margin-top: 2.2rem;
    margin-bottom: 0.9rem;
    letter-spacing: -0.3px;
    scroll-margin-top: 130px;
}
.cms-rendered-content h1 { font-size: 28px; }
.cms-rendered-content h2 { font-size: 23px; }
.cms-rendered-content h3 { font-size: 19px; }
.cms-rendered-content p {
    margin-bottom: 1.35rem;
}

/* Animated Underline on Links */
.cms-rendered-content a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none !important;
    position: relative;
    display: inline;
    transition: color 0.25s ease;
}
.cms-rendered-content a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cms-rendered-content a:hover {
    color: var(--accent);
}
.cms-rendered-content a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.cms-rendered-content ul, 
.cms-rendered-content ol {
    margin-bottom: 1.35rem;
    padding-left: 1.6rem;
}
.cms-rendered-content li {
    margin-bottom: 0.55rem;
}
.cms-rendered-content strong {
    color: #0f172a;
    font-weight: 700;
}

/* Scroll Reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ================= 5. STICKY SIDEBAR (CMS PAGES) ================= */
.cms-sidebar-wrap {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Sidebar Widget Card */
.cms-side-widget {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
    padding: 24px 22px;
}
.cms-widget-title {
    font-size: 13.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Auto Table of Contents List */
.cms-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}
.cms-toc-link {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
    line-height: 1.4;
    display: block;
}
.cms-toc-link:hover {
    color: var(--accent);
    background: rgba(37, 99, 235, 0.05);
    border-left-color: var(--accent);
}
.cms-toc-link.active {
    color: #0f172a;
    font-weight: 700;
    background: rgba(37, 99, 235, 0.08);
    border-left-color: var(--accent);
}

/* Need Help Widget */
.cms-help-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.cms-help-card .cms-widget-title {
    color: #ffffff;
}
.cms-help-text {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 16px;
}
.cms-help-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #e2e8f0;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.cms-help-contact-item:hover {
    color: var(--accent-2);
}
.cms-help-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    margin-top: 14px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}
.cms-help-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Related Pages List */
.cms-related-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cms-related-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}
.cms-related-item:hover {
    background: #f1f5f9;
    color: var(--accent);
}
.cms-related-item.current {
    font-weight: 700;
    color: var(--accent);
    background: rgba(37, 99, 235, 0.08);
}

/* ================= 6. DECORATIVE BOTTOM BAND ================= */
.cms-bottom-route-band {
    position: relative;
    width: 100%;
    height: 90px;
    background: linear-gradient(to bottom, var(--page-bg) 0%, #0c121e 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
.cms-route-svg {
    width: 100%;
    max-width: var(--wide);
    padding-inline: var(--gutter);
    height: 40px;
    overflow: visible;
}
.route-line-dashed {
    stroke-dasharray: 6 6;
    /* animation: dashDrift 20s linear infinite; */ /* [COMMENTED OUT FOR STATIC PREVIEW: Route Line Drift] */
}
@keyframes dashDrift {
    to { stroke-dashoffset: -200; }
}
.route-moving-dot {
    offset-path: path("M 0,20 Q 250,5 500,20 T 1000,20");
    /* animation: moveRouteDot 8s ease-in-out infinite; */ /* [COMMENTED OUT FOR STATIC PREVIEW: Route Moving Dot] */
}
@keyframes moveRouteDot {
    0% { offset-distance: 0%; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
}

/* ================= 7. BACK-TO-TOP BUTTON ================= */
.cms-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.9);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.cms-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.cms-back-to-top:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.24);
}
.progress-ring-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.progress-ring-bg {
    fill: none;
    stroke: rgba(226, 232, 240, 0.85);
    stroke-width: 3.5;
}
.progress-ring-circle {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-dasharray: 125.66;
    stroke-dashoffset: 125.66;
    transition: stroke-dashoffset 0.1s linear;
}
.arrow-up-svg {
    color: #0f172a;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 2;
}
.cms-back-to-top:hover .arrow-up-svg {
    transform: translateY(-2px);
    color: var(--accent);
}

/* ================= 8. REDUCED MOTION & RESPONSIVE ================= */
@media (prefers-reduced-motion: reduce) {
    .cms-page-wrapper::before,
    .hero-glow-orb,
    .spin-slow,
    .seal-rotate,
    .meridian-wave,
    .flight-arc-dash,
    .plane-flight-carrier,
    .pulse-point,
    .shield-draw-stroke,
    .lock-shackle-anim,
    .shield-ping-wave,
    .doc-float-group,
    .typing-line,
    .legal-stamp-anim,
    .cookie-float,
    .toggle-knob-pulse,
    .orbit-dot,
    .radar-wave,
    .check-draw,
    .route-line-dashed,
    .route-moving-dot,
    .sound-wave,
    .mic-glow,
    .chat-bubble-pop,
    .type-dot,
    .pref-gear-anim,
    .pref-knob {
        animation: none !important;
        transform: none !important;
        stroke-dashoffset: 0 !important;
        opacity: 1 !important;
    }
    .hero-title-word,
    .cms-hero-caption,
    .reveal-on-scroll,
    .services-item {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .cms-overlap-card {
        transform: none !important;
    }
}

@media (max-width: 991px) {
    .cms-full-hero {
        padding-top: 115px;
        padding-bottom: 75px;
        text-align: center;
    }
    .cms-hero-breadcrumb {
        justify-content: center;
    }
    .cms-hero-title {
        justify-content: center;
        font-size: 36px;
    }
    .cms-hero-caption {
        margin: 0 auto;
    }
    .cms-hero-illustration-wrap {
        max-width: 240px;
        margin-bottom: 12px;
    }
    .hero-quick-strip {
        justify-content: center;
    }
    .cms-hero-wave svg {
        height: 50px;
    }
    .cms-content-container {
        padding-bottom: 50px;
    }
    .cms-overlap-card {
        margin-top: -45px;
        padding: 30px 22px;
        border-radius: 18px;
    }
    .cms-sidebar-wrap {
        position: static;
        margin-top: 30px;
    }
}

@media (min-width: 1600px) {
    .cms-hero-illustration-wrap {
        max-width: 480px;
    }
}
