/* Portable Touchscreen Cyprus - site stylesheet. No framework, no external fonts.
   Design: calm, centered, one idea per screen, generous spacing. */
:root {
  --ink: #111318;
  --text: #33363f;
  --muted: #6b7280;
  --line: #e4e6ea;
  --bg: #ffffff;
  --bg-alt: #f4f4f2;
  --accent: #ff7a00;
  --accent-dark: #e06600;
  --wa: #25a35a;
  --wa-dark: #1d8a4b;
  --radius: 20px;
  --shadow: 0 12px 40px rgba(17, 19, 24, 0.10);
  --wrap: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 18px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 0.8em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.lead { font-size: 1.3rem; line-height: 1.5; color: var(--text); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header: floating pill like the old site */
.site-header { position: sticky; top: 12px; z-index: 50; padding: 0 16px; }
.header-inner { background: #fff; border-radius: 999px; box-shadow: 0 6px 24px rgba(17,19,24,0.10); display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 8px 12px 8px 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1.05; font-size: 1.05rem; }
.brand img { border-radius: 8px; }
.brand small { font-weight: 500; color: var(--muted); font-size: 0.8rem; }
.site-nav { display: flex; align-items: center; gap: 14px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 1.05rem; padding: 10px 14px; border-radius: 999px; display: inline-block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--bg-alt); }
.lang { display: flex; gap: 2px; }
.lang a { padding: 6px 9px; font-size: 0.85rem; color: var(--muted); }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 700; background: var(--bg-alt); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn { display: none; width: 48px; height: 48px; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; padding: 10px; border-radius: 50%; }
.nav-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-cta.btn { padding: 12px 22px; border-radius: 999px; }

/* Buttons */
.btn { display: inline-block; padding: 16px 30px; border-radius: 999px; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; line-height: 1.2; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.cta-row.center { justify-content: center; }

/* Hero: centered text, then a big photo */
.hero { padding: 72px 0 0; background: var(--bg); }
.hero .lead { max-width: 720px; margin-inline: auto; }
.hero .price-line { font-size: 1.25rem; margin-top: 8px; }
.hero .price-line strong { font-size: 2rem; color: var(--ink); }
.hero .muted { margin-top: 4px; }
.hero-media { margin: 48px auto 0; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.hero-media figcaption { text-align: center; color: var(--muted); font-size: 0.95rem; margin-top: 12px; }
.hero + .section { padding-top: 88px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 700; color: var(--accent-dark); margin-bottom: 12px; }
.trust { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 1rem; color: var(--muted); }
.trust li::before { content: "\2713"; color: var(--accent); font-weight: 700; margin-right: 6px; }

/* Sub-page heroes (compact): centered copy, optional photo below */
.hero.compact { padding: 64px 0 0; }
.hero-grid { display: block; text-align: center; }
.hero-grid .hero-copy { max-width: 820px; margin-inline: auto; }
.hero-grid .cta-row { justify-content: center; }
.hero-grid .hero-media { max-width: 960px; }
.hero.compact .wrap.narrow { text-align: center; margin-inline: auto; }
.hero.compact .cta-row { justify-content: center; }
.hero .toc { justify-content: center; }
.hero .price-line strong { margin-right: 4px; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section h2.center { margin-bottom: 1.2em; }
.section-intro { max-width: 720px; margin-inline: auto; text-align: center; }

/* Features: three per row, icon on top, like the old "Features" block */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; text-align: center; max-width: 1000px; margin-inline: auto; }
.feature h3 { margin: 14px 0 8px; }
.feature p { margin: 0; color: var(--text); }
.ficon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.6rem; }

/* Cards (used on sub-pages): max three per row, roomy */
.cards { display: grid; gap: 28px; margin: 8px 0 0; }
.cards.four, .cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: 0 4px 20px rgba(17,19,24,0.06); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.media-card { padding: 0; overflow: hidden; }
.media-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.media-card h3, .media-card p { padding: 0 24px; }
.media-card h3 { margin-top: 20px; }
.media-card p { padding-bottom: 24px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.two-col > *, .hero-grid > *, .cards > *, .gallery > *, .gallery-mini > *, .features > * { min-width: 0; }
.gallery-mini { display: grid; gap: 20px; }
.gallery-mini img, .two-col > div > img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* Compatibility list */
.compat { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.compat li { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 16px; padding: 18px 22px; }
.compat img, .compat-icon { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 10px; font-size: 2rem; display: grid; place-items: center; }
.compat strong { display: block; color: var(--ink); font-size: 1.1rem; }
.compat span { color: var(--text); }

/* Specs as a definition list */
.specs { margin: 0 0 28px; padding: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px rgba(17,19,24,0.06); }
.specs > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.specs > div:last-child { border-bottom: 0; }
.specs dt { font-weight: 700; color: var(--ink); }
.specs dd { margin: 0; }

/* Tables */
table.spec { width: 100%; border-collapse: collapse; margin: 12px 0 24px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(17,19,24,0.06); font-size: 1rem; }
table.spec th, table.spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th[scope="row"] { width: 32%; color: var(--ink); font-weight: 600; }
table.spec thead th { background: var(--ink); color: #fff; font-weight: 600; }
table.spec tr:last-child td, table.spec tr:last-child th { border-bottom: 0; }

/* Lists */
.check { list-style: none; padding: 0; margin: 0 0 20px; }
.check li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.check.big li { font-size: 1.05rem; margin-bottom: 12px; }
.check.left { text-align: left; display: inline-block; }
.steps { padding-left: 0; list-style: none; counter-reset: step; margin: 20px 0; }
.steps li { position: relative; padding-left: 56px; margin-bottom: 22px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; }
.delivery-box { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.delivery-box h3 { margin-top: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.toc a { background: var(--bg-alt); color: var(--ink); padding: 8px 16px; border-radius: 999px; text-decoration: none; font-size: 0.95rem; }
.toc a:hover { background: var(--accent); color: #fff; }
pre { background: var(--ink); color: #eef; padding: 16px 18px; border-radius: 12px; overflow-x: auto; font-size: 0.9rem; }
.inline-icon { display: inline-block; vertical-align: middle; margin-right: 8px; border-radius: 8px; }

/* FAQ */
details.faq { background: #fff; border-radius: 16px; padding: 0 24px; margin-bottom: 12px; box-shadow: 0 4px 20px rgba(17,19,24,0.06); }
details.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 20px 36px 20px 0; list-style: none; position: relative; font-size: 1.05rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "\2304"; position: absolute; right: 2px; top: 14px; font-size: 1.4rem; color: var(--muted); transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(180deg); }
details.faq p, details.faq ol, details.faq pre { margin-bottom: 20px; }

/* Gallery with lightbox */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery.two { grid-template-columns: 1fr 1fr; }
.gallery a { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(17,19,24,0.08); }
.gallery img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,12,0.94); display: flex; align-items: center; justify-content: center; padding: 0; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(96vw, 1400px); max-height: 86vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox figcaption { color: #cfd3da; margin-top: 12px; font-size: 0.95rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { background: var(--accent); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 28px; left: 24px; color: #cfd3da; font-size: 0.95rem; }
body.lb-open { overflow: hidden; }

/* Video facade */
.video { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: #000; max-width: 960px; margin-inline: auto; }
.video-play { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.video-play img { width: 100%; height: 100%; object-fit: cover; }
.play-icon { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; background: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.play-icon::after { content: ""; position: absolute; left: 39px; top: 30px; border-left: 30px solid #fff; border-top: 18px solid transparent; border-bottom: 18px solid transparent; }
.video-play:hover .play-icon { background: var(--accent-dark); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#video .muted.small { text-align: center; margin-top: 14px; }

/* Contact and form: full width of the narrow column, with air */
.nap p { margin-bottom: 12px; }
address { font-style: normal; }
.form-wrap { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); margin: 32px 0; }
.form-wrap h2 { margin-bottom: 8px; }
.form-wrap iframe { display: block; width: 100% !important; border: 0; }
.two-col .form-wrap { margin-top: 0; }

/* Breadcrumbs */
.crumbs { font-size: 0.9rem; padding-top: 20px; }
.crumbs ol { list-style: none; margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; gap: 8px; width: min(var(--wrap), 100%); }
.crumbs li + li::before { content: "/"; color: var(--muted); margin-right: 8px; }
.crumbs a { color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #c9ccd3; padding: 64px 0 24px; margin-top: 24px; font-size: 1rem; }
.site-footer a { color: #ffb066; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.1rem; }
.footer-h { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 20px; font-size: 0.9rem; }
.footer-bottom .muted { color: #8a8f99; }

/* Sticky mobile CTA */
.sticky-cta { display: none; }

/* Responsive */
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .cards.four, .cards.three { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav a { padding: 8px 10px; font-size: 1rem; }
}
@media (max-width: 860px) {
  .nav-btn { display: flex; }
  .site-header { top: 8px; padding: 0 10px; }
  .header-inner { min-height: 64px; padding: 6px 8px 6px 16px; }
  .site-nav { display: none; position: absolute; left: 10px; right: 10px; top: 78px; background: #fff; border-radius: 24px; flex-direction: column; align-items: stretch; padding: 16px 16px 20px; box-shadow: var(--shadow); }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 14px 12px; font-size: 1.1rem; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked ~ .nav-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .lang { align-self: flex-start; padding: 6px 4px; }
  .nav-cta.btn { text-align: center; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 48px; }
  .hero-media { margin-top: 32px; }
  .hero + .section, .section { padding: 64px 0; }
  .features { gap: 36px 28px; }
  .cards.four, .cards.three { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .specs > div { grid-template-columns: 1fr; gap: 2px; }
  .sticky-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; gap: 8px; padding: 10px 12px; background: rgba(255,255,255,0.96); border-top: 1px solid var(--line); backdrop-filter: blur(6px); }
  .sticky-cta .btn { flex: 1; text-align: center; padding: 14px 16px; }
  body { padding-bottom: 76px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .lead { font-size: 1.15rem; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { flex: 1 1 100%; text-align: center; }
  table.spec th[scope="row"] { width: 38%; }
  table.spec th, table.spec td { padding: 10px 12px; font-size: 0.95rem; }
  .compat li { align-items: flex-start; }
  .brand span { font-size: 0.95rem; }
  .form-wrap { padding: 16px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .gallery img, .nav-btn span { transition: none; }
}
@media print {
  .site-header, .sticky-cta, .video, .form-wrap, .lightbox { display: none; }
}
