:root {
    --sam-blue: #2876f9;
    --sam-blue-dark: #1263e9;
    --sam-navy: #061a3a;
    --sam-navy-2: #0d2e61;
    --sam-aqua: #19a9ad;
    --sam-text: #10213b;
    --sam-muted: #5f6d7e;
    --sam-soft: #f1f3f5;
    --sam-border: #dfe4ea;
    --sam-white: #ffffff;
    --sam-radius: 18px;
    --sam-shadow: 0 22px 60px rgba(5, 24, 55, .10);
    --sam-container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--sam-text);
    background: var(--sam-white);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.sam-menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .55em; color: var(--sam-navy); line-height: 1.13; letter-spacing: -.025em; }
h1 { font-size: clamp(2.8rem, 5.2vw, 5.1rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); font-weight: 650; }
h3 { font-size: 1.22rem; font-weight: 650; }
p { margin: 0 0 1.25em; }
svg { width: 1em; height: 1em; }
.screen-reader-text,
.sam-skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.sam-skip-link:focus {
    z-index: 99999;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 12px 18px;
    color: #fff;
    background: var(--sam-navy);
    clip: auto;
}
.sam-container { width: min(calc(100% - 48px), var(--sam-container)); margin-inline: auto; }
.sam-section { padding: 104px 0; }
.sam-section--soft { background: var(--sam-soft); }
.sam-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--sam-blue-dark);
    font-size: .77rem;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.sam-eyebrow::before { width: 30px; height: 2px; content: ""; background: currentColor; }
.sam-eyebrow--light { color: #8ebcff; }
.sam-lead { color: var(--sam-muted); font-size: 1.12rem; }
.sam-section-heading { max-width: 760px; margin-bottom: 48px; }
.sam-section-heading--center { margin-right: auto; margin-left: auto; text-align: center; }
.sam-section-heading--center .sam-eyebrow { justify-content: center; }
.sam-section-heading p { color: var(--sam-muted); font-size: 1.08rem; }
.sam-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.sam-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 52px;
    padding: 13px 25px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 650;
    line-height: 1.1;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.sam-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16, 57, 122, .18); }
.sam-btn--small { min-height: 46px; padding: 11px 22px; }
.sam-btn--blue { color: #fff; background: var(--sam-blue); }
.sam-btn--blue:hover { background: var(--sam-blue-dark); }
.sam-btn--navy { color: #fff; background: var(--sam-navy); }
.sam-btn--white { color: var(--sam-blue-dark); background: #fff; }
.sam-btn--outline { color: var(--sam-navy); border-color: var(--sam-navy); background: transparent; }

/* Header */
.sam-topbar { position: relative; z-index: 51; min-height: 42px; background: #f4f4f4; font-size: .79rem; }
.sam-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; }
.sam-topbar__markets, .sam-topbar__contact { display: flex; align-items: center; }
.sam-topbar__markets a, .sam-topbar__contact a { padding: 0 15px; border-right: 1px solid #c8ccd2; }
.sam-topbar__markets a:first-child { padding-left: 0; }
.sam-topbar__contact a:last-child { padding-right: 0; border-right: 0; }
.sam-topbar a:hover { color: var(--sam-blue-dark); }
.sam-header {
    position: sticky;
    z-index: 50;
    top: 0;
    height: 84px;
    border-bottom: 1px solid rgba(9, 39, 84, .08);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(15px);
    transition: transform .3s ease, box-shadow .3s ease;
}
.sam-header.is-scrolled { box-shadow: 0 10px 35px rgba(6, 26, 58, .10); }
.sam-header.is-hidden { transform: translateY(-110%); }
.sam-header__inner { display: flex; align-items: center; height: 100%; gap: 28px; }
.sam-brand { flex: 0 0 auto; }
.sam-brand img, .sam-brand .custom-logo { width: auto; height: 44px; object-fit: contain; }
.sam-brand .custom-logo-link { display: block; }
.sam-nav { display: flex; align-items: center; margin-left: auto; }
.sam-menu { display: flex; align-items: center; gap: 2px; padding: 0; margin: 0; list-style: none; }
.sam-menu > li { position: relative; }
.sam-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 15px;
    color: var(--sam-navy);
    font-size: .92rem;
    font-weight: 600;
}
.sam-menu > li > a:hover, .sam-menu > li.current-menu-item > a { color: var(--sam-blue-dark); }
.sam-menu .menu-item-has-children > a::after { margin-left: 8px; content: "⌄"; font-size: 1rem; line-height: 1; }
.sam-menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    visibility: hidden;
    min-width: 300px;
    padding: 12px;
    margin: 0;
    border: 1px solid var(--sam-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--sam-shadow);
    list-style: none;
    opacity: 0;
    transform: translateY(8px);
    transition: .2s ease;
}
.sam-menu li:hover > .sub-menu, .sam-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.sam-menu .sub-menu a { display: block; padding: 11px 13px; border-radius: 8px; color: var(--sam-text); font-size: .9rem; }
.sam-menu .sub-menu a:hover { color: var(--sam-blue-dark); background: #eef4ff; }
.sam-header__actions { display: flex; align-items: center; gap: 10px; }
.sam-menu-toggle, .sam-nav__mobile-contact { display: none; }

/* Hero */
.sam-hero {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 31%, rgba(255,255,255,.82) 47%, rgba(255,255,255,.05) 69%),
        var(--sam-hero-image);
    background-position: center, 71% center;
    background-repeat: no-repeat;
    background-size: cover;
}
.sam-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 30%;
    content: "";
    background: linear-gradient(0deg, rgba(5, 25, 57, .08), transparent);
    pointer-events: none;
}
.sam-hero__inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: 690px; }
.sam-hero__content { width: min(600px, 52%); padding: 70px 0 86px; }
.sam-hero__content h1 { max-width: 650px; }
.sam-hero__content p { max-width: 580px; margin-bottom: 32px; color: #34445a; font-size: 1.13rem; }
.sam-benefits { color: #fff; background: var(--sam-blue); }
.sam-benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 76px; }
.sam-benefits__grid > div { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 14px; font-size: .93rem; font-weight: 600; text-align: center; }
.sam-benefits__grid svg { flex: 0 0 26px; width: 26px; height: 26px; }

/* Solution cards */
.sam-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sam-solution-card {
    overflow: hidden;
    border: 1px solid #e1e5ea;
    border-radius: var(--sam-radius);
    background: #fff;
    box-shadow: 0 4px 18px rgba(7, 30, 66, .04);
    transition: transform .25s ease, box-shadow .25s ease;
}
.sam-solution-card:hover { transform: translateY(-6px); box-shadow: var(--sam-shadow); }
.sam-solution-card__visual {
    position: relative;
    display: grid;
    height: 230px;
    overflow: hidden;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #0a2f69, #2189f5 65%, #7edfe2);
}
.sam-solution-card__visual::before, .sam-solution-card__visual::after {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    content: "";
}
.sam-solution-card__visual::before { right: -110px; bottom: -190px; }
.sam-solution-card__visual::after { right: -155px; bottom: -155px; }
.sam-solution-card__visual--2 { background: linear-gradient(145deg, #06365a, #0c9ca4 68%, #9cecef); }
.sam-solution-card__visual--3 { background: linear-gradient(145deg, #121e43, #374c8c 68%, #2cb5bf); }
.sam-solution-card__icon { position: relative; z-index: 2; display: grid; width: 105px; height: 105px; border: 1px solid rgba(255,255,255,.35); border-radius: 30px; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); place-items: center; transform: rotate(-5deg); }
.sam-solution-card__icon svg { width: 58px; height: 58px; transform: rotate(5deg); }
.sam-solution-card__watermark { position: absolute; right: 16px; bottom: 10px; color: rgba(255,255,255,.26); font-size: .65rem; font-weight: 800; letter-spacing: .22em; }
.sam-solution-card__body { display: flex; flex-direction: column; min-height: 235px; padding: 26px; }
.sam-solution-card__body p { color: var(--sam-muted); font-size: .95rem; }
.sam-solution-card__body > a { display: flex; justify-content: space-between; margin-top: auto; color: var(--sam-blue-dark); font-size: .9rem; font-weight: 700; }

/* Help and why */
.sam-help-strip { padding: 54px 0; background: #fff; }
.sam-help-strip__box { display: grid; grid-template-columns: 36% 1fr; overflow: hidden; border-radius: var(--sam-radius); background: var(--sam-soft); box-shadow: 0 16px 45px rgba(8, 32, 70, .07); }
.sam-help-strip__image { min-height: 330px; background: linear-gradient(120deg, rgba(3,28,66,.08), transparent), url('../images/hero.png') 58% center / cover; }
.sam-help-strip__box > div:last-child { align-self: center; padding: 52px 60px; }
.sam-help-strip__box h2 { font-size: clamp(1.7rem, 2.7vw, 2.55rem); }
.sam-help-strip__box p { color: var(--sam-muted); }
.sam-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.sam-feature-list { display: grid; gap: 26px; margin-top: 38px; }
.sam-feature-list > div { display: grid; grid-template-columns: 50px 1fr; gap: 18px; }
.sam-feature-list__icon { display: grid; width: 44px; height: 44px; border-radius: 13px; color: var(--sam-blue); background: #eaf2ff; place-items: center; }
.sam-feature-list__icon svg { width: 23px; height: 23px; }
.sam-feature-list h3 { margin-bottom: 6px; }
.sam-feature-list p { margin: 0; color: var(--sam-muted); font-size: .96rem; }
.sam-why__visual { position: relative; min-height: 620px; border-radius: 26px; background: linear-gradient(180deg, transparent, rgba(3,23,54,.35)), url('../images/hero.png') 53% center / cover; box-shadow: var(--sam-shadow); }
.sam-stat-card { position: absolute; right: -35px; bottom: 35px; display: flex; flex-direction: column; width: 245px; padding: 24px; border-radius: 16px; color: #fff; background: var(--sam-blue); box-shadow: 0 18px 40px rgba(13, 83, 192, .28); }
.sam-stat-card strong { font-size: 1.65rem; }
.sam-stat-card span { color: rgba(255,255,255,.82); font-size: .88rem; }

/* Quote */
.sam-quote-section { padding: 38px 0 95px; }
.sam-quote-box { display: grid; grid-template-columns: .78fr 1.22fr; gap: 60px; padding: 64px; border-radius: 24px; color: #fff; background: var(--sam-navy); box-shadow: var(--sam-shadow); }
.sam-quote-box h2 { color: #fff; }
.sam-quote-box__intro p { color: #b7c4d6; }
.sam-quote-box__direct { display: grid; gap: 8px; margin-top: 30px; font-weight: 650; }
.sam-quote-box__direct a:hover { color: #7fb3ff; }
.sam-quote-form { display: grid; gap: 18px; }
.sam-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sam-quote-form label { display: grid; gap: 7px; color: #dbe6f5; font-size: .82rem; font-weight: 600; }
.sam-quote-form input, .sam-quote-form select, .sam-quote-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #30486c; border-radius: 9px; outline: none; color: #fff; background: #102a52; }
.sam-quote-form textarea { resize: vertical; }
.sam-quote-form input::placeholder, .sam-quote-form textarea::placeholder { color: #91a1b7; }
.sam-quote-form input:focus, .sam-quote-form select:focus, .sam-quote-form textarea:focus { border-color: #6da7ff; box-shadow: 0 0 0 3px rgba(57, 125, 241, .18); }
.sam-quote-form .sam-btn { justify-self: start; }
.sam-honeypot { position: absolute !important; left: -9999px !important; }
.sam-form-message { padding: 12px 15px; border-radius: 8px; }
.sam-form-message--success { color: #d6ffe3; background: #17663c; }
.sam-form-message--error { color: #ffe4e4; background: #823131; }

/* Sectors */
.sam-sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sam-sector-card { display: flex; flex-direction: column; min-height: 170px; padding: 24px; border: 1px solid #e0e4e9; border-radius: 15px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.sam-sector-card:hover { transform: translateY(-4px); box-shadow: 0 14px 35px rgba(7, 32, 68, .08); }
.sam-sector-card__icon { display: grid; width: 38px; height: 38px; margin-bottom: 18px; border-radius: 10px; color: var(--sam-blue); background: #ebf3ff; place-items: center; }
.sam-sector-card__icon svg { width: 20px; height: 20px; }
.sam-sector-card strong { line-height: 1.25; }
.sam-sector-card > span:last-child { margin-top: auto; color: var(--sam-blue-dark); font-size: .84rem; font-weight: 650; }

/* Featured system */
.sam-featured__grid { display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; min-height: 540px; border-radius: 24px; background: var(--sam-navy); box-shadow: var(--sam-shadow); }
.sam-featured__visual { position: relative; background: linear-gradient(125deg, rgba(5, 32, 73, .15), rgba(19, 104, 227, .25)), url('../images/hero.png') center / cover; }
.sam-featured__visual::after { position: absolute; inset: auto 25px 25px; padding: 15px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; content: "Swiss Aqua Engineering"; color: #fff; background: rgba(5,25,58,.55); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(10px); }
.sam-featured__visual > span { position: absolute; top: 25px; left: 25px; padding: 10px 15px; border-radius: 999px; color: #fff; background: var(--sam-blue); font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.sam-featured__content { align-self: center; padding: 64px; color: #c8d4e6; }
.sam-featured__content h3 { color: #fff; font-size: 2.15rem; }
.sam-featured__content ul { display: grid; gap: 18px; padding: 0; margin: 30px 0 38px; list-style: none; }
.sam-featured__content li { display: flex; align-items: center; gap: 13px; }
.sam-featured__content li svg { flex: 0 0 22px; width: 22px; height: 22px; color: #78aaff; }

/* Service and posts */
.sam-split--service { align-items: start; }
.sam-service-list { display: grid; gap: 32px; }
.sam-service-list > div { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding-bottom: 30px; border-bottom: 1px solid var(--sam-border); }
.sam-service-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.sam-service-list > div > span { display: grid; width: 44px; height: 44px; border-radius: 12px; color: var(--sam-blue); background: #eaf2ff; place-items: center; }
.sam-service-list svg { width: 22px; height: 22px; }
.sam-service-list p { margin: 0; color: var(--sam-muted); }
.sam-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sam-post-card { overflow: hidden; border: 1px solid #e0e5ea; border-radius: var(--sam-radius); background: #fff; }
.sam-post-card__image { display: grid; height: 220px; overflow: hidden; color: #fff; background: linear-gradient(145deg, var(--sam-navy-2), var(--sam-blue), var(--sam-aqua)); place-items: center; }
.sam-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.sam-post-card:hover .sam-post-card__image img { transform: scale(1.04); }
.sam-post-card__image > span { display: grid; width: 88px; height: 88px; border: 1px solid rgba(255,255,255,.35); border-radius: 26px; background: rgba(255,255,255,.12); place-items: center; }
.sam-post-card__image svg { width: 48px; height: 48px; }
.sam-post-card > div { padding: 25px; }
.sam-post-card h2, .sam-post-card h3 { font-size: 1.22rem; }
.sam-post-card p { color: var(--sam-muted); font-size: .93rem; }
.sam-post-card > div > a { color: var(--sam-blue-dark); font-size: .88rem; font-weight: 700; }
.sam-post-card__meta { display: block; margin-bottom: 10px; color: var(--sam-blue-dark); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Footer */
.sam-final-cta { padding: 78px 0 70px; }
.sam-final-cta__box { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 38px 44px; border-radius: 18px; color: #fff; background: linear-gradient(110deg, #2876f9, #1061e4); }
.sam-final-cta h2 { margin-bottom: 5px; color: #fff; font-size: clamp(1.6rem, 2.5vw, 2.3rem); }
.sam-final-cta p { margin: 0; color: rgba(255,255,255,.82); }
.sam-footer { padding: 0 0 28px; background: #fff; }
.sam-footer__contact-row { display: grid; grid-template-columns: 1.1fr .9fr auto; align-items: center; gap: 40px; padding: 38px 0; border-top: 1px solid var(--sam-border); border-bottom: 1px solid var(--sam-border); }
.sam-footer__brand img { width: 230px; }
.sam-footer__brand p { margin: 8px 0 0; color: var(--sam-muted); font-size: .86rem; }
.sam-footer__contact { display: grid; gap: 2px; font-size: .9rem; }
.sam-footer__contact a:hover { color: var(--sam-blue-dark); }
.sam-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 42px; padding: 50px 0; }
.sam-footer__grid h3 { font-size: .94rem; }
.sam-footer__grid a, .sam-footer__grid p { display: block; margin: 0 0 10px; color: var(--sam-muted); font-size: .86rem; }
.sam-footer__grid a:hover { color: var(--sam-blue-dark); }
.sam-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--sam-border); color: #707b89; font-size: .76rem; }
.sam-whatsapp { position: fixed; z-index: 45; right: 22px; bottom: 22px; display: grid; width: 58px; height: 58px; padding: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 12px 28px rgba(0, 0, 0, .22); place-items: center; transition: transform .2s ease; }
.sam-whatsapp:hover { transform: translateY(-4px) scale(1.03); }
.sam-whatsapp img { width: 100%; height: 100%; }

/* Standard pages */
.sam-page-hero { padding: 110px 0 80px; background: linear-gradient(120deg, #eef5ff, #f8fbff 55%, #dff6f6); }
.sam-page-hero h1 { max-width: 900px; font-size: clamp(2.5rem, 5vw, 4.6rem); }
.sam-page-hero--post { padding-bottom: 70px; }
.sam-content-layout { max-width: 950px; padding-top: 78px; padding-bottom: 95px; }
.sam-entry__image { overflow: hidden; margin-bottom: 40px; border-radius: 20px; }
.sam-entry__content { color: #33445a; font-size: 1.05rem; }
.sam-entry__content h2, .sam-entry__content h3 { margin-top: 1.5em; }
.sam-entry__content a { color: var(--sam-blue-dark); text-decoration: underline; }
.sam-entry__content ul, .sam-entry__content ol { padding-left: 1.3em; }
.sam-entry__content table { width: 100%; border-collapse: collapse; }
.sam-entry__content th, .sam-entry__content td { padding: 12px; border: 1px solid var(--sam-border); text-align: left; }
.sam-error-page { min-height: 60vh; padding: 140px 0; background: var(--sam-soft); }
.sam-error-page .sam-container { max-width: 760px; text-align: center; }
.sam-error-page .sam-actions { justify-content: center; }
.navigation.pagination { margin-top: 40px; }

@media (max-width: 1120px) {
    .sam-container { width: min(calc(100% - 40px), var(--sam-container)); }
    .sam-header__inner { gap: 16px; }
    .sam-brand img, .sam-brand .custom-logo { height: 38px; }
    .sam-menu > li > a { padding-inline: 9px; font-size: .86rem; }
    .sam-header__actions .sam-btn { padding-inline: 16px; }
    .sam-hero { background-position: center, 66% center; }
    .sam-card-grid { grid-template-columns: repeat(2, 1fr); }
    .sam-split { gap: 55px; }
}

@media (max-width: 920px) {
    .sam-topbar__markets { display: none; }
    .sam-topbar__inner { justify-content: flex-end; }
    .sam-header { height: 74px; }
    .sam-header__actions { display: none; }
    .sam-menu-toggle { display: grid; width: 44px; height: 44px; padding: 9px; margin-left: auto; border: 0; border-radius: 10px; background: #edf3fb; place-content: center; gap: 5px; }
    .sam-menu-toggle span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; background: var(--sam-navy); transition: .2s ease; }
    .sam-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .sam-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .sam-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .sam-nav { position: fixed; inset: 74px 0 0; display: block; visibility: hidden; padding: 26px 24px 100px; overflow-y: auto; background: #fff; opacity: 0; transform: translateX(100%); transition: .25s ease; }
    .sam-nav.is-open { visibility: visible; opacity: 1; transform: none; }
    .sam-menu { display: block; }
    .sam-menu > li { border-bottom: 1px solid var(--sam-border); }
    .sam-menu > li > a { justify-content: space-between; min-height: 54px; padding-inline: 0; font-size: 1rem; }
    .sam-menu .sub-menu { position: static; visibility: visible; min-width: 0; padding: 0 0 12px 14px; border: 0; box-shadow: none; opacity: 1; transform: none; }
    .sam-menu .sub-menu a { padding: 8px; }
    .sam-nav__mobile-contact { display: block; margin-top: 24px; }
    .sam-nav__mobile-contact a { display: block; padding: 14px; border-radius: 10px; color: #fff; background: var(--sam-blue); text-align: center; }
    .sam-hero, .sam-hero__inner { min-height: 650px; }
    .sam-hero { background-image: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 48%, rgba(255,255,255,.34) 80%), var(--sam-hero-image); background-position: center, 60% center; }
    .sam-hero__content { width: 62%; }
    .sam-benefits__grid { grid-template-columns: repeat(2, 1fr); }
    .sam-help-strip__box { grid-template-columns: 40% 1fr; }
    .sam-help-strip__box > div:last-child { padding: 38px; }
    .sam-split { grid-template-columns: 1fr; }
    .sam-why__visual { min-height: 480px; }
    .sam-stat-card { right: 25px; }
    .sam-quote-box { grid-template-columns: 1fr; }
    .sam-sector-grid { grid-template-columns: repeat(2, 1fr); }
    .sam-featured__grid { grid-template-columns: 1fr; }
    .sam-featured__visual { min-height: 410px; }
    .sam-post-grid { grid-template-columns: repeat(2, 1fr); }
    .sam-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .sam-container { width: min(calc(100% - 30px), var(--sam-container)); }
    .sam-section { padding: 76px 0; }
    .sam-topbar { display: none; }
    .sam-header { top: 0; }
    .sam-brand img, .sam-brand .custom-logo { height: 34px; max-width: 220px; }
    .sam-hero { min-height: 680px; background-image: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 48%, rgba(255,255,255,.18) 100%), var(--sam-hero-image); background-position: center, 63% center; }
    .sam-hero__inner { align-items: flex-start; min-height: 680px; }
    .sam-hero__content { width: 100%; padding: 72px 0 240px; }
    .sam-hero__content p { font-size: 1.02rem; }
    .sam-actions { gap: 10px; }
    .sam-btn { min-height: 48px; padding: 12px 19px; gap: 12px; }
    .sam-benefits__grid { grid-template-columns: 1fr 1fr; }
    .sam-benefits__grid > div { flex-direction: column; gap: 7px; min-height: 110px; padding: 14px 8px; font-size: .77rem; }
    .sam-card-grid, .sam-post-grid { grid-template-columns: 1fr; }
    .sam-solution-card__visual { height: 205px; }
    .sam-help-strip__box { grid-template-columns: 1fr; }
    .sam-help-strip__image { min-height: 240px; }
    .sam-help-strip__box > div:last-child { padding: 32px 24px; }
    .sam-split { gap: 44px; }
    .sam-why__visual { min-height: 410px; }
    .sam-stat-card { right: 16px; bottom: 16px; width: 210px; }
    .sam-quote-section { padding: 10px 0 72px; }
    .sam-quote-box { gap: 34px; padding: 34px 22px; border-radius: 18px; }
    .sam-form-row { grid-template-columns: 1fr; }
    .sam-sector-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .sam-sector-card { min-height: 150px; padding: 18px; }
    .sam-featured__visual { min-height: 280px; }
    .sam-featured__content { padding: 34px 24px; }
    .sam-featured__content h3 { font-size: 1.7rem; }
    .sam-service-list > div, .sam-feature-list > div { grid-template-columns: 43px 1fr; gap: 13px; }
    .sam-final-cta { padding: 55px 0; }
    .sam-final-cta__box { align-items: flex-start; flex-direction: column; padding: 28px 24px; }
    .sam-footer__contact-row { grid-template-columns: 1fr; gap: 24px; }
    .sam-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
    .sam-footer__bottom { flex-direction: column; }
    .sam-page-hero { padding: 82px 0 60px; }
    .sam-content-layout { padding-top: 55px; padding-bottom: 70px; }
    .sam-whatsapp { right: 15px; bottom: 15px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.sam-menu .menu-item-has-children > a::after {
    content: "▼";
    display: inline-block;
    width: auto;
    height: auto;
    margin-left: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 9px;
    line-height: 1;
    vertical-align: middle;
}

.sam-header__actions {
    gap: 7px;
}

.sam-header__actions .sam-btn--small {
    min-height: 40px;
    padding: 8px 17px;
    font-size: 13px;
}

.sam-topbar {
    background: #2596be;
}

.sam-topbar {
    background: var(--sam-blue);
}

.sam-topbar,
.sam-topbar a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

/* Commercial top-bar dropdown */
.sam-topbar-market {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 42px;
}

.sam-topbar-market > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 15px !important;
}

.sam-topbar-market > a::after {
    content: "▼";
    font-size: 8px;
}

.sam-commercial-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    display: grid;
    visibility: hidden;
    width: 560px;
    max-height: 480px;
    padding: 14px;
    overflow-y: auto;
    border: 1px solid #dce6ef;
    border-radius: 0 0 12px 12px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 35, 70, 0.18);
    grid-template-columns: repeat(2, 1fr);
    gap: 3px 12px;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.2s ease;
}

.sam-topbar-market:hover .sam-commercial-dropdown,
.sam-topbar-market:focus-within .sam-commercial-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.sam-commercial-dropdown a {
    display: flex;
    align-items: center;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 6px;
    color: #092d59 !important;
    font-size: 13px !important;
    font-weight: 600;
}

.sam-commercial-dropdown a::before {
    width: 8px;
    height: 11px;
    margin-right: 9px;
    border-radius: 60% 60% 60% 0;
    background: #2596be;
    content: "";
    flex: 0 0 auto;
    transform: rotate(-45deg);
}

.sam-commercial-dropdown a:hover {
    background: #eaf7fc;
    color: #147fba !important;
}

/* Remove Commercial page title and date banner */
body.postid-468 .sam-page-hero--post {
    display: none !important;
}

body.postid-468 .sam-content-layout {
    padding-top: 0 !important;
}

