* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --navy: #003580;
    --navy-dark: #001f4d;
    --navy-mid: #00469e;
    --saffron: #FF8C00;
    --saffron-light: #FFA733;
    --green-ind: #138808;
    --white: #ffffff;
    --off: #f5f7fc;
    --text: #1a1a2e;
    --muted: #5a6478;
    --border: #e0e7f3;
    --gst: #003580;
    --gst-light: #eef3ff;
    --gst-dark: #001f4d;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden
}

/* TRICOLOR */
.tricolor {
    display: flex;
    height: 5px
}

.tricolor div {
    flex: 1
}

/* TICKER */
.ticker {
    background: var(--navy-dark);
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    font-size: 0.8rem;
    font-weight: 500
}

.ticker-inner {
    display: flex;
    animation: tick 30s linear infinite;
    white-space: nowrap
}

.ticker-item {
    padding: 0 3rem;
    display: flex;
    align-items: center;
    gap: 8px
}

.ticker-item::before {
    content: '✦';
    color: var(--saffron);
    font-size: 0.7rem
}

@keyframes tick {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* NAV */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 5vw
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 700
}

.logo-emblem {
    width: 36px;
    height: 36px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color .2s
}

.nav-links a:hover,
.nav-links a.active-nav {
    color: var(--navy)
}

.nav-cta {
    background: var(--saffron);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600 !important
}

.nav-phone {
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 600
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    border-radius: 8px;
    z-index: 1100
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    transform-origin: center
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0)
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1050;
    opacity: 0;
    transition: opacity .3s
}

.nav-overlay.show {
    opacity: 1
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 80%;
    max-width: 300px;
    background: var(--white);
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 4px 0 32px rgba(0, 53, 128, 0.15);
    display: flex;
    flex-direction: column
}

.mobile-drawer.open {
    transform: translateX(0)
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border)
}

.drawer-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--off);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center
}

.drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0
}

.drawer-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all .2s
}

.drawer-nav a:hover {
    background: var(--off);
    color: var(--navy);
    border-left-color: var(--navy)
}

.drawer-nav-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center
}

.drawer-cta {
    padding: 20px;
    border-top: 1px solid var(--border)
}

.drawer-cta a {
    display: block;
    text-align: center;
    background: var(--saffron);
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem
}

.drawer-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px 0;
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 600;
    text-decoration: none
}

.mobile-drawer.open .drawer-nav a {
    animation: slideInLink .3s ease forwards;
    opacity: 0
}

.mobile-drawer.open .drawer-nav a:nth-child(1) {
    animation-delay: .05s
}

.mobile-drawer.open .drawer-nav a:nth-child(2) {
    animation-delay: .10s
}

.mobile-drawer.open .drawer-nav a:nth-child(3) {
    animation-delay: .15s
}

.mobile-drawer.open .drawer-nav a:nth-child(4) {
    animation-delay: .20s
}

@keyframes slideInLink {
    from {
        opacity: 0;
        transform: translateX(-18px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

/* ── HERO ── */
.tool-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
    padding: 40px 5vw 48px;
    position: relative;
    overflow: hidden
}

.tool-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
}

.tool-hero::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, transparent 70%)
}

.tool-hero-inner {
    max-width: 1350px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5)
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color .2s
}

.breadcrumb a:hover {
    color: #fff
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.25)
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 140, 0, 0.2);
    border: 1px solid rgba(255, 140, 0, 0.35);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--saffron-light);
    margin-bottom: 12px
}

.tool-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px
}

.tool-hero-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    max-width: 520px;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 20px
}

.hero-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500
}

.hero-visual {
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    flex-shrink: 0
}

/* ── TOOL PAGE LAYOUT ── */
.tool-layout {
    padding: 48px 5vw 72px;
    background: var(--off)
}

.tool-inner {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start
}

/* ── MAIN CALCULATOR CARD ── */
.calc-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden
}

.calc-card-header {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.calc-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff
}

.calc-card-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    margin-top: 3px
}

.calc-reset-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all .2s
}

.calc-reset-btn:hover {
    background: rgba(255, 255, 255, 0.2)
}

/* MODE TOGGLE */
.mode-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 24px 28px 0;
    background: var(--off);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden
}

.mode-btn {
    padding: 12px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: none;
    font-family: 'DM Sans', sans-serif;
    color: var(--muted);
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px
}

.mode-btn.active {
    background: var(--navy);
    color: #fff;
    border-radius: 10px
}

.mode-desc {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 10px 28px 0;
    font-weight: 300;
    min-height: 18px
}

/* INPUTS */
.calc-inputs {
    padding: 20px 28px 0
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.input-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text)
}

.input-group label span {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 300
}

.inp {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.96rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    outline: none;
    transition: all .2s;
    background: var(--white)
}

.inp:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.08)
}

.inp.amount-inp {
    font-size: 1.05rem;
    font-weight: 600
}

.inp-prefix {
    position: relative
}

.inp-prefix span {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted)
}

.inp-prefix input {
    padding-left: 28px
}

/* GST SLAB SELECTOR */
.slab-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 16px
}

.slab-btn {
    padding: 10px 6px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    background: var(--white);
    color: var(--muted);
    font-family: 'DM Sans', sans-serif
}

.slab-btn:hover {
    border-color: var(--navy);
    color: var(--navy)
}

.slab-btn.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy)
}

.slab-btn .slab-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 800;
    display: block;
    margin-bottom: 1px
}

.slab-btn .slab-label {
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.8
}

/* SUPPLY TYPE */
.supply-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px
}

.supply-btn {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    text-align: center;
    font-size: 0.83rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    background: var(--white);
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px
}

.supply-btn:hover {
    border-color: var(--navy);
    color: var(--navy)
}

.supply-btn.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy)
}

/* CALCULATE BTN */
.calc-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    color: #fff;
    padding: 15px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all .2s;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 53, 128, 0.25)
}

.calc-btn:active {
    transform: translateY(0)
}

/* ── RESULT PANEL ── */
.result-panel {
    margin: 0 28px 28px;
    background: var(--off);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: none
}

.result-panel.show {
    display: block;
    animation: fadeUp .35s ease
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.result-header {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.result-header-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em
}

.result-gst-amount {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff
}

.result-gst-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    margin-top: 2px
}

/* RESULT ROWS */
.result-body {
    padding: 18px 22px
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border)
}

.result-row:last-child {
    border-bottom: none
}

.result-row.total-row {
    border-top: 2px solid var(--navy);
    border-bottom: none;
    padding-top: 14px;
    margin-top: 4px
}

.result-label {
    font-size: 0.84rem;
    color: var(--muted);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 7px
}

.result-label .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0
}

.result-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text)
}

.result-row.total-row .result-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text)
}

.result-row.total-row .result-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy)
}

/* SPLIT BREAKDOWN */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border)
}

.split-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    text-align: center
}

.split-box.igst-box {
    grid-column: span 2
}

.split-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 5px
}

.split-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy)
}

.split-rate {
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 300;
    margin-top: 2px
}

/* RESULT ACTIONS */
.result-actions {
    display: flex;
    gap: 10px;
    padding: 0 22px 20px
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    transition: all .2s
}

.action-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
    background: var(--gst-light)
}

.action-btn.primary-action {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy)
}

.action-btn.primary-action:hover {
    background: var(--navy-dark)
}

/* ── HISTORY TABLE ── */
.history-section {
    margin: 0 28px 28px
}

.history-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.history-clear {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0
}

.history-clear:hover {
    color: #e53935
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border)
}

.history-table th {
    background: var(--off);
    color: var(--muted);
    padding: 8px 12px;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em
}

.history-table td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--off);
    color: var(--text);
    font-weight: 400
}

.history-table tr:last-child td {
    border-bottom: none
}

.history-table tr:hover td {
    background: var(--gst-light)
}

.history-empty {
    text-align: center;
    padding: 20px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 300
}

.h-reuse {
    font-size: 0.7rem;
    color: var(--navy);
    font-weight: 600;
    cursor: pointer
}

.h-reuse:hover {
    text-decoration: underline
}

/* ── SIDEBAR ── */
.tool-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 90px
}

/* INFO CARD */
.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px
}

.info-card-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px
}

.info-card-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

/* GST SLAB TABLE */
.slab-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border)
}

.slab-info-table th {
    background: var(--navy);
    color: #fff;
    padding: 8px 12px;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 600
}

.slab-info-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--off);
    color: var(--text);
    font-weight: 300;
    line-height: 1.5
}

.slab-info-table tr:last-child td {
    border-bottom: none
}

.slab-info-table tr:nth-child(even) td {
    background: var(--off)
}

/* QUICK FACTS */
.quick-facts {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.fact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.5;
    font-weight: 300
}

.fact-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--gst-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0
}

/* RELATED TOOLS */
.related-tool-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--off);
    text-decoration: none;
    transition: all .2s
}

.related-tool-link:last-child {
    border-bottom: none
}

.related-tool-link:hover {
    opacity: 0.75
}

.related-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0
}

.related-text {
    flex: 1
}

.related-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text)
}

.related-cat {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 300
}

.related-arrow {
    font-size: 0.75rem;
    color: var(--muted)
}

/* SERVICE CTA */
.service-cta-card {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
    border-radius: 16px;
    padding: 22px
}

.service-cta-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px
}

.service-cta-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    line-height: 1.55;
    margin-bottom: 16px
}

.service-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--saffron);
    color: #fff;
    padding: 11px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background .2s
}

.service-cta-btn:hover {
    background: var(--saffron-light)
}

/* ── INFO SECTIONS ── */
.info-sections {
    margin-top: 32px
}

.info-sec {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px
}

.info-sec h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px
}

.info-sec p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 10px
}

.info-sec p:last-child {
    margin-bottom: 0
}

.info-sec p strong {
    color: var(--text);
    font-weight: 600
}

.info-sec h3 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    margin: 16px 0 8px;
    padding-left: 10px;
    border-left: 3px solid var(--navy)
}

/* PRINT STYLES */
@media print {

    nav,
    .ticker,
    .tricolor,
    .tool-hero,
    .tool-sidebar,
    .info-sections,
    .calc-card-header,
    .mode-toggle,
    .mode-desc,
    .calc-inputs,
    .calc-btn,
    .result-actions,
    .history-section,
    .wa-float,
    footer,
    .filter-bar {
        display: none !important
    }

    .tool-layout {
        padding: 0;
        background: #fff
    }

    .tool-inner {
        display: block
    }

    .calc-card {
        border: none;
        border-radius: 0
    }

    .result-panel {
        display: block !important;
        margin: 0;
        border: 1px solid #ccc;
        border-radius: 8px
    }

    .print-invoice {
        display: block !important
    }
}

.print-invoice {
    display: none
}

/* BOX */
.box {
    border-radius: 10px;
    padding: 13px 16px;
    margin: 12px 0;
    font-size: 0.84rem;
    line-height: 1.65;
    font-weight: 400
}

.box.blue {
    background: var(--gst-light);
    border-left: 3px solid var(--navy);
    color: var(--navy-dark)
}

.box.green {
    background: #e8f5e9;
    border-left: 3px solid var(--green-ind);
    color: #1b5e20
}

/* FOOTER */
footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 5vw 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08)
}

.footer-grid {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1)
}

.footer-brand .logo {
    color: #fff;
    display: inline-flex
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 280px;
    font-weight: 300;
    margin-top: 12px
}

.footer-col h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px
}

.footer-col ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: color .2s;
    font-weight: 300
}

.footer-col ul li a:hover {
    color: #fff
}

.footer-bottom {
    max-width: 1350px;
    margin: 0 auto;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
    gap: 10px
}

.fbl {
    display: flex;
    gap: 18px
}

.fbl a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none
}

.fbl a:hover {
    color: #fff
}

.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    background: #25D366;
    color: #fff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.6rem;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
    transition: all .2s
}

.wa-float:hover {
    transform: scale(1.1)
}

.wa-tooltip {
    position: absolute;
    right: 70px;
    background: #fff;
    color: var(--text);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    border: 1px solid var(--border)
}

.wa-float:hover .wa-tooltip {
    opacity: 1
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 100px;
    right: 28px;
    background: var(--text);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transform: translateY(12px);
    transition: all .3s;
    pointer-events: none
}

.toast.show {
    opacity: 1;
    transform: translateY(0)
}

@media(max-width:900px) {
    .tool-inner {
        grid-template-columns: 1fr
    }

    .tool-sidebar {
        position: static
    }

    .tool-hero-inner {
        grid-template-columns: 1fr
    }

    .hero-visual {
        display: none
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:600px) {

    .input-row,
    .supply-row {
        grid-template-columns: 1fr
    }

    .slab-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .result-actions {
        flex-wrap: wrap
    }

    .split-grid {
        grid-template-columns: 1fr
    }

    .split-box.igst-box {
        grid-column: span 1
    }

    .footer-grid {
        grid-template-columns: 1fr
    }
}