:root {
    --brand-blue: #0b4f9f;
    --brand-blue-dark: #073568;
    --brand-red: #d9222a;
    --brand-red-dark: #a8161d;
    --ink: #132238;
    --muted: #607086;
    --surface: #ffffff;
    --soft: #f4f8fc;
    --line: #dce6f2;
    --shadow: 0 24px 70px rgba(9, 43, 89, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--brand-blue);
}

img {
    max-width: 100%;
}

.btn {
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0;
}

.btn-primary {
    background: var(--brand-red);
    border-color: var(--brand-red);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--brand-red-dark);
    border-color: var(--brand-red-dark);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, .72);
}

.site-navbar {
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid rgba(11, 79, 159, .12);
    box-shadow: 0 12px 32px rgba(5, 27, 58, .08);
    backdrop-filter: blur(12px);
}

.navbar-brand {
    color: var(--brand-blue-dark);
    line-height: 1.05;
}

.brand-logo {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(11, 79, 159, .12);
    border-radius: 6px;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    padding: 4px 6px;
    width: 66px;
}

.brand-logo img {
    display: block;
    max-height: 40px;
    object-fit: contain;
    width: 100%;
}

.navbar-brand small {
    color: var(--brand-red);
    display: block;
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
}

.brand-mark {
    align-items: center;
    background: var(--brand-blue);
    border-radius: 6px;
    color: #fff;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.nav-link {
    color: var(--ink);
    font-weight: 700;
}

.nav-link.active,
.nav-link:hover {
    color: var(--brand-red);
}

.hero-section,
.page-hero {
    background:
        linear-gradient(110deg, rgba(7, 53, 104, .96), rgba(11, 79, 159, .88)),
        url("/assets/img/refilling-station-cylinder.jpg") center/cover no-repeat;
    color: #fff;
    min-height: 92vh;
    overflow: hidden;
    padding: 140px 0 72px;
    position: relative;
}

.hero-section::after,
.page-hero::after {
    background: var(--brand-red);
    bottom: 0;
    content: "";
    height: 8px;
    left: 0;
    position: absolute;
    width: 100%;
}

.hero-accent {
    animation: pulseGlow 4s ease-in-out infinite;
    background: rgba(217, 34, 42, .36);
    border-radius: 999px;
    filter: blur(12px);
    height: 260px;
    position: absolute;
    right: 8%;
    top: 20%;
    width: 260px;
}

.eyebrow {
    align-items: center;
    color: var(--brand-red);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 800;
    gap: .5rem;
    letter-spacing: .08em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-section .eyebrow,
.page-hero .eyebrow {
    color: #fff;
}

h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.12;
}

.hero-section h1,
.page-hero h1 {
    font-size: clamp(2.45rem, 5vw, 4.9rem);
    max-width: 820px;
}

.hero-copy,
.page-hero p {
    color: rgba(255, 255, 255, .88);
    font-size: 1.18rem;
    margin: 1.3rem 0 2rem;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-strip {
    border-left: 4px solid var(--brand-red);
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2.2rem;
    max-width: 560px;
    padding-left: 1.25rem;
}

.trust-strip strong,
.trust-strip span {
    display: block;
}

.trust-strip strong {
    color: #fff;
    font-size: 1.45rem;
}

.trust-strip span {
    color: rgba(255, 255, 255, .78);
    font-size: .9rem;
}

.hero-visual {
    min-height: 520px;
    position: relative;
}

.hero-photo {
    aspect-ratio: 4 / 5;
    border: 8px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: min(66vh, 620px);
    object-fit: cover;
    width: 82%;
}

.cylinder-float {
    animation: floatCylinder 5s ease-in-out infinite;
    bottom: -16px;
    filter: drop-shadow(0 34px 32px rgba(0, 0, 0, .28));
    max-height: 410px;
    position: absolute;
    right: 0;
    width: min(54%, 330px);
}

.section-pad {
    padding: 88px 0;
}

.section-heading {
    margin: 0 auto 2.6rem;
    max-width: 760px;
    text-align: center;
}

.section-heading h2,
.banner-panel h2,
#locations h2,
.safety-section h2,
.form-panel h2,
.contact-panel h2 {
    color: var(--brand-blue-dark);
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p,
.safety-section p,
#locations .lead {
    color: var(--muted);
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(9, 43, 89, .08);
    height: 100%;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.service-card img {
    aspect-ratio: 16 / 11;
    display: block;
    object-fit: cover;
    width: 100%;
}

.service-card div {
    padding: 1.35rem;
}

.service-card h3 {
    color: var(--brand-blue-dark);
    font-size: 1.22rem;
}

.service-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.service-icon {
    color: var(--brand-red);
    font-size: 1.55rem;
    margin-bottom: .9rem;
}

.banner-section {
    background: var(--soft);
    padding: 32px 0;
}

.banner-panel {
    align-items: center;
    background: var(--brand-blue-dark);
    border-radius: 8px;
    color: #fff;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(280px, .86fr) 1fr;
    overflow: hidden;
}

.banner-panel img {
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    width: 100%;
}

.banner-panel div {
    padding: 2.5rem 2.5rem 2.5rem 0;
}

.banner-panel h2 {
    color: #fff;
}

.banner-panel p {
    color: rgba(255, 255, 255, .84);
}

.location-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.8rem;
}

.location-item,
.contact-line {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 5px solid var(--brand-red);
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.location-item i,
.contact-line i {
    color: var(--brand-blue);
    font-size: 1.35rem;
    margin-top: .2rem;
}

.location-item strong,
.location-item span,
.contact-line strong,
.contact-line span,
.contact-line a {
    display: block;
}

.location-item span,
.contact-line span {
    color: var(--muted);
}

.image-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.2fr .8fr;
}

.image-grid img {
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: 440px;
    object-fit: cover;
    width: 100%;
}

.image-grid img:last-child {
    margin-top: 48px;
}

.safety-section {
    background: var(--soft);
}

.custom-accordion .accordion-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: .9rem;
    overflow: hidden;
}

.custom-accordion .accordion-button {
    color: var(--brand-blue-dark);
    font-weight: 800;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: #fff;
    color: var(--brand-red);
}

.contact-hero {
    background:
        linear-gradient(110deg, rgba(7, 53, 104, .98), rgba(11, 79, 159, .88)),
        url("/assets/img/gas-cylinder-stock.jpg") center/cover no-repeat;
    min-height: 58vh;
}

.page-hero-img {
    animation: floatCylinder 5s ease-in-out infinite;
    display: block;
    filter: drop-shadow(0 34px 32px rgba(0, 0, 0, .24));
    margin: 0 auto;
    max-height: 360px;
    object-fit: contain;
}

.contact-panel,
.form-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: 100%;
    padding: 2rem;
}

.contact-panel {
    background:
        linear-gradient(180deg, rgba(244, 248, 252, .94), rgba(255, 255, 255, .98)),
        url("/assets/img/refilling-station-cylinder.jpg") center/cover no-repeat;
}

.contact-panel h2,
.form-panel h2 {
    font-size: 1.75rem;
    margin-bottom: 1.35rem;
}

.contact-line {
    background: rgba(255, 255, 255, .94);
    margin-bottom: 1rem;
}

.form-control,
.form-select {
    border-color: var(--line);
    border-radius: 6px;
    min-height: 48px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 .2rem rgba(11, 79, 159, .18);
}

.site-footer {
    background: var(--brand-blue-dark);
    color: #fff;
    padding: 56px 0 24px;
}

.footer-brand {
    display: flex;
    gap: 1rem;
}

.footer-logo {
    background: rgba(255, 255, 255, .96);
    flex: 0 0 auto;
}

.footer-brand strong,
.site-footer h2 {
    display: block;
    font-size: 1.1rem;
    margin-bottom: .65rem;
}

.footer-brand p,
.site-footer p,
.footer-list a,
.footer-map {
    color: rgba(255, 255, 255, .76);
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    align-items: center;
    display: flex;
    gap: .7rem;
    margin-bottom: .75rem;
}

.footer-list i {
    color: var(--brand-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .64);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.2rem;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatCylinder {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

@keyframes pulseGlow {
    0%,
    100% {
        opacity: .58;
        transform: scale(1);
    }
    50% {
        opacity: .86;
        transform: scale(1.08);
    }
}

@media (max-width: 991.98px) {
    .hero-section,
    .page-hero {
        min-height: auto;
        padding: 116px 0 64px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .hero-photo {
        height: 430px;
        width: 88%;
    }

    .cylinder-float {
        max-height: 310px;
    }

    .banner-panel {
        grid-template-columns: 1fr;
    }

    .banner-panel div {
        padding: 0 2rem 2rem;
    }

    .banner-panel img {
        min-height: 300px;
    }
}

@media (max-width: 767.98px) {
    .section-pad {
        padding: 64px 0;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 330px;
    }

    .hero-photo {
        height: 330px;
        width: 100%;
    }

    .cylinder-float {
        max-height: 240px;
        width: 50%;
    }

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

    .image-grid img {
        height: 300px;
    }

    .image-grid img:last-child {
        margin-top: 0;
    }

    .contact-panel,
    .form-panel {
        padding: 1.35rem;
    }
}
