/* ═══════════════════════════════════════
   HOME
═══════════════════════════════════════ */
.hero {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 72px 0 64px
}

.hero-pat {
    position: absolute;
    inset: 0;
    opacity: .05;
    background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
    background-size: 24px 24px
}

.hero-blob {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--sky);
    opacity: .1
}

.hero-blob2 {
    position: absolute;
    bottom: -100px;
    left: 8%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--gold);
    opacity: .08
}

.hero-inner {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--site-gutter);
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 52px;
    align-items: center;
    position: relative;
    z-index: 1
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 11px;
    color: rgba(255, 255, 255, .8);
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 18px
}

.hero-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold)
}

.hero h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 52px;
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: 0.02em
}

.hero h1 span {
    color: var(--gold-light)
}

.hero-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 480px;
    font-weight: 300
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.cta-gold {
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none
}

.cta-gold:hover {
    background: var(--gold-light)
}

.cta-outline {
    background: transparent;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    padding: 11px 24px;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, .3);
    cursor: pointer;
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none
}

.cta-outline:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .6)
}

/* hero search card */
.hero-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .28)
}

.hc-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--g500);
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 10px
}

.search-bar {
    display: flex;
    border: 1.5px solid var(--g100);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    transition: border-color .15s
}

.search-bar:focus-within {
    border-color: var(--sky)
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 10px 14px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    color: var(--text)
}

.search-bar button {
    background: var(--navy);
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s
}

.search-bar button:hover {
    background: var(--sky)
}

.filter-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px
}

.fp {
    font-size: 11px;
    padding: 3px 10px;
    border: 1px solid var(--g100);
    border-radius: 20px;
    color: var(--g500);
    cursor: pointer;
    background: var(--g50);
    transition: all .15s
}

.fp.on,
.fp:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy)
}

.recent-list {
    border-top: 1px solid var(--g100);
    padding-top: 10px
}

.ri {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--g50);
    cursor: pointer
}

.ri:last-child {
    border: none
}

.ri-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0
}

.ri-dot.v {
    background: var(--sky)
}

.ri-dot.o {
    background: var(--gold)
}

.ri-name {
    flex: 1;
    font-size: 12px;
    font-weight: 500;
    color: var(--text)
}

.ri-tag {
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 4px
}

.ri-tag.v {
    background: var(--sky-light);
    color: #1a7aaa
}

.ri-tag.o {
    background: #fef5e0;
    color: #a06010
}

/* stats bar */
.stats-bar {
    background: #fff;
    border-bottom: 1px solid var(--g100)
}

.stats-inner {
    max-width: var(--site-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.sb {
    padding: 22px 28px;
    border-right: 1px solid var(--g100);
    display: flex;
    align-items: center;
    gap: 14px
}

.sb:last-child {
    border: none
}

.sb-ico {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0
}

.ico-b {
    background: var(--sky-light);
    color: var(--sky)
}

.ico-g {
    background: #fef5e0;
    color: var(--gold)
}

.ico-n {
    background: #eef1f8;
    color: var(--navy)
}

.ico-r {
    background: #fdf0f0;
    color: var(--red)
}

.sb-num {
    font-family: "Bebas Neue", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1
}

.sb-live {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 1px
}

.ldot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

.sb-lbl {
    font-size: 11px;
    color: var(--g500)
}

/* quick tiles */
.section-wrap {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 48px var(--site-gutter)
}

.eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 6px
}

.sec-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.2;
    letter-spacing: 0.03em
}

.sec-sub {
    font-size: 14px;
    color: var(--g500);
    margin-bottom: 28px
}

.tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.tile {
    background: #fff;
    border: 1px solid var(--g100);
    border-radius: 12px;
    padding: 22px 20px;
    cursor: pointer;
    transition: all .2s;
    position: relative;
    overflow: hidden
}

.tile::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background .2s
}

.tile:hover {
    box-shadow: 0 8px 32px rgba(10, 45, 107, .12);
    transform: translateY(-2px)
}

.tile.tb:hover::after {
    background: var(--sky)
}

.tile.tg:hover::after {
    background: var(--gold)
}

.tile.tn:hover::after {
    background: var(--navy)
}

.tile.tr:hover::after {
    background: var(--red)
}

.tile-ico {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px
}

.tile-ico.b {
    background: var(--sky-light);
    color: var(--sky)
}

.tile-ico.g {
    background: #fef5e0;
    color: var(--gold)
}

.tile-ico.n {
    background: #eef1f8;
    color: var(--navy)
}

.tile-ico.r {
    background: #fdf0f0;
    color: var(--red)
}

.tile-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px
}

.tile-desc {
    font-size: 12px;
    color: var(--g500);
    line-height: 1.5
}

.tile-arr {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 14px;
    color: var(--g200);
    transition: all .2s
}

.tile:hover .tile-arr {
    color: var(--navy);
    transform: translate(2px, -2px)
}

/* vt table home preview */
.vt-section {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--site-gutter) 48px
}

.vt-hdr {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px
}

.view-all {
    font-size: 13px;
    color: var(--sky);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer
}

.vt-table {
    background: #fff;
    border: 1px solid var(--g100);
    border-radius: 12px;
    overflow: hidden
}

.vt-thead {
    display: grid;
    grid-template-columns: 90px 1fr 170px 130px 110px;
    background: var(--navy);
    padding: 10px 20px;
    gap: 12px
}

.vt-thead span {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    letter-spacing: .05em;
    text-transform: uppercase
}

.vt-row {
    display: grid;
    grid-template-columns: 90px 1fr 170px 130px 110px;
    padding: 13px 20px;
    border-bottom: 1px solid var(--g50);
    gap: 12px;
    align-items: center;
    cursor: pointer;
    transition: background .12s
}

.vt-row:hover {
    background: var(--sky-light)
}

.vt-row:last-child {
    border: none
}

.etv-no {
    font-size: 11px;
    font-weight: 700;
    color: var(--sky);
    font-family: monospace
}

.tech-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text)
}

.tech-co {
    font-size: 11px;
    color: var(--g500);
    margin-top: 2px
}

.cat-pill {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block
}

.cat-air {
    background: #e6f4fd;
    color: #1a7aaa
}

.cat-water {
    background: #e6f0fb;
    color: #1a4aaa
}

.cat-waste {
    background: #e8f5ed;
    color: #1a7a4a
}

.cat-hazard {
    background: #fef0e0;
    color: #aa6010
}

.cat-wte {
    background: #f5e8fb;
    color: #7a1aaa
}

.st-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 4px
}

.st-v {
    background: var(--sky-light);
    color: var(--sky)
}

.st-o {
    background: #fef5e0;
    color: #a06010
}

/* ann section */
.ann-sec {
    background: linear-gradient(135deg, #071d4a 0%, var(--navy) 100%);
    padding: 48px 0
}

.ann-wrap {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--site-gutter)
}

.ann-eye {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 6px
}

.ann-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: 34px;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: 0.03em;
    font-weight: 400
}

.ann-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.ann-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all .2s
}

.ann-card:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .25)
}

.ann-date {
    font-size: 10px;
    color: rgba(255, 255, 255, .45);
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 6px
}

.ann-tag {
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 8px
}

.at-new {
    background: rgba(26, 156, 216, .3);
    color: var(--sky-light)
}

.at-adv {
    background: rgba(232, 160, 32, .3);
    color: var(--gold-light)
}

.at-evt {
    background: rgba(204, 32, 32, .3);
    color: #ff9999
}

.ann-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 5px
}

.ann-card-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.5
}

/* laws band */
.laws-band {
    background: var(--g50);
    border-top: 1px solid var(--g100);
    padding: 28px 0
}

.laws-inner {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--site-gutter)
}

.laws-lbl {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--navy);
    margin-bottom: 12px
}

.law-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.lp {
    background: #fff;
    border: 1px solid var(--g100);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    color: var(--g700);
    cursor: pointer;
    transition: all .15s
}

.lp::before {
    content: "§";
    margin-right: 5px;
    color: var(--g300)
}

.lp:hover {
    border-color: var(--sky);
    color: var(--sky);
    background: var(--sky-light)
}

/* Extracted inline styles from views/site/index.php. */
.home-inline-001 {
    font-size:10px;
    color:#b0b5bf;
    text-transform:uppercase;
    letter-spacing:.05em;
    margin-bottom:8px
}

.home-inline-002 {
    font-size:10px;
    color:#22c55e;
    font-weight:600
}

.home-inline-003 {
    height:15px
}

.home-inline-004 {
    font-size:12px;
    color:var(--g500)
}

