/* apentomoseis.gr — "same site, 2026 edition". Mobile first, no framework. */
@font-face { font-family: Manrope; src: url(fonts/manrope-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; src: url(fonts/manrope-latin-ext.woff2) format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Manrope; src: url(fonts/manrope-greek.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: Manrope; src: url(fonts/manrope-cyrillic.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --red: #d42a17; --red-bright: #ef331e; --red-dark: #a91f10;
  --ink: #231f20; --muted: #5a5758; --line: #e7e3e1; --soft: #f7f4f2; --white: #fff;
  --radius: 18px; --shadow: 0 6px 24px rgba(35, 31, 32, .08);
  --wrap: 1200px; --gutter: 20px;
  --font: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.6 var(--font); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; gap: .4em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--soft); }

/* Header: compact on mobile (0001 finding 8): logo + menu button only; phones via the sticky call button. */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header-bar { display: flex; align-items: center; gap: 8px; min-height: 64px; }
.logo img { width: 120px; height: auto; }  /* 0016: room for five flags beside it */
.header-phones, .header-cta { display: none; }
.menu-toggle { margin-left: auto; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav-row { display: none; border-top: 1px solid var(--line); max-height: calc(100vh - 64px); overflow: auto; }
.nav-row.is-open { display: block; padding-bottom: 80px; }  /* room above the sticky call button */
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: .8em 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--red); }
.main-nav li li a { padding-left: 1em; font-weight: 500; color: var(--muted); }
/* Flag row (0016): every enabled Language's flag in the header bar, no text; wraps when there are more. */
.flag-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0; margin-left: auto; }
.flag-row a { display: grid; place-items: center; min-width: 28px; min-height: 36px; border-radius: 6px; opacity: .8; }
.flag-row a:hover { opacity: 1; background: var(--soft); }
.flag-row a[aria-current] { opacity: 1; background: var(--soft); box-shadow: inset 0 -2px 0 var(--red); }
.flag-row a:focus-visible { outline: 3px solid var(--red); outline-offset: 1px; opacity: 1; }
.flag-row + .menu-toggle { margin-left: 0; }
.flag { display: inline-block; width: 24px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.flag-missing { width: auto; min-width: 24px; padding: 0 4px; box-sizing: border-box; font-size: .6rem; line-height: 16px; text-align: center; background: var(--soft); color: var(--muted); font-weight: 800; }

/* Page head for Pages that don't open with a Hero. */
.page-head { background: var(--soft); padding: 40px 0 28px; }
.page-head h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); margin: 0; }
.page-head .subtitle { margin: .35em 0 0; font-size: 1.15rem; color: var(--muted); }

.block { padding: 48px 0; }
.block-hero { padding: 0; }
.block-cta, .block-hero + .block { padding-top: 48px; }
.block-cta { padding: 0; }
.section-title { text-align: center; margin-bottom: 1em; }
.prose p { margin: 0 0 1em; } .prose ul, .prose ol { padding-left: 1.3em; }

/* Hero: full width, text on a dark gradient over the image. */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; min-height: 480px; display: grid; }
.slide { grid-area: 1 / 1; position: relative; display: flex; align-items: flex-end; min-height: 480px; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,16,17,.85) 0%, rgba(20,16,17,.45) 55%, rgba(20,16,17,.1) 100%); }
.slide-body { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 64px; width: 100%; }
.slide-title { font-size: clamp(2rem, 1.3rem + 3.4vw, 4rem); font-weight: 800; max-width: 16ch; margin-bottom: .3em; }
.slide-text { font-size: 1.1rem; max-width: 46ch; margin: 0 0 1.4em; opacity: .92; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 4px; }
.dot { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; padding: 0; display: grid; place-items: center; }
.dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); transition: width .2s, background .2s; }
.dot[aria-current]::before { width: 26px; border-radius: 5px; background: #fff; }

/* Card Grid */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: 1fr; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card.is-link:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(35,31,32,.12); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card.is-link h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.card.is-link h3::after { content: " →"; color: var(--red); }
.card p { margin: 0; color: var(--muted); }
.card-icon { height: 56px; width: auto; margin-bottom: 16px; }
.card-img { margin: -28px -28px 20px; width: calc(100% + 56px); max-width: none; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16/10; object-fit: cover; }

/* Image + Text */
.image-text { display: grid; gap: 28px; align-items: center; }
.image-text-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq-item summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--red); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .prose { padding: 0 20px 6px; color: var(--muted); }

/* Reviews */
.block-reviews { background: var(--soft); }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.review { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1.1rem; } .stars .off { color: var(--line); }
.review blockquote { margin: 10px 0 16px; flex: 1; } .review blockquote p { margin: 0; }
.review-by { margin: 0; font-size: .9rem; color: var(--muted); } .review-by strong { color: var(--ink); }

/* Call-to-Action strip */
.cta { background: var(--red); color: #fff; padding: 44px 0; }
.cta h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); margin-bottom: .2em; }
.cta p { margin: 0; }
.cta-inner { display: grid; gap: 24px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.phone-big { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.35rem; display: flex; flex-direction: column; line-height: 1.2; padding-right: 10px; }
.phone-big span { font-size: .8rem; font-weight: 600; opacity: .85; text-transform: uppercase; letter-spacing: .05em; }

/* Contact */
.contact { display: grid; gap: 28px; }
.contact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; }
.contact dt { font-weight: 700; } .contact dd { margin: 0; }
.contact .phone { font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.enquiry-slot:empty { display: none; }
.map-placeholder { min-height: 260px; border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 20px;
  background: repeating-linear-gradient(45deg, var(--soft) 0 14px, #efebe8 14px 28px); color: var(--muted); font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #d9d5d3; padding: 48px 0 96px; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.footer-grid { display: grid; gap: 32px; }
.footer-logo { display: block; box-sizing: content-box; width: 150px; height: auto; padding: 10px 18px; background: #fff; border-radius: 999px; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; } .footer-links a { text-decoration: none; line-height: 2; }
.site-footer address { font-style: normal; line-height: 1.9; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid #3a3536; font-size: .85rem; }

/* Sticky call button, mobile only */
.sticky-call { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: center; align-items: center; gap: 8px;
  min-height: 54px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 8px 24px rgba(212,42,23,.4); }

@media (min-width: 640px) {
  .cards.cols-2, .cards.cols-3, .cards.cols-4, .reviews { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr .9fr 1.5fr 1.5fr; }
}
@media (min-width: 960px) {
  :root { --gutter: 32px; }
  .block { padding: 80px 0; }
  .block-hero { padding: 0; } .block-cta { padding: 0; }
  .hero, .slide { min-height: 620px; }
  .slide { align-items: center; }
  .slide::after { background: linear-gradient(90deg, rgba(20,16,17,.85) 0%, rgba(20,16,17,.5) 45%, rgba(20,16,17,0) 80%); }
  .cards.cols-3, .reviews { grid-template-columns: repeat(3, 1fr); }
  .cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .image-text { grid-template-columns: 1fr 1fr; gap: 56px; }
  .image-right .image-text-media { order: 2; }
  .cta-inner { grid-template-columns: 1fr auto; align-items: center; }

  .header-bar { min-height: 84px; gap: 16px; }
  .flag-row { margin-left: 0; gap: 4px; }
  .flag-row a { min-width: 32px; }
  .logo img { width: 203px; }
  .header-phones { display: flex; gap: 24px; margin-left: auto; }
  .phone { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1rem; display: flex; flex-direction: column; line-height: 1.2; }
  .phone span { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
  .phone:hover { color: var(--red); }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .nav-row, .nav-row.is-open { display: block; max-height: none; overflow: visible; padding-bottom: 0; }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; }
  .main-nav > ul { display: flex; gap: 4px; }
  .main-nav > ul > li { position: relative; }
  .main-nav > ul > li > a { padding: 14px 14px; }
  .has-sub > a::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
  .has-sub > ul { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: 14px; box-shadow: 0 16px 40px rgba(35,31,32,.14);
    padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
  .has-sub:hover > ul, .has-sub:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
  .main-nav li li a { padding: .6em .9em; border-radius: 8px; color: var(--ink); }
  .main-nav li li a:hover { background: var(--soft); }
  .sticky-call { display: none; }
  .site-footer { padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Enquiry form (0008) */
.enquiry { margin-top: 32px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.enquiry h3 { margin-top: 0; }
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.enquiry-form .field { margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.enquiry-form .field:has(textarea), .enquiry-form button { grid-column: 1 / -1; }
.enquiry-form label { font-weight: 600; font-size: .95rem; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  font: inherit; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; min-height: 48px; width: 100%; box-sizing: border-box; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { background: #fff; border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(212, 42, 23, .15); }
.enquiry-form .has-error input, .enquiry-form .has-error select, .enquiry-form .has-error textarea { border-color: var(--red); background: #fff5f4; }
.enquiry-form .error { color: var(--red-dark); font-size: .9rem; }
.enquiry-form button { justify-self: start; min-height: 52px; padding-inline: 32px; }
.enquiry-thanks { padding: 16px 20px; border-radius: 12px; background: #eef8f0; color: #1d5b2c; font-weight: 600; margin: 0; }
@media (max-width: 640px) {
  .enquiry { padding: 20px; }
  .enquiry-form { grid-template-columns: 1fr; }
  .enquiry-form button { justify-self: stretch; }
}

/* Map Block and cookie notice (0018) */
.block + .block-map { padding-top: 0; } /* sits right under the Block above (e.g. Contact), no double gap */
.map-block h2 { margin: 0 0 16px; }
.map-frame { display: block; width: 100%; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: #eef1f4; }
.map-small { height: 240px; } .map-medium { height: 360px; } .map-large { height: 520px; }
.map-open { margin: 12px 0 0; }
.cookie-notice { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  max-width: 760px; margin: 0 auto; padding: 12px 16px; border-radius: var(--radius); background: #1d2430; color: #fff; font-size: .9rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { flex: 1 1 260px; margin: 0; }
.cookie-notice a { color: #fff; }
.cookie-notice .btn { min-height: 40px; padding: 8px 22px; }
.cookie-notice.above-call { bottom: 78px; } /* clears the 54px sticky call button + its 12px gap */
@media (min-width: 960px) { .cookie-notice.above-call { bottom: 12px; } }
/* Send-Failure Notice (0026) */
.enquiry-failed { margin-top: 16px; padding: 16px 20px; border-radius: 12px; background: #fff5f4; border: 1px solid var(--red); }
.enquiry-failed:focus { outline: none; }
.enquiry-failed p { margin: 0 0 12px; }
.enquiry-failed-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.enquiry-failed-actions .btn { border: 1px solid var(--line); }
@media (max-width: 640px) { .enquiry-failed-actions .btn { flex: 1 1 100%; justify-content: center; } }

/* Preview (0027): opened from the Admin; nothing here is saved. The bar stays on top, the sticky header sits below it. */
.preview-bar { position: sticky; top: 0; z-index: 1000; box-sizing: border-box; min-height: 40px; background: #1d2433; color: #fff; text-align: center; padding: .6rem 1rem; font: 600 .95rem/1.3 system-ui, sans-serif; }
.preview-bar ~ .site-header { top: 40px; }
.preview-fallback { outline: 2px dashed #c77800; outline-offset: -4px; position: relative; }
.preview-marker { position: absolute; top: 10px; left: 10px; z-index: 5; margin: 0; background: #c77800; color: #fff; padding: .25rem .6rem; border-radius: 4px; font: 600 .8rem/1.3 system-ui, sans-serif; }
.preview-off { border: 0; padding: 0; margin: 0; min-width: 0; opacity: .6; }
