/* =====================================================================================================
 * Site design system (replaces the old Porto theme CSS).  Built on Bootstrap 5 – load after bootstrap.min.css.
 *
 *  1. Tokens            5. Home hero          9. FAQ / CTA band       13. Admin pages
 *  2. Base / type       6. Sections + cards  10. Footer               14. Legacy helper classes
 *  3. Buttons           7. Products          11. Page hero             (still used by content in the DB)
 *  4. Header + nav      8. Contact           12. Forms / tables
 * ===================================================================================================== */

/* 1. Tokens ------------------------------------------------------------------------------------------ */
:root {
    --brand: #0b71e1;
    --brand-600: #095fc0;
    --brand-700: #08479a;
    --brand-50: #eaf3fd;
    --accent: #ff8a1f;
    --accent-600: #ea6f04;
    --line: #06c755;
    --ink: #172033;
    --body: #3c4659;
    --muted: #6b7588;
    --border: #e3e8f0;
    --soft: #f4f7fb;
    --navy: #0c1a33;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 8px rgba(16, 38, 77, .06);
    --shadow: 0 10px 30px rgba(16, 38, 77, .10);
    --shadow-lg: 0 20px 50px rgba(16, 38, 77, .16);
    --font: 'Noto Sans Thai', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Bootstrap hooks */
    --bs-primary: var(--brand);
    --bs-primary-rgb: 11, 113, 225;
    --bs-link-color: var(--brand);
    --bs-link-color-rgb: 11, 113, 225;
    --bs-link-hover-color: var(--brand-700);
    --bs-link-hover-color-rgb: 8, 71, 154;
    --bs-body-font-family: var(--font);
    --bs-body-color: var(--body);
    --bs-body-line-height: 1.75;
    --bs-border-radius: var(--radius-sm);
}

/* 2. Base / type ------------------------------------------------------------------------------------- */
html { scroll-padding-top: 96px; }
body { font-family: var(--font); color: var(--body); font-size: 16.5px; line-height: 1.75; background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font); color: var(--ink); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.75rem); }
h2, .h2, h2.h1-like { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.25rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }
a { text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; height: auto; }
.text-primary { color: var(--brand) !important; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 5px 14px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: 14px; font-weight: 600; }
.lead-text { font-size: 1.08rem; color: var(--muted); }
.text-indent { text-indent: 2em; }

/* 3. Buttons ----------------------------------------------------------------------------------------- */
.btn { font-family: var(--font); font-weight: 600; border-radius: 999px; padding: .65rem 1.4rem; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .8rem 1.7rem; font-size: 1.05rem; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-600); --bs-btn-hover-border-color: var(--brand-600); --bs-btn-active-bg: var(--brand-700); --bs-btn-active-border-color: var(--brand-700); box-shadow: 0 6px 18px rgba(11, 113, 225, .28); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(255, 138, 31, .32); }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-600); border-color: var(--accent-600); color: #fff; }
.btn-line { background: var(--line); border-color: var(--line); color: #fff; box-shadow: 0 6px 18px rgba(6, 199, 85, .28); }
.btn-line:hover, .btn-line:focus { background: #05a847; border-color: #05a847; color: #fff; }
.btn-success { --bs-btn-bg: var(--line); --bs-btn-border-color: var(--line); --bs-btn-hover-bg: #05a847; --bs-btn-hover-border-color: #05a847; }
.btn-outline-light:hover { color: var(--brand); }
.btn i { margin-right: 6px; }

/* 4. Header + nav ------------------------------------------------------------------------------------ */
.topbar { background: linear-gradient(110deg, var(--brand-700), var(--brand) 55%, #1e90ff); color: #fff; font-size: 14.5px; }
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; padding-top: 8px; padding-bottom: 8px; }
.topbar__title { font-weight: 600; letter-spacing: .01em; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: #ffe1c4; }
.topbar i { margin-right: 6px; opacity: .9; }

.site-header { z-index: 1030; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(16, 38, 77, .08); }
.site-header .navbar { padding: 10px 0; }
.site-header .navbar-brand img { display: block; width: auto; height: 54px; }
.site-header .nav-link { position: relative; padding: .55rem 1rem !important; border-radius: 999px; color: var(--ink); font-weight: 600; }
.site-header .nav-link:hover { color: var(--brand); background: var(--brand-50); }
.site-header .nav-link.active { color: var(--brand); background: var(--brand-50); }
.site-header .navbar-toggler { padding: 8px 12px; border: 0; border-radius: 12px; background: var(--brand-50); color: var(--brand); font-size: 22px; }
.site-header .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(11, 113, 225, .3); }
.site-header .header-cta { margin-left: 10px; }
.site-header .dropdown-menu { min-width: 270px; padding: 8px; border: 0; border-radius: 14px; box-shadow: var(--shadow-lg); }
.site-header .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: 15px; white-space: normal; }
.site-header .dropdown-item:hover { background: var(--brand-50); color: var(--brand); }
.site-header .dropdown-item i { width: 1.3em; text-align: center; color: var(--brand); }

@media (max-width: 991.98px) {
    .site-header .navbar-brand img { height: 44px; }
    .site-header .navbar-collapse { margin-top: 10px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
    .site-header .nav-link { padding: .7rem 1rem !important; }
    .site-header .header-cta { margin: 8px 0 4px; width: 100%; }
    .site-header .dropdown-menu { box-shadow: none; background: var(--soft); }
}

/* 5. Home hero --------------------------------------------------------------------------------------- */
.home-hero { position: relative; padding: 32px 0 24px; background: radial-gradient(1200px 500px at 85% -10%, #dcebfd 0%, rgba(220, 235, 253, 0) 60%), linear-gradient(180deg, #f6f9fe 0%, #fff 100%); }
.home-hero__media .ui-slider__viewport { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.home-hero__media .ui-slider__dots { padding: 16px 8px 0; }
.home-hero__media .ui-slider__btn { top: calc(50% - 14px); } /* centre the arrows on the picture, not on picture + dots */
.home-hero__intro { height: 100%; padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.home-hero__intro h1, .home-hero__intro h2 { margin-bottom: .6rem; color: var(--brand); }
.home-hero__intro p { color: var(--body); }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.home-hero__actions .btn { flex: 1 1 180px; }
.home-strip { padding: 10px 0 36px; }
.home-strip__title { margin-bottom: 4px; text-align: center; }

/* 6. Sections + cards -------------------------------------------------------------------------------- */
.section { padding: 80px 0; margin: 0; border: 0; }
.section-height-0 { padding: 0; }
.section-height-1 { padding: 40px 0; }
.section-height-2 { padding: 64px 0; }
.section-height-3 { padding: 80px 0; }
.section-height-4 { padding: 120px 0; }
.section--soft { background: var(--soft); }
.section--brand { position: relative; color: #e8f1ff; background: linear-gradient(130deg, rgba(8, 71, 154, .94), rgba(11, 113, 225, .88)), var(--section-bg, none) center / cover no-repeat; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section--brand .lead-text { color: #d8e8ff; }
.section--brand .eyebrow { background: rgba(255, 255, 255, .16); color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { margin-bottom: 10px; }
@media (max-width: 767.98px) { .section, .section-height-3 { padding: 56px 0; } .section-height-2 { padding: 48px 0; } }

.feature-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius); background: #fff; color: var(--body); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.feature-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-card:hover .feature-card__img img { transform: scale(1.04); }
.feature-card__body { padding: 22px 24px 26px; }
.feature-card__body h3 { margin-bottom: 12px; color: var(--brand); font-size: 1.2rem; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: 8px; padding-left: 30px; font-size: 15.5px; line-height: 1.7; }
.check-list li::before { content: "\f00c"; position: absolute; left: 0; top: 3px; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-50); color: var(--brand); font: 900 10px/1 'Font Awesome 6 Free'; }
.check-list strong { color: var(--ink); }
.prose p { color: var(--body); text-indent: 2em; }

/* 7. Products ---------------------------------------------------------------------------------------- */
.product-card { display: block; height: 100%; overflow: hidden; border-radius: var(--radius-sm); background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--brand); }
.product-card__img { position: relative; aspect-ratio: 10 / 7; overflow: hidden; background: var(--soft); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__tag { position: absolute; top: 10px; left: 10px; padding: 2px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; }
.product-card__title { display: -webkit-box; margin: 0; padding: 12px 14px 4px; overflow: hidden; font-size: 15.5px; font-weight: 600; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 3.6em; }
.product-card__price { padding: 0 14px 12px; color: #d63b2f; font-size: 1.1rem; font-weight: 700; }
.product-detail__img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.product-detail__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 18px; color: var(--muted); font-size: 14px; }
.product-detail__meta .stars { color: #ffb400; }
.product-detail__content { color: var(--body); }

/* 8. Contact ----------------------------------------------------------------------------------------- */
.contact-card { height: 100%; padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--radius-sm); background: var(--soft); color: var(--ink); transition: background-color .2s ease, transform .2s ease; }
.contact-item + .contact-item { margin-top: 12px; }
.contact-item:hover { background: var(--brand-50); transform: translateX(3px); color: var(--ink); }
.contact-item__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 52px; height: 52px; border-radius: 14px; color: #fff; font-size: 22px; }
.contact-item__icon--tel { background: linear-gradient(135deg, #ff9a1f, #f0640a); }
.contact-item__icon--line { background: linear-gradient(135deg, #1fd34a, #07a63a); }
.contact-item small { display: block; color: var(--muted); font-size: 13px; }
.contact-item strong { display: block; font-size: 1.15rem; color: var(--ink); }
.qr-card { display: inline-block; padding: 14px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.qr-card img { display: block; width: 220px; max-width: 100%; border-radius: 10px; }

/* 9. FAQ / CTA band ---------------------------------------------------------------------------------- */
.faq-item { height: 100%; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-sm); }
.faq-item h3 { display: flex; gap: 12px; margin-bottom: 8px; color: var(--ink); font-size: 1.05rem; line-height: 1.55; }
.faq-item h3::before { content: "Q"; display: flex; align-items: center; justify-content: center; flex: 0 0 28px; height: 28px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 14px; }
.faq-item p { margin: 0; padding-left: 40px; color: var(--body); font-size: 15.5px; }

.cta-band { position: relative; overflow: hidden; padding: 56px 0; color: #fff; background: linear-gradient(120deg, var(--brand-700), var(--brand)); }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #d8e8ff; }
.cta-band .btn { position: relative; z-index: 1; }

/* 10. Footer ----------------------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #b8c3d6; font-size: 15px; }
.site-footer__main { padding: 64px 0 32px; }
.site-footer h2 { margin-bottom: 16px; color: #fff; font-size: 1.15rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ffd2a6; }
.site-footer__contact li { display: flex; gap: 10px; margin-bottom: 8px; }
.site-footer__contact i { width: 18px; margin-top: 5px; color: var(--accent); }
.site-footer__qr { display: inline-block; margin-bottom: 16px; padding: 10px; border-radius: 14px; background: #fff; }
.site-footer__qr img { display: block; width: 150px; }
.site-footer .tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer .tag-list a { padding: 5px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 14px; }
.site-footer .tag-list a:hover { border-color: var(--accent); background: rgba(255, 138, 31, .15); color: #fff; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stats-grid div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.stats-grid small { display: block; color: #93a1b8; font-size: 12.5px; }
.stats-grid strong { color: #fff; font-size: 1.05rem; }
.stats-grid .stats-total { grid-column: 1 / -1; background: rgba(11, 113, 225, .25); }
.site-footer__bottom { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-legal a { color: #b8c3d6; }

/* 11. Page hero (inner pages) ------------------------------------------------------------------------ */
.page-hero { position: relative; padding: 56px 0 48px; color: #fff; background: linear-gradient(120deg, rgba(8, 71, 154, .93), rgba(11, 113, 225, .82)), url("../img-content/bg1.jpg") center / cover no-repeat; }
.page-hero h1 { margin: 6px 0 0; color: #fff; }
.page-hero .breadcrumb { margin: 0; padding: 0; background: none; font-size: 14.5px; --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6); --bs-breadcrumb-item-active-color: #d8e8ff; }
.page-hero .breadcrumb a { color: #fff; }
.page-hero .breadcrumb a:hover { color: #ffd2a6; }

/* 12. Forms / tables --------------------------------------------------------------------------------- */
.form-control, .form-select { border-color: var(--border); border-radius: 12px; padding: .65rem .95rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(11, 113, 225, .15); }
label { margin-bottom: 4px; font-weight: 600; color: var(--ink); }
.table { --bs-table-border-color: var(--border); }
.policy h2 { margin-top: 2rem; }
.policy table th { background: var(--brand-50); }

/* 13. Admin pages ------------------------------------------------------------------------------------ */
.mobile-menu-style { width: auto; flex: 1 1 220px; margin: 8px; padding: 0 !important; text-align: center; }
.mobile-menu-style > a { display: block; height: 100%; }
.mobile-menu-content, .mobile-menu-content-active { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; min-height: 160px; padding: 24px; border-radius: var(--radius); background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.mobile-menu-content:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--brand); }
.mobile-menu-style i { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0; border-radius: 18px; background: var(--brand-50); color: var(--brand); font-size: 28px; }
.admin-note { padding: 12px 16px; border-radius: 12px; background: #fff7e6; color: #8a5300; font-size: 14px; }

/* 14. Legacy helper classes (kept for content stored in the database) -------------------------------- */
.font-1, .font-2 { font-family: var(--font); }
.img200, .img300, .img400, .img500, .img600, .img700 { width: 100%; height: auto; margin-bottom: 5px; }
.img200 { max-width: 200px; } .img300 { max-width: 300px; } .img400 { max-width: 400px; }
.img500 { max-width: 500px; } .img600 { max-width: 600px; } .img700 { max-width: 700px; }
.text-blue { color: var(--brand) !important; }
.text-red { color: #d63b2f !important; }
.text-green { color: #1f9d55 !important; }
.text-orange { color: var(--accent) !important; }
.text-yellow { color: #ffb400 !important; }
.text-grey { color: var(--muted) !important; }
.text-black { color: #111 !important; }
.text-underline { text-decoration: underline; }
.input-lg { padding: .8rem 1rem; font-size: 1.1rem; }
.badge-primary { background: var(--brand); color: #fff; }
.card-default { padding: 12px; border-radius: 12px; background: #fff; color: #333; box-shadow: var(--shadow); }
@media (min-width: 991px) { .hide-on-desktop { display: none; } }
@media (max-width: 990px) { .hide-on-mobile { display: none; } .mb-center { text-align: center; } }

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

/* hero slider caption */
.home-hero__media .ui-slider__caption { bottom: 16px; width: calc(100% - 32px); font-size: clamp(1rem, 1.8vw, 1.6rem); border-radius: 14px; backdrop-filter: blur(4px); }

/* Contact action buttons (widget-btn-contact-small.php): gradient tiles with a ringing icon, light sweep and sliding arrow */
.home-hero__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.action-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    isolation: isolate;
    padding: 12px 18px 12px 12px;
    border-radius: 18px;
    color: #fff;
    background-size: 200% 200%;
    box-shadow: 0 10px 24px var(--btn-shadow);
    transition: transform .25s cubic-bezier(.2, .8, .3, 1.2), box-shadow .25s ease, background-position .6s ease;
}
.action-btn--tel { --btn-shadow: rgba(240, 100, 10, .35); background-image: linear-gradient(120deg, #ffb347 0%, #ff8a1f 45%, #ef5f00 100%); }
.action-btn--line { --btn-shadow: rgba(6, 167, 70, .35); background-image: linear-gradient(120deg, #5ee67f 0%, #06c755 45%, #048a3b 100%); }
.action-btn:hover, .action-btn:focus-visible { color: #fff; transform: translateY(-4px) scale(1.015); background-position: 100% 50%; box-shadow: 0 16px 34px var(--btn-shadow); }
.action-btn:active { transform: translateY(-1px) scale(.99); }

/* light sweep that passes over the button every few seconds and on hover */
.action-btn::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -60%;
    z-index: -1;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    animation: action-btn-shine 4.5s ease-in-out infinite;
}
.action-btn--line::before { animation-delay: 2.2s; }
@keyframes action-btn-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

.action-btn__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .22);
    font-size: 22px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
/* expanding ring around the icon */
.action-btn__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(255, 255, 255, .7);
    animation: action-btn-ring 2s ease-out infinite;
}
@keyframes action-btn-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
/* the phone gently "rings" */
.action-btn--tel .action-btn__icon i { animation: action-btn-wiggle 2.4s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes action-btn-wiggle { 0%, 60%, 100% { transform: rotate(0); } 64%, 72%, 80% { transform: rotate(-14deg); } 68%, 76% { transform: rotate(14deg); } }

.action-btn__text { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.action-btn__text small { font-size: 13px; font-weight: 500; opacity: .92; }
.action-btn__text strong { font-size: 1.25rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.action-btn__arrow { flex: 0 0 auto; font-size: 16px; opacity: .85; transition: transform .25s ease; }
.action-btn:hover .action-btn__arrow { transform: translateX(5px); }

@media (prefers-reduced-motion: reduce) {
    .action-btn::before, .action-btn__icon::after, .action-btn--tel .action-btn__icon i { animation: none; }
}

/* the site title in the top bar can be a long sentence: keep it on one line */
.topbar__title { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__contact { flex: 0 0 auto; }
