:root {
    --ink: #0f1b2d;
    --ink-2: #1b2b44;
    --accent: #f2a900;
    --accent-dark: #d18f00;
    /* Darker golds that meet WCAG contrast on white: text (5.6:1) and icons (4.1:1). */
    --gold-text: #8a5f00;
    --gold-icon: #a87200;
    --muted: #5d6b80;
    --line: #e3e7ee;
    --bg-alt: #f5f7fa;
    --radius: 14px;
}

html { font-size: 16px; }
body {
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main { flex: 1; }
a { color: var(--ink-2); }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; }

/* Buttons */
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 600; }

/* EN / ΕΛ language switch in the header */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-top: .5rem; }
.lang-switch a { padding: .3rem .7rem; font-size: .82rem; font-weight: 700; text-decoration: none; color: var(--muted); }
.lang-switch a:hover { color: var(--ink); background: var(--bg-alt); }
.lang-switch a.active { background: var(--ink); color: #fff; }
@media (min-width: 992px) { .lang-switch { margin-top: 0; } }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--ink); }

/* Header */
/* White header so the logo shows in its original colours (black + gold). */
.site-header { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(15,27,45,.06); position: sticky; top: 0; z-index: 100; }
.site-header .navbar { padding: .45rem 0; }
.site-header .nav-link { color: var(--ink-2); font-weight: 500; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--ink); }
.site-header .nav-link.active { box-shadow: inset 0 -2px 0 var(--accent); }
.brand-logo { height: 72px; width: auto; display: block; }
.footer-logo { height: 60px; width: auto; display: block; }
@media (max-width: 991.98px) { .brand-logo { height: 58px; } }
@media (max-width: 575.98px) { .brand-logo { height: 48px; } }
.site-header .nav-link, .site-header .navbar-collapse > .btn { white-space: nowrap; }
/* Small laptops: keep the (longer Greek) menu on one line; the Contact link stands in for the header button. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .brand-logo { height: 60px; }
    .site-header .navbar-nav .nav-link { padding-left: .45rem; padding-right: .45rem; }
    .site-header .navbar-collapse > .btn { display: none; }
}
/* Laptops: six menu items and the (longer Greek) header button still fit on one line. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .brand-logo { height: 60px; }
    .site-header .navbar-nav .nav-link { padding-left: .4rem; padding-right: .4rem; }
    .site-header .lang-switch, .site-header .navbar-collapse > .btn { margin-left: .6rem !important; }
}
.contact-list { margin: 0; }
.contact-list dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: .8rem; }
.contact-list dt:first-child { margin-top: 0; }
.contact-list dd { margin: .15rem 0 0; }
.site-footer .contact-list dt { color: rgba(255,255,255,.5); }
.brand { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-size: 1.3rem; }
.brand-mark { background: var(--accent); color: var(--ink); font-weight: 800; padding: .05rem .45rem; border-radius: 6px; letter-spacing: .02em; }
.brand-text { color: #fff; font-weight: 600; }

/* Hero */
.hero {
    background: radial-gradient(circle at 85% 20%, rgba(242,169,0,.18), transparent 45%), linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
    color: #fff;
    padding: 1.75rem 0 1.9rem;
}
.hero .eyebrow { margin-bottom: .5rem; }
.hero h1 { font-size: clamp(1.55rem, 2.5vw, 2rem); line-height: 1.15; margin-bottom: 0; }
.hero .lead { color: rgba(255,255,255,.8); max-width: 46rem; margin: .55rem 0 0; font-size: 1rem; line-height: 1.55; }
.hero .btn-lg { padding: .45rem 1.1rem; font-size: 1rem; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .8rem; margin-bottom: .75rem; }
.hero-points { list-style: none; padding: 1.75rem; margin: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.hero-points li { padding: .7rem 0 .7rem 1.6rem; position: relative; color: rgba(255,255,255,.8); }
.hero-points li + li { border-top: 1px solid rgba(255,255,255,.08); }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); }
.hero-points strong { color: #fff; }

.hero-steps { list-style: none; counter-reset: step; padding: .45rem 1.2rem; margin: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.hero-steps li { counter-increment: step; display: grid; grid-template-columns: 1.9rem 1fr; column-gap: .75rem; padding: .32rem 0; }
.hero-steps li + li { border-top: 1px solid rgba(255,255,255,.08); }
.hero-steps li::before { content: counter(step); grid-row: span 2; align-self: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; font-size: .88rem; display: flex; align-items: center; justify-content: center; }
.hero-steps strong { color: #fff; font-size: .95rem; line-height: 1.3; }
.hero-steps span { color: rgba(255,255,255,.72); font-size: .85rem; line-height: 1.35; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { font-size: 1.9rem; margin-bottom: .25rem; }
.section-head p { color: var(--muted); margin: 0; }
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 2.75rem 0 2.25rem; }
.page-head h1 { font-size: 2.2rem; }
.page-head .lead { color: var(--muted); max-width: 46rem; margin: 0; }

/* Cards */
.category-card, .product-card {
    display: flex; flex-direction: column; height: 100%;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    text-decoration: none; color: inherit;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.category-card:hover, .product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,27,45,.1); border-color: transparent; color: inherit; }
.category-card { padding: 2rem; }
.category-card .equip-icon { width: 52px; height: 52px; color: var(--gold-icon); margin-bottom: 1rem; }
.category-card h3 { font-size: 1.3rem; }
.category-card p { color: var(--muted); flex: 1; }
.equip-icon { width: 64px; height: 64px; }

.product-media { aspect-ratio: 4 / 3; background: linear-gradient(145deg, #eef1f6, #f8f9fb); border-radius: var(--radius) var(--radius) 0 0; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #9aa6b8; }
/* Photos are never enlarged beyond their real size (small catalogue pictures would blur); they sit centred on white. */
.product-media:has(img) { background: #fff; border-bottom: 1px solid var(--line); }
.product-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.product-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-text); font-weight: 700; margin-bottom: .35rem; }
.product-title { font-size: 1.1rem; margin-bottom: .4rem; }
.product-summary { color: var(--muted); font-size: .93rem; flex: 1; }
.product-link { font-weight: 600; font-size: .9rem; color: var(--ink); }

.solutions-intro { margin-bottom: 2.5rem; }
.solutions-intro .solutions-lead { font-size: 1.15rem; color: #33415a; max-width: 58rem; margin-top: .5rem; }
.solutions-group { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; padding-left: .7rem; border-left: 3px solid var(--accent); }
.solutions-intro .row p { color: var(--muted); font-size: .93rem; margin: 0; }
.category-tile { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.category-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,27,45,.1); border-color: transparent; color: inherit; }
.category-tile .equip-icon { width: 40px; height: 40px; color: var(--gold-icon); margin-bottom: .35rem; }
.category-tile-name { font-weight: 700; line-height: 1.25; }
.category-tile-count { color: var(--muted); font-size: .85rem; }

/* Catalog */
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin-bottom: .35rem; }
.product-meta .product-cat { margin: 0; }
.product-code { font-family: ui-monospace, Consolas, monospace; font-size: .78rem; font-weight: 700; background: var(--ink); color: #fff; padding: .1rem .45rem; border-radius: 4px; }
/* Search box and category drop-downs: stacked on phones, one row on computers; the product count sits below. */
.catalog-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem; margin-bottom: 1.5rem; }
.search-form { display: flex; gap: .5rem; flex: 1 1 320px; max-width: 480px; }
.cat-pickers { display: grid; gap: .75rem; flex: 1 1 100%; }
@media (min-width: 576px) { .cat-pickers { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
@media (min-width: 992px) { .cat-pickers { flex: 2 1 460px; } }
.cat-pickers .form-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .3rem; }
.cat-picker-row { display: flex; gap: .5rem; }
.cat-pickers .form-select { font-weight: 500; }
@media (max-width: 991.98px) { .cat-pickers .form-select { min-height: 46px; } }
.catalog-count { flex-basis: 100%; }
.pagination { --bs-pagination-color: var(--ink); --bs-pagination-hover-color: var(--ink); --bs-pagination-active-bg: var(--ink); --bs-pagination-active-border-color: var(--ink); --bs-pagination-focus-color: var(--ink); --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(242,169,0,.25); }
.empty-state { text-align: center; padding: 3rem 1rem; background: var(--bg-alt); border-radius: var(--radius); color: var(--muted); }

/* Product detail */
.breadcrumb { font-size: .9rem; margin-bottom: 1.5rem; }
.detail-media { aspect-ratio: 1; background: linear-gradient(145deg, #eef1f6, #f8f9fb); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; color: #9aa6b8; }
.detail-media .equip-icon { width: 140px; height: 140px; }
.detail-media:has(img) { background: #fff; border: 1px solid var(--line); }
.detail-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.detail-title { font-size: 2rem; margin-bottom: .75rem; }
.detail-text { white-space: pre-line; color: #33415a; }
.spec-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.spec-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 1rem; font-size: .94rem; }
.spec-list li:nth-child(odd) { background: var(--bg-alt); }
.spec-list span { color: var(--muted); }
.enquiry-box { background: var(--bg-alt); border-radius: var(--radius); padding: 2rem; }

/* CTA, contact, about */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 2.5rem; }
.cta-band h2 { font-size: 1.6rem; }
.cta-band p { color: rgba(255,255,255,.75); margin: 0; }
.contact-card { background: var(--bg-alt); border-radius: var(--radius); padding: 1.75rem; }
.contact-card dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: .9rem; }
.contact-card dd { margin: 0; }
.about-text p { font-size: 1.08rem; color: #33415a; }
.about-point { display: flex; gap: 1rem; background: var(--bg-alt); border-radius: var(--radius); padding: 1.25rem; }
.about-point .equip-icon { width: 44px; height: 44px; flex: none; color: var(--gold-icon); }
.about-point h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.about-point p { margin: 0; color: var(--muted); font-size: .93rem; }
.about-point-link { text-decoration: none; color: inherit; border: 1px solid transparent; transition: border-color .15s ease, background .15s ease; }
.about-point-link:hover { color: inherit; border-color: var(--accent); background: #fff8e6; }
.about-point-link:hover h3 { text-decoration: underline; }
.page-head .eyebrow, .error-box .eyebrow { color: var(--gold-text); }
.value-tile { height: 100%; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 1.5rem; }
.value-tile h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.value-tile p { color: var(--muted); margin: 0; font-size: .95rem; }
.sector-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.sector-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem; font-weight: 500; }
.cta-band-light { background: var(--bg-alt); color: var(--ink); border: 1px solid var(--line); }
.cta-band-light p { color: var(--muted); }
.about-list { padding-left: 1.2rem; color: #33415a; }
.about-list li { margin-bottom: .45rem; }
.topic-general { background: #6c757d; }
.topic-quote { background: var(--ink-2); }.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.site-footer h6 { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--accent); margin-bottom: .8rem; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-link-btn { background: none; border: 0; padding: 0; font: inherit; color: rgba(255,255,255,.8); }
.footer-link-btn:hover { color: #fff; }
.site-footer li { margin-bottom: .35rem; }
.text-muted-light { color: rgba(255,255,255,.65); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(255,255,255,.55); }

/* Auth & admin */
.auth-box { max-width: 420px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.admin-nav { display: flex; flex-wrap: wrap; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.admin-nav a { padding: .6rem 1rem; text-decoration: none; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.admin-nav a.active, .admin-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.stat-tile { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--muted); }
.stat-tile:hover { border-color: var(--ink); color: var(--muted); }
.stat-num { font-size: 2.2rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.code-input { font-family: ui-monospace, Consolas, monospace; letter-spacing: .4em; text-align: center; font-size: 1.6rem; }
.account-box { height: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.email-status { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; padding: .9rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; }
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .6rem .75rem; background: var(--bg-alt); border-radius: 10px; margin-bottom: .75rem; }
.visibility-toggle { border: 1px solid; border-radius: 999px; padding: .15rem .7rem; font-size: .8rem; font-weight: 600; background: none; cursor: pointer; }
.visibility-toggle.on { color: #146c43; border-color: #a3cfbb; background: #e8f5ee; }
.visibility-toggle.off { color: #6c757d; border-color: #ced4da; background: #f1f3f5; }
.visibility-toggle:hover { filter: brightness(.95); }
tr.row-hidden td { color: #8a94a6; }
tr.row-hidden td a:not(.btn) { color: #8a94a6; }
tr.cat-main td { background: var(--bg-alt); }
.admin-products td { font-size: .92rem; }
.admin-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.enquiry-item { border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1rem; }
.enquiry-item.handled { border-left-color: var(--line); opacity: .75; }
.enquiry-item header { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.enquiry-message { white-space: pre-line; margin: .75rem 0; }

.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(242,169,0,.25); }
.form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }

@media (max-width: 575.98px) {
    .hero { padding: 1.4rem 0 1.6rem; }
    .section { padding: 3rem 0; }
    .cta-band, .enquiry-box { padding: 1.5rem; }

    /* Catalog on phones: short header, compact one-row product cards (photo left, text right). */
    .page-head { padding: 1.5rem 0 1.25rem; }
    .page-head h1 { font-size: 1.6rem; }
    .catalog-lead { font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .catalog-bar { gap: .75rem; margin-bottom: 1.25rem; }
    .product-card { flex-direction: row; }
    .product-card:hover { transform: none; }
    .product-media { flex: 0 0 104px; aspect-ratio: auto; min-height: 104px; padding: .4rem; border-radius: var(--radius) 0 0 var(--radius); }
    .product-media:has(img) { border-bottom: 0; border-right: 1px solid var(--line); }
    .product-media img { max-height: 96px; }
    .product-media .equip-icon { width: 40px; height: 40px; }
    .product-body { padding: .7rem .85rem; min-width: 0; }
    .product-meta { margin-bottom: .25rem; }
    .product-cat { font-size: .68rem; }
    .product-title { font-size: .98rem; line-height: 1.3; margin-bottom: .25rem; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .product-summary { font-size: .84rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .product-link { display: none; }
    .pagination .page-link { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }

    /* Product page on phones: the name is already the heading, so the breadcrumb stops at the category. */
    .breadcrumb { font-size: .85rem; margin-bottom: 1rem; }
    .breadcrumb-item.active { display: none; }
    .detail-media { aspect-ratio: 4 / 3; }
    .detail-title { font-size: 1.45rem; }
    .spec-list li { font-size: .9rem; padding: .55rem .8rem; }
    .spec-list strong { text-align: right; }
}

/* Accessibility: "Skip to content" link, visible when focused with the keyboard. */
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 1000; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 0 0 8px 8px; text-decoration: none; }
.skip-link:focus { top: 0; color: #fff; }
main:focus { outline: none; }

/* Error / not-found page */
.error-box { max-width: 640px; margin: 0 auto; text-align: center; padding: 2rem 0; }
.error-box h1 { font-size: 2.1rem; }
.error-box .search-form { max-width: 460px; }

/* Privacy notice */
.legal-text { max-width: 820px; }
.legal-text h2 { font-size: 1.2rem; margin-top: 1.75rem; }
.legal-text p, .legal-text li { color: #33415a; }

/* Brands: label on product cards, "official distributor" badge, brand page, home band and catalog strip. */
.product-brand { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #0b4a8b; border: 1px solid #c7dcf3; background: #f1f7fd; padding: .05rem .4rem; border-radius: 4px; }
.official-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #0b4a8b; background: #e8f1fb; border: 1px solid #c7dcf3; border-radius: 999px; padding: .25rem .75rem; margin: 0 0 .6rem; }
.official-badge::before { content: "✓"; font-size: .9em; }
.official-badge-sm { font-size: .66rem; padding: .1rem .5rem; margin: 0 0 0 .4rem; vertical-align: .1em; letter-spacing: .05em; }
.product-brand-strip { display: inline-flex; align-items: center; gap: .75rem; padding: .4rem .8rem .4rem .45rem; margin-bottom: .75rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s ease; }
.product-brand-strip:hover { border-color: #0b4a8b; color: var(--ink); }
.product-brand-strip img { height: 32px; width: auto; }
.brand-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 2.5rem 0 2.25rem; }
.brand-hero-inner { display: flex; align-items: center; gap: 2rem; }
.brand-hero h1 { font-size: 2.3rem; margin-bottom: .35rem; }
.brand-hero .lead { color: #33415a; max-width: 52rem; font-size: 1.05rem; margin: 0; }
.brand-logo-box { flex: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: 0 10px 25px rgba(15,27,45,.06); }
.brand-logo-box img { display: block; width: 180px; height: auto; }
@media (max-width: 767.98px) { .brand-hero-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; } .brand-logo-box img { width: 140px; } .brand-hero h1 { font-size: 1.8rem; } }
.official-section { padding: 1.5rem 0 0; }
.official-band { display: flex; align-items: center; gap: 1.75rem; padding: 1.5rem 1.75rem; background: #fff; border: 1px solid var(--line); border-left: 5px solid #0b4a8b; border-radius: var(--radius); box-shadow: 0 10px 25px rgba(15,27,45,.05); }
.official-logo { flex: none; }
.official-logo img { display: block; width: 150px; height: auto; }
.official-text { flex: 1; min-width: 0; }
.official-text h2 { font-size: 1.3rem; margin-bottom: .3rem; }
.official-text p:last-child { color: var(--muted); margin: 0; }
.official-actions { flex: none; display: flex; flex-direction: column; gap: .5rem; }
@media (max-width: 991.98px) { .official-band { flex-wrap: wrap; } .official-actions { flex-direction: row; flex-wrap: wrap; } }
@media (max-width: 575.98px) { .official-band { flex-direction: column; align-items: flex-start; padding: 1.25rem; gap: .85rem; } .official-logo img { width: 110px; } .official-text h2 { font-size: 1.15rem; } }
.brand-strip { display: flex; align-items: center; gap: 1rem; padding: .75rem 1rem; margin: -.5rem 0 1.25rem; background: #f1f7fd; border: 1px solid #c7dcf3; border-radius: 12px; }
.brand-strip img { height: 42px; width: auto; flex: none; }
.brand-strip-text strong { font-size: 1.05rem; }
.about-point-brand img { flex: none; width: 84px; height: auto; align-self: center; }
.admin-brand-logo { max-width: 84px; max-height: 42px; }

/* MOT System page and home-page banner */
.mot-hero {
    background: radial-gradient(circle at 80% 30%, rgba(242,169,0,.2), transparent 45%), linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
    color: #fff; padding: 3rem 0 3.25rem;
}
.mot-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; }
.mot-hero .lead { color: rgba(255,255,255,.8); max-width: 40rem; font-size: 1.12rem; }
.mot-chips { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.mot-chips li { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); border-radius: 999px; padding: .3rem .85rem; font-size: .88rem; }
.mot-chips li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: .4rem; }
.mot-phone { width: min(300px, 100%); margin: 0 auto; background: #0a1220; border-radius: 36px; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.12) inset; }
.mot-phone-top { display: flex; justify-content: center; padding: 4px 0 10px; }
.mot-phone-top span { width: 90px; height: 22px; background: #000; border-radius: 999px; }
.mot-phone-screen { background: #f2f4f8; color: var(--ink); border-radius: 26px; padding: 1.25rem 1rem 1.75rem; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
.mot-sms-from { text-align: center; font-weight: 700; font-size: .85rem; margin-bottom: auto; padding-bottom: 1.5rem; }
.mot-sms { align-self: flex-start; background: #fff; border-radius: 18px 18px 18px 4px; padding: .75rem .9rem; font-size: .9rem; line-height: 1.4; box-shadow: 0 2px 6px rgba(15,27,45,.08); max-width: 92%; }
.mot-sms-time { font-size: .72rem; color: var(--muted); margin-top: .5rem; }
.mot-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 768px) { .mot-steps { grid-template-columns: repeat(3, 1fr); } }
.mot-steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .35rem; }
.mot-steps li::before { content: counter(step); width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: .4rem; }
.mot-steps span { color: var(--muted); }
.mot-price { height: 100%; border-radius: var(--radius); padding: 2rem; color: #fff; background: linear-gradient(160deg, var(--ink-2), var(--ink)); }
.mot-price .eyebrow { margin-bottom: .5rem; }
.mot-price-amount { font-size: 1.1rem; color: rgba(255,255,255,.8); }
.mot-price-amount strong { font-size: 3rem; color: #fff; line-height: 1; margin: 0 .2rem; }
.mot-price-note { color: rgba(255,255,255,.7); margin: .6rem 0 1rem; }
.mot-included { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.mot-included li { padding: .35rem 0 .35rem 1.6rem; position: relative; }
.mot-included li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.mot-price a { color: var(--accent); font-weight: 600; }
.mot-local { height: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.mot-local p { color: #33415a; }
.mot-promo-section { padding: 1.25rem 0 0; }
.mot-promo {
    display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 1.5rem; border-radius: var(--radius);
    background: linear-gradient(100deg, #fff6dc 0%, #fffaf0 60%, #fff 100%); border: 1px solid #f3dfa3;
    text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease;
}
.mot-promo:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15,27,45,.08); }
.mot-promo-icon { flex: none; width: 64px; height: 64px; border-radius: 16px; background: var(--ink); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.mot-promo-text { display: flex; flex-direction: column; gap: .1rem; flex: 1; min-width: 0; }
.mot-promo-eyebrow { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-text); }
.mot-promo-text strong { font-size: 1.2rem; }
.mot-promo-text span:last-child { color: var(--muted); font-size: .95rem; }
.mot-promo-cta { flex: none; font-weight: 700; background: var(--ink); color: #fff; border-radius: 999px; padding: .55rem 1.1rem; white-space: nowrap; }
@media (max-width: 575.98px) {
    .mot-promo { flex-wrap: wrap; gap: .9rem; padding: 1.1rem; }
    .mot-promo-icon { width: 52px; height: 52px; }
    .mot-promo-text { flex-basis: calc(100% - 52px - .9rem); }
    .mot-promo-cta { width: 100%; text-align: center; }
    .mot-hero { padding: 2rem 0 2.5rem; }
    .mot-price, .mot-local { padding: 1.5rem; }
}
.topic-motsystem { background: var(--gold-icon); }
/* MOT System screenshots: browser and phone frames plus small cards that open the full image. */
.mot-shot { margin: 0; }
.mot-shot figcaption { margin-top: .65rem; color: var(--muted); font-size: .9rem; text-align: center; }
.mot-shot img { display: block; width: 100%; height: auto; }
.browser-frame { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 20px 45px rgba(15,27,45,.14); }
.browser-bar { display: flex; gap: 6px; padding: 9px 12px; background: #eef1f6; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; }
.browser-bar span:nth-child(3) { background: #28c840; }
.phone-frame { width: min(260px, 100%); margin: 0 auto; padding: 10px; background: #0a1220; border-radius: 34px; box-shadow: 0 24px 50px rgba(15,27,45,.25); }
.phone-frame img { border-radius: 24px; }
.shot-card { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 10px 25px rgba(15,27,45,.08); transition: transform .15s ease, box-shadow .15s ease; }
.shot-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(15,27,45,.14); }
.shot-card img { aspect-ratio: 16 / 11; object-fit: cover; object-position: top left; }
@media (prefers-reduced-motion: reduce) { .shot-card { transition: none; } }

/* Home: "Popular items" — a dark intro tile next to an auto-scrolling strip of small product pictures. */
.popular-section { padding: 2rem 0 0; }
.popular-showcase { display: grid; gap: 1.25rem; }
@media (min-width: 992px) { .popular-showcase { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.popular-intro {
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    padding: 2.25rem 1.75rem; border-radius: var(--radius); color: #fff;
    background: radial-gradient(circle at 15% 110%, rgba(242,169,0,.25), transparent 55%), linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 100%);
}
.popular-intro .eyebrow { margin-bottom: .4rem; }
.popular-intro h2 { font-size: 2rem; margin-bottom: .4rem; }
.popular-intro p:not(.eyebrow) { color: rgba(255,255,255,.72); margin-bottom: 1.25rem; }
.popular-carousel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1rem .75rem; background: #fff; }
.popular-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; list-style: none; margin: 0; padding: .25rem; }
.popular-carousel.is-enhanced .popular-track { scrollbar-width: none; }
.popular-carousel.is-enhanced .popular-track::-webkit-scrollbar { display: none; }
.popular-item { flex: 0 0 calc((100% - 3rem) / 4); scroll-snap-align: start; }
@media (max-width: 1199.98px) { .popular-item { flex-basis: calc((100% - 2rem) / 3); } }
@media (max-width: 575.98px) { .popular-item { flex-basis: calc((100% - 1rem) / 2); } }
.popular-item a { display: flex; flex-direction: column; align-items: center; gap: .3rem; height: 100%; padding: .75rem .5rem; border-radius: 12px; text-align: center; text-decoration: none; color: var(--ink); transition: background .15s ease; }
.popular-item a:hover { background: var(--bg-alt); color: var(--ink); }
.popular-img { width: 100%; height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: .4rem; color: #9aa6b8; }
.popular-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .2s ease; }
.popular-item a:hover .popular-img img { transform: scale(1.05); }
.popular-img .equip-icon { width: 56px; height: 56px; }
.popular-cat { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-text); line-height: 1.3; }
.popular-name { font-size: .86rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.popular-code { font-family: ui-monospace, Consolas, monospace; font-size: .74rem; color: var(--muted); margin-top: auto; }
@media (max-width: 575.98px) { .popular-img { height: 96px; } .popular-intro { padding: 1.75rem 1.25rem; } .popular-intro h2 { font-size: 1.6rem; } }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-top: .6rem; }
.carousel-controls[hidden] { display: none; }
.carousel-arrow { background: none; border: 0; padding: .45rem .5rem; color: var(--ink); border-radius: 8px; line-height: 0; }
.carousel-arrow:hover { background: var(--bg-alt); }
.carousel-dots { display: flex; gap: .45rem; }
.carousel-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #c9d1dc; transition: width .2s ease, background .2s ease; }
.carousel-dot.active { width: 22px; background: var(--ink); }
/* Bigger invisible tap area around the small dots. */
.carousel-dot { position: relative; }
.carousel-dot::after { content: ""; position: absolute; inset: -10px -4px; }
.carousel-pause { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; padding: 0; }
.carousel-pause:hover { border-color: var(--ink); }
.carousel-pause .icon-play, .carousel-pause.is-paused .icon-pause { display: none; }
.carousel-pause.is-paused .icon-play { display: block; }
.carousel-arrow:focus-visible, .carousel-dot:focus-visible, .carousel-pause:focus-visible, .popular-item a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .popular-img img, .carousel-dot { transition: none; } }

/* ---------- Garage Manager page ---------- */
.topic-garagemanager { background: #1e3a5f; }
.gm-hero-steps { padding: .9rem 1.4rem; }
.gm-hero-steps li { padding: .7rem 0; }
.gm-hero-steps strong { font-size: 1.05rem; }
.gm-hero-steps span { font-size: .92rem; }
.gm-feature figcaption { text-align: left; margin-top: .85rem; display: flex; flex-direction: column; gap: .15rem; }
.gm-feature figcaption strong { color: var(--ink); font-size: 1.05rem; }
.gm-team { margin: 2rem 0 0; text-align: center; color: var(--muted); }
.gm-team strong { color: var(--ink); margin-right: .35rem; }
/* Home page: two app promos side by side stretch to the same height. */
.mot-promo-section .row > div { display: flex; }
.mot-promo-section .mot-promo { width: 100%; }
/* Side by side there is little room: the button drops under the text (always in Greek, whose texts are longer). */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .mot-promo-section .mot-promo { flex-wrap: wrap; align-content: flex-start; }
    .mot-promo-section .mot-promo-text { flex-basis: calc(100% - 64px - 1.25rem); }
    .mot-promo-section .mot-promo-cta { margin-left: calc(64px + 1.25rem); }
}
@media (min-width: 1400px) {
    html:lang(el) .mot-promo-section .mot-promo { flex-wrap: wrap; align-content: flex-start; }
    html:lang(el) .mot-promo-section .mot-promo-text { flex-basis: calc(100% - 64px - 1.25rem); }
    html:lang(el) .mot-promo-section .mot-promo-cta { margin-left: calc(64px + 1.25rem); }
}
/* Highlighted "service history" band on the Garage Manager page. */
.gm-history { background: linear-gradient(100deg, #fff3cf 0%, #fff9ea 55%, #fffdf7 100%); border-top: 1px solid #f3dfa3; border-bottom: 1px solid #f3dfa3; }
.gm-history .eyebrow { color: var(--gold-text); }
.gm-history h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.gm-history-lead { font-size: 1.08rem; color: #33415a; }
.gm-history-list { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.gm-history-list li { position: relative; padding: .4rem 0 .4rem 1.9rem; font-weight: 600; }
.gm-history-list li::before { content: "✓"; position: absolute; left: 0; top: .35rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: .8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
/* "Garage Apps" menu in the header. */
.site-header .dropdown-menu { border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 36px rgba(15,27,45,.12); padding: .4rem; min-width: 17.5rem; margin-top: 0; }
.site-header .dropdown-item { border-radius: 8px; padding: .55rem .75rem; white-space: normal; }
.site-header .dropdown-item strong { display: block; color: var(--ink); }
.site-header .dropdown-item span { display: block; font-size: .85rem; color: var(--muted); }
.site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background: var(--bg-alt); }
.site-header .dropdown-item.active, .site-header .dropdown-item:active { background: #fff6dc; }
/* Desktop: the menu also opens when the pointer is over the tab. */
@media (min-width: 992px) { .site-header .nav-item.dropdown:hover > .dropdown-menu { display: block; } }
/* Phones and tablets: the two apps are listed straight under the tab's name, no extra tap. */
@media (max-width: 991.98px) {
    .site-header .navbar-nav .dropdown-menu { display: block; border: 0; box-shadow: none; padding: 0 0 .25rem .75rem; min-width: 0; }
    .site-header .navbar-nav .dropdown-toggle::after { display: none; }
    .site-header .navbar-nav .dropdown-item { padding: .4rem .5rem; }
}
/* Garage Manager price. */
.gm-hero-price { margin: .9rem 0 0; font-weight: 600; }
.gm-hero-price a { color: var(--accent); text-decoration: none; border-bottom: 1px dashed rgba(242,169,0,.6); }
.gm-hero-price a:hover { color: #fff; border-bottom-color: #fff; }
.gm-hero-price span { display: inline-block; font-weight: 400; color: rgba(255,255,255,.8); }
.gm-price-from { font-size: 1.1rem; color: rgba(255,255,255,.8); margin: 0 0 .15rem; }
.gm-price-year { font-size: 1.2rem; color: #fff; margin: .4rem 0 .15rem; display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.gm-price-save { background: var(--accent); color: var(--ink); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; border-radius: 999px; padding: .15rem .6rem; }
