/* =========================================================
   Wintra Projects — Main stylesheet
   Palette from the logo:
     navy   #292e4c
     orange #f38410
   Sharp-corner editorial layout.
   ========================================================= */

:root {
    /* Brand */
    --navy:         #292e4c;
    --navy-2:       #3a4068;
    --navy-3:       #1c2038;
    --orange:       #f38410;
    --orange-dark:  #c96f05;
    --orange-soft:  #fdf2e1;

    /* Neutrals */
    --ink:          #14192b;
    --muted:        #5a6478;
    --line:         #d8dce5;
    --line-soft:    #e7eaf0;
    --bg:           #f4f5f8;
    --warm:         #faf7f2;
    --white:        #ffffff;

    /* Accent */
    --wa:           #25D366;
    --wa-dark:      #1CAF52;

    /* Type */
    --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Layout */
    --container: 1200px;
    --gap:       24px;
    /* No radius used anywhere — sharp corners by design */
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    font: 16px/1.65 var(--font-body);
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--navy);
    margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }

.wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--navy);
    color: #fff;
    padding: 10px 14px;
    z-index: 200;
}
.skip:focus { left: 10px; top: 10px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Eyebrow — bold uppercase with orange rule ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0 0 0.9em;
}
.eyebrow::before {
    content: "";
    width: 22px;
    height: 3px;
    background: var(--orange);
    display: block;
}
.eyebrow--on-dark { color: #fff; }
.eyebrow--on-dark::before { background: var(--orange); }

.section__lead, .page-hero__lead {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 66ch;
}

/* ---------- Buttons — sharp, uppercase ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 48px;
    padding: 0.85em 1.5em;
    border-radius: 0;
    font: 700 0.88rem/1 var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); }

.btn--ghost {
    border-color: var(--navy);
    color: var(--navy);
    background: transparent;
}
.btn--ghost:hover { background: var(--navy); color: #fff; }

.btn--ghost-light {
    border-color: #fff;
    color: #fff;
    background: transparent;
}
.btn--ghost-light:hover { background: #fff; color: var(--navy); }

.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font: 700 0.82rem var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--orange-dark);
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}
.link-arrow:hover { border-bottom-color: var(--orange-dark); text-decoration: none; }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar {
    background: var(--navy-3);
    color: #c9d2e4;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 9px 24px;
}
.topbar a { color: #fff; }
.topbar a:hover { color: var(--orange); text-decoration: none; }
.topbar__contact { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.topbar__sep { opacity: 0.4; }

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--navy);
    border-bottom: 3px solid var(--orange);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 84px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 58px; width: auto; }

.menu-btn {
    display: none;
    background: none;
    border: 0;
    padding: 10px;
    margin-right: -10px;
    cursor: pointer;
    color: #fff;
}
.menu-btn span {
    display: block;
    width: 26px;
    height: 2px;
    background: currentColor;
    margin: 6px 0;
    transition: transform .2s, opacity .2s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav a {
    display: block;
    padding: 12px 14px;
    font: 600 0.9rem var(--font-head);
    color: #e7eaf3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 3px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
    color: #fff;
    border-bottom-color: var(--orange);
    text-decoration: none;
}
.nav .btn {
    margin-left: 14px;
    border-bottom: 0;
    padding: 0.75em 1.3em;
}
.nav .btn:hover { border-bottom: 0; }

@media (max-width: 960px) {
    .topbar .hide-sm,
    .topbar .hide-xs { display: none; }
    .menu-btn { display: block; }
    .nav {
        display: none;
        position: absolute;
        left: 0; right: 0;
        top: 84px;
        background: var(--navy);
        border-bottom: 3px solid var(--orange);
        padding: 8px 24px 22px;
        max-height: calc(100vh - 84px);
        overflow-y: auto;
    }
    .nav.is-open { display: block; }
    .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .nav a {
        padding: 15px 4px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav .btn { margin: 18px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: #fff;
    background: var(--navy-3);
    overflow: hidden;
    min-height: clamp(520px, 74vh, 780px);
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--orange);
}
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}
.hero__slide.is-active { opacity: 1; }

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
        rgba(28,32,56,0.94) 0%,
        rgba(28,32,56,0.76) 45%,
        rgba(28,32,56,0.30) 100%);
}
@media (max-width: 700px) {
    .hero__overlay {
        background: linear-gradient(180deg,
            rgba(28,32,56,0.60) 0%,
            rgba(28,32,56,0.95) 65%);
    }
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding-top: clamp(70px, 10vw, 130px);
    padding-bottom: clamp(70px, 10vw, 130px);
}
.hero__rule {
    width: 60px;
    height: 4px;
    background: var(--orange);
    margin-bottom: 22px;
}
.hero h1 {
    color: #fff;
    max-width: 20ch;
    margin-bottom: 0.5em;
    font-weight: 800;
    letter-spacing: -0.025em;
}
.hero__lead {
    color: #dce3f1;
    max-width: 56ch;
    font-size: 1.05rem;
    margin-bottom: 2em;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Desktop: hold hero content to the left edge */
@media (min-width: 769px) {
    .hero__inner {
        margin-inline-start: 0;
        padding-inline-start: 10px;
    }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background: var(--navy);
    color: #fff;
    padding: 72px 0 64px;
    border-bottom: 3px solid var(--orange);
}
.page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4.6vw, 3rem);
    max-width: 22ch;
    font-weight: 800;
}
.page-hero__lead { color: #c9d2e4; max-width: 62ch; }

/* ---------- Breadcrumbs ---------- */
.crumbs {
    font-size: 0.82rem;
    color: #a4afc8;
    margin-bottom: 20px;
}
.crumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.crumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 10px;
    opacity: 0.5;
}
.crumbs a { color: #c9d2e4; }
.crumbs [aria-current] { color: #fff; }

/* ---------- Marquee ---------- */
.marquee {
    background: var(--navy-3);
    color: #b9c4dc;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee__track {
    display: inline-flex;
    align-items: center;
    gap: 26px;
    padding: 14px 0;
    white-space: nowrap;
    animation: marquee 46s linear infinite;
    font: 600 0.82rem var(--font-head);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.marquee__dot { color: var(--orange); }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Stats band — sharp cells with dividers ---------- */
.stats {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.stats ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stats li {
    padding: 30px 20px;
    border-left: 1px solid var(--line);
    text-align: left;
}
.stats li:first-child { border-left: 0; }
.stats b {
    display: block;
    font: 800 2rem var(--font-head);
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}
.stats b::after {
    content: "";
    display: block;
    width: 24px;
    height: 3px;
    background: var(--orange);
    margin-top: 12px;
}
.stats span {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: var(--font-head);
    font-weight: 600;
}
@media (max-width: 720px) {
    .stats ul { grid-template-columns: repeat(2, 1fr); }
    .stats li { border-left: 1px solid var(--line); }
    .stats li:nth-child(odd) { border-left: 0; }
    .stats li:nth-child(1),
    .stats li:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--bg); }
.section--warm { background: var(--warm); }
.section__head { max-width: 760px; margin-bottom: 52px; }
.section__head--center { margin-inline: auto; text-align: center; }

/* ---------- Grid ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

/* ---------- Split ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.split--reverse > *:first-child { order: 2; }
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split--reverse > *:first-child { order: 0; }
}
.media {
    overflow: hidden;
    border-left: 4px solid var(--orange);
}
.media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- Services list — full-width numbered rows ---------- */
.services-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 2px solid var(--navy);
}
.service-item {
    display: grid;
    grid-template-columns: 90px 1fr 220px auto;
    gap: 32px;
    align-items: center;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
    transition: background .2s;
}
.service-item:hover { background: var(--warm); }
.service-item__num {
    font: 800 2.4rem var(--font-head);
    color: var(--orange);
    letter-spacing: -0.03em;
    line-height: 1;
}
.service-item__main h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4em;
}
.service-item__main p {
    color: var(--muted);
    margin: 0;
    max-width: 60ch;
}
.service-item__thumb {
    width: 220px;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.service-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-item__cta {
    white-space: nowrap;
}
@media (max-width: 900px) {
    .service-item {
        grid-template-columns: 60px 1fr;
        gap: 16px 20px;
        padding: 28px 0;
    }
    .service-item__num { font-size: 1.6rem; }
    .service-item__thumb,
    .service-item__cta {
        grid-column: 2 / -1;
    }
    .service-item__thumb { width: 100%; max-width: 320px; }
}

/* ---------- Cell grid — Why Wintra ---------- */
.cells {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 2px solid var(--navy);
    border-left: 1px solid var(--line);
}
.cell {
    padding: 34px 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.cell__num {
    display: inline-block;
    font: 800 1.1rem var(--font-head);
    color: var(--orange);
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.cell h3 { font-size: 1.1rem; margin-bottom: 0.5em; }
.cell p { color: var(--muted); margin: 0; font-size: 0.95rem; }
@media (max-width: 900px) { .cells { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cells { grid-template-columns: 1fr; } }

/* ---------- Timeline (process) ---------- */
.timeline {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}
.timeline li {
    counter-increment: step;
    padding: 60px 24px 0 0;
    position: relative;
}
.timeline li::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--line);
    z-index: 0;
}
.timeline li:last-child::before { background: var(--line); }
.timeline__dot {
    position: absolute;
    top: 12px;
    left: 0;
    width: 22px;
    height: 22px;
    background: var(--orange);
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--orange);
    z-index: 1;
}
.timeline__num {
    display: block;
    font: 800 0.85rem var(--font-head);
    letter-spacing: 0.12em;
    color: var(--orange-dark);
    margin-bottom: 8px;
}
.timeline h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.timeline p { color: var(--muted); font-size: 0.92rem; margin: 0; }
@media (max-width: 1000px) {
    .timeline { grid-template-columns: repeat(2, 1fr); gap: 30px 40px; }
    .timeline li { padding-top: 56px; }
    .timeline li::before { display: none; }
}
@media (max-width: 560px) {
    .timeline { grid-template-columns: 1fr; }
}

/* ---------- Ticks ---------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 0.5em;
    color: #2a334a;
}
.ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 12px;
    height: 2px;
    background: var(--orange);
}
.ticks--compact li { margin-bottom: 0.35em; font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; border-top: 2px solid var(--navy); }
.faq details {
    background: #fff;
    border-bottom: 1px solid var(--line);
    border-left: 4px solid transparent;
    transition: border-color .2s;
}
.faq details[open] { border-left-color: var(--orange); }
.faq summary {
    cursor: pointer;
    padding: 22px 24px;
    font: 600 1.02rem var(--font-head);
    color: var(--navy);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon {
    position: relative;
    flex: none;
    width: 20px;
    height: 20px;
}
.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    background: var(--orange);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after  { width: 2px; height: 14px; transition: transform .2s; }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__body { padding: 0 24px 22px; color: var(--muted); }
.faq__body p:last-child { margin: 0; }

/* ---------- CTA band — full-bleed, dark ---------- */
.cta-band {
    background: var(--navy-3);
    color: #fff;
    border-top: 4px solid var(--orange);
    padding: clamp(56px, 7vw, 90px) 0;
}
.cta-band__inner {
    display: grid;
    grid-template-columns: 1.5fr auto;
    gap: 40px;
    align-items: center;
}
.cta-band h2 {
    color: #fff;
    margin-bottom: 0.35em;
    font-weight: 800;
    max-width: 22ch;
}
.cta-band p {
    color: #c9d2e4;
    margin: 0;
    max-width: 60ch;
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) {
    .cta-band__inner { grid-template-columns: 1fr; }
}

/* ---------- Panels ---------- */
.panel {
    padding: 36px 34px;
    border-left: 4px solid var(--orange);
}
.panel--navy {
    background: var(--navy);
    color: #cfd7e6;
}
.panel--navy h2 { color: #fff; }
.panel--navy p:last-child { margin: 0; }

/* ---------- Article cards (blog) — sharp ---------- */
.article-card {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--navy);
    display: flex;
    flex-direction: column;
    transition: border-top-color .2s, transform .2s;
}
.article-card:hover {
    border-top-color: var(--orange);
    transform: translateY(-2px);
}
.article-card__img img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: #e7eaf2;
}
.article-card__body {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.article-card__meta {
    font: 600 0.75rem var(--font-head);
    color: var(--orange-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 12px;
}
.article-card h3 { font-size: 1.12rem; margin-bottom: 0.5em; }
.article-card h3 a { color: var(--navy); }
.article-card h3 a:hover { color: var(--orange-dark); text-decoration: none; }
.article-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.article-card .link-arrow { margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-3);
    color: #a9b5ce;
    padding: 72px 0 28px;
    font-size: 0.93rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer a { color: #dce3f1; }
.site-footer a:hover { color: var(--orange); text-decoration: none; }
.site-footer h4 {
    color: #fff;
    font: 700 0.82rem var(--font-head);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 1.4em;
}
.site-footer h4::after {
    content: "";
    display: block;
    width: 22px;
    height: 3px;
    background: var(--orange);
    margin-top: 12px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.6em; }

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
    gap: 40px;
}
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__logo { margin-bottom: 20px; }
.footer__about { font-size: 0.9rem; line-height: 1.6; max-width: 42ch; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact i { color: var(--orange); margin-top: 3px; flex: none; }

.footer__bottom {
    border-top: 1px solid #1b2a55;
    margin-top: 52px;
    padding-top: 24px;
    font-size: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
}
.footer__bottom p { margin: 0; }
.footer__credit { color: #8e9dbb; }
.footer__credit a { color: var(--orange); }

/* ---------- Mobile bottom bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
    body { padding-bottom: 80px; }
    .mobile-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 80;
        background: #fff;
        border-top: 3px solid var(--orange);
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    }
    .mobile-bar .btn {
        min-height: 50px;
        padding: 0.65em 0.8em;
        font-size: 0.85rem;
    }
}

/* ---------- Contact page ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 2px solid var(--navy);
}
.contact-list li {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
}
.contact-list__icon {
    flex: none;
    width: 44px;
    height: 44px;
    background: var(--orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.contact-list b {
    display: block;
    font: 700 0.72rem var(--font-head);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 4px;
}
.contact-list a, .contact-list span {
    color: var(--navy);
    font-weight: 500;
}

.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--navy);
    padding: clamp(26px, 3.6vw, 44px);
}
.contact-form-wrap__intro { color: var(--muted); }
.contact-form-wrap__alt {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}
.contact-form-wrap__alt p { margin: 0; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.form label {
    display: block;
    font: 700 0.78rem var(--font-head);
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.form .opt {
    font-weight: 400;
    color: var(--muted);
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.82rem;
}
.form input, .form select, .form textarea {
    width: 100%;
    font: 16px var(--font-body);
    padding: 14px 15px;
    border: 1.5px solid #cdd4df;
    border-radius: 0;
    background: #fff;
    color: var(--ink);
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
    border-color: var(--orange);
    outline: none;
    box-shadow: inset 0 -3px 0 var(--orange);
}
.form__note { font-size: 0.82rem; color: var(--muted); margin: 0; }
.hp { position: absolute !important; left: -5000px !important; }

.alert {
    padding: 18px 20px;
    border-radius: 0;
    margin-bottom: 20px;
    font-size: 0.95rem;
    border-left: 4px solid;
}
.alert--ok  { background: #e7f6ee; color: #0f5132; border-color: #0f5132; }
.alert--bad { background: #fdecea; color: #7a1a12; border-color: #7a1a12; }

/* ---------- Prose (blog) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.55rem; margin-top: 2em; }
.prose h3 { font-size: 1.12rem; margin: 1.4em 0 0.4em; }
.prose p, .prose li { color: #2b3348; }
.prose a { text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.post__meta { color: #a4afc8; font-size: 0.88rem; margin: 10px 0 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
    .marquee__track { animation: none; }
    .hero__slide { transition: none; }
}

/* ---------- Helpers ---------- */
.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* =========================================================
   MOBILE SAFETY NET — added to fix layout overflow on
   small screens. These rules do not alter the desktop
   design and are safe to keep permanently.
   ========================================================= */

/* 1. Prevent horizontal overflow at the page level.
   overflow-x: clip (rather than hidden) does not break
   position: sticky on the header. */
html, body {
    max-width: 100%;
    overflow-x: clip;
}

/* 2. Grid and flex children default to min-width: auto, which
   means an element wider than its column (a long unbreakable
   word, a wide image, a long URL) will force the whole grid
   wider than the viewport. min-width: 0 lets them shrink. */
.grid > *,
.split > *,
.cells > *,
.stats > .wrap > ul > li,
.timeline > *,
.services-list > *,
.contact-layout > *,
.cta-band__inner > *,
.footer__grid > * {
    min-width: 0;
}

/* 3. The article-card image wrapper is an <a> element
   containing a block-level image. Force it to be block
   itself so it fills its parent column cleanly. */
.article-card__img {
    display: block;
    overflow: hidden;
}

/* 4. Long words, links and headings should break onto the
   next line rather than forcing their container wider. */
h1, h2, h3, h4,
p, li, a, span, strong, em,
.crumbs li, .post__meta {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* 5. Media should never exceed its container. */
img, svg, video, picture {
    max-width: 100%;
}

/* 6. Full-bleed sections must not create horizontal scroll. */
.cta-band,
.hero,
.page-hero,
.section,
.site-footer,
.marquee,
.stats {
    max-width: 100%;
}

/* 7. On small screens, keep the fixed mobile bottom bar from
   sitting on top of the last footer content. */
@media (max-width: 760px) {
    body {
        padding-bottom: 90px;
    }
}