:root {
    --color-bg: #f0f0f0;
    --color-surface: #ffffff;
    --color-ink: #1e293b;
    --color-muted: #475569;
    --color-primary: #3d7846;
    --color-primary-dark: #2f5c38;
    --color-accent: #f5bc4b;
    --color-sage: #b8cbb8;
    --color-brand-gray: #58595b;
    --color-accent-orange: #fda256;
    --color-border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgb(0 0 0 / 8%);
    --shadow-md: 0 8px 24px rgb(0 0 0 / 10%);
    --radius: 4px;
    --max-width: 1200px;
    --font-sans: "Open Sans", system-ui, sans-serif;
    --font-display: "Montserrat", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-ink);
    background: var(--color-bg);
}

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

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

a:hover {
    color: var(--color-primary-dark);
}

.container {
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: #fff;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    overflow: visible;
}

.top-bar {
    background: var(--color-primary);
    color: #fff;
}

.top-bar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo:hover {
    text-decoration: none;
}

.brand-logo img {
    display: block;
    height: 52px;
    width: auto;
    background: #fff;
    border-radius: 6px;
    padding: 0.25rem 0.45rem;
    box-shadow: 0 1px 4px rgb(0 0 0 / 12%);
}

.support-line {
    text-align: center;
}

.support-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.support-phone {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.support-phone:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.top-social {
    display: flex;
    gap: 0.65rem;
    justify-content: flex-end;
}

.top-social a {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgb(255 255 255 / 12%);
    color: #fff;
}

.top-social a:hover {
    background: rgb(255 255 255 / 22%);
    color: #fff;
}

.top-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.nav-bar {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    overflow: visible;
}

.nav-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}

.nav-list {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    position: relative;
    display: block;
    padding: 1rem 0.85rem 1.1rem;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #334155;
    border-right: 1px solid #e5e7eb;
}

.nav-list > li:last-child > a {
    border-right: none;
}

.nav-list > li > a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.nav-list > li > a.nav-current,
.nav-list > li > a[aria-current="page"] {
    color: var(--color-accent-orange);
    font-weight: 700;
}

.nav-list > li > a.nav-current::after,
.nav-list > li > a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0;
    height: 3px;
    background: var(--color-accent-orange);
    border-radius: 2px 2px 0 0;
}

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    min-width: 240px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--color-primary);
    border: none;
    box-shadow: var(--shadow-md);
    z-index: 120;
}

.dropdown li {
    margin: 0;
    padding: 0;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.8125rem;
    color: #fff;
    background: var(--color-primary);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown a:hover,
.dropdown a.nav-current,
.dropdown a[aria-current="page"] {
    background: var(--color-accent-orange);
    color: #fff;
    text-decoration: none;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-ink);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 1rem;
}

.nav-mobile.is-open {
    display: flex;
}

.nav-mobile a {
    padding: 0.55rem 0;
    font-weight: 600;
    color: var(--color-ink);
    border-bottom: 1px solid var(--color-border);
}

.nav-mobile a.nav-current,
.nav-mobile a[aria-current="page"] {
    color: var(--color-accent-orange);
    border-left: 3px solid var(--color-accent-orange);
    padding-left: 0.5rem;
}

@media (min-width: 992px) {
    .nav-list {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }

    .nav-mobile {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .top-bar-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .top-social {
        justify-content: center;
    }

    .brand-logo {
        justify-self: center;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

.btn-light {
    background: rgb(255 255 255 / 15%);
    color: #fff;
    border: 1px solid rgb(255 255 255 / 45%);
}

.btn-light:hover {
    background: #fff;
    color: var(--color-primary);
}

.link-arrow {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.link-arrow::after {
    content: " »";
}

/* Hero slider */
.hero-slider {
    position: relative;
    background: #111;
    overflow: hidden;
}

.hero-track {
    position: relative;
    min-height: clamp(320px, 55vh, 520px);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: clamp(320px, 55vh, 520px);
}

.hero-brand-photo {
    object-position: center 35%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(rgb(0 0 0 / 45%), rgb(61 120 70 / 58%));
    color: #fff;
}

.hero-kicker {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-overlay h1 {
    margin: 0 0 1.25rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    max-width: 18ch;
}

.hero-overlay h1 span {
    display: block;
    margin-top: 0.35rem;
    font-size: clamp(0.95rem, 2.2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
}

.hero-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgb(255 255 255 / 35%);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.hero-control:hover {
    background: rgb(255 255 255 / 55%);
}

.hero-prev {
    left: 1rem;
}

.hero-next {
    right: 1rem;
}

.hero-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 0.5rem;
}

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgb(255 255 255 / 45%);
    cursor: pointer;
}

.hero-dots button.is-active {
    background: #fff;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-kicker {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.section-heading h2,
.about-copy h2 {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.section-heading.centered {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto 2.5rem;
}

.section-heading p {
    margin: 0;
    color: var(--color-muted);
}

/* About */
.about-section {
    position: relative;
    background: var(--color-surface);
}

.about-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.about-copy h3 {
    margin: 1.5rem 0 0.75rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
}

.about-copy p {
    margin: 0 0 1rem;
    color: var(--color-muted);
}

.vision-panel {
    background: var(--color-primary);
    color: #fff;
    padding: 2rem 1.75rem;
    border-radius: var(--radius);
}

.vision-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vision-panel li {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgb(255 255 255 / 15%);
    font-size: 0.9375rem;
}

.vision-panel li:last-child {
    border-bottom: none;
}

.vision-panel span {
    font-weight: 700;
    color: var(--color-accent);
}

.experience-badge {
    position: absolute;
    right: clamp(1rem, 8vw, 6rem);
    bottom: -2rem;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-primary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-display);
    box-shadow: var(--shadow-md);
}

.experience-badge strong {
    font-size: 2rem;
    line-height: 1;
}

.experience-badge span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    max-width: 8ch;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .experience-badge {
        position: static;
        margin: 2rem auto 0;
    }
}

/* Offerings */
.offerings-section {
    background: var(--color-bg);
}

.offerings-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .offerings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.offering-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.offering-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    background: #f4f6f4;
}

.offering-body {
    padding: 1.25rem 1.35rem 1.5rem;
}

.offering-body h3 {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
}

.offering-body p {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    color: var(--color-muted);
}

/* Leader banner */
.leader-banner {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: #fff;
    text-align: center;
}

.leader-banner h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.8vw, 1.85rem);
    font-weight: 600;
    line-height: 1.45;
    max-width: 52rem;
    margin-inline: auto;
}

.leader-banner h2 span {
    display: block;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

/* Pillars */
.pillars-section {
    padding: 2.5rem 0;
    background: var(--color-surface);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .pillars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pillar-card {
    text-align: center;
    padding: 1.25rem 0.75rem;
    border: 1px solid var(--color-border);
    background: #fafafa;
}

.pillar-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.pillar-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary);
}

/* News */
.news-section {
    background: var(--color-bg);
}

.news-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    background: var(--color-sage);
}

.news-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-body h3 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    line-height: 1.4;
}

.news-body h3 a {
    color: var(--color-ink);
}

.news-body h3 a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.news-body p {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    color: var(--color-muted);
    flex: 1;
}

/* Partners */
.partners-section {
    background: var(--color-primary);
    color: #fff;
    padding-bottom: 3rem;
}

.section-heading.light .section-kicker {
    color: var(--color-accent);
}

.section-heading.light h2 {
    color: #fff;
}

.partners-track-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: partners-scroll 35s linear infinite;
}

.partner-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.92;
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Footer */
.site-footer {
    background: var(--color-primary-dark);
    color: rgb(255 255 255 / 85%);
    font-size: 0.875rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    padding: 3rem 0 2rem;
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    display: block;
    width: min(100%, 200px);
    height: auto;
    margin: 0 0 1rem;
    background: #fff;
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
}

.footer-brand p {
    margin: 0 0 0.75rem;
    line-height: 1.7;
}

.footer-note {
    font-size: 0.8125rem;
    color: rgb(255 255 255 / 65%);
}

.footer-col h6 {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
}

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

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgb(255 255 255 / 85%);
}

.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgb(255 255 255 / 12%);
    padding: 1rem 0;
}

.footer-bottom-inner p {
    margin: 0;
    font-size: 0.8125rem;
    color: rgb(255 255 255 / 65%);
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 90;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: var(--radius);
    background: #045cb4;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.back-to-top:not([hidden]) {
    display: grid;
    place-items: center;
}

/* Newsletter modal */
.newsletter-modal[hidden] {
    display: none;
}

.newsletter-modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.newsletter-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 55%);
}

.newsletter-dialog {
    position: relative;
    width: min(100%, 480px);
    background: #fff;
    padding: 2rem 2rem 1.75rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.newsletter-close {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    border: none;
    background: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-accent-orange);
    cursor: pointer;
}

.newsletter-dialog h2 {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--color-primary);
}

.newsletter-dialog p {
    margin: 0 0 1.25rem;
    color: var(--color-muted);
    font-size: 0.9375rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font: inherit;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--color-muted);
    margin-top: 0.75rem;
}

/* Products page */
.products-page {
    background: #f5f5f5;
}

.products-slideshow {
    position: relative;
    width: 100%;
    background: #111;
    overflow: hidden;
}

.products-slideshow-track {
    position: relative;
    height: clamp(260px, 42vh, 460px);
}

.products-slideshow-track img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.products-slideshow-track img.is-active {
    opacity: 1;
    z-index: 1;
}

.product-catalog--reference {
    padding: 2.5rem 0 3rem;
    background: #f5f5f5;
}

.catalog-block {
    margin-bottom: 2.75rem;
}

.catalog-block h2 {
    margin: 0 0 1.25rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.table-scroll {
    overflow-x: auto;
    background: var(--color-surface);
    border: 1px solid #ddd;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 720px;
}

.product-table th,
.product-table td {
    padding: 0.85rem 1rem;
    border: 1px solid #ddd;
    vertical-align: top;
    text-align: left;
    width: 1%;
}

.product-table th {
    background: #e8e4dc;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
}

.product-table td {
    background: #fafafa;
    color: var(--color-ink);
}

.product-table td ul {
    margin: 0;
    padding-left: 1.1rem;
}

.product-table td li {
    margin-bottom: 0.35rem;
    line-height: 1.45;
}

.product-table td li:last-child {
    margin-bottom: 0;
}

.catalog-cta {
    text-align: center;
    padding: 1rem 0 2rem;
}

.catalog-cta p {
    max-width: 36rem;
    margin: 0 auto 1.25rem;
    color: var(--color-muted);
}

.inner-page .page-hero--compact {
    padding: 2.25rem 0;
}

.page-content {
    padding: 2.5rem 0 4rem;
    background: var(--color-surface);
}

.page-content .lead {
    font-size: 1.0625rem;
    color: var(--color-muted);
    max-width: 46rem;
}

.content-panel {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #fafafa;
    border: 1px solid var(--color-border);
}

.content-panel ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    color: var(--color-muted);
}

.training-calendar-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.875rem;
}

.training-calendar-table th,
.training-calendar-table td {
    border: 1px solid var(--color-border);
    padding: 0.65rem 0.85rem;
    text-align: left;
}

.training-calendar-table th {
    background: #e8e4dc;
    color: var(--color-primary);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* Contact details page (livestock.co.zm/contact-details layout) */
.contact-page {
    background: #f9f9f9;
}

.contact-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 268px;
    background: url("../assets/contact-hero.jpg") center / cover no-repeat;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 50%);
}

.contact-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 62%;
    padding: 2.5rem 0;
}

@media (max-width: 921px) {
    .contact-hero-inner {
        max-width: 100%;
    }
}

.contact-hero-kicker,
.contact-section-kicker {
    margin: 0 0 0.35rem;
    padding-bottom: 0.35rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.625rem;
    text-transform: uppercase;
    line-height: 1.4;
    color: var(--color-accent);
}

.contact-hero-title {
    margin: -0.5rem 0 0;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.85;
    color: #fff;
}

.contact-body {
    padding: 1.125rem 0 4rem;
}

.contact-infobox-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .contact-infobox-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-infobox {
    text-align: center;
    padding: 1.5rem 1.25rem 1.75rem;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
}

.contact-infobox--link {
    padding: 0;
}

.contact-infobox-link {
    display: block;
    padding: 1.5rem 1.25rem 1.75rem;
    color: inherit;
    text-decoration: none;
}

.contact-infobox-link:hover {
    text-decoration: none;
    color: inherit;
}

.contact-infobox-icon {
    margin: 0 auto 0.65rem;
    color: var(--color-accent);
    line-height: 1;
}

.contact-infobox-title {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.contact-infobox-text {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.55;
    color: var(--color-muted);
}

.contact-infobox-text p {
    margin: 0;
}

.contact-infobox-text a {
    color: inherit;
    font-weight: 500;
}

.contact-form-map-grid {
    display: grid;
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 900px) {
    .contact-form-map-grid {
        grid-template-columns: 1fr 1fr;
        min-height: 339px;
    }
}

.contact-section-title {
    margin: -1rem 0 1.25rem;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.85;
    color: #365427;
}

.contact-form-col .form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .contact-form-col .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form-col .form-group {
    margin-bottom: 1rem;
}

.contact-form-col label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-ink);
}

.contact-form-col input,
.contact-form-col select,
.contact-form-col textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font: inherit;
    font-size: 0.875rem;
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    background: #fff;
}

.contact-submit {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.85rem;
    font-size: 0.9375rem;
}

.contact-map-col {
    min-height: 339px;
    background: #fff;
}

.contact-map-col iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 339px;
    border: 0;
}

