@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Frontage Signage Royal Blue Theme */
    --tg-blue-950: #04142e;
    --tg-blue-900: #07234f;
    --tg-blue-800: #0b367b; /* Exact Storefront Signage Blue */
    --tg-blue-700: #0f48a1;
    --tg-blue-600: #185ec4;
    --tg-blue-500: #2575e6;
    --tg-blue-100: #dbeafe;
    --tg-blue-50: #eff6ff;

    /* Flyer Gold & Filigree Accents */
    --tg-gold-700: #a17812;
    --tg-gold-600: #b88b1b;
    --tg-gold-500: #d4af37; /* Classic British Guild Gold */
    --tg-gold-400: #e6c55d;
    --tg-gold-100: #fef9e7;
    --tg-gold-50: #fffdf5;

    /* Slate & Neutral Palette */
    --tg-slate-900: #0b1320;
    --tg-slate-800: #1e293b;
    --tg-slate-700: #334155;
    --tg-slate-600: #475569;
    --tg-slate-500: #64748b;
    --tg-slate-300: #cbd5e1;
    --tg-slate-200: #e2e8f0;
    --tg-slate-100: #f1f5f9;
    --tg-slate-50: #f8fafc;
    --tg-white: #ffffff;

    /* Typography */
    --tg-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --tg-font-heritage: 'Cinzel', 'Times New Roman', serif;

    /* Shadows & Radii */
    --tg-shadow-sm: 0 1px 3px rgba(11, 54, 123, 0.08);
    --tg-shadow-md: 0 4px 14px rgba(11, 54, 123, 0.12);
    --tg-shadow-lg: 0 10px 28px rgba(11, 54, 123, 0.16);
    --tg-shadow-xl: 0 20px 40px rgba(7, 35, 79, 0.22);
    --tg-radius-sm: 8px;
    --tg-radius-md: 12px;
    --tg-radius-lg: 16px;
    --tg-radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--tg-font-body);
    color: var(--tg-slate-800);
    background-color: var(--tg-slate-50);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.font-heritage {
    font-family: var(--tg-font-heritage);
    letter-spacing: 0.04em;
}

/* Storefront Blue Bar */
.tg-top-bar {
    background-color: var(--tg-blue-950);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.tg-top-bar a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tg-top-bar a:hover {
    color: var(--tg-gold-400);
}

.tg-badge-heritage {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(184, 139, 27, 0.12));
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #f7d56e;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Main Navbar */
.tg-navbar {
    background: rgba(7, 35, 79, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--tg-gold-500);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 24px rgba(4, 20, 46, 0.35);
    transition: all 0.3s ease;
}

.tg-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.tg-brand-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    background: #ffffff;
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid var(--tg-gold-500);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.tg-brand-name {
    font-family: var(--tg-font-heritage);
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #ffffff;
    line-height: 1.15;
    display: block;
}

.tg-brand-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tg-gold-400);
    display: block;
    font-weight: 700;
}

.tg-nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tg-nav-link:hover, .tg-nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.tg-btn-primary {
    background: linear-gradient(135deg, var(--tg-gold-500), var(--tg-gold-600));
    color: #07234f;
    font-weight: 800;
    border-radius: var(--tg-radius-md);
    padding: 0.65rem 1.4rem;
    border: 1px solid var(--tg-gold-400);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    transition: all 0.2s ease;
}

.tg-btn-primary:hover {
    background: linear-gradient(135deg, #f7d56e, var(--tg-gold-500));
    color: #04142e;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.tg-btn-royal {
    background: linear-gradient(135deg, var(--tg-blue-800), var(--tg-blue-700));
    color: #ffffff;
    font-weight: 700;
    border-radius: var(--tg-radius-md);
    padding: 0.65rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(11, 54, 123, 0.35);
    transition: all 0.2s ease;
}

.tg-btn-royal:hover {
    background: linear-gradient(135deg, var(--tg-blue-700), var(--tg-blue-600));
    color: #ffffff;
    transform: translateY(-1px);
}

.tg-btn-outline {
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    border-radius: var(--tg-radius-md);
    padding: 0.65rem 1.4rem;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.tg-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

/* Hero Section (Storefront Signage Blue Theme) */
.tg-hero {
    position: relative;
    background: radial-gradient(circle at 85% 15%, rgba(212, 175, 55, 0.18) 0%, transparent 55%),
                radial-gradient(circle at 15% 85%, rgba(24, 94, 196, 0.25) 0%, transparent 45%),
                linear-gradient(135deg, var(--tg-blue-950) 0%, var(--tg-blue-900) 45%, var(--tg-blue-800) 100%);
    color: white;
    padding: 4.5rem 0 4.25rem;
    overflow: hidden;
    border-bottom: 3px solid var(--tg-gold-500);
}

.tg-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.7;
    pointer-events: none;
}

.tg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--tg-gold-400);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.tg-hero-title {
    font-family: var(--tg-font-heritage);
    font-size: clamp(2.2rem, 4.3vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}

.tg-hero-title .text-gold {
    color: var(--tg-gold-400);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.tg-hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 630px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.tg-glass-card {
    background: rgba(7, 35, 79, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--tg-radius-lg);
    box-shadow: 0 16px 36px rgba(4, 20, 46, 0.45);
    color: white;
}

.tg-stat-pill {
    padding: 1rem;
    border-radius: var(--tg-radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.tg-stat-number {
    font-family: var(--tg-font-heritage);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--tg-gold-400);
    line-height: 1;
}

.tg-stat-label {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.25rem;
    font-weight: 600;
}

/* Trust Strip */
.tg-trust-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--tg-slate-200);
    padding: 1.25rem 0;
    box-shadow: var(--tg-shadow-sm);
}

.tg-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tg-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--tg-blue-50);
    color: var(--tg-blue-800);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--tg-blue-100);
}

.tg-trust-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--tg-slate-900);
    line-height: 1.2;
}

.tg-trust-desc {
    font-size: 0.78rem;
    color: var(--tg-slate-600);
}

/* Section Common */
.tg-section {
    padding: 5rem 0;
}

.tg-section-header {
    margin-bottom: 3rem;
}

.tg-section-tag {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--tg-blue-800);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.tg-section-title {
    font-family: var(--tg-font-heritage);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--tg-slate-900);
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.tg-section-subtitle {
    font-size: 1.05rem;
    color: var(--tg-slate-600);
    max-width: 680px;
    margin-top: 0.5rem;
}

/* Service Cards */
.tg-card {
    background: #ffffff;
    border: 1px solid var(--tg-slate-200);
    border-radius: var(--tg-radius-lg);
    box-shadow: var(--tg-shadow-sm);
    transition: all 0.25s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tg-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tg-shadow-xl);
    border-color: var(--tg-blue-800);
}

.tg-card-header-art {
    height: 175px;
    background: linear-gradient(135deg, var(--tg-blue-900), var(--tg-blue-800));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 2px solid var(--tg-gold-500);
}

.tg-card-art-shine {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 65%);
}

.tg-card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tg-card-title {
    font-family: var(--tg-font-heritage);
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--tg-slate-900);
    margin-bottom: 0.5rem;
}

.tg-card-text {
    font-size: 0.92rem;
    color: var(--tg-slate-600);
    margin-bottom: 1.25rem;
    flex: 1;
}

.tg-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.tg-pill-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--tg-blue-50);
    color: var(--tg-blue-800);
    border: 1px solid var(--tg-blue-100);
}

/* Interactive Calculator Container */
.tg-calc-container {
    background: #ffffff;
    border: 1px solid var(--tg-slate-200);
    border-radius: var(--tg-radius-xl);
    box-shadow: var(--tg-shadow-xl);
    overflow: hidden;
}

.tg-calc-header {
    background: linear-gradient(135deg, var(--tg-blue-950), var(--tg-blue-800));
    color: white;
    padding: 2rem 2.5rem;
    border-bottom: 2px solid var(--tg-gold-500);
}

.tg-calc-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.65rem;
}

.tg-calc-option-card {
    border: 1.5px solid var(--tg-slate-200);
    border-radius: var(--tg-radius-md);
    padding: 0.85rem 0.65rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    user-select: none;
}

.tg-calc-option-card:hover {
    border-color: var(--tg-blue-600);
    background: var(--tg-blue-50);
}

.tg-calc-option-card.active {
    border-color: var(--tg-blue-800);
    background: var(--tg-blue-50);
    box-shadow: 0 0 0 2px rgba(11, 54, 123, 0.2);
    font-weight: 700;
}

.tg-calc-option-card .opt-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--tg-slate-900);
    display: block;
}

.tg-calc-option-card .opt-sub {
    font-size: 0.72rem;
    color: var(--tg-slate-500);
    display: block;
    margin-top: 0.15rem;
}

/* Interactive Preview Box */
.tg-preview-box {
    background: linear-gradient(145deg, #07234f, #0b367b);
    border-radius: var(--tg-radius-lg);
    padding: 2rem;
    color: white;
    text-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1.5px solid rgba(212, 175, 55, 0.4);
}

.tg-preview-canvas {
    transition: all 0.3s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* Heritage Showcase Section */
.tg-heritage-section {
    background: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.18) 0%, transparent 45%),
                linear-gradient(135deg, var(--tg-blue-950) 0%, var(--tg-blue-900) 50%, var(--tg-blue-800) 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    border-top: 3px solid var(--tg-gold-500);
    border-bottom: 3px solid var(--tg-gold-500);
}

.tg-heritage-tab {
    padding: 0.85rem 1.25rem;
    border-radius: var(--tg-radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    margin-bottom: 0.75rem;
}

.tg-heritage-tab:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.tg-heritage-tab.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(184, 139, 27, 0.15));
    border-color: var(--tg-gold-400);
    color: var(--tg-gold-400);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
    font-weight: 700;
}

/* Splashbacks Flyer Showcase Card */
.tg-flyer-feature-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--tg-slate-50) 100%);
    border: 2px solid var(--tg-gold-500);
    border-radius: var(--tg-radius-xl);
    box-shadow: var(--tg-shadow-lg);
    overflow: hidden;
}

/* Postcode Checker */
.tg-postcode-box {
    background: linear-gradient(135deg, var(--tg-blue-50), #ffffff);
    border: 1.5px solid var(--tg-blue-100);
    border-radius: var(--tg-radius-lg);
    padding: 2rem;
}

/* Testimonials */
.tg-testimonial-card {
    background: #ffffff;
    border-radius: var(--tg-radius-lg);
    border: 1px solid var(--tg-slate-200);
    padding: 1.75rem;
    box-shadow: var(--tg-shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tg-testimonial-stars {
    color: var(--tg-gold-500);
    margin-bottom: 0.75rem;
}

/* Footer */
.tg-footer {
    background: var(--tg-blue-950);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem;
    border-top: 3px solid var(--tg-gold-500);
}

.tg-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tg-footer a:hover {
    color: var(--tg-gold-400);
}

.tg-footer-title {
    font-family: var(--tg-font-heritage);
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 0.5rem;
}

/* Sticky Mobile Quick Actions */
.tg-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(7, 35, 79, 0.98);
    backdrop-filter: blur(12px);
    border-top: 2px solid var(--tg-gold-500);
    padding: 0.65rem 1rem;
    display: flex;
    gap: 0.75rem;
    z-index: 999;
}

@media (min-width: 768px) {
    .tg-mobile-bar {
        display: none;
    }
}
