/* toboulis.gr - palette and type of washsmart.gr (Prime: Inter, primary #3b4a9c, lime accent, footer #141824) */
:root {
    --primary: #3b4a9c;
    --primary-hover: #333f86;
    --primary-dark: #2a3570;
    --lime: #a3d133;
    --lime-hover: #8fbb24;
    --text: #141824;
    --muted: #565961;
    --line: #e4e7eb;
    --bg: #fff;
    --bg-alt: #f5f6f9;
    --footer: #141824;
    --footer-text: #c3c7d6;
    --radius: 12px;
    --wrap: 1200px;
    --font: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 var(--font); color: var(--text); background: var(--bg); overflow-x: clip; }
h1, h2, h3, p, li, strong, span { overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.i { flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 2px solid transparent; line-height: 1.2; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); color: #fff; }
.btn--lime { background: var(--lime); color: var(--text); }
.btn--lime:hover { background: var(--lime-hover); color: var(--text); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* top bar + header */
.topbar { background: var(--primary-dark); color: #fff; font-size: 14px; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-left: 18px; }
.topbar a:hover { color: var(--lime); }
.hdr { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo img { width: 220px; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--primary); background: var(--bg-alt); }
.hdr__toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--text); cursor: pointer; }

/* hero */
.hero, .phero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero__bg, .phero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img, .phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after, .phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 24, 36, .9) 0%, rgba(42, 53, 112, .78) 55%, rgba(42, 53, 112, .35) 100%); }
.hero__in { padding-top: clamp(64px, 10vw, 120px); padding-bottom: clamp(64px, 10vw, 120px); max-width: var(--wrap); }
.hero h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); max-width: 20ch; font-weight: 800; }
.hero p { font-size: 1.1rem; max-width: 60ch; color: #e6e8f2; margin-bottom: 28px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-bottom: 12px; }
.sec .eyebrow, .sec--alt .eyebrow { color: var(--primary); }
.phero__in { padding-top: 56px; padding-bottom: 56px; }
.phero h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); font-weight: 800; max-width: 26ch; }
.phero p { margin: 0; font-size: 1.1rem; color: #e6e8f2; }

/* facts */
.facts { background: var(--primary); color: #fff; }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.fact { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; }
.fact .i { grid-row: span 2; color: var(--lime); }
.fact strong { font-size: 1.15rem; }
.fact span { font-size: 14px; color: #dfe2f0; }

/* sections */
.sec { padding: clamp(48px, 7vw, 88px) 0; }
.sec--alt { background: var(--bg-alt); }
.sec__head { margin-bottom: 32px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split--tight { gap: 16px; margin-top: 24px; }
.stack { display: grid; gap: 16px; }
.rounded { border-radius: var(--radius); }
.center { display: flex; justify-content: center; }
.prose { max-width: 70ch; }
.prose--narrow { margin-bottom: 8px; }
.lead { font-size: 1.15rem; font-weight: 500; }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); text-decoration: none; }
.card:hover { border-color: var(--primary); color: var(--text); }
.card__ic { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: #eef0f9; color: var(--primary); margin-bottom: 16px; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); font-size: 15px; }

/* gallery + lightbox */
.gallery { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.lb { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lb::backdrop { background: rgba(20, 24, 36, .88); }
.lb img { max-width: 94vw; max-height: 88vh; border-radius: 8px; }
.lb__close { position: absolute; top: -48px; right: 0; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }
html:has(.lb[open]) { overflow: hidden; }

/* logos */
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.logos li { flex: 0 0 calc((100% - 80px) / 6); display: grid; place-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; aspect-ratio: 3 / 2; }
.logos img { max-height: 72px; width: auto; object-fit: contain; }
.brandlogo { max-width: 320px; }

/* timeline + certificate */
.timeline { list-style: none; margin: 16px 0 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 24px; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); }
.timeline b { color: var(--primary); }
.cert { display: block; max-width: 420px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }

/* video (click to load) */
.video { max-width: 800px; margin: 24px auto 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: none; }
.video button img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video__play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--text); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* shop + cta bands */
.shop { background: var(--footer); color: #fff; }
.shop__in, .band__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.shop p, .band p { margin: 0; color: var(--footer-text); max-width: 60ch; }
.band { background: var(--primary); color: #fff; }
.band h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.band p { color: #dfe2f0; }

/* contact */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: stretch; }
.contact__cards { display: grid; gap: 16px; }
.ccard { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.ccard > .i { color: var(--primary); margin-top: 2px; }
.ccard h3 { margin-bottom: 4px; }
.ccard p { margin: 0; color: var(--muted); }
.map { min-height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* footer */
.ftr { background: var(--footer); color: var(--footer-text); font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.ftr h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { color: var(--footer-text); text-decoration: none; }
.ftr a:hover { color: var(--lime); }
.ftr__logo { width: 200px; height: auto; background: #fff; padding: 8px 12px; border-radius: 8px; margin-bottom: 16px; box-sizing: content-box; }
.ftr__contact li { display: flex; gap: 8px; align-items: flex-start; }
.ftr__contact .i { margin-top: 4px; color: var(--lime); }
.ftr__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 16px; padding-bottom: 24px; font-size: 14px; }

/* responsive */
@media (max-width: 1100px) {
    .nav__shop { display: none; }
}
@media (max-width: 960px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .logos li { flex-basis: calc((100% - 32px) / 3); }
    .split, .contact { grid-template-columns: 1fr; }
    .ftr__grid { grid-template-columns: 1fr 1fr; }
    .hdr__toggle { display: block; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 16px 20px; }
    .hdr.is-open .nav { display: flex; }
    .nav ul { flex-direction: column; }
    .nav__shop { display: inline-flex; justify-content: center; }
}
@media (max-width: 640px) {
    .topbar span:first-child { display: none; }
    .topbar__in { justify-content: center; }
    .topbar a { margin: 0 8px; }
    .logo img { width: 170px; }
    .cards, .ftr__grid { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts__grid { grid-template-columns: minmax(0, 1fr); }
    .shop__in, .band__in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
    .topbar a[href^="mailto"] { display: none; }
}
