/* CyberSafety — style.css */
/* Google Fonts + Tabler Icons se načítají ve sdílené PHP hlavičce. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cs-dark:      #0c1e14;
  --cs-dark2:     #091508;
  --cs-teal:      #1a9e75;
  --cs-teal2:     #2ec48a;
  --cs-teal-bg:   #f0fbf6;
  --cs-teal-border: #d4ece2;
  --cs-page-bg:   #f5f7f5;
  --cs-white:     #ffffff;
  --cs-text:      #0a1628;
  --cs-muted:     #5a7a6a;
  --cs-hint:      #9ab5a5;
  --cs-border:    #e4ede8;
  --radius:       12px;
  --radius-sm:    8px;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--cs-text);
  background: var(--cs-page-bg);
  line-height: 1.6;
}

html { scroll-behavior: smooth; }
button, input, textarea, select { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: #fff; color: var(--cs-text); padding: .7rem 1rem; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.2); }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.section-shell { max-width: 1440px; margin: 0 auto; }
.nav-links a.is-active:not(.nav-cta) { color: var(--cs-teal); }
.nav-links a:focus-visible, .btn-primary:focus-visible, .btn-outline:focus-visible, .btn-white:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(46,196,138,.38); outline-offset: 3px; }

a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── UTILITIES ─── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cs-teal);
  margin-bottom: 6px;
}
.section-h {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--cs-text);
  margin-bottom: 1.75rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cs-teal);
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: #168560; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.28);
  cursor: pointer;
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

/* ─── NAV ─── */
.nav {
  background: var(--cs-white);
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  border-bottom: 1px solid var(--cs-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--cs-text);
  display: flex;
  align-items: center;
  gap: 9px;
}
.nav-logo span { color: var(--cs-teal); }
.nav-logo svg { flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-item { position: static; display: flex; align-items: center; height: 100%; }
.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 18px 0;
  border: 0;
  color: var(--cs-muted);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s ease;
}
.mega-trigger i { font-size: 13px; transition: transform .2s ease; }
.has-mega.is-active .mega-trigger, .mega-trigger:hover, .has-mega.is-open .mega-trigger { color: var(--cs-teal); }
.has-mega.is-open .mega-trigger i { transform: rotate(180deg); }
.nav-links a {
  font-size: 13px;
  color: var(--cs-muted);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cs-teal); }
.nav-cta {
  background: var(--cs-teal) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 13px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #168560 !important; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--cs-text);
}

/* ─── HERO ─── */
.hero {
  background: var(--cs-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  overflow: hidden;
}
.hero-content {
  padding: 4rem 2.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26,158,117,0.18);
  border: 1px solid rgba(26,158,117,0.35);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--cs-teal2);
  margin-bottom: 1.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 1.1rem;
  max-width: 420px;
}
.hero h1 em { color: var(--cs-teal2); font-style: normal; }
.hero-sub {
  font-size: 14px;
  color: #8db8a0;
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 2.25rem;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

/* ─── GLOBAL MEGAMENU ─── */
.mega-menu {
  position: fixed;
  top: 58px;
  left: 50%;
  z-index: 120;
  width: min(1320px, calc(100vw - 32px));
  max-height: calc(100vh - 76px);
  overflow: auto;
  padding: 1.3rem;
  border: 1px solid var(--cs-teal-border);
  border-radius: 0 0 18px 18px;
  background: rgba(255,255,255,.985);
  box-shadow: 0 26px 70px rgba(4,27,18,.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity .2s ease, transform .24s cubic-bezier(.2,.8,.2,1), visibility .2s;
}
.has-mega.is-open .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; padding: .35rem .45rem 1.1rem; border-bottom: 1px solid var(--cs-border); }
.mega-heading div { display: grid; gap: 2px; }
.mega-heading span { color: var(--cs-teal); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.mega-heading strong { font: 700 18px/1.25 'Space Grotesk',sans-serif; color: var(--cs-text); }
.mega-heading > a { display: inline-flex; align-items: center; gap: 5px; color: var(--cs-teal); font-size: 11px; font-weight: 700; }
.mega-columns { display: grid; grid-template-columns: repeat(5, 1fr); gap: .65rem; padding: 1.15rem 0; }
.mega-column { min-width: 0; padding: 0 .45rem; }
.mega-column + .mega-column { border-left: 1px solid var(--cs-border); }
.mega-column h2 { display: flex; align-items: center; gap: 7px; margin: 0 0 .6rem; color: #1f4f3b; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.mega-column h2 i { color: var(--cs-teal); font-size: 16px; }
.mega-items { display: grid; gap: 3px; }
.mega-link { display: grid !important; grid-template-columns: 30px 1fr; align-items: start; gap: 8px; min-width: 0; padding: .56rem .5rem; border-radius: 9px; color: var(--cs-text) !important; transition: background .18s ease, transform .18s ease !important; }
.mega-link > i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--cs-teal); background: var(--cs-teal-bg); font-size: 16px; }
.mega-link span { display: grid; gap: 1px; min-width: 0; }
.mega-link strong { overflow: hidden; color: var(--cs-text); font-size: 11px; line-height: 1.35; text-overflow: ellipsis; }
.mega-link small { color: var(--cs-muted); font-size: 9px; line-height: 1.4; }
.mega-link:hover, .mega-link:focus-visible { background: var(--cs-teal-bg); transform: translateX(2px); }
.mega-link.is-planned { opacity: .55; }
.mega-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem 1.1rem; border: 1px solid rgba(46,196,138,.22); border-radius: 13px; color: #fff; background: linear-gradient(105deg, #0c1e14, #103927); }
.mega-cta > div:first-child { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 12px; }
.mega-cta span { grid-row: 1 / span 2; width: fit-content; padding: 5px 9px; border-radius: 999px; color: var(--cs-teal2); background: rgba(46,196,138,.14); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.mega-cta strong { font: 700 15px/1.2 'Space Grotesk',sans-serif; }
.mega-cta p { color: #9bc3ad; font-size: 10px; }
.mega-cta-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.mega-cta-actions .btn-primary { padding: 9px 14px; font-size: 11px; }
.mega-cta-actions > a:not(.btn-primary) { display: inline-flex; align-items: center; gap: 4px; color: #c5e1d2; font-size: 10px; font-weight: 700; }
body.mega-open::after { content: ''; position: fixed; inset: 58px 0 0; z-index: 90; background: rgba(3,15,10,.48); backdrop-filter: blur(2px); pointer-events: none; }

@media (min-width: 901px) and (hover: hover) {
  .has-mega:hover .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
  .has-mega:hover .mega-trigger i { transform: rotate(180deg); }
}

.hero-lighthouse {
  --mx: 0px;
  --my: 0px;
  position: relative;
  min-height: 470px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 38% 27%, rgba(46,196,138,.18), transparent 31%),
    linear-gradient(155deg, #07150e 0%, #0b2117 52%, #06100b 100%);
}
.lighthouse-photo {
  position: absolute;
  inset: 0 37% 0 0;
  z-index: 1;
  background-image:
    linear-gradient(90deg, transparent 56%, #0b2016 100%),
    linear-gradient(0deg, #07130d 0%, transparent 30%),
    url('../images/cybersafety-lighthouse-source.png');
  background-repeat: no-repeat;
  background-position: center, center, left -8px;
  background-size: cover, cover, 690px auto;
  filter: saturate(.88) contrast(1.06) brightness(.88);
  transform: translate(var(--mx), var(--my)) scale(1.025);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.storm-clouds {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 76% 12%, rgba(3,10,7,.9) 0 13%, transparent 37%),
    radial-gradient(ellipse at 58% 2%, rgba(7,24,16,.88) 0 18%, transparent 42%),
    linear-gradient(180deg, rgba(4,13,9,.22), transparent 55%);
  animation: clouds-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}
.lighthouse-beam {
  position: absolute;
  z-index: 3;
  left: 30%;
  top: 15.5%;
  width: 68%;
  height: 26%;
  transform-origin: left center;
  clip-path: polygon(0 47%, 100% 0, 100% 100%, 0 53%);
  background: linear-gradient(90deg, rgba(190,255,220,.58), rgba(46,196,138,.15) 47%, transparent 100%);
  filter: blur(1px);
  opacity: .72;
  animation: beam-sweep 6.5s ease-in-out infinite alternate;
  pointer-events: none;
}
.sea {
  position: absolute;
  left: -8%;
  width: 116%;
  z-index: 5;
  border-radius: 48% 52% 0 0 / 18% 23% 0 0;
  transform-origin: center bottom;
  pointer-events: none;
}
.sea-back {
  height: 23%;
  bottom: -8%;
  background: repeating-radial-gradient(ellipse at 50% 0, rgba(33,129,98,.5) 0 2px, rgba(8,43,31,.92) 3px 16px, #06120d 17px 30px);
  opacity: .86;
  animation: wave-back 8s ease-in-out infinite alternate;
}
.sea-front {
  height: 20%;
  bottom: -11%;
  background: repeating-radial-gradient(ellipse at 45% 0, rgba(124,232,193,.26) 0 2px, #09231a 3px 13px, #05100b 14px 27px);
  animation: wave-front 5.5s ease-in-out infinite alternate;
}
.hero-visual-caption {
  position: absolute;
  z-index: 7;
  right: 2rem;
  bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  max-width: 235px;
  padding: .65rem .85rem;
  border: 1px solid rgba(116,229,190,.2);
  border-radius: 999px;
  color: #acd7c2;
  background: rgba(6,20,14,.76);
  backdrop-filter: blur(8px);
  font-size: 11px;
  letter-spacing: .03em;
}
.hero-visual-caption i { color: var(--cs-teal2); font-size: 16px; }
@keyframes beam-sweep { from { transform: rotate(-3.5deg); opacity: .48; } to { transform: rotate(4deg); opacity: .82; } }
@keyframes clouds-drift { from { transform: translateX(-1.5%); } to { transform: translateX(2%); } }
@keyframes wave-back { from { transform: translateX(-1.2%) rotate(-.4deg) scaleY(.96); } to { transform: translateX(1.5%) rotate(.55deg) scaleY(1.08); } }
@keyframes wave-front { from { transform: translateX(1.4%) rotate(.35deg) scaleY(1.04); } to { transform: translateX(-1.5%) rotate(-.45deg) scaleY(.94); } }

/* Statická hero fotografie: hranatý maják vpravo, jediný paprsek zprava doleva. */
.hero-lighthouse.is-static {
  background: #07150e;
}
.hero-lighthouse.is-static .lighthouse-photo {
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(7,21,14,.78) 0%, rgba(7,21,14,.14) 38%, transparent 62%),
    url('../images/cybersafety-lighthouse-hero.png');
  background-repeat: no-repeat;
  background-position: center, right center;
  background-size: cover, auto 100%;
  filter: none;
  transform: none;
  transition: none;
}
.hero-lighthouse.is-static::before {
  display: none;
}
.hero-lighthouse.is-static::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, #0c1e14 0%, rgba(12,30,20,.48) 20%, transparent 48%);
  pointer-events: none;
}

/* ─── SERVICES ─── */
.services { background: var(--cs-page-bg); padding: 3.5rem 2.5rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card { display: flex; gap: 1rem; min-height: 170px; padding: 1.4rem; color: inherit; background: #fff; border: 1px solid var(--cs-border); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(8,45,31,.025); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card > i { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; color: var(--cs-teal); background: var(--cs-teal-bg); font-size: 22px; }
.service-card h3 { margin-bottom: .35rem; font-size: 15px; }
.service-card p { color: var(--cs-muted); font-size: 13px; line-height: 1.65; }
.service-card span { display: inline-flex; align-items: center; gap: 5px; margin-top: .85rem; color: var(--cs-teal); font-size: 12px; font-weight: 700; }
.service-card:hover { transform: translateY(-5px); border-color: var(--cs-teal-border); box-shadow: 0 18px 45px rgba(14,101,74,.1); }
.service-card:hover span { gap: 9px; }

/* ─── PAGE LAYOUTS ─── */
.breadcrumb { padding: .8rem max(1.25rem, calc((100% - 1180px) / 2)); display: flex; align-items: center; gap: .4rem; color: #89ac99; background: var(--cs-dark); border-bottom: 1px solid rgba(255,255,255,.06); font-size: 12px; }
.breadcrumb a { color: #a9c6b6; }
.page-hero { position: relative; overflow: hidden; padding: 4.6rem max(1.25rem, calc((100% - 1180px) / 2)); color: #fff; background: var(--cs-dark); }
.page-hero::before { content: ''; position: absolute; width: 520px; height: 520px; right: -120px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(46,196,138,.18), transparent 68%); }
.page-hero-eyebrow { position: relative; color: var(--cs-teal2); text-transform: uppercase; letter-spacing: .11em; font-size: 11px; font-weight: 700; }
.page-hero h1 { position: relative; max-width: 780px; margin-top: .5rem; font: 700 clamp(30px,5vw,54px)/1.08 'Space Grotesk',sans-serif; }
.page-hero p { position: relative; max-width: 680px; margin-top: 1rem; color: #9bc3ad; line-height: 1.8; }
.content-section { padding: 4rem max(1.25rem, calc((100% - 1180px) / 2)); background: #fff; }
.content-section.alt { background: var(--cs-page-bg); }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.content-card { padding: 1.5rem; border: 1px solid var(--cs-teal-border); border-radius: var(--radius); background: var(--cs-teal-bg); }
.content-card > i { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1rem; border-radius: 10px; color: var(--cs-teal); background: #e0f5ed; font-size: 22px; }
.content-card h2, .content-card h3 { margin-bottom: .5rem; font-family: 'Space Grotesk',sans-serif; font-size: 17px; }
.content-card p, .content-card li { color: var(--cs-muted); font-size: 13px; line-height: 1.75; }
.content-card a { color: var(--cs-teal); font-weight: 700; }
.content-card ul { padding-left: 1rem; }
.page-copy { max-width: 780px; color: var(--cs-muted); line-height: 1.85; }
.framework-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.framework-flow a { position: relative; display: grid; place-items: center; min-height: 210px; padding: 1.4rem 1rem; border: 1px solid var(--cs-teal-border); border-radius: 14px; color: var(--cs-text); background: #fff; text-align: center; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.framework-flow a:not(:last-child)::after { content: ''; position: absolute; right: -.76rem; top: 50%; z-index: 2; width: .76rem; height: 2px; background: var(--cs-teal-border); }
.framework-flow span { position: absolute; left: .8rem; top: .7rem; color: #cdeee0; font: 700 20px/1 'Space Grotesk',sans-serif; }
.framework-flow i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; color: var(--cs-teal); background: var(--cs-teal-bg); font-size: 27px; }
.framework-flow strong { margin-top: .7rem; font: 700 15px/1.3 'Space Grotesk',sans-serif; }
.framework-flow small { color: var(--cs-muted); font-size: 10px; }
.framework-flow a:hover { transform: translateY(-5px); border-color: var(--cs-teal); box-shadow: 0 18px 40px rgba(14,101,74,.1); }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.process-step { position: relative; padding: 1.5rem; border: 1px solid var(--cs-border); border-radius: var(--radius); background: #fff; }
.process-step::before { counter-increment: step; content: '0' counter(step); display: block; margin-bottom: .8rem; color: #cdeee0; font: 700 31px/1 'Space Grotesk',sans-serif; }
.process-step h3 { margin-bottom: .4rem; font-size: 14px; }
.process-step p { color: var(--cs-muted); font-size: 12px; line-height: 1.7; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem; color: #fff; border-radius: 16px; background: var(--cs-dark); }
.inline-cta h2 { font: 700 23px/1.2 'Space Grotesk',sans-serif; }
.inline-cta p { margin-top: .5rem; color: #9bc3ad; }
.legal-copy { max-width: 820px; }
.legal-copy h2 { margin: 2rem 0 .6rem; font: 700 22px/1.3 'Space Grotesk',sans-serif; }
.legal-copy h3 { margin: 1.3rem 0 .4rem; }
.legal-copy p, .legal-copy li { color: var(--cs-muted); line-height: 1.8; }
.legal-copy ul { padding-left: 1.2rem; }
.score-embed { display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem; align-items: center; }
.score-embed > div > p:not(.section-label) { margin: -1rem 0 1.4rem; color: var(--cs-muted); line-height: 1.8; }
.score-embed iframe { width: 100%; min-height: 650px; border: 1px solid var(--cs-teal-border); border-radius: 16px; background: #fff; box-shadow: 0 20px 55px rgba(8,45,31,.08); }

/* ─── CONTACT PAGE ─── */
.contact-page { padding: 4rem max(1.25rem, calc((100% - 980px) / 2)); background: var(--cs-page-bg); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.5rem; align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card, .billing-card, .booking-card, .form-card { padding: 1.45rem; border: 1px solid var(--cs-teal-border); border-radius: var(--radius); background: #fff; }
.contact-card { display: flex; gap: 1rem; }
.contact-card-icon { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; color: var(--cs-teal); background: var(--cs-teal-bg); font-size: 21px; }
.contact-card h3, .billing-card h3 { font-size: 13px; }
.contact-card p, .billing-card p { color: var(--cs-muted); font-size: 12px; line-height: 1.75; }
.contact-card a { color: var(--cs-teal); }
.contact-card .big-link { display: block; color: var(--cs-text); font: 700 18px/1.4 'Space Grotesk',sans-serif; }
.booking-card { color: #fff; background: var(--cs-dark); }
.booking-card p { margin: .5rem 0 1rem; color: #9bc3ad; font-size: 13px; }
.form-card h2 { margin-bottom: 1rem; font: 700 20px/1.3 'Space Grotesk',sans-serif; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent-row { display: flex; align-items: flex-start; gap: .65rem; color: var(--cs-muted); font-size: 11px; line-height: 1.55; }
.consent-row input { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 1px; accent-color: var(--cs-teal); }
.consent-row a { color: var(--cs-teal); text-decoration: underline; }
.contact-form button { display: inline-flex; justify-content: center; align-items: center; gap: .45rem; }
.contact-form button:disabled { opacity: .65; cursor: wait; }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ─── TRUST BAR ─── */
.trust {
  background: var(--cs-white);
  border-bottom: 1px solid var(--cs-border);
  padding: 1rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--cs-hint);
}
.trust-logos {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.trust-logo {
  font-size: 13px;
  font-weight: 700;
  color: #b0c4b8;
  letter-spacing: 0.05em;
}

/* ─── PAIN ─── */
.pain {
  background: var(--cs-white);
  padding: 3.5rem 2.5rem;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.pain-card {
  background: var(--cs-teal-bg);
  border: 1px solid var(--cs-teal-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}
.pain-card-icon {
  width: 40px;
  height: 40px;
  background: #e0f5ed;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.pain-card-icon i { font-size: 20px; color: var(--cs-teal); }
.pain-card h3 { font-size: 14px; font-weight: 600; color: var(--cs-text); margin-bottom: 6px; }
.pain-card p { font-size: 13px; color: var(--cs-muted); line-height: 1.7; }
.pain-card-tag {
  display: inline-block;
  margin-top: 12px;
  background: #e0f5ed;
  color: #0f6e56;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── HOW ─── */
.how {
  background: var(--cs-page-bg);
  padding: 3.5rem 2.5rem;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.how-card {
  background: var(--cs-white);
  border: 1px solid var(--cs-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.how-card:hover {
  border-color: var(--cs-teal-border);
  box-shadow: 0 4px 16px rgba(26,158,117,0.07);
}
.how-card-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #e0f5ed;
  line-height: 1;
  margin-bottom: 10px;
}
.how-card h3 { font-size: 14px; font-weight: 600; color: var(--cs-text); margin-bottom: 6px; }
.how-card p { font-size: 13px; color: var(--cs-muted); line-height: 1.7; }
.how-card a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cs-teal);
  transition: gap 0.2s;
}
.how-card a:hover { gap: 8px; }

/* ─── WHY ─── */
.why {
  background: var(--cs-white);
  padding: 3.5rem 2.5rem;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.why-card {
  background: var(--cs-teal-bg);
  border: 1px solid var(--cs-teal-border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
}
.why-card i { font-size: 24px; color: var(--cs-teal); margin-bottom: 12px; display: block; }
.why-card h3 { font-size: 14px; font-weight: 600; color: var(--cs-text); margin-bottom: 5px; }
.why-card p { font-size: 13px; color: var(--cs-muted); line-height: 1.65; }

/* ─── NIS2 ─── */
.nis2 {
  background: var(--cs-dark);
  padding: 3.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.nis2-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cs-teal2);
  margin-bottom: 8px;
}
.nis2-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.85rem;
}
.nis2-sub { font-size: 13px; color: #8db8a0; line-height: 1.8; }
.nis2-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 1.5rem;
}
.nis2-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #b0d4bf;
  line-height: 1.6;
}
.nis2-list li i { color: var(--cs-teal2); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.nis2-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.75rem;
  background: var(--cs-teal);
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.nis2-btn:hover { background: #168560; }
.nis2-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.nis2-stat {
  background: rgba(26,158,117,0.1);
  border: 1px solid rgba(26,158,117,0.22);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.nis2-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--cs-teal2);
  line-height: 1;
  margin-bottom: 6px;
}
.nis2-stat-label { font-size: 12px; color: #8db8a0; line-height: 1.55; }

/* ─── LEAD MAGNET ─── */
.lead {
  background: var(--cs-page-bg);
  padding: 3.5rem 2.5rem;
}
.lead-inner {
  background: var(--cs-white);
  border: 1px solid var(--cs-teal-border);
  border-radius: 14px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.lead-h {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--cs-text);
  margin-bottom: 0.8rem;
}
.lead-p { font-size: 13px; color: var(--cs-muted); line-height: 1.8; margin-bottom: 1.25rem; }
.lead-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.lead-check {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--cs-teal-bg);
  border: 1px solid var(--cs-teal-border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #0f6e56;
}
.lead-check i { font-size: 13px; }

/* ─── FORMULÁŘ ─── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 11px 14px;
  border: 1px solid var(--cs-teal-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--cs-text);
  background: var(--cs-white);
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cs-teal);
}
.contact-form textarea { resize: vertical; min-height: 80px; }
.contact-form button {
  background: var(--cs-teal);
  color: #fff;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Inter', sans-serif;
}
.contact-form button:hover { background: #168560; }
.form-note { font-size: 11px; color: var(--cs-hint); text-align: center; margin-top: 2px; }
.form-message {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  display: none;
}
.form-message.success {
  background: #e0f5ed;
  border: 1px solid var(--cs-teal-border);
  color: #0f6e56;
  display: block;
}
.form-message.error {
  background: #fdeaea;
  border: 1px solid #f5b8b8;
  color: #8b2020;
  display: block;
}

/* ─── CTA BOTTOM ─── */
.cta-bottom {
  background: var(--cs-teal);
  padding: 3rem 2.5rem;
  text-align: center;
}
.cta-bottom h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}
.cta-bottom p { font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 1.75rem; }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-white {
  background: #fff;
  color: var(--cs-teal);
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.9; }

/* ─── GLOBAL FOOTER ─── */
.site-footer { color: #a9c6b6; background: #060f0a; }
.footer-main { display: grid; grid-template-columns: 1.1fr 3fr .9fr; gap: 2.2rem; max-width: 1440px; margin: 0 auto; padding: 3.4rem 2.5rem 2.8rem; }
.footer-logo {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.footer-logo span { color: var(--cs-teal); }
.footer-brand > p { max-width: 290px; margin: .85rem 0 1.2rem; color: #789b88; font-size: 12px; line-height: 1.7; }
.footer-contact { display: grid; gap: .45rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 7px; width: fit-content; color: #a9c6b6; font-size: 11px; }
.footer-contact a:hover { color: var(--cs-teal2); }
.footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.footer-column h2 { margin-bottom: .8rem; color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.footer-column ul { display: grid; gap: .5rem; padding: 0; list-style: none; }
.footer-column a { color: #789b88; font-size: 10px; line-height: 1.4; transition: color .2s ease; }
.footer-column a:hover { color: var(--cs-teal2); }
.footer-mini-cta { align-self: start; padding: 1.15rem; border: 1px solid rgba(46,196,138,.23); border-radius: 13px; background: rgba(26,158,117,.09); }
.footer-mini-cta > span { color: var(--cs-teal2); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.footer-mini-cta strong { display: block; margin: .35rem 0; color: #fff; font: 700 15px/1.3 'Space Grotesk',sans-serif; }
.footer-mini-cta p { color: #789b88; font-size: 10px; line-height: 1.55; }
.footer-mini-cta a { display: inline-flex; align-items: center; gap: 4px; margin-top: .75rem; color: var(--cs-teal2); font-size: 10px; font-weight: 800; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1440px; margin: 0 auto; padding: 1.1rem 2.5rem; border-top: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.25); font-size: 9px; }
.footer-bottom div { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,.32); }
.footer-bottom a:hover { color: #fff; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 58px; left: 0; right: 0; max-height: calc(100vh - 58px); overflow: auto; background: var(--cs-white); padding: .75rem 1.1rem 1.2rem; border-bottom: 1px solid var(--cs-border); z-index: 99; }
  .nav-item { display: block; width: 100%; height: auto; }
  .nav-links > a, .mega-trigger { width: 100%; padding: .75rem .3rem; text-align: left; }
  .mega-trigger { justify-content: space-between; }
  .mega-menu { display: none; position: static; width: 100%; max-height: none; margin: .25rem 0 .5rem; padding: .8rem; border: 1px solid var(--cs-teal-border); border-radius: 12px; box-shadow: none; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .has-mega.is-open .mega-menu { display: block; transform: none; }
  .mega-heading { align-items: start; flex-direction: column; }
  .mega-heading strong { font-size: 15px; }
  .mega-columns { grid-template-columns: 1fr 1fr; }
  .mega-column + .mega-column { border-left: 0; }
  .mega-cta { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; padding: 2.6rem 1.25rem 2rem; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .nav-hamburger { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-lighthouse { min-height: 390px; }
  .lighthouse-photo { right: 25%; }
  .hero-lighthouse.is-static .lighthouse-photo { inset: 0; background-size: cover, auto 100%; background-position: center, right center; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .content-grid, .process-list { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .score-embed { grid-template-columns: 1fr; }
  .framework-flow { grid-template-columns: 1fr 1fr; }
  .framework-flow a::after { display: none; }
  .pain-grid, .how-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .nis2 { grid-template-columns: 1fr; gap: 2rem; }
  .lead-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .nav { padding: 0 1.25rem; }
  .pain, .how, .why, .nis2, .lead, .cta-bottom { padding: 2.5rem 1.25rem; }
  .services, .content-section { padding: 2.5rem 1.25rem; }
  .services-grid, .content-grid, .process-list { grid-template-columns: 1fr; }
  .framework-flow { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .hero-content { padding: 3.2rem 1.25rem 2.5rem; }
  .hero-lighthouse { min-height: 330px; }
  .lighthouse-photo { inset: 0 12% 0 0; background-size: 600px auto; }
  .hero-lighthouse.is-static .lighthouse-photo { inset: 0; background-size: cover, auto 100%; background-position: center, right center; }
  .hero-lighthouse.is-static::after { background: linear-gradient(90deg, rgba(12,30,20,.64), rgba(12,30,20,.08) 45%, transparent 70%); }
  .lighthouse-beam { left: 42%; width: 58%; top: 17%; }
  .hero-visual-caption { right: 1rem; bottom: 1rem; }
  .inline-cta { align-items: flex-start; flex-direction: column; }
  .why-grid { grid-template-columns: 1fr; }
  .nis2-stats { grid-template-columns: 1fr 1fr; }
  .trust { padding: 0.75rem 1.25rem; gap: 1rem; }
  .mega-columns { grid-template-columns: 1fr; }
  .mega-heading > a { display: none; }
  .mega-cta > div:first-child { display: grid; grid-template-columns: 1fr; }
  .mega-cta span { grid-row: auto; }
  .mega-cta-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .mega-cta-actions .btn-primary { justify-content: center; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 1rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
