/* ---------- Fonts (self-hosted, SIL OFL, see static/fonts/) ---------- */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */
:root {
  --ink-50: #f5f7fa;
  --ink-100: #e9eef5;
  --ink-200: #cbd6e4;
  --ink-300: #9fb1c9;
  --ink-400: #6d85a6;
  --ink-500: #4a6285;
  --ink-600: #384e6e;
  --ink-700: #2c3e57;
  --ink-800: #1f2c40;
  --ink-900: #141d2e;
  --ink-950: #0b121f;

  --brand-50: #ecfbff;
  --brand-100: #d0f4fe;
  --brand-200: #a7ebfd;
  --brand-300: #6bdcfa;
  --brand-400: #2bc6f2;
  --brand-500: #00b5e9;
  --brand-600: #0090bd;
  --brand-700: #067299;
  --brand-800: #0e5d7c;
  --brand-900: #114e68;
  --brand-950: #063246;

  --brand-500-rgb: 0, 181, 233;
  --brand-400-rgb: 43, 198, 242;

  --accent-50: #eef6ff;
  --accent-100: #d9ebff;
  --accent-200: #bcdcff;
  --accent-300: #8ec6ff;
  --accent-400: #59a6ff;
  --accent-500: #3285fc;
  --accent-600: #1c66f0;
  --accent-700: #1451de;
  --accent-800: #1843b4;
  --accent-900: #1a3d8e;
  --accent-950: #142657;

  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: rgba(203, 214, 228, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--ink-100);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, ul, figure {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(var(--brand-500-rgb), 0.3);
  color: #fff;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip; /* clip, unlike hidden, keeps position: sticky working (calculator price) */
  background: var(--ink-950);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ink-950);
}
::-webkit-scrollbar-thumb {
  background: var(--ink-700);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ink-600);
}

/* ---------- Keyframes ---------- */
@keyframes fade-up {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}
@keyframes soft-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.anim-fade-in {
  opacity: 0;
  animation: fade-in 0.8s ease forwards;
}
.anim-fade-up {
  opacity: 0;
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ---------- Shared utilities ---------- */
.text-brand { color: var(--brand-400); }
.text-accent { color: var(--accent-400); }
.text-brand-light { color: var(--brand-300); }
.text-accent-light { color: var(--accent-300); }

.text-gradient {
  background: linear-gradient(to right, var(--brand-300), var(--brand-400), var(--accent-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid-pattern {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
}
.dot-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.reveal {
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.btn-icon {
  width: 1rem;
  height: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background: var(--brand-500);
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-950);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: var(--brand-400);
  box-shadow: 0 0 30px -4px rgba(var(--brand-500-rgb), 0.6);
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
}
.btn-ghost:hover {
  border-color: rgba(var(--brand-400-rgb), 0.4);
  background: rgba(var(--brand-500-rgb), 0.1);
}
.btn-ghost:active {
  transform: scale(0.98);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(var(--brand-400-rgb), 0.2);
  background: rgba(var(--brand-500-rgb), 0.1);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-300);
}
.section-label__dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--brand-400);
}

.section-inner {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-inner--narrow {
  max-width: 64rem;
}
@media (min-width: 1024px) {
  .section-inner { padding: 0 2rem; }
}

.section-title {
  margin-top: 1.25rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.section-lede {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--ink-300);
}
@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .section-title { font-size: 3rem; }
}

.form-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 18, 31, 0.6);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #fff;
  transition: all 0.2s ease;
}
.form-input::placeholder {
  color: var(--ink-500);
}
.form-input:focus {
  outline: none;
  border-color: rgba(var(--brand-400-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--brand-400-rgb), 0.2);
}
.form-input option {
  background: var(--ink-900);
}
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d85a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}
select.form-input option {
  color: var(--ink-100);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  transition: all 0.5s ease;
}
.navbar.is-scrolled {
  background: rgba(20, 29, 46, 0.8);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(11, 18, 31, 0.5);
}

.navbar__inner {
  margin: 0 auto;
  max-width: 80rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
@media (min-width: 1024px) {
  .navbar__inner { padding: 1rem 2rem; }
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.navbar__logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(var(--brand-500-rgb), 0.15);
  box-shadow: 0 0 0 1px rgba(var(--brand-400-rgb), 0.3) inset;
  transition: background 0.2s ease;
}
.navbar__brand:hover .navbar__logo {
  background: rgba(var(--brand-500-rgb), 0.25);
}
.navbar__logo-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-400);
}
.navbar__logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 0.5rem;
  background: rgba(var(--brand-400-rgb), 0.2);
  animation: pulse-ring 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.navbar__brand-text {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.navbar__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.navbar__link {
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-300);
  transition: all 0.2s ease;
}
.navbar__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.navbar__cta { display: none; }

.navbar__toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}
.navbar__toggle-icon {
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
}
.navbar__toggle-icon--close { display: none; }
.navbar.is-menu-open .navbar__toggle-icon--open { display: none; }
.navbar.is-menu-open .navbar__toggle-icon--close { display: block; }

.navbar__mobile {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.navbar__mobile.is-open {
  max-height: 28rem;
}
.navbar__mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(20, 29, 46, 0.8);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 1.5rem;
}
.navbar__mobile-link {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-200);
  transition: all 0.2s ease;
}
.navbar__mobile-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.navbar__mobile-cta {
  margin-top: 0.5rem;
  width: 100%;
}

/* 1280, not 1024: with Kalkulačka and Prevzatie alarmu the links do not fit at 1024 */
@media (min-width: 1280px) {
  .navbar__links { display: flex; }
  .navbar__cta { display: block; }
  .navbar__toggle { display: none; }
  .navbar__mobile { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero__blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
  animation: glow 4s ease-in-out infinite;
}
.hero__blob--1 {
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: rgba(var(--brand-500-rgb), 0.1);
}
.hero__blob--2 {
  bottom: 0;
  right: 0;
  width: 500px;
  height: 400px;
  background: rgba(28, 102, 240, 0.1);
  animation-delay: 1.5s;
}

.hero__inner {
  position: relative;
  margin: 0 auto;
  display: flex;
  min-height: 100vh;
  max-width: 80rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .hero__inner { padding-left: 2rem; padding-right: 2rem; }
}

.hero__pillars {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.hero__pillar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-200);
  backdrop-filter: blur(4px);
}
.hero__pillar-icon {
  width: 1rem;
  height: 1rem;
}

.hero__title {
  max-width: 56rem;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero__title-break { display: none; }
@media (min-width: 640px) {
  .hero__title { font-size: 3rem; }
  .hero__title-break { display: block; }
}
@media (min-width: 1024px) {
  .hero__title { font-size: 3.75rem; }
}
@media (min-width: 1280px) {
  .hero__title { font-size: 4.5rem; }
}

.hero__lede {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--ink-300);
}
@media (min-width: 640px) {
  .hero__lede { font-size: 1.25rem; }
}

.hero__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero__actions { flex-direction: row; }
}
.hero__cta:hover .btn-icon {
  transform: translateX(4px);
}
.btn-icon { transition: transform 0.2s ease; }

.hero__stats {
  margin-top: 4rem;
  display: grid;
  width: 100%;
  max-width: 48rem;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}
@media (min-width: 640px) {
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
}
.hero__stat {
  background: rgba(20, 29, 46, 0.4);
  padding: 1.25rem 1rem;
  backdrop-filter: blur(4px);
}
.hero__stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-400);
}
.hero__stat-label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--ink-400);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-pill {
  display: flex;
  height: 2.25rem;
  width: 1.5rem;
  align-items: flex-start;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.375rem;
}
.hero__scroll-dot {
  height: 0.5rem;
  width: 0.25rem;
  border-radius: 9999px;
  background: var(--brand-400);
  animation: float 6s ease-in-out infinite;
}

/* ---------- Shared: cards, section backgrounds ---------- */
.process, .pricing, .contact {
  position: relative;
  padding: 6rem 0;
}
@media (min-width: 1024px) {
  .process, .pricing, .contact { padding: 8rem 0; }
}

.services__bg, .contact__bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}
.contact__blob {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  border-radius: 9999px;
  background: rgba(var(--brand-500-rgb), 0.1);
  filter: blur(120px);
}

.process__heading {
  max-width: 42rem;
}

/* ---------- Feature cards ---------- */
.why__grid {
  margin-top: 4rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .why__grid { grid-template-columns: repeat(3, 1fr); }
}
.why-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(20, 29, 46, 0.4);
  padding: 1.75rem;
  transition: all 0.5s ease;
}
.why-card:hover {
  border-color: rgba(var(--brand-400-rgb), 0.2);
  background: rgba(20, 29, 46, 0.6);
}
.why-card__icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(var(--brand-500-rgb), 0.1);
  box-shadow: 0 0 0 1px rgba(var(--brand-400-rgb), 0.2) inset;
  transition: all 0.2s ease;
}
.why-card:hover .why-card__icon {
  background: rgba(var(--brand-500-rgb), 0.2);
  box-shadow: 0 0 0 1px rgba(var(--brand-400-rgb), 0.4) inset;
}
.why-card__icon-svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand-400);
}
.why-card__title {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}
.why-card__description {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-300);
}

/* ---------- Process ---------- */
.process__grid {
  margin-top: 4rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process__grid { grid-template-columns: repeat(4, 1fr); }
}
.process-step {
  position: relative;
}
.process-step__connector {
  position: absolute;
  left: 100%;
  top: 3rem;
  display: none;
  height: 1px;
  width: 1.5rem;
  background: linear-gradient(to right, rgba(var(--brand-400-rgb), 0.4), transparent);
}
@media (min-width: 1024px) {
  .process-step__connector { display: block; }
}
.process-step__card {
  position: relative;
  height: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(20, 29, 46, 0.4);
  padding: 1.75rem;
  transition: all 0.5s ease;
}
.process-step__card:hover {
  border-color: rgba(var(--brand-400-rgb), 0.2);
  background: rgba(20, 29, 46, 0.6);
}
.process-step__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.process-step__number {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  color: rgba(var(--brand-500-rgb), 0.3);
  transition: color 0.2s ease;
}
.process-step__card:hover .process-step__number {
  color: rgba(var(--brand-400-rgb), 0.5);
}
.process-step__divider {
  height: 2rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.process-step__title {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}
.process-step__description {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-300);
}

/* ---------- Contact ---------- */
.contact__heading {
  margin: 0 auto;
  max-width: 42rem;
  text-align: center;
}
.contact__card {
  margin-top: 3rem;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 29, 46, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.contact__grid {
  display: grid;
}
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: repeat(5, 1fr); }
}

.contact__info {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
}
@media (min-width: 1024px) {
  .contact__info {
    grid-column: span 2 / span 2;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
  }
}
.contact__info-kicker {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--brand-400);
}
.contact__info-title {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}
.contact__info-text {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-300);
}
.contact__info-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .contact__info-details { margin-top: 3rem; }
}
.contact__info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-500);
}
.contact__info-value {
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: #fff;
}
.contact__info-value--muted {
  font-family: var(--font-sans);
  color: var(--ink-200);
}

.contact__form-panel {
  padding: 2rem;
}
@media (min-width: 1024px) {
  .contact__form-panel {
    grid-column: span 3 / span 3;
    padding: 2.5rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-form__row {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .contact-form__row { grid-template-columns: repeat(2, 1fr); }
}
.contact-form__textarea {
  resize: none;
}
.field {
  display: block;
}
.field__label {
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-400);
}
.field__required {
  color: var(--brand-400);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--ink-950);
}
.footer__top-line {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(var(--brand-400-rgb), 0.3), transparent);
}
.footer__inner {
  margin: 0 auto;
  max-width: 80rem;
  padding: 4rem 1.5rem;
}
@media (min-width: 1024px) {
  .footer__inner { padding: 4rem 2rem; }
}
.footer__grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(4, 1fr); }
}
.footer__brand {
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .footer__brand { grid-column: span 2 / span 2; }
}
.footer__brand-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.footer__logo {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(var(--brand-500-rgb), 0.15);
  box-shadow: 0 0 0 1px rgba(var(--brand-400-rgb), 0.3) inset;
}
.footer__logo-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-400);
}
.footer__brand-text {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.footer__brand-text-body {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-400);
}
.footer__email {
  margin-top: 1.5rem;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-200);
  transition: color 0.2s ease;
}
.footer__email:hover {
  color: var(--brand-400);
}
.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-500);
}
.footer__list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__list-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--ink-300);
}
.footer__list-icon {
  width: 1rem;
  height: 1rem;
  color: rgba(var(--brand-400-rgb), 0.7);
}
.footer__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--ink-300);
  transition: color 0.2s ease;
}
.footer__nav-link:hover {
  color: #fff;
}
.footer__nav-link-icon {
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0;
  transition: all 0.2s ease;
}
.footer__nav-link:hover .footer__nav-link-icon {
  opacity: 1;
  transform: translate(2px, -2px);
}
.footer__bottom {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}
@media (min-width: 640px) {
  .footer__bottom { flex-direction: row; }
}
.footer__copyright {
  font-size: 0.75rem;
  color: var(--ink-500);
}
.footer__social {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--ink-500);
}
.footer__social a {
  transition: color 0.2s ease;
}
.footer__social a:hover {
  color: var(--brand-400);
}
.footer__social-icon {
  width: 1.125rem;
  height: 1.125rem;
}

/* ---------- ITSEC: logo ---------- */
.navbar__logo-img {
  height: 2.25rem;
  width: auto;
}
.footer__logo-img {
  height: 2.5rem;
  width: auto;
}

/* ---------- ITSEC: product sections ---------- */
.product {
  position: relative;
  padding: 6rem 0;
}
@media (min-width: 1024px) {
  .product { padding: 8rem 0; }
}
.product__intro {
  display: grid;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .product__intro { grid-template-columns: 3fr 2fr; gap: 4rem; }
}
.product__text {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-300);
}
.product__image {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.product--accent .section-label {
  border-color: rgba(89, 166, 255, 0.2);
  background: rgba(50, 133, 252, 0.1);
  color: var(--accent-300);
}
.product--accent .section-label__dot { background: var(--accent-400); }
.product--accent .why-card__icon {
  background: rgba(50, 133, 252, 0.1);
  box-shadow: 0 0 0 1px rgba(89, 166, 255, 0.2) inset;
}
.product--accent .why-card__icon-svg { color: var(--accent-400); }
.product__cta {
  margin-top: 2.5rem;
}

/* ---------- ITSEC: pricing ---------- */
.pricing__bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}
.pricing__heading {
  margin: 0 auto;
  max-width: 48rem;
  text-align: center;
}
.pricing__grid {
  margin-top: 4rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
  .pricing__grid { grid-template-columns: repeat(4, 1fr); }
}
.price-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(20, 29, 46, 0.4);
  padding: 2rem;
  transition: all 0.5s ease;
}
.price-card:hover {
  border-color: rgba(var(--brand-400-rgb), 0.2);
  background: rgba(20, 29, 46, 0.6);
}
.price-card--featured {
  border-color: rgba(var(--brand-400-rgb), 0.4);
  background: rgba(20, 29, 46, 0.7);
  box-shadow: 0 0 40px -8px rgba(var(--brand-500-rgb), 0.4);
}
.price-card__icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(var(--brand-500-rgb), 0.1);
  box-shadow: 0 0 0 1px rgba(var(--brand-400-rgb), 0.2) inset;
}
.price-card__icon-svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand-400);
}
.price-card__title {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}
.price-card__features {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.625rem;
}
.price-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-200);
}
.price-card__check {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  color: var(--brand-400);
}
.price-card__bottom {
  margin-top: auto;
  padding-top: 2rem;
}
.price-card__price {
  font-family: var(--font-mono);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--brand-400);
}
.price-card__note {
  margin-top: 0.5rem;
  min-height: 2.75rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-400);
}
.price-card__cta {
  margin-top: 1.25rem;
  width: 100%;
}

/* ---------- ITSEC: FAQ ---------- */
.faq {
  position: relative;
  padding: 6rem 0;
}
@media (min-width: 1024px) {
  .faq { padding: 8rem 0; }
}
.faq__heading {
  text-align: center;
}
.faq__list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(20, 29, 46, 0.4);
  transition: all 0.3s ease;
}
.faq-item:hover,
.faq-item[open] {
  border-color: rgba(var(--brand-400-rgb), 0.2);
  background: rgba(20, 29, 46, 0.6);
}
.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--brand-400);
}
.faq-item[open] .faq-item__question::after { content: '\2212'; }
.faq-item__answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-300);
}

/* ---------- ITSEC: contact additions ---------- */
.contact__info-value a {
  transition: color 0.2s ease;
}
.contact-form__notice {
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--brand-400-rgb), 0.3);
  background: rgba(var(--brand-500-rgb), 0.1);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--brand-200);
}
.contact-form__altcha {
  --altcha-max-width: 100%;
  --altcha-border-radius: 0.75rem;
  --altcha-border-color: rgba(255, 255, 255, 0.1);
  --altcha-color-base: rgba(11, 18, 31, 0.6);
  --altcha-color-base-content: #fff;
  --altcha-color-neutral: var(--ink-400);
  --altcha-color-neutral-content: var(--ink-300);
  --altcha-color-primary: var(--brand-500);
  --altcha-color-primary-content: #fff;
  --altcha-color-success: var(--brand-400);
  --altcha-color-error: #fca5a5;
  --altcha-input-background-color: rgba(11, 18, 31, 0.6);
  --altcha-input-color: #fff;
  --altcha-shadow: none;
  font-size: 0.875rem;
}

.contact-form__privacy {
  font-size: 0.8125rem;
  color: var(--ink-400);
}
.contact-form__privacy a {
  color: var(--brand-300);
  text-decoration: underline;
}

/* ---------- ITSEC: legal page ---------- */
.legal {
  padding: 8rem 0 5rem;
}
.legal__inner {
  max-width: 48rem;
}
.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.legal p {
  margin-top: 0.75rem;
  line-height: 1.7;
  color: var(--ink-300);
}
.legal p a {
  color: var(--brand-300);
  text-decoration: underline;
}

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

/* ---------- Admin ---------- */
.admin-page {
  min-height: 100vh;
}

.admin-login {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.admin-login__card {
  width: 100%;
  max-width: 22rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(31, 24, 25, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 2.5rem;
  text-align: center;
}
.admin-login__logo {
  display: inline-flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(var(--brand-500-rgb), 0.15);
  box-shadow: 0 0 0 1px rgba(var(--brand-400-rgb), 0.3) inset;
}
.admin-login__logo-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand-400);
}
.admin-login__title {
  margin-top: 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.admin-login__subtitle {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-300);
}
.admin-login__error {
  margin-top: 1.25rem;
  text-align: left;
}
.admin-login__form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}
.admin-login__submit {
  width: 100%;
}

.admin-shell {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
@media (min-width: 1024px) {
  .admin-shell { padding: 2.5rem 2rem; }
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.admin-topbar__title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.admin-topbar__icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand-400);
}
.admin-topbar__count {
  color: var(--ink-400);
  font-weight: 500;
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(20, 29, 46, 0.4);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.admin-table th {
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-400);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}
.admin-table td {
  padding: 1rem 1.25rem;
  vertical-align: top;
  color: var(--ink-200);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.admin-table tr:last-child td {
  border-bottom: none;
}
.admin-table__nowrap {
  white-space: nowrap;
}
.admin-table__muted {
  margin-top: 0.125rem;
  color: var(--ink-400);
  font-size: 0.8125rem;
}
.admin-table__message {
  min-width: 18rem;
  max-width: 28rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-empty {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(20, 29, 46, 0.4);
  padding: 3rem;
  text-align: center;
  color: var(--ink-400);
}

/* Selection, bulk delete, paging */
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.admin-toolbar__selected {
  font-size: 0.875rem;
  color: var(--ink-400);
}
.admin-flash {
  margin-bottom: 1rem;
}
.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.12);
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fca5a5;
  transition: all 0.2s ease;
}
.btn-danger:hover:not(:disabled) {
  background: #dc2626;
  border-color: #ef4444;
  color: #fff;
}
.btn-danger:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.admin-table__check {
  width: 1%;
}
.admin-checkbox {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand-500);
  cursor: pointer;
}
.admin-table tbody tr.is-selected td {
  background: rgba(var(--brand-500-rgb), 0.06);
}
.admin-pager {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}
.admin-pager__link {
  display: inline-flex;
  min-width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ink-300);
  transition: all 0.2s ease;
}
a.admin-pager__link:hover {
  border-color: rgba(var(--brand-400-rgb), 0.4);
  color: #fff;
}
.admin-pager__link--current {
  border-color: rgba(var(--brand-400-rgb), 0.5);
  background: rgba(var(--brand-500-rgb), 0.15);
  color: var(--brand-200);
}
.admin-pager__link--disabled {
  opacity: 0.35;
}
.admin-pager__gap {
  padding: 0 0.25rem;
  color: var(--ink-500);
}

/* Admin tabs and blog editor */
.admin-tabs {
  display: flex;
  gap: 0.375rem;
}
.admin-tabs__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  padding: 0.5rem 0.875rem;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-400);
  transition: all 0.2s ease;
}
.admin-tabs__link:hover {
  color: #fff;
}
.admin-tabs__link--active {
  border-color: rgba(var(--brand-400-rgb), 0.4);
  background: rgba(var(--brand-500-rgb), 0.12);
  color: #fff;
}
.admin-tabs__icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--brand-400);
}
.admin-heading {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.admin-toolbar .admin-heading {
  margin-bottom: 0;
}
.admin-note {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--ink-400);
}
.admin-post-title {
  font-weight: 600;
  color: #fff;
}
.admin-post-title:hover {
  color: var(--brand-300);
}
.admin-table__actions {
  width: 1%;
  text-align: right;
}
.admin-table__actions .btn-ghost {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}
.admin-editor {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .admin-editor { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; }
}
.admin-editor__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.admin-editor__title {
  font-size: 1.125rem;
  font-weight: 600;
}
.admin-editor__body {
  min-height: 28rem;
  resize: vertical;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.admin-editor__body-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.admin-editor__body-head .field__label {
  margin-bottom: 0;
}
.admin-editor__image-btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}
.admin-editor__status {
  display: block;
  margin-top: 0.5rem;
  min-height: 1.25rem;
  font-size: 0.8125rem;
  color: var(--brand-200);
}
.admin-editor__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.admin-editor__delete {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.admin-counter {
  float: right;
  font-weight: 400;
  color: var(--ink-400);
}
.admin-counter--over {
  color: var(--brand-300);
}
.admin-help {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(20, 29, 46, 0.4);
  padding: 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-300);
}
@media (min-width: 1024px) {
  .admin-help { position: sticky; top: 1.5rem; }
}
.admin-help__title {
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}
.admin-help__list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 0.75rem;
  align-items: baseline;
}
.admin-help__list dt {
  white-space: nowrap;
}
.admin-help code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--brand-200);
}
.admin-help__note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-400);
}
.admin-preview-bar {
  margin-bottom: 2rem;
  border-radius: 0.75rem;
  border: 1px dashed rgba(var(--brand-400-rgb), 0.5);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--brand-200);
}
.admin-preview-bar a {
  text-decoration: underline;
}

/* Blog article body (Markdown output) */
.prose {
  margin-top: 2rem;
  line-height: 1.75;
  color: var(--ink-300);
}
.prose > * + * {
  margin-top: 1rem;
}
.prose h2 {
  margin-top: 2.5rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
}
.prose h3 {
  margin-top: 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}
.prose strong {
  color: var(--ink-100);
}
.prose a {
  color: var(--brand-300);
  text-decoration: underline;
}
.prose ul, .prose ol {
  padding-left: 1.5rem;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li {
  margin-top: 0.375rem;
}
.prose li::marker {
  color: var(--brand-400);
}
.prose blockquote {
  border-left: 3px solid var(--brand-500);
  padding-left: 1rem;
  font-style: italic;
  color: var(--ink-200);
}
.prose img {
  display: block;  /* an image on its own line is centred in the column */
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 0.75rem;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  color: var(--brand-200);
}
.prose hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Site: blog ---------- */
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-400);
  transition: color 0.2s ease;
}
.blog-back:hover {
  color: var(--brand-300);
}
.blog-date {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ink-400);
}
.blog-list {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}
.blog-card {
  display: block;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(20, 29, 46, 0.4);
  padding: 1.5rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.blog-card:hover {
  border-color: rgba(var(--brand-400-rgb), 0.4);
  background: rgba(var(--brand-500-rgb), 0.06);
}
.blog-card .blog-date {
  margin-top: 0;
}
.blog-card__title {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.blog-card__text {
  margin-top: 0.5rem;
  line-height: 1.6;
  color: var(--ink-300);
}
.blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-300);
}
.blog-empty {
  margin-top: 2.5rem;
}
.blog-cta {
  margin-top: 3.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(var(--brand-400-rgb), 0.3);
  background: rgba(var(--brand-500-rgb), 0.08);
  padding: 1.75rem;
}
.blog-cta__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.blog-cta__text {
  margin: 0.5rem 0 1.25rem;
  color: var(--ink-300);
}
.blog-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Admin: publish toggle and status badges */
.admin-publish {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.875rem 1rem;
  cursor: pointer;
  color: var(--ink-200);
}
.admin-publish .admin-checkbox {
  margin-top: 0.2rem;
}
.admin-publish__hint {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-400);
}
.admin-badge {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  color: var(--ink-400);
}
.admin-badge--live {
  border-color: rgba(var(--brand-400-rgb), 0.4);
  background: rgba(var(--brand-500-rgb), 0.12);
  color: var(--brand-200);
}
.admin-note a {
  color: var(--brand-300);
  text-decoration: underline;
}

/* ---------- Site: gallery ---------- */
.gallery-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .gallery-item__caption { font-size: 0.8125rem; }
}
.gallery-item__link {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 1;
  outline-offset: 4px;
}
.gallery-item__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.2s ease;
}
.gallery-item__link:hover img {
  transform: scale(1.03);
  opacity: 0.9;
}
.gallery-item__caption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-300);
}
.gallery-cta {
  max-width: 48rem;
}

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(5, 9, 16, 0.94);
  color: #fff;
}
.lightbox::backdrop {
  background: rgba(5, 9, 16, 0.94);
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__figure {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 1rem 2rem;
}
.lightbox__img {
  max-width: min(100%, 1600px);
  max-height: calc(100% - 3rem);
  object-fit: contain;
  border-radius: 0.75rem;
}
.lightbox__caption {
  max-width: 40rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--ink-200);
}
.lightbox__btn {
  position: absolute;
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(20, 29, 46, 0.7);
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lightbox__btn:hover {
  border-color: rgba(var(--brand-400-rgb), 0.6);
  background: rgba(var(--brand-500-rgb), 0.2);
}
.lightbox__btn svg {
  width: 1.375rem;
  height: 1.375rem;
}
.lightbox__btn--close { top: 1rem; right: 1rem; }
.lightbox__btn--prev { top: 50%; left: 1rem; transform: translateY(-50%); }
.lightbox__btn--next { top: 50%; right: 1rem; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 1rem; transform: none; }
}

/* Admin: gallery */
.admin-gallery-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}
.admin-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
}
.admin-gallery__item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(20, 29, 46, 0.4);
  padding: 0.75rem;
  scroll-margin-top: 1rem;
}
.admin-gallery__item:target {
  border-color: rgba(var(--brand-400-rgb), 0.5);
}
.admin-gallery__thumb {
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
  aspect-ratio: 1;
}
.admin-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-gallery__caption {
  display: flex;
  gap: 0.5rem;
}
.admin-gallery__caption .form-input {
  min-width: 0;
  flex: 1;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
}
.admin-gallery__actions {
  display: flex;
  gap: 0.5rem;
}
.admin-gallery__actions form:last-child {
  margin-left: auto;
}
.admin-gallery__actions .btn-ghost,
.admin-gallery__actions .btn-danger {
  padding: 0.375rem 0.625rem;
  font-size: 0.8125rem;
}
.admin-gallery__actions .btn-ghost:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Admin: documents */
.admin-inline-form {
  display: inline-block;
  margin-left: 0.375rem;
}
.admin-table__actions .btn-danger {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

/* ---------- ITSEC: WhatsApp and phone ---------- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background: #25d366;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #062e16;
  transition: all 0.3s ease;
}
.btn-whatsapp:hover {
  background: #4ade80;
  box-shadow: 0 0 30px -4px rgba(37, 211, 102, 0.6);
}
.btn-whatsapp:active {
  transform: scale(0.98);
}
.navbar__cta {
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 1280px) {
  .navbar__cta { display: flex; }
}
.navbar__link { white-space: nowrap; }
.navbar__mobile.is-open {
  max-height: 40rem;
}
.contact__whatsapp {
  margin-top: 1.5rem;
  width: 100%;
}
.section-lede__link {
  color: var(--brand-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #25d366;
  color: #062e16;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, background 0.2s ease;
}
.whatsapp-float:hover {
  background: #4ade80;
  transform: scale(1.06);
}
.whatsapp-float__icon {
  width: 1.625rem;
  height: 1.625rem;
}
@media (min-width: 1024px) {
  .whatsapp-float { right: 1.5rem; bottom: 1.5rem; }
}

/* ---------- ITSEC: about page (/o-mne) ---------- */
.about {
  position: relative;
  padding: 7rem 0 5rem;
}
@media (min-width: 1024px) {
  .about { padding: 9rem 0 6rem; }
}
.about__card {
  display: grid;
  gap: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 29, 46, 0.6);
  padding: 2rem;
}
@media (min-width: 768px) {
  .about__card {
    grid-template-columns: 16rem 1fr;
    gap: 3rem;
    padding: 3rem;
  }
}
.about__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(var(--brand-500-rgb), 0.25), rgba(50, 133, 252, 0.15));
  box-shadow: 0 0 0 1px rgba(var(--brand-400-rgb), 0.25) inset;
}
@media (min-width: 768px) {
  .about__photo { width: 100%; align-self: start; }
}
.about__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__photo-initials {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-300);
}
.about__title {
  margin-top: 1rem;
}
.about__text {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-200);
}

/* ---------- ITSEC: alarm calculator (#kalkulacka) ---------- */
.calc {
  position: relative;
}
.calc__heading {
  margin: 0 auto;
  max-width: 42rem;
  text-align: center;
}
.calc__card {
  margin-top: 3rem;
  display: grid;
  overflow: clip;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 29, 46, 0.6);
}
@media (min-width: 1024px) {
  .calc__card { grid-template-columns: 7fr 5fr; }
}
.calc__inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 1.5rem;
}
@media (min-width: 640px) {
  .calc__inputs { padding: 2.5rem; }
}
.calc__group {
  min-width: 0;
}
.calc__hint {
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-400);
}
.calc__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.calc__item:last-child {
  border-bottom: none;
}
.calc__item-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}
.calc__item-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}
.calc__item-meta {
  font-size: 0.8125rem;
  color: var(--ink-400);
}
.calc__item--check {
  cursor: pointer;
}
.calc__checkbox {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  accent-color: var(--brand-500);
  cursor: pointer;
}
.calc__included {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-400);
}
.calc__stepper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 18, 31, 0.6);
}
.calc__step {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--brand-300);
  border-radius: 0.75rem;
  transition: background 0.2s ease;
}
.calc__step:hover {
  background: rgba(var(--brand-500-rgb), 0.15);
}
.calc__count {
  width: 2.75rem;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  -moz-appearance: textfield;
  appearance: textfield;
}
.calc__count::-webkit-outer-spin-button,
.calc__count::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.calc__count:focus {
  outline: 2px solid rgba(var(--brand-400-rgb), 0.5);
  border-radius: 0.375rem;
}
.calc__choices {
  margin: 0.25rem 0 0.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.calc__choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.calc__choice-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 18, 31, 0.6);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-200);
  cursor: pointer;
  transition: all 0.2s ease;
}
.calc__choice-box:hover {
  border-color: rgba(var(--brand-400-rgb), 0.4);
}
.calc__choice input:checked + .calc__choice-box {
  border-color: var(--brand-400);
  background: rgba(var(--brand-500-rgb), 0.15);
  color: #fff;
}
.calc__choice input:focus-visible + .calc__choice-box {
  box-shadow: 0 0 0 3px rgba(var(--brand-400-rgb), 0.35);
}
.calc__result {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(var(--brand-500-rgb), 0.06);
  padding: 2rem 1.5rem;
}
@media (min-width: 640px) {
  .calc__result { padding: 2.5rem; }
}
@media (min-width: 1024px) {
  .calc__result {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
  }
}
.calc__price {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-400);
  white-space: nowrap;
}
.calc__note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-400);
}
@media (min-width: 1024px) {
  .calc__result-inner {
    position: sticky;
    top: 7rem;
  }
}
.calc__send {
  margin-top: 1.5rem;
  width: 100%;
}
.calc__noscript {
  padding: 0 2.5rem 2rem;
}
.calc-page {
  padding-top: 7rem;
}
@media (min-width: 1024px) {
  .calc-page { padding-top: 9rem; }
}
.calc__visual {
  margin: 3rem 0 0;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.calc__visual img {
  width: 100%;
  height: auto;
}
.product__ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.product__ctas .product__cta {
  margin-top: 0;
}

/* ---------- ITSEC: owner next to the contact form ---------- */
.contact__person {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: inherit;
  text-decoration: none;
}
.contact__person-img {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid rgba(var(--brand-400-rgb), 0.45);
}
.contact__person-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-500-rgb), 0.15);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brand-300);
}
.contact__person-name {
  display: block;
  font-weight: 600;
  color: #fff;
}
.contact__person:hover .contact__person-name {
  color: var(--brand-300);
}
.contact__person-note {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-300);
}
.contact__person + .contact__info-title {
  margin-top: 1.5rem;
}

/* ---------- ITSEC: blog CTA with two buttons ---------- */
.blog-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.blog-cta .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- ITSEC: admin statistics (/majsterko/statistiky) ---------- */
.admin-stats__periods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.admin-stats__period {
  width: auto;
  padding: 0 0.75rem;
  white-space: nowrap;
}
.admin-stats__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 2.5rem;
}
.admin-stats__tile {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(20, 29, 46, 0.4);
  padding: 1rem 1.25rem;
}
.admin-stats__tile--accent {
  border-color: rgba(var(--brand-400-rgb), 0.35);
  background: rgba(var(--brand-500-rgb), 0.08);
}
.admin-stats__value {
  font-family: var(--font-mono);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.admin-stats__label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--ink-400);
}
.admin-stats__heading {
  margin-top: 2rem;
  font-size: 1rem;
}
.admin-stats__footnote {
  margin-top: 0.75rem;
}
.admin-stats__columns {
  display: grid;
  gap: 0 1.5rem;
}
@media (min-width: 1024px) {
  .admin-stats__columns { grid-template-columns: repeat(2, 1fr); }
}
.admin-table .admin-table__num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------- ITSEC: alarm takeover page (/prevzatie-alarmu) ---------- */
.takeover {
  position: relative;
  padding-bottom: 2rem;
}
.takeover__heading {
  margin: 0 auto;
  max-width: 48rem;
  text-align: center;
}
.takeover__subtitle {
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
}
.takeover__subtitle--section {
  margin-top: 5rem;
}
.takeover__offer {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .takeover__offer { grid-template-columns: 3fr 2fr; gap: 3rem; }
  .takeover__price { position: sticky; top: 7rem; }
}
.takeover__reasons {
  display: grid;
  gap: 1rem;
}
.takeover__steps {
  margin-top: 0;
}
.takeover__faq {
  margin: 0 auto;
  max-width: 48rem;
}
.takeover__faq .faq__list {
  margin-top: 0;
}

/* ---------- ITSEC: local pages (/alarmy-<slug>, reached only from search, not linked) ---------- */
.town__crumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  color: var(--ink-400);
}
.town__crumbs a {
  color: var(--ink-300);
  transition: color 0.2s ease;
}
.town__crumbs a:hover { color: var(--brand-400); }
.town__text p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: var(--ink-300);
}
.town__tips {
  margin-top: 2rem;
}
.town__cta-secondary {
  margin-top: 0.75rem;
}
.town__services {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .town__services { grid-template-columns: repeat(3, 1fr); }
}
.town__service {
  display: block;
  color: inherit;
  text-decoration: none;
}
.town__near {
  margin-top: 5rem;
}
.town__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.town__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--brand-400-rgb), 0.2);
  background: rgba(var(--brand-500-rgb), 0.08);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--ink-200);
  transition: all 0.2s ease;
}
.town__chip:hover {
  border-color: rgba(var(--brand-400-rgb), 0.5);
  color: var(--brand-400);
}

/* ---------- ITSEC: product pages (/alarm-jablotron, /kamerove-systemy) ---------- */
.product-page__image {
  display: block;
  margin-top: 1rem;
  max-width: 28rem;
}
.product-page__features {
  margin-top: 0;
}
.product-page__extra .town__text {
  max-width: 48rem;
}
.product-page__extra .btn-ghost {
  margin-top: 0.5rem;
}

/* ---------- ITSEC: blog cover images ---------- */
/* Two cards per row from 768px; the list is wider than the article column. Cards without a cover
   (older posts) keep the plain layout, so a row may mix both. */
.legal__inner.blog-index {
  max-width: 64rem;
}
@media (min-width: 768px) {
  .blog-list { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
.blog-card {
  display: flex;
  flex-direction: column;
}
.blog-card--cover {
  padding: 0;
  overflow: hidden;
}
.blog-card--cover .blog-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.blog-card__body .blog-card__more {
  margin-top: auto;
  padding-top: 1rem;
}
.blog-card__cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.4s ease;
}
.blog-card--cover:hover .blog-card__cover {
  transform: scale(1.02);
}
.blog-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-top: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-cover {
  display: grid;
  gap: 0.75rem;
}
.admin-cover__img {
  width: 100%;
  max-width: 24rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.blog-card__body .blog-card__title {
  margin: 0.5rem 0 0;
}

/* Stats reset (/majsterko/statistiky/reset) */
.admin-stats__reset {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-stats__reset .admin-note {
  margin: 0;
}

/* ---------- ITSEC: text and FAQ under the calculator (/kalkulacka) ---------- */
.calc-info {
  position: relative;
  padding-block: 4rem 2rem;
}
.calc-info__text {
  margin: 0 auto;
  max-width: 48rem;
}
.calc-info__text p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: var(--ink-300);
}
.calc-info__prices {
  margin: 1.5rem 0 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.calc-info__prices dd {
  margin: 0;
}
.calc-info__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  padding: 1rem 1.25rem;
}
.calc-info__row + .calc-info__row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.calc-info__name {
  font-weight: 600;
  color: #fff;
}
.calc-info__price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brand-400);
  white-space: nowrap;
}
.calc-info__note {
  grid-column: 1 / -1;
  font-size: 0.875rem;
  color: var(--ink-400);
}

/* ---------- Booking (/rezervacia) ---------- */
.booking {
  position: relative;
  padding: 7rem 0 5rem;
}
.booking__heading { max-width: 42rem; }
.booking__options {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .booking__options { grid-template-columns: 1fr 1fr; }
}
.booking__option {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.25rem 1.5rem;
}
.booking__option-title {
  font-weight: 700;
  color: #fff;
}
.booking__option-text {
  margin-top: 0.375rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-300);
}
.booking__frame {
  margin-top: 2rem;
  border: 1px solid rgba(var(--brand-400-rgb), 0.2);
  border-radius: 1.25rem;
  background: var(--ink-900);
  overflow: hidden;
}
.booking__iframe {
  display: block;
  width: 100%;
  height: 1150px;  /* the booking wizard is taller on phones */
  border: 0;
}
@media (min-width: 768px) {
  .booking__iframe { height: 960px; }
}
.booking__note {
  margin-top: 1.5rem;
  line-height: 1.7;
  color: var(--ink-300);
}
.booking__note a,
.contact__booking {
  color: var(--brand-300);
  text-decoration: underline;
}
.contact__booking {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

/* Admin: developer projects (/majsterko/projekty) */
.admin-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.admin-filter__link {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  color: var(--ink-300);
}
.admin-filter__link:hover {
  color: #fff;
}
.admin-filter__link--active {
  border-color: rgba(var(--brand-400-rgb), 0.5);
  background: rgba(var(--brand-500-rgb), 0.12);
  color: #fff;
}
.admin-areas {
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(20, 29, 46, 0.4);
  padding: 1rem 1.25rem;
}
.admin-areas summary,
.admin-project__outreach summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-200);
}
.admin-areas__form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  justify-items: start;
}
.admin-areas__form .field,
.admin-areas__form textarea,
.admin-project__outreach textarea {
  width: 100%;
}
.admin-projects {
  display: grid;
  gap: 1rem;
}
.admin-project {
  display: grid;
  gap: 0.875rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(20, 29, 46, 0.4);
  padding: 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-200);
}
.admin-project__facts {
  display: grid;
  gap: 0.5rem 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}
.admin-project__facts dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-400);
}
.admin-project__facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.admin-project__summary {
  white-space: pre-wrap;
}
.admin-project__outreach {
  display: grid;
  gap: 0.75rem;
}
.admin-project__outreach[open] {
  padding-bottom: 0.25rem;
}
.admin-project__outreach textarea {
  margin-block: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.admin-project__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.admin-project__badge {
  border-radius: 999px;
  background: rgba(var(--brand-500-rgb), 0.15);
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--brand-300);
}
.admin-agent {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(var(--brand-400-rgb), 0.2);
  background: rgba(20, 29, 46, 0.4);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
}
.admin-agent__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.admin-agent__status {
  color: var(--ink-200);
  font-weight: 600;
}
.admin-agent__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}
.admin-agent__check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-300);
}
.admin-agent__log-wrap summary {
  cursor: pointer;
  color: var(--ink-400);
}
.admin-agent__log {
  margin-top: 0.5rem;
  max-height: 16rem;
  overflow: auto;
  white-space: pre-wrap;
  font-size: 0.75rem;
  color: var(--ink-300);
}
.admin-project__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.admin-project__head .admin-checkbox {
  margin-top: 0.25rem;
}
.admin-project.is-selected {
  border-color: rgba(239, 68, 68, 0.4);
}
