/* =============================================
   AURIX REFINERY - Main Stylesheet
   Theme 2: Modern Clean Theme
   ============================================= */

:root {
    --primary: #7B1818;
    --primary-dark: #5c1010;
    --gold: #C9A84C;
    --gold-light: #e8c96e;
    --text-dark: #1a1a1a;
    --text-muted: #666;
    --bg-light: #f8f8f8;
    --white: #ffffff;
    --border: #e0e0e0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Montserrat', 'Open Sans', sans-serif; color: var(--text-dark); background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ---- TOP CONTACT BAR ---- */
.top-bar {
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    padding: 6px 0;
}
.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}
.top-bar a { color: #fff; }
.top-bar .tb-item { display: flex; align-items: center; gap: 6px; }
.top-bar i { font-size: 12px; }

/* ---- HEADER / NAVBAR ---- */
header.site-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 16px;
}
.logo-wrap { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-wrap img { height: 42px; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--primary); line-height: 1.1; white-space: nowrap; }
.logo-text span { display: block; font-size: 9px; font-weight: 500; letter-spacing: 2px; color: var(--gold); }

nav.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: nowrap;
}
nav.main-nav ul li a {
    font-size: 11px;
    font-weight: 600;
    padding: 6px 7px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0;
    border-radius: 4px;
    transition: color 0.2s;
    white-space: nowrap;
    display: block;
}
nav.main-nav ul li a:hover,
nav.main-nav ul li a.active { color: var(--primary); }
.btn-login {
    background: var(--primary);
    color: #fff !important;
    padding: 7px 13px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    white-space: nowrap;
    margin-left: 4px;
}
.btn-login:hover { background: var(--primary-dark) !important; color: #fff !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; flex-shrink: 0; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; }

/* ---- HERO SECTION ---- */
.hero {
    background: linear-gradient(135deg, #1c0800 0%, #3a1500 40%, #1a0a00 100%);
    padding: 60px 0 40px;
    overflow: hidden;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 80%, rgba(201,168,76,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 20%, rgba(201,168,76,0.08) 0%, transparent 50%);
    pointer-events: none;
}
.hero .container { display: flex; align-items: center; gap: 40px; position: relative; z-index: 1; }
.hero-text { flex: 1; }
.hero-text h1 {
    font-size: 52px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.hero-text .tagline {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 4px;
    margin-bottom: 16px;
}
.hero-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary-cta {
    background: var(--primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
    display: inline-block;
}
.btn-primary-cta:hover { background: var(--primary-dark); color: #fff; }
.btn-gold-cta {
    background: var(--gold);
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
    display: inline-block;
}
.btn-gold-cta:hover { background: #b8922e; color: #fff; }
.hero-image { flex: 1; text-align: center; }
.hero-image img { max-height: 340px; width: 100%; object-fit: contain; border-radius: 12px; }

/* ---- LIVE RATES SECTION ---- */
.live-rates-section {
    background: var(--bg-light);
    padding: 50px 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin-top: 6px;
    border-radius: 2px;
}
.view-all { font-size: 13px; font-weight: 600; color: var(--primary); }
.view-all:hover { text-decoration: underline; }

.rates-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.rate-card {
    background: #fff;
    border-radius: 10px;
    padding: 16px 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    text-align: center;
}
.rate-card .metal-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5e6b8 0%, #dbb84d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 3px 8px rgba(201,168,76,0.3);
}
.rate-card .metal-icon i { color: #fff; font-size: 20px; }
.rate-card .metal-name { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.rate-card .metal-price { font-size: 22px; font-weight: 800; color: var(--primary); }
.rate-card .metal-hl { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.rate-card .metal-change { font-size: 12px; font-weight: 700; color: #22a022; margin-top: 2px; }
.rate-card .metal-change.down { color: #cc0000; }

.rate-card.gold-card,
.rate-card.silver-card,
.rate-card.forex-card,
.rate-card.mcx-gold-card,
.rate-card.mcx-silver-card { border-top: none; }

/* ---- FEATURES STRIP ---- */
.features-strip {
    background: #fff;
    padding: 36px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    text-align: center;
}
.feature-item img { width: 44px; height: 44px; object-fit: contain; margin-bottom: 10px; }
.feature-item .fi-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(123,24,24,0.2);
}
.feature-item .fi-icon i { color: #fff; }
.feature-item p { font-size: 11px; font-weight: 700; color: var(--text-dark); line-height: 1.4; text-transform: uppercase; }

/* ---- Theme 2 Feature Section (Gold Release + Products + Why Choose) ---- */
.mid-section {
    padding: 24px 0 18px;
    background: #fff;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}
.mid-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.05fr .85fr;
    gap: 12px;
    align-items: stretch;
}

/* ---- Online Tools ---- */
.tools-section {
    background: #fff;
    padding: 44px 0;
    border-bottom: 1px solid var(--border);
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.tool-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px 14px;
    min-height: 142px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}
.tool-card i { color: var(--primary); font-size: 24px; }
.tool-card span {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.25;
}
.tool-card small {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.45;
}

/* Gold Release Program */
.gold-release-card {
    position: relative;
    overflow: hidden;
    min-height: 158px;
    border-radius: 8px;
    padding: 18px 18px;
    background:
        radial-gradient(circle at 84% 74%, rgba(227,177,57,.34), transparent 28%),
        linear-gradient(135deg, #5c001e 0%, #29000e 78%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(88,0,30,.2);
}
.gold-release-card::after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -36px;
    width: 150px;
    height: 92px;
    background: rgba(214,153,32,.48);
    border-radius: 50%;
}
.gold-release-card .gr-badge {
    color: #f7d886;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .2px;
    display: inline-block;
    margin-bottom: 10px;
}
.gold-release-card h3 {
    position: relative;
    z-index: 1;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: 0;
}
.gold-release-card p {
    position: relative;
    z-index: 1;
    max-width: 170px;
    font-size: 10px;
    opacity: .9;
    margin-bottom: 14px;
    line-height: 1.45;
}
.btn-gold-mini {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: #d99b22;
    color: #27000e;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}
.btn-gold-mini:hover { background: #f0bc42; color: #27000e; }
.release-art {
    position: absolute;
    right: 24px;
    bottom: 18px;
    z-index: 1;
    color: #d99b22;
    font-size: 56px;
    opacity: .95;
}
.release-art span {
    position: absolute;
    right: -16px;
    bottom: -14px;
    width: 82px;
    height: 20px;
    border-radius: 50%;
    background: rgba(215,154,35,.42);
}
.btn-white-cta {
    background: #fff;
    color: var(--primary);
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: background 0.2s;
}
.btn-white-cta:hover { background: var(--gold); color: #fff; }

/* Our Products */
.products-card {
    border-radius: 8px;
    padding: 18px 18px 12px;
    background: #fff;
    border: 1px solid #ececec;
    box-shadow: 0 6px 16px rgba(0,0,0,.05);
}
.theme2-title {
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: 0;
}
.theme2-title span {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}
.product-item {
    min-height: 82px;
    text-align: center;
    background: #fff;
    border-radius: 0;
    padding: 8px 8px;
    box-shadow: none;
    border-left: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.product-item:first-child { border-left: 0; }
.product-item:hover {
    transform: translateY(-2px);
    box-shadow: none;
}
.product-item img {
    height: 42px;
    max-width: 58px;
    object-fit: contain;
}
.product-item p {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dark);
}
.view-products {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    color: #111;
}

/* Why Choose */
.why-choose-card {
    border-radius: 8px;
    padding: 18px 18px;
    background: #fff;
    border: 1px solid #ececec;
    box-shadow: 0 6px 16px rgba(0,0,0,.05);
}
.why-choose-card h3 {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #111;
}
.why-list { list-style: none; }
.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    color: #333;
    margin-bottom: 9px;
    font-weight: 700;
    line-height: 1.35;
    padding: 0;
    border-bottom: 0;
}
.why-list li i { color: #c49325; margin-top: 1px; flex-shrink: 0; }

/* ---- About Band ---- */
.about-band {
    background: var(--bg-light);
    padding: 52px 0;
}
.about-band-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 34px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.about-band h2 {
    font-size: 28px;
    line-height: 1.18;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.about-band p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
}
.trust-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.trust-list div {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 18px;
}
.trust-list strong {
    display: block;
    color: var(--primary);
    font-size: 24px;
    font-weight: 900;
}
.trust-list span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 3px;
}

/* ---- FOOTER ---- */
footer.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 32px 0 0;
}
.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #333;
}
.footer-col .fc-icon { font-size: 20px; color: var(--gold); margin-bottom: 6px; }
.footer-col p { font-size: 13px; color: #ccc; line-height: 1.5; }
.footer-col a { color: #ccc; font-size: 13px; }
.footer-col a:hover { color: var(--gold); }
.footer-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #888; margin-bottom: 4px; }
.footer-value { font-size: 14px; font-weight: 600; color: #fff; }

.social-icons { display: flex; gap: 10px; margin-top: 10px; }
.social-icons a {
    width: 34px; height: 34px;
    background: #333;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: background 0.2s;
}
.social-icons a:hover { background: var(--primary); }

.footer-bottom {
    text-align: center;
    padding: 16px 0;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #333;
}
.footer-bottom a { color: #888; margin: 0 10px; }
.footer-bottom a:hover { color: var(--gold); }

/* ---- CONTAINER ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =============================================
   THEME 1: Live Rates Page Styles
   ============================================= */

/* T1 Header Bar (logo + contact + login) */
.t1-header-bar {
    background: #fff;
    padding: 14px 0;
}
.t1-header-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.t1-header-right {
    display: flex;
    align-items: center;
    gap: 26px;
}
.t1-header-info {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.t1-header-info i { color: var(--gold); font-size: 14px; }
.t1-header-info a { color: #444; }
.t1-header-info a:hover { color: var(--primary); }

.t1-logo { display: flex; align-items: center; gap: 10px; }
.t1-logo img { height: 50px; }
.t1-logo-text { font-size: 26px; font-weight: 900; color: var(--primary); }
.t1-logo-sub { font-size: 10px; font-weight: 600; letter-spacing: 3px; color: var(--gold); display: block; }

.btn-login-t1 {
    background: #fff;
    color: var(--primary) !important;
    padding: 8px 20px !important;
    border-radius: 5px;
    font-weight: 700 !important;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 2px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.btn-login-t1:hover { background: var(--primary); color: #fff !important; }

/* T1 Navigation */
.t1-nav {
    background: #fff;
    padding: 0;
    border-bottom: 2px solid #e8e8e8;
}
.t1-nav .container { display: flex; align-items: center; justify-content: center; }
.t1-nav ul { list-style: none; display: flex; flex: 1; flex-wrap: nowrap; justify-content: center; }
.t1-nav ul li a {
    display: block;
    color: #444;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 13px 5px;
    letter-spacing: 0.1px;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.t1-nav ul li a:hover { color: var(--primary); }
.t1-nav ul li a.active {
    color: var(--primary);
    border-bottom-color: var(--gold);
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* T1 Live Rates Banner (hidden - H1 kept for SEO) */
.t1-rates-banner { display: none; }

/* T1 Tabs - Pill Style */
.t1-tabs {
    background: #eee;
    padding: 14px 0;
    border-bottom: none;
}
.t1-tabs .container { display: flex; gap: 12px; align-items: center; }
.t1-tab-btn {
    padding: 11px 30px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #777;
    cursor: pointer;
    border: 2px solid #ccc;
    background: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
}
.t1-tab-btn.active {
    background: var(--primary);
    color: var(--gold);
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(123,24,24,0.25);
}
.t1-tab-btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}
.t1-tab-btn i { font-size: 14px; }
.t1-tab-btn.active i { color: var(--gold-light); }

/* T1 Spot Rates */
.t1-spot-rates { padding: 28px 0; background: #fdf6e3; }
.t1-spot-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.t1-spot-card {
    background: #fff;
    border: 1px solid #e8dcc0;
    border-radius: 12px;
    padding: 20px 14px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(180,150,80,0.08);
    transition: box-shadow 0.2s;
}
.t1-spot-card:hover { box-shadow: 0 4px 16px rgba(180,150,80,0.15); }
.t1-spot-card .sc-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5e6b8 0%, #dbb84d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 3px 8px rgba(201,168,76,0.3);
}
.t1-spot-card .sc-icon img { height: 28px; object-fit: contain; filter: brightness(0) invert(1); }
.t1-spot-card .sc-icon i { color: #fff; font-size: 20px; }
.t1-spot-card .sc-name { font-size: 11px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.t1-spot-card .sc-price { font-size: 22px; font-weight: 900; color: var(--primary); }
.t1-spot-card .sc-hl { font-size: 11px; color: #999; margin-top: 4px; }
.t1-spot-card .sc-change { font-size: 12px; font-weight: 700; color: #00aa00; margin-top: 3px; }

/* T1 Metal Rates Table */
.t1-metal-rates { padding: 20px 0 30px; background: #fff; }
.t1-rates-table { width: 100%; border-collapse: collapse; }
.t1-rates-table thead { background: var(--primary); color: #fff; }
.t1-rates-table thead th { padding: 14px 20px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.t1-rates-table thead th:first-child { text-align: left; }
.t1-rates-table thead th:not(:first-child) { text-align: center; }
.t1-rates-table tbody tr { border-bottom: 1px solid #f0f0f0; }
.t1-rates-table tbody tr:hover { background: #fafafa; }
.t1-rates-table tbody tr.trade-row { cursor: pointer; }
.t1-rates-table tbody tr.trade-row:hover { background: #fff7df; }
.t1-rates-table tbody tr.trade-row:focus { outline: 2px solid var(--gold); outline-offset: -2px; background: #fff7df; }
.t1-rates-table tbody td { padding: 16px 20px; font-size: 15px; }
.t1-rates-table tbody td:first-child { font-weight: 700; }
.t1-rates-table tbody td:not(:first-child) { text-align: center; font-weight: 800; color: var(--primary); font-size: 17px; }
.metal-label { display: flex; align-items: center; gap: 10px; }
.metal-badge { background: var(--gold); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 3px; }
.metal-badge-muted { background: #888; }
.rate-loading-row { text-align: center !important; color: #999 !important; font-weight: 600 !important; }

/* T1 Why Section */
.t1-why { padding: 40px 0; background: var(--bg-light); }
.t1-why h2 { text-align: center; font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 28px; color: var(--text-dark); }
.t1-why h2 span { color: var(--primary); }
.t1-why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; text-align: center; }
.t1-why-item .wi-icon { font-size: 40px; color: var(--primary); margin-bottom: 10px; }
.t1-why-item img { height: 48px; object-fit: contain; margin-bottom: 10px; }
.t1-why-item p { font-size: 12px; font-weight: 700; color: var(--text-dark); line-height: 1.4; }

/* T1 Footer */
.t1-footer { background: var(--primary); color: #fff; padding: 30px 0 0; }
.t1-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.t1-fc .tf-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.t1-fc .tf-value { font-size: 14px; font-weight: 700; color: #fff; }
.t1-fc a { color: #fff; }
.t1-fc p { font-size: 12px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.t1-fc i { font-size: 20px; color: rgba(255,255,255,0.8); margin-bottom: 6px; }
.t1-footer-bottom { background: rgba(0,0,0,0.2); text-align: center; padding: 12px; font-size: 12px; color: rgba(255,255,255,0.7); }
.t1-footer-bottom a { color: rgba(255,255,255,0.7); margin: 0 10px; }

/* Live Rate Flash Animation */
@keyframes flash-green { 0%,100%{background:transparent} 50%{background:rgba(0,180,0,0.15)} }
@keyframes flash-red { 0%,100%{background:transparent} 50%{background:rgba(200,0,0,0.12)} }
.flash-up { animation: flash-green 0.6s; }
.flash-down { animation: flash-red 0.6s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .rates-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .mid-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: repeat(3, 1fr); }
    .about-band-grid { grid-template-columns: 1fr; }
    .t1-spot-grid { grid-template-columns: repeat(3, 1fr); }
    .t1-why-grid { grid-template-columns: repeat(3, 1fr); }
    .t1-footer-grid { grid-template-columns: repeat(2, 1fr); }
    nav.main-nav { display: none; }
    nav.main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.1); padding: 16px; z-index: 999; }
    nav.main-nav.open ul { flex-direction: column; }
    nav.main-nav.open ul li a { padding: 10px 14px; border-radius: 4px; }
    .hamburger { display: flex; }
    .hero .container { flex-direction: column; }
    .hero-text h1 { font-size: 36px; }
    .t1-nav ul { flex-wrap: wrap; }
    .t1-header-right { gap: 16px; }
    .t1-header-info { font-size: 12px; }
    .t1-tabs .container { flex-wrap: wrap; }
}

@media (max-width: 900px) {
    .t1-nav ul { flex-wrap: wrap; }
    .t1-nav ul li a { padding: 10px 8px; }
}

@media (max-width: 768px) {
    .t1-header-bar .container { flex-wrap: wrap; gap: 10px; }
    .t1-header-right { gap: 12px; width: 100%; justify-content: flex-end; }
    .t1-header-info.hide-mobile { display: none; }
    .t1-tab-btn { padding: 9px 20px; font-size: 11px; }
}

@media (max-width: 600px) {
    .rates-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .t1-spot-grid { grid-template-columns: repeat(2, 1fr); }
    .t1-why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-text h1 { font-size: 28px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .t1-footer-grid { grid-template-columns: 1fr; }
    .t1-header-info { display: none; }
    .t1-tab-btn { padding: 8px 16px; font-size: 10px; letter-spacing: 0.5px; }
}

/* Loading spinner */
.rate-loading { color: #aaa; font-size: 12px; }

/* ---- Themed Inner Pages ---- */
.inner-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 34px 0;
}
.inner-hero .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.inner-hero h1 { font-size: 28px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.inner-hero p { color: rgba(255,255,255,0.82); font-size: 13px; margin-top: 6px; }
.inner-panel { padding: 36px 0 52px; background: #f6f6f6; min-height: 420px; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.content-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.06);
}
.content-card.wide { grid-column: span 2; }
.content-card.full { grid-column: 1 / -1; }
.content-card h2,
.content-card h3 { color: var(--primary); font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.content-card h2 { font-size: 20px; }
.content-card h3 { font-size: 15px; }
.content-card p,
.content-card li { color: #333; font-size: 14px; line-height: 1.7; }
.content-card ul { padding-left: 18px; }
.coming-soon-card {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.coming-soon-card h2 {
    margin: 0;
    color: var(--primary);
    font-size: 32px;
    letter-spacing: 0;
}
.detail-list { display: grid; gap: 10px; }
.detail-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid #eee; }
.detail-row span:first-child { color: #777; font-size: 12px; text-transform: uppercase; font-weight: 800; }
.detail-row span:last-child { font-size: 14px; font-weight: 600; }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.calc-toolbar {
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 16px;
}
.calc-type-group {
    display: flex;
    align-items: center;
    gap: 18px;
}
.calc-type-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-size: 14px;
    font-weight: 700;
}
.calc-type-group input {
    margin: 0;
}
.calc-add-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 10px 18px;
    line-height: 1;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; color: #666; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }
.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 11px 12px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; }
.data-table th { background: var(--primary); color: #fff; text-align: left; font-size: 12px; text-transform: uppercase; padding: 12px; }
.data-table td { border-bottom: 1px solid #eee; padding: 12px; font-size: 14px; }
.data-table input { width: 100%; border: 1px solid #ddd; border-radius: 5px; padding: 8px; }
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-scroll .data-table {
    min-width: 640px;
}
.summary-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.summary-box { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.summary-box span { display: block; color: #777; font-size: 11px; text-transform: uppercase; font-weight: 800; margin-bottom: 5px; }
.summary-box strong { color: var(--primary); font-size: 20px; }
.message-list { display: grid; gap: 14px; }
.message-item { border: 1px solid var(--border); border-radius: 8px; background: #fff; overflow: hidden; }
.message-item p { padding: 16px; }
.message-date { background: #f4e8c1; color: #3d2b00; font-size: 12px; font-weight: 800; text-align: right; padding: 10px 16px; }
.status-note { color: #777; font-size: 13px; margin-top: 10px; }

@media (max-width: 900px) {
    .content-grid { grid-template-columns: 1fr; }
    .content-card.wide { grid-column: auto; }
    .form-grid { grid-template-columns: 1fr; }
    .calc-toolbar { align-items: stretch; }
    .calc-type-group { width: 100%; }
    .calc-add-row { width: 100%; }
    .summary-strip { grid-template-columns: repeat(2, 1fr); }
    .inner-hero .container { display: block; }
}

@media (max-width: 520px) {
    .detail-row { grid-template-columns: 1fr; gap: 3px; }
    .summary-strip { grid-template-columns: 1fr; }
}

/* ---- Services Page ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 3px 14px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,0.11); }
.service-card .svc-icon { font-size: 46px; color: var(--primary); margin-bottom: 14px; }
.service-card h3 { font-size: 15px; font-weight: 800; color: var(--primary); text-transform: uppercase; margin-bottom: 10px; letter-spacing: 0.5px; }
.service-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; } }

/* ---- Process Steps ---- */
.process-list { list-style: none; margin-top: 8px; }
.process-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.step-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
}
.step-body h4 { font-size: 14px; font-weight: 800; color: var(--text-dark); margin-bottom: 3px; text-transform: uppercase; }
.step-body p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ---- About page ---- */
.about-intro { font-size: 15px; line-height: 1.8; color: #333; margin-bottom: 18px; }
.cert-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
}
.cert-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}
.cert-badge i { color: var(--primary); font-size: 18px; }

/* ---- Highlight box ---- */
.highlight-box {
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    padding: 24px 22px;
    margin-bottom: 0;
}
.highlight-box h3 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; }
.highlight-box p { color: rgba(255,255,255,0.88); font-size: 13px; line-height: 1.6; }
.highlight-box .btn-white-cta { margin-top: 14px; display: inline-block; }
