/* =========================================================
   ITbezpečne – hlavný štýl webu
   Systémový font stack (rýchle, bez externých požiadaviek)
   ========================================================= */

:root {
  --navy-900: #0a1830;
  --navy-800: #0f2544;
  --navy-700: #16335c;
  --navy-100: #e8edf5;
  --teal-500: #0fb98f;
  --teal-600: #0a9c78;
  --teal-100: #e3f7f1;
  --gray-50: #f6f8fb;
  --gray-100: #eef1f6;
  --gray-300: #cdd5e0;
  --gray-500: #6b7688;
  --gray-700: #384153;
  --white: #ffffff;
  --danger: #d0483f;
  --success: #1c8a5f;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(10, 24, 48, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 24, 48, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-w: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy-900); color: #fff;
  padding: .75rem 1rem; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--teal-500); color: #fff; }
.btn-primary:hover { background: var(--teal-600); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { transform: translateY(-1px); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.02rem; }

/* ---------- Header ---------- */
/* POZOR: zámerne BEZ backdrop-filter/filter/transform na .site-header.
   Filter (aj backdrop-filter) vytvára nový "containing block" pre position:fixed
   potomkov (napr. mobilné menu .main-nav nižšie) - potomok by sa potom orezal
   na výšku hlavičky (76px) namiesto celej obrazovky a mobilné menu by sa
   po kliknutí vôbec nezobrazilo. Preto má hlavička len takmer nepriehľadné pozadie. */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--gray-100);
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: 76px; flex-wrap: nowrap; }
.logo { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; color: var(--navy-900); margin-right: auto; white-space: nowrap; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; color: var(--teal-500); flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }

.main-nav { flex-shrink: 1; min-width: 0; }
.main-nav ul { display: flex; gap: 1.15rem; align-items: center; flex-wrap: nowrap; }
.main-nav > ul > li { position: relative; }
.main-nav a { font-weight: 600; font-size: .93rem; color: var(--navy-700); padding: .5rem 0; display: inline-block; white-space: nowrap; }
.main-nav > ul > li > a:hover { color: var(--teal-600); }

.has-dropdown .dropdown {
  position: absolute; top: 100%; left: -1rem; min-width: 260px; background: #fff;
  box-shadow: var(--shadow-md); border-radius: 12px; padding: .5rem; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all .15s ease; border: 1px solid var(--gray-100); z-index: 110;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: .55rem .75rem; border-radius: 8px; font-weight: 500; color: var(--navy-700); white-space: normal; }
.dropdown li a:hover { background: var(--teal-100); color: var(--teal-600); }

.header-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--teal-500); flex-shrink: 0; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; padding: 0; flex-shrink: 0; z-index: 160;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--gray-50), #fff); padding: 4.5rem 0 3.5rem; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--teal-600); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1rem; }
.eyebrow svg { width: 18px; height: 18px; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); color: var(--navy-900); }
.hero .lead { font-size: 1.12rem; color: var(--gray-700); max-width: 46ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.6rem 0; }
.hero-trust { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.5rem; }
.hero-trust li { display: flex; align-items: center; gap: .55rem; color: var(--navy-700); font-weight: 600; font-size: .95rem; }
.hero-trust svg { width: 20px; height: 20px; color: var(--teal-500); flex-shrink: 0; }

.hero-visual { position: relative; height: 340px; }
.hero-badge {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 1.2rem 1.4rem;
  font-weight: 700; font-size: .85rem; color: var(--navy-800); text-align: center;
}
.hero-badge svg { width: 30px; height: 30px; color: var(--teal-500); }
.hero-badge-1 { top: 0; left: 10%; }
.hero-badge-2 { top: 42%; right: 0; }
.hero-badge-3 { bottom: 0; left: 25%; }

/* ---------- Stats ---------- */
.stats-strip { background: var(--navy-900); color: #fff; padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--teal-500); }
.stat-label { font-size: .88rem; color: var(--gray-300); }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--gray-50); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-head p { color: var(--gray-700); }

.page-hero { background: var(--navy-900); color: #fff; padding: 3.5rem 0 3rem; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.page-hero .lead { color: var(--gray-300); max-width: 620px; margin: 0 auto 1.5rem; }
.page-hero-icon { display: inline-flex; width: 56px; height: 56px; color: var(--teal-500); margin-bottom: 1rem; }
.page-hero-icon svg { width: 100%; height: 100%; }
.breadcrumbs { color: var(--gray-300); font-size: .85rem; margin-bottom: 1rem; }
.breadcrumbs a { color: var(--gray-300); text-decoration: underline; }
.breadcrumbs a:hover { color: #fff; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon { width: 46px; height: 46px; color: var(--teal-500); margin-bottom: .9rem; }
.card-icon svg { width: 100%; height: 100%; }
.card h2, .card h3 { font-size: 1.15rem; color: var(--navy-900); }
.card p { color: var(--gray-700); font-size: .95rem; flex-grow: 1; }
.card-link { font-weight: 700; color: var(--teal-600); font-size: .9rem; margin-top: .5rem; }

.post-card img { width: 100%; height: 170px; object-fit: cover; border-radius: 10px; margin-bottom: 1rem; background: var(--gray-100); }
.post-date { font-size: .8rem; color: var(--gray-500); font-weight: 600; margin-bottom: .3rem; }

/* ---------- Segments ---------- */
.segment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.segment-pill {
  display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--gray-100);
  border-radius: 12px; padding: 1rem 1.2rem; font-weight: 700; color: var(--navy-900); box-shadow: var(--shadow-sm);
  transition: all .15s ease;
}
.segment-pill:hover { border-color: var(--teal-500); color: var(--teal-600); transform: translateY(-2px); }
.segment-icon { width: 26px; height: 26px; color: var(--teal-500); flex-shrink: 0; }
.segment-icon svg { width: 100%; height: 100%; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.checklist { display: flex; flex-direction: column; gap: .7rem; margin: 1.3rem 0 1.6rem; }
.checklist li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; color: var(--navy-700); }
.checklist svg { width: 20px; height: 20px; color: var(--teal-500); flex-shrink: 0; margin-top: 2px; }
.why-visual { background: var(--navy-900); border-radius: var(--radius); height: 260px; display: flex; align-items: center; justify-content: center; }
.why-visual svg { width: 90px; height: 90px; color: var(--teal-500); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.pricing-card {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column;
}
.pricing-card.featured { border-color: var(--teal-500); box-shadow: var(--shadow-md); transform: scale(1.02); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--teal-500); color: #fff;
  font-size: .75rem; font-weight: 700; padding: .3rem .9rem; border-radius: 999px;
}
.pricing-price { font-size: 1.8rem; font-weight: 800; color: var(--navy-900); margin: .5rem 0; }
.pricing-price span { font-size: .95rem; font-weight: 500; color: var(--gray-500); }
.pricing-desc { color: var(--gray-700); font-size: .92rem; }
.pricing-features { display: flex; flex-direction: column; gap: .55rem; margin: 1rem 0 1.5rem; flex-grow: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: .5rem; font-size: .92rem; color: var(--navy-700); }
.pricing-features svg { width: 18px; height: 18px; color: var(--teal-500); flex-shrink: 0; margin-top: 2px; }
.fine-print { text-align: center; color: var(--gray-500); font-size: .85rem; margin-top: 2rem; }
.center-link { text-align: center; margin-top: 2rem; }
.center-link a { color: var(--teal-600); font-weight: 700; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow-sm); margin: 0;
}
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: .6rem; }
.testimonial-card p { color: var(--navy-800); font-size: 1rem; }
.testimonial-card footer { font-size: .9rem; color: var(--gray-500); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal-500); color: #fff; padding: 2.6rem 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .3rem; font-size: 1.4rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--gray-300); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-brand p { color: var(--gray-300); font-size: .92rem; max-width: 30ch; }
.footer-brand .logo { color: #fff; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; }
.footer-social a:hover { background: var(--teal-500); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h3 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { font-size: .9rem; color: var(--gray-300); }
.footer-col a:hover { color: var(--teal-500); }
.footer-contact li { display: flex; align-items: center; gap: .55rem; font-size: .9rem; }
.footer-contact li a { display: flex; align-items: center; gap: .55rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--teal-500); flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .82rem; }
.footer-bottom a { color: var(--gray-300); }

.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px; width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); z-index: 90;
}
.whatsapp-float svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Cookie lišta a nastavenia ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--navy-900); color: #fff;
  padding: 1.2rem 1.5rem; box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}
.cookie-banner-inner { max-width: var(--container-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cookie-banner-inner p { margin: 0; font-size: .9rem; color: var(--gray-300); max-width: 60ch; }
.cookie-banner-inner a { color: #fff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cookie-banner .btn-outline { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.cookie-banner .btn-outline:hover { background: rgba(255,255,255,.1); }

.cookie-modal { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.cookie-modal[hidden] { display: none; }
.cookie-banner[hidden] { display: none; }
.cookie-modal-backdrop { position: absolute; inset: 0; background: rgba(10,24,48,.6); }
.cookie-modal-inner {
  position: relative; background: #fff; border-radius: var(--radius); padding: 2rem; max-width: 560px; width: 100%;
  max-height: 85vh; overflow-y: auto; box-shadow: var(--shadow-md);
}
.cookie-modal-inner h2 { font-size: 1.3rem; }
.cookie-modal-inner > p { color: var(--gray-700); font-size: .92rem; }
.cookie-category { border-top: 1px solid var(--gray-100); padding: 1rem 0; }
.cookie-category-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .5rem; }
.cookie-item { font-size: .85rem; color: var(--gray-500); margin: .3rem 0 0; }
.cookie-modal-actions { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span {
  position: absolute; inset: 0; background: var(--gray-300); border-radius: 999px; transition: background .15s ease; cursor: pointer;
}
.switch span::before {
  content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%;
  transition: transform .15s ease;
}
.switch input:checked + span { background: var(--teal-500); }
.switch input:checked + span::before { transform: translateX(18px); }
.switch input:disabled + span { opacity: .6; cursor: not-allowed; }

@media (max-width: 720px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
  .cookie-modal-inner { padding: 1.5rem; }
}

/* ---------- Content / prose ---------- */
.content-narrow { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.8em; font-size: 1.4rem; }
.prose h3 { margin-top: 1.4em; font-size: 1.15rem; }
.prose p { color: var(--navy-800); }
.prose ul, .prose ol { margin: 0 0 1.2em 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; color: var(--navy-800); }
.prose strong { color: var(--navy-900); }
.article-image { width: 100%; border-radius: var(--radius); margin: 1.5rem 0; }
.article-meta { color: var(--gray-500); font-size: .9rem; margin-bottom: 1.5rem; }

.cookie-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.8rem; font-size: .88rem; }
.cookie-table th, .cookie-table td { padding: .65rem .8rem; text-align: left; border-bottom: 1px solid var(--gray-100); vertical-align: top; }
.cookie-table th { background: var(--gray-50); font-weight: 700; color: var(--gray-700); }
.cookie-table code { background: var(--gray-100); padding: .1rem .4rem; border-radius: 4px; font-size: .85em; }

/* ---------- FAQ (časté otázky) ---------- */
.faq-list { display: flex; flex-direction: column; gap: .8rem; margin: 1.5rem 0; }
.faq-item {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 0; box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-weight: 700; color: var(--navy-900);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--teal-500); flex-shrink: 0; transition: transform .15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.4rem 1.2rem; color: var(--navy-800); }
.faq-cta { text-align: center; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--gray-100); }
.faq-cta p { font-weight: 600; margin-bottom: 1rem; }

/* ---------- Certifikáty ---------- */
.certificate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.certificate-card {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 1.6rem;
  text-align: center; box-shadow: var(--shadow-sm);
}
.certificate-card img { max-height: 70px; width: auto; margin: 0 auto 1rem; object-fit: contain; }
.certificate-card h3 { font-size: 1rem; margin-bottom: .3rem; }
.certificate-issuer { color: var(--gray-500); font-size: .85rem; margin-bottom: .5rem; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; }
.contact-info h2 { font-size: 1.3rem; }
.contact-info .btn { margin-top: 1.5rem; }
.billing-info { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-100); }
.billing-info h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .03em; color: var(--gray-500); margin-bottom: .7rem; }
.billing-info p { color: var(--gray-700); font-size: .92rem; line-height: 1.7; margin: 0; }
.form-row { margin-bottom: 1.1rem; }
.form-row-half { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .4rem; color: var(--navy-800); }
.form-row input, .form-row textarea {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--gray-300); border-radius: 10px;
  font-family: inherit; font-size: .95rem; background: #fff;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--teal-500); }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.alert { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.2rem; font-size: .92rem; }
.alert-success { background: var(--teal-100); color: var(--success); }
.alert-error { background: #fbe9e7; color: var(--danger); }
.alert ul { margin-left: 1.2rem; list-style: disc; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.pagination a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 8px;
  background: var(--gray-100); font-weight: 700; color: var(--navy-800);
}
.pagination a.active { background: var(--teal-500); color: #fff; }

/* =========================================================
   Responzivita
   ========================================================= */

/* Hlavička/navigácia prepína na mobilné menu skôr než sa obsah zúži,
   aby sa 7 položiek menu + telefón + tlačidlo nikdy nezalamovali/nekopili na sebe.
   POZOR: táto hranica (1040px) musí byť presne rovnaká ako v assets/js/main.js
   (premenná "mq"), inak sa rozklikávanie podmenu na mobile prestane správne správať. */
@media (max-width: 1040px) {
  .header-inner { position: relative; }
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: #fff; padding: 1.5rem;
    transform: translateX(100%); transition: transform .2s ease; overflow-y: auto; z-index: 150;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .3rem; }
  .main-nav > ul > li { width: 100%; }
  .main-nav > ul > li > a { width: 100%; padding: .8rem 0; border-bottom: 1px solid var(--gray-100); }
  .has-dropdown > a {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  }
  .has-dropdown > a::after {
    content: ''; width: 9px; height: 9px; border-right: 2px solid var(--gray-500); border-bottom: 2px solid var(--gray-500);
    transform: rotate(45deg); transition: transform .15s ease; flex-shrink: 0; margin-right: .2rem;
  }
  .has-dropdown.open > a::after { transform: rotate(-135deg); }
  .has-dropdown .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none;
    padding-left: 1rem; display: none; margin-top: .3rem; min-width: 0; width: 100%;
  }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown .dropdown li a { border-bottom: none; padding: .6rem .75rem; white-space: normal; }
  .header-cta { display: none; }
  .header-phone span { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .card-grid, .segment-grid, .pricing-grid, .testimonial-grid, .certificate-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { height: 180px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .stats-grid, .card-grid, .segment-grid, .pricing-grid, .testimonial-grid, .certificate-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row-half { grid-template-columns: 1fr; }
}
