:root {
    --brand-blue: #0f4c81;
    --brand-blue-deep: #082b49;
    --brand-green: #1a8b6f;
    --brand-green-soft: #d9f2e9;
    --ink: #183042;
    --muted: #60778a;
    --line: rgba(18, 48, 69, 0.12);
    --surface: #ffffff;
    --surface-alt: #f7fafb;
    --shadow: 0 18px 40px rgba(8, 43, 73, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(26, 139, 111, 0.08), transparent 26%),
        linear-gradient(180deg, #f9fcff 0%, #ffffff 24%, #f5f8fb 100%);
}

h1, h2, h3, h4 {
    font-family: "Fraunces", serif;
    line-height: 1.1;
    margin-bottom: 0.8rem;
}

p, li {
    line-height: 1.7;
}

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

img {
    display: block;
    max-width: 100%;
}

.site-header {
    backdrop-filter: blur(14px);
    background: rgba(249, 252, 255, 0.9);
    border-bottom: 1px solid rgba(15, 76, 129, 0.08);
}

.navbar {
    padding: 1rem 0;
}

.brand-lockup {
    display: inline-flex;
    gap: 0.85rem;
    align-items: center;
    color: var(--ink);
}

.brand-lockup strong,
.brand-lockup small {
    display: block;
}

.brand-lockup small {
    color: var(--muted);
    font-size: 0.82rem;
}

.brand-mark {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    color: #fff;
    font-weight: 700;
}

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

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

.btn-quote,
.btn-outline-primary,
.btn-outline-light {
    border-radius: 8px;
    padding: 0.85rem 1.2rem;
}

.btn-quote {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
    box-shadow: 0 14px 35px rgba(15, 76, 129, 0.16);
}

.hero-section {
    padding: 5.5rem 0 4rem;
    background:
        linear-gradient(135deg, rgba(8, 43, 73, 0.94), rgba(15, 76, 129, 0.88)),
        url("../../assets/marketing/a_clean_professional_double_banner_leaflet_style.png") center/cover no-repeat;
    color: #fff;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--brand-green);
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-section .eyebrow,
.section-contrast .eyebrow {
    color: #b7f0dc;
}

.hero-section h1,
.inner-hero h1 {
    font-size: 3.35rem;
    max-width: 12ch;
}

.hero-section .lead,
.inner-hero p {
    font-size: 1.08rem;
    max-width: 62ch;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.86);
}

.hero-panel,
.copy-panel,
.contact-card,
.download-card,
.product-card,
.category-card,
.stat-card,
.info-card,
.leadership-card,
.page-hero-media,
.image-card,
.director-photo-card,
.faq-item {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-panel,
.copy-panel,
.contact-card,
.download-card,
.product-card,
.category-card,
.stat-card,
.info-card,
.page-hero-media,
.image-card {
    overflow: hidden;
}

.hero-panel {
    padding: 1rem;
}

.hero-panel-media {
    background: rgba(255, 255, 255, 0.14);
}

.hero-media-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 8px;
}

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

.hero-trust {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
    color: rgba(255, 255, 255, 0.86);
}

.hero-trust span {
    padding: 0.6rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.section-pad {
    padding: 4.75rem 0;
}

.section-tight-bottom {
    padding-top: 0;
}

.surface-light {
    background: linear-gradient(180deg, rgba(13, 87, 128, 0.04), rgba(26, 139, 111, 0.02));
}

.section-contrast {
    background: linear-gradient(135deg, var(--brand-blue-deep), var(--brand-blue));
    color: #fff;
}

.section-heading {
    max-width: 50rem;
    margin-bottom: 2rem;
}

.category-grid,
.product-grid,
.download-grid,
.stats-grid,
.info-grid {
    display: grid;
    gap: 1.2rem;
}

.category-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-grid,
.download-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.info-grid.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-grid.two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card,
.product-card,
.download-card,
.copy-panel,
.contact-card,
.stat-card,
.info-card,
.director-photo-card {
    padding: 1.4rem;
}

.category-card,
.product-card,
.download-card,
.article-card {
    color: var(--ink);
}

.category-card-rich,
.product-card-rich,
.article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-media {
    margin: -1.4rem -1.4rem 1rem;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card-media img,
.page-hero-media img,
.image-card img,
.page-mini-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body-copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    height: 100%;
}

.category-card span,
.product-card span:last-child,
.download-card strong {
    color: var(--brand-green);
    font-weight: 700;
}

.feature-list,
.footer-links {
    padding-left: 1rem;
    margin-bottom: 0;
}

.download-list {
    display: grid;
    gap: 0.8rem;
}

.download-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.faq-stack {
    display: grid;
    gap: 1rem;
}

.faq-item {
    padding: 1.2rem 1.4rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
}

.inner-hero {
    padding: 4rem 0 2rem;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: var(--muted);
}

.narrow-copy {
    max-width: 52rem;
}

.page-copy h2,
.page-copy h3 {
    margin-top: 2rem;
}

.page-copy img {
    margin: 1.5rem 0;
    border-radius: 8px;
}

.filter-bar {
    display: grid;
    gap: 1rem;
    grid-template-columns: 2fr 1fr auto;
}

.product-tag {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: var(--brand-green-soft);
    color: var(--brand-green);
    font-size: 0.82rem;
    font-weight: 700;
}

.spec-grid {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.85rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}

.enquiry-form {
    padding: 1.4rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.quote-form-panel {
    display: grid;
    gap: 1.2rem;
}

.quote-panel-heading {
    max-width: 42rem;
}

.quote-sidebar {
    display: grid;
    gap: 1rem;
}

.quote-intro-band .info-card {
    min-height: 100%;
}

.quote-process-list {
    display: grid;
    gap: 1rem;
}

.quote-step {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.quote-step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: rgba(15, 76, 129, 0.08);
    color: var(--brand-blue);
    font-weight: 700;
}

.quote-step p {
    margin: 0.35rem 0 0;
}

.captcha-wrap {
    padding-top: 0.25rem;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid rgba(24, 48, 66, 0.14);
    padding: 0.8rem 0.95rem;
}

.lead-copy {
    font-size: 1.12rem;
    color: var(--ink);
}

.section-gap-sm {
    margin-top: 2rem;
}

.split-story,
.director-layout {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

.split-story {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.director-layout {
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
}

.image-stack img,
.director-photo-card img,
.leadership-card img {
    width: 100%;
    border-radius: 8px;
}

.director-caption,
.leadership-copy {
    display: grid;
    gap: 0.2rem;
    margin-top: 1rem;
}

.director-caption span,
.leadership-copy span {
    color: var(--muted);
}

.signature-quote {
    margin: 1.5rem 0;
    padding: 1rem 1.2rem;
    border-left: 4px solid var(--brand-green);
    background: rgba(26, 139, 111, 0.06);
    color: var(--ink);
}

.signature-line {
    margin-top: 1.5rem;
    font-weight: 700;
}

.page-mini-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.product-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-support-note {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    background: rgba(15, 76, 129, 0.06);
}

.stat-card strong {
    display: block;
    font-size: 1.9rem;
    color: var(--brand-blue);
    line-height: 1.2;
}

.leadership-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.2rem;
    align-items: center;
    padding: 1rem;
}

.leadership-card img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.page-hero-media,
.image-card {
    padding: 0;
}

.page-hero-media img,
.image-card img {
    aspect-ratio: 4 / 3;
}

.site-footer {
    padding: 4rem 0 2rem;
    background: var(--brand-blue-deep);
    color: #d6e5f3;
}

.site-footer a,
.site-footer h2,
.site-footer h3 {
    color: #fff;
}

.footer-meta {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-body,
.admin-auth-body {
    background: linear-gradient(180deg, #eef7fb 0%, #f8f4ec 100%);
    font-family: "DM Sans", sans-serif;
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    padding: 2rem 1.3rem;
    background: linear-gradient(180deg, var(--brand-blue-deep), #0f4c81);
    color: #fff;
}

.admin-nav {
    display: grid;
    gap: 0.5rem;
}

.admin-nav a {
    color: rgba(255, 255, 255, 0.88);
    padding: 0.75rem 0.9rem;
    border-radius: 8px;
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admin-main {
    padding: 2rem;
}

.admin-auth-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.admin-auth-card {
    width: min(100%, 460px);
    padding: 2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

@media (max-width: 1199px) {
    .hero-section h1,
    .inner-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {
    .admin-shell,
    .split-story,
    .director-layout {
        grid-template-columns: 1fr;
    }

    .info-grid.three-up,
    .info-grid.two-up,
    .filter-bar,
    .leadership-card {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 4.5rem;
    }

    .hero-section h1,
    .inner-hero h1 {
        font-size: 2.6rem;
    }

    .hero-media-image {
        height: 320px;
    }
}

@media (max-width: 767px) {
    .hero-section h1,
    .inner-hero h1 {
        font-size: 2.15rem;
        max-width: none;
    }

    .hero-actions,
    .download-row,
    .spec-row,
    .footer-meta {
        flex-direction: column;
    }

    .download-row,
    .spec-row {
        align-items: flex-start;
    }

    .section-pad {
        padding: 3.5rem 0;
    }
}
