/* ============================================================
   TRISTAN HOLDINGS UK — main.css  |  Mobile-First v2.0
   ============================================================ */

/* ---- Design Tokens ---- */
:root {
    --th-navy-deep:    #020B14;
    --th-navy:         #071A2F;
    --th-blue-rich:    #0B3A67;
    --th-gold:         #C9A24D;
    --th-gold-light:   #F1D27A;
    --th-silver:       #D8DEE8;
    --th-white:        #FFFFFF;
    --th-muted:        rgba(255,255,255,0.65);
    --th-glass:        rgba(255,255,255,0.05);
    --th-glass-border: rgba(255,255,255,0.10);

    /* Fluid section padding — overridden at larger breakpoints */
    --section-y: 72px;

    --transition:      all 0.4s cubic-bezier(0.165,0.84,0.44,1);
    --transition-fast: all 0.2s ease;
    --radius-card:     20px;
    --radius-sm:       12px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--th-white);
    background-color: var(--th-navy-deep);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.18;
}

p { margin-bottom: 1.2rem; opacity: 0.9; }
p:last-child { margin-bottom: 0; }

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

a { color: inherit; transition: var(--transition-fast); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 18px;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.text-gold   { color: var(--th-gold); }
.text-muted  { color: var(--th-muted); }
.text-center { text-align: center; }

.eyebrow {
    display: inline-block;
    color: var(--th-gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.section-title { margin-bottom: 44px; }

.section-title h2 { font-size: clamp(1.75rem, 4.5vw, 2.8rem); }

/* ============================================================
   BUTTONS
   ============================================================ */
.th-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 26px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--th-gold), var(--th-gold-light));
    color: var(--th-navy-deep);
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    min-height: 48px; /* Accessible touch target */
    font-family: 'Inter', sans-serif;
}

.th-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(201,162,77,0.38);
}

.th-btn:active { transform: translateY(-1px); }

.th-btn-outline {
    background: transparent;
    border: 1.5px solid rgba(201,162,77,0.5);
    color: var(--th-gold);
}

.th-btn-outline:hover {
    background: var(--th-gold);
    color: var(--th-navy-deep);
    border-color: var(--th-gold);
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: var(--section-y) 0; position: relative; }

.th-section-dark {
    background:
        radial-gradient(ellipse at 8% 8%, rgba(201,162,77,0.05) 0%, transparent 42%),
        var(--th-navy-deep);
}

.th-section-gradient {
    background:
        radial-gradient(ellipse at 18% 20%, rgba(201,162,77,0.09) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 80%, rgba(11,58,103,0.35) 0%, transparent 45%),
        linear-gradient(140deg, #071A2F 0%, #0B3A67 100%);
}

/* Light variant — for inner pages that used th-section-light */
.th-section-light {
    background:
        radial-gradient(ellipse at 18% 20%, rgba(201,162,77,0.06) 0%, transparent 42%),
        linear-gradient(160deg, #071A2F 0%, #0A2A50 100%);
}

/* Grid utility */
.th-grid { display: grid; }

/* Section edge fade — softens the boxy "slice" feeling */
.th-section-gradient::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(2,11,20,0.4), transparent);
    pointer-events: none;
}

.th-section-gradient::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(2,11,20,0.4), transparent);
    pointer-events: none;
}

/* ============================================================
   CARDS
   ============================================================ */
.th-card {
    background: var(--th-glass);
    border: 1px solid var(--th-glass-border);
    border-radius: var(--radius-card);
    padding: 28px 22px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
}

/* ============================================================
   HERO — MOBILE FIRST (Redesigned v4)
   ============================================================ */
.th-hero {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--th-navy-deep);
    padding: 130px 0 50px;
}

/* Animated mesh gradient background */
.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(201, 162, 77, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(11, 58, 103, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(201, 162, 77, 0.08) 0%, transparent 60%),
        var(--th-navy-deep);
    animation: meshMove 14s ease-in-out infinite alternate;
}

@keyframes meshMove {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(-2%, 1%); }
    100% { transform: scale(1.05) translate(1%, -1%); }
}

/* Subtle grid overlay */
.hero-grid-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    z-index: 1;
    animation: orbFloat 10s ease-in-out infinite;
}

.hero-orb-1 {
    width: 300px; height: 300px;
    background: rgba(201, 162, 77, 0.25);
    top: -80px; right: -60px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 260px; height: 260px;
    background: rgba(11, 58, 103, 0.5);
    bottom: -60px; left: -40px;
    animation-delay: -4s;
}

.hero-orb-3 {
    width: 180px; height: 180px;
    background: rgba(201, 162, 77, 0.15);
    top: 40%; left: 30%;
    animation-delay: -7s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(25px, -35px) scale(1.06); }
    66% { transform: translate(-20px, 20px) scale(0.96); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* New badge: left accent bar */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--th-gold);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    font-family: 'Inter', sans-serif;
    padding-left: 16px;
    border-left: 3px solid var(--th-gold);
}

.th-hero h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.th-hero .subheading {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

/* Gold text gradient effect */
.th-hero h1 .text-gold {
    background: linear-gradient(135deg, var(--th-gold) 0%, var(--th-gold-light) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.th-hero .subheading {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.hero-btns .th-btn { width: 100%; }

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.trust-item i { color: var(--th-gold); font-size: 0.85rem; opacity: 0.8; }



/* ============================================================
   HERO — INNER LAYOUT
   ============================================================ */
.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 20px;
    padding-bottom: 10px;
    width: 100%;
}

/* ============================================================
   HERO — IMAGE SLIDER (replaces old visual cards)
   ============================================================ */

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-section {
    background: linear-gradient(135deg, #071A2F 0%, #0B3A67 100%);
    border-top: 1px solid rgba(201,162,77,0.14);
    border-bottom: 1px solid rgba(201,162,77,0.14);
    padding: 0;
}

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

.stat-item {
    position: relative;
    text-align: center;
    padding: 36px 16px;
}

/* 2-column grid border pattern on mobile */
.stat-item:nth-child(-n+2)  { border-bottom: 1px solid rgba(255,255,255,0.07); }
.stat-item:nth-child(odd)   { border-right: 1px solid rgba(255,255,255,0.07); }

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 2.9rem);
    font-weight: 700;
    color: var(--th-gold);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    color: rgba(255,255,255,0.48);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

/* ============================================================
   SPLIT LAYOUT — stacked on mobile, side-by-side on tablet+
   ============================================================ */
.split-layout {
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.split-text .check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 26px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.86rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.split-image {
    position: relative;
    /* Padding creates room for the badge on mobile */
    padding-bottom: 22px;
    padding-right: 0;
}

.split-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 28px 56px rgba(0,0,0,0.45);
    aspect-ratio: 16/10;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    bottom: 0;
    right: 14px;
    background: linear-gradient(135deg, var(--th-gold), var(--th-gold-light));
    color: var(--th-navy-deep);
    padding: 18px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 16px 32px rgba(0,0,0,0.3);
    min-width: 110px;
}

.badge-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
}

.badge-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

/* ============================================================
   DIVISIONS GRID
   ============================================================ */
.divisions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.division-card {
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.division-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201,162,77,0.38);
    box-shadow: 0 24px 48px rgba(0,0,0,0.28);
}

.division-icon {
    width: 50px;
    height: 50px;
    background: rgba(201,162,77,0.08);
    border: 1px solid rgba(201,162,77,0.20);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition);
    flex-shrink: 0;
}

.division-icon i {
    font-size: 1.25rem;
    color: var(--th-gold);
    transition: color 0.25s;
}

.division-card:hover .division-icon {
    background: var(--th-gold);
    border-color: var(--th-gold);
}

.division-card:hover .division-icon i { color: var(--th-navy-deep); }

.division-card h3 {
    font-size: 0.97rem;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.division-card p {
    font-size: 0.85rem;
    flex-grow: 1;
    margin-bottom: 14px;
    opacity: 0.75;
}

.division-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--th-gold);
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
    transition: gap 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-family: 'Inter', sans-serif;
}

.division-link:hover { gap: 10px; color: var(--th-gold-light); }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-card);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(201,162,77,0.06);
    border-color: rgba(201,162,77,0.26);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.feature-icon {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, rgba(201,162,77,0.18), rgba(201,162,77,0.04));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.feature-icon i { font-size: 1.35rem; color: var(--th-gold); }

.feature-card h4 {
    font-size: 0.92rem;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.feature-card p { font-size: 0.83rem; margin-bottom: 0; opacity: 0.7; }

/* ============================================================
   COMPLIANCE GRID
   ============================================================ */
.compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.compliance-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 26px 18px;
    text-align: center;
    transition: var(--transition);
}

.compliance-item:hover {
    border-color: rgba(201,162,77,0.32);
    background: rgba(201,162,77,0.05);
    transform: translateY(-3px);
}

.compliance-item i {
    font-size: 1.9rem;
    color: var(--th-gold);
    margin-bottom: 12px;
    display: block;
}

.compliance-item h5 {
    font-size: 0.88rem;
    margin-bottom: 7px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.compliance-item p { font-size: 0.8rem; margin-bottom: 0; opacity: 0.7; }

/* ============================================================
   UK PRESENCE
   ============================================================ */
.presence-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.presence-cities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Featured city card (London HQ) */
.city-card-featured {
    grid-column: span 2;
    min-height: 220px !important;
    border-radius: var(--radius-card) !important;
}

.city-hq-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    background: linear-gradient(135deg, var(--th-gold), var(--th-gold-light));
    color: var(--th-navy-deep);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Map visual */
.presence-map-visual {
    background: rgba(7,26,47,0.75);
    border: 1px solid rgba(201,162,77,0.15);
    border-radius: var(--radius-card);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px 20px;
    overflow: hidden;
}

.uk-map-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.uk-map-svg {
    width: 100%;
    max-width: 190px;
    height: auto;
    filter: drop-shadow(0 0 18px rgba(201,162,77,0.2));
}

.uk-shape {
    fill: rgba(11,58,103,0.5);
    stroke: rgba(201,162,77,0.38);
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.presence-line {
    stroke: rgba(201,162,77,0.2);
    stroke-width: 0.8;
    stroke-dasharray: 4 3;
}

.pin-dot {
    fill: var(--th-gold);
    filter: drop-shadow(0 0 3px rgba(201,162,77,0.9));
}

.pin-hq { fill: var(--th-gold-light); }

.pin-ring { fill: rgba(201,162,77,0.2); }

.pin-label {
    fill: rgba(255,255,255,0.5);
    font-size: 7px;
    font-family: 'Inter', sans-serif;
}

.pin-label-hq {
    fill: var(--th-gold);
    font-size: 7.5px;
}

.map-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
}

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

.map-stat strong {
    font-size: 1.05rem;
    color: var(--th-gold);
    font-weight: 800;
    line-height: 1;
}

.map-stat span {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-divider {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,0.1);
}

.map-uk { text-align: center; padding: 28px; }

/* ============================================================
   IMAGE CARDS — Replacing icon-based cards with real images
   ============================================================ */

/* Sector image cards */
.img-card {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.img-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,11,20,0.96) 0%, rgba(2,11,20,0.5) 40%, rgba(2,11,20,0.2) 100%);
    z-index: 1;
    transition: var(--transition);
}

.img-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}

.img-card:hover::before {
    background: linear-gradient(to top, rgba(2,11,20,0.98) 0%, rgba(2,11,20,0.55) 50%, rgba(201,162,77,0.15) 100%);
}

.img-card-content {
    position: relative;
    z-index: 2;
    padding: 28px;
}

.img-card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.img-card-content p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 18px;
    line-height: 1.6;
}

.img-card-content a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--th-gold);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    transition: gap 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-family: 'Inter', sans-serif;
}

.img-card-content a:hover { gap: 10px; color: var(--th-gold-light); }

/* Feature image cards */
.feature-img-card {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.feature-img-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,11,20,0.95) 0%, rgba(2,11,20,0.4) 50%, transparent 100%);
    z-index: 1;
    transition: var(--transition);
}

.feature-img-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-img-card:hover::before {
    background: linear-gradient(to top, rgba(2,11,20,0.98) 0%, rgba(2,11,20,0.5) 60%, rgba(201,162,77,0.12) 100%);
}

.feature-img-content {
    position: relative;
    z-index: 2;
    padding: 32px;
}

.feature-img-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.feature-img-content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Compliance image items */
.compliance-img-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.compliance-img-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,11,20,0.96) 0%, rgba(2,11,20,0.5) 50%, rgba(2,11,20,0.3) 100%);
    z-index: 1;
}

.compliance-img-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.3);
}

.compliance-img-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    text-align: center;
}

.compliance-img-content i {
    font-size: 2rem;
    color: var(--th-gold);
    margin-bottom: 14px;
    display: block;
}

.compliance-img-content h5 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.compliance-img-content p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

/* City image cards */
.city-img-card {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.city-img-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,11,20,0.95) 0%, rgba(2,11,20,0.4) 55%, transparent 100%);
    z-index: 1;
    transition: var(--transition);
}

.city-img-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.3);
}

.city-img-card:hover::before {
    background: linear-gradient(to top, rgba(2,11,20,0.98) 0%, rgba(2,11,20,0.55) 55%, rgba(201,162,77,0.1) 100%);
}

.city-img-content {
    position: relative;
    z-index: 2;
    padding: 14px 16px;
}

.city-img-content strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.city-img-content span {
    display: block;
    font-size: 0.74rem;
    color: rgba(255,255,255,0.58);
    margin-top: 2px;
}

/* Hero image slider */
.hero-slider {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.35);
    aspect-ratio: 16/10;
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

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

.hero-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.hero-slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-slider-dots span.active {
    background: var(--th-gold);
    width: 24px;
    border-radius: 4px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    position: relative;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(201,162,77,0.08) 0%, transparent 65%),
        rgba(2,11,20,0.9);
}

.cta-content { position: relative; z-index: 2; }

.cta-section h2 {
    font-size: clamp(1.8rem, 5.5vw, 3.2rem);
    margin-bottom: 14px;
}

.cta-section .subheading {
    font-size: clamp(0.88rem, 2.2vw, 1.05rem);
    max-width: 560px;
    margin: 0 auto 36px;
    color: var(--th-muted);
    line-height: 1.8;
}

.cta-section .hero-btns {
    flex-direction: column;
    align-items: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: linear-gradient(180deg, #020B14 0%, #071A2F 100%);
    border-top: 1px solid rgba(201,162,77,0.12);
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand { max-width: 100%; }

.footer-brand .logo-main { font-size: 1.15rem; }

.footer-brand p {
    color: var(--th-muted);
    font-size: 0.875rem;
    line-height: 1.8;
    margin: 12px 0 18px;
}

.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }

.social-link {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--th-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.875rem;
}

.social-link:hover {
    background: var(--th-gold);
    border-color: var(--th-gold);
    color: var(--th-navy-deep);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--th-gold);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }

.footer-links a {
    color: var(--th-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-links a::before {
    content: '›';
    color: var(--th-gold);
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.2s;
    line-height: 1;
}

.footer-links a:hover { color: var(--th-gold); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 13px;
}

.footer-contact-item i {
    color: var(--th-gold);
    width: 16px;
    margin-top: 3px;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.footer-contact-item span,
.footer-contact-item a {
    color: var(--th-muted);
    font-size: 0.875rem;
    line-height: 1.55;
    text-decoration: none;
}

.footer-contact-item a:hover { color: var(--th-gold); }

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 22px 0;
    color: rgba(255,255,255,0.3);
    font-size: 0.76rem;
    font-family: 'Inter', sans-serif;
}

.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-bottom a:hover { color: var(--th-gold); }

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: center;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-name-email-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.th-form label {
    display: block;
    font-weight: 600;
    font-size: 0.82rem;
    color: #4a5568;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
    font-family: 'Inter', sans-serif;
}

.th-form input,
.th-form select,
.th-form textarea {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Inter', sans-serif;
    color: #1a202c;
    min-height: 48px;
    appearance: auto;
}

.th-form input:focus,
.th-form select:focus,
.th-form textarea:focus {
    border-color: var(--th-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(201,162,77,0.13);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#backToTop {
    position: fixed;
    bottom: 18px;
    right: 18px;
    background: linear-gradient(135deg, var(--th-gold), var(--th-gold-light));
    color: var(--th-navy-deep);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 980;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    font-size: 0.85rem;
}

#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover { transform: translateY(-4px); }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--th-navy-deep); }
::-webkit-scrollbar-thumb { background: rgba(201,162,77,0.5); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--th-gold); }

/* ============================================================
   AOS + FOCUS + MOTION
   ============================================================ */
[data-aos] { pointer-events: none; }
.aos-animate { pointer-events: auto; }

:focus-visible {
    outline: 2px solid var(--th-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE — 480px+  (Small phones landscape / large phones)
   ============================================================ */
@media (min-width: 480px) {
    .container { padding: 0 22px; }

    .hero-btns { flex-direction: row; flex-wrap: wrap; }
    .hero-btns .th-btn { width: auto; flex: 1; min-width: 160px; }

    .divisions-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

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

    .contact-name-email-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ============================================================
   RESPONSIVE — 640px+  (Large phones / small tablets)
   ============================================================ */
@media (min-width: 640px) {
    .container { padding: 0 28px; }

    .hero-btns .th-btn { flex: initial; width: auto; }

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

    .section-title { margin-bottom: 56px; }

    .cta-section .hero-btns { flex-direction: row; }
}

/* ============================================================
   RESPONSIVE — 768px+  (Tablets)
   ============================================================ */
@media (min-width: 768px) {
    :root { --section-y: 96px; }

    .container { padding: 0 32px; }

    /* Hero */
    .hero-inner { padding-top: 40px; padding-bottom: 20px; }
    .th-hero .subheading { max-width: 560px; }
    .hero-trust { display: flex; flex-wrap: wrap; gap: 10px 20px; }

    /* Stats — switch to 4-column row */
    .stats-section { padding: 0; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }

    /* Remove 2-col mobile borders */
    .stat-item:nth-child(-n+2) { border-bottom: none; }
    .stat-item:nth-child(odd)  { border-right: none; }

    /* Add right dividers between items for 4-col row */
    .stat-item { padding: 48px 20px; }
    .stat-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0; top: 18%; height: 64%;
        width: 1px;
        background: rgba(255,255,255,0.08);
    }

    /* Split layout — side by side */
    .split-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: center;
    }

    .split-image { padding-bottom: 0; padding-right: 30px; }
    .image-badge {
        bottom: -26px;
        right: 4px;
        padding: 22px 28px;
    }
    .badge-number { font-size: 2.2rem; }

    /* Grids */
    .divisions-grid   { grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .features-grid    { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .compliance-grid  { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .presence-layout  { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
    .presence-map-visual { min-height: 420px; }
    .uk-map-svg { max-width: 230px; }

    /* Contact */
    .contact-wrapper {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 56px;
        align-items: start;
    }

    /* Footer */
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
    .footer-bottom-links { justify-content: flex-end; }

    /* CTA */
    .cta-section { padding: 140px 0; }
}

/* ============================================================
   RESPONSIVE — 1024px+  (Desktop)
   ============================================================ */
@media (min-width: 1024px) {
    :root { --section-y: 112px; }

    .container { padding: 0 40px; }

    .th-card { padding: 36px 32px; }

    .section-title { margin-bottom: 72px; }

    /* Hero — desktop two-column layout */
    .th-hero {
        padding: 110px 0 50px;
        border-radius: 0 0 48px 48px;
    }

    .hero-inner {
        flex-direction: row;
        align-items: center;
        gap: 56px;
        padding-top: 30px;
        padding-bottom: 10px;
        min-height: auto;
    }

    .hero-content { flex: 0 0 52%; }

    .hero-slider {
        display: block;
        flex: 1;
        aspect-ratio: 4/3;
        border-radius: 24px;
    }

    .split-layout { gap: 80px; }
    .split-image { padding-right: 0; }
    .image-badge { bottom: -30px; right: -28px; padding: 26px 34px; }
    .badge-number { font-size: 2.5rem; }

    .divisions-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }

    .features-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }

    .compliance-grid { gap: 20px; }

    .presence-map-visual { min-height: 480px; }
    .uk-map-svg { max-width: 255px; }

    .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 60px; }
}

/* ============================================================
   RESPONSIVE — 1280px+  (Large Desktop)
   ============================================================ */
@media (min-width: 1280px) {
    .th-hero .subheading { max-width: 540px; }
    .th-hero h1 { font-size: 3.8rem; }
}
