/* ==========================================================================
   BookingWatch — stylesheet
   Values mirror the original site (Tailwind/shadcn theme) one-to-one.
   Breakpoints: sm 640px · md 768px · lg 1024px · 2xl 1400px
   ========================================================================== */

/* Inter (SIL Open Font License, see /assets/fonts/OFL.txt), self-hosted */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/inter-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: Inter;
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/inter-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;
}

:root {
  --background: 0 0% 100%;
  --foreground: 216 33% 17%;
  --primary: 214 42% 25%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 20% 96%;
  --secondary-foreground: 214 42% 25%;
  --muted: 210 20% 96%;
  --muted-foreground: 215 14% 50%;
  --accent: 28 80% 52%;
  --accent-foreground: 0 0% 100%;
  --border: 214 20% 90%;
  --ring: 214 42% 25%;
  --radius: 0.75rem;
  --section-alt: 210 20% 97%;
  --navy-light: 214 30% 40%;
  --warm-grey: 220 10% 60%;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* --- Base / reset ------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid hsl(var(--border));
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: Inter, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  line-height: inherit;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: -0.025em;
}

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

button {
  font: inherit;
  color: inherit;
  background-color: transparent;
  cursor: pointer;
}

img, svg, picture {
  display: block;
  vertical-align: middle;
}

img {
  max-width: 100%;
  height: auto;
}

.text-center { text-align: center; }

/* --- Layout ------------------------------------------------------------- */

.page {
  min-height: 100vh;
  background-color: hsl(var(--background));
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1400px) {
  .container { max-width: 1400px; }
}

.container.container-xl  { max-width: 36rem; }
.container.container-2xl { max-width: 42rem; }
.container.container-3xl { max-width: 48rem; }

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-alt { background-color: hsl(var(--section-alt)); }

.section-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.prose {
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

.prose > * + * { margin-top: 1rem; }

@media (min-width: 768px) {
  .section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .section-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 9999px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  transition: all 0.2s var(--ease);
  --btn-shadow: 0 0 #0000;
  box-shadow: var(--btn-shadow);
}

.btn:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow:
    0 0 0 2px hsl(var(--background)),
    0 0 0 4px hsl(var(--ring)),
    var(--btn-shadow);
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn svg {
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn-hero {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  --btn-shadow: var(--shadow-md);
}

.btn-hero:hover {
  background-color: hsl(var(--primary) / 0.85);
  --btn-shadow: var(--shadow-lg);
}

.btn-hero-outline {
  border: 2px solid hsl(var(--primary));
  color: hsl(var(--primary));
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
}

.btn-hero-outline:hover { background-color: hsl(var(--primary) / 0.05); }

.btn-size-default {
  height: 2.5rem;
  padding: 0.5rem 1.25rem;
}

.btn-size-xl {
  height: 3.5rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.text-link {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
  text-decoration-line: underline;
  text-underline-offset: 4px;
  transition: color 0.15s var(--ease), text-decoration-color 0.15s var(--ease);
}

.text-link:hover { color: hsl(var(--foreground)); }

/* --- Navigation --------------------------------------------------------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsl(var(--background) / 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.nav-inner {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  letter-spacing: -0.025em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.15s var(--ease);
}

.nav-link:hover { color: hsl(var(--foreground)); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

/* --- Hero --------------------------------------------------------------- */

.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  max-width: 32rem;
}

.hero-note {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-aside {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--warm-grey));
  font-style: italic;
}

.hero-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .hero {
    padding-top: 10rem;
    padding-bottom: 7rem;
  }

  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }

  /* As on the original, the md/lg font sizes also reset line-height to 1. */
  .hero-title {
    font-size: 3rem;
    line-height: 1;
  }

  .hero-lead {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
    line-height: 1;
  }
}

/* --- About -------------------------------------------------------------- */

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-photo {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-caption {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-top: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5rem;
  }
}

/* --- How it works ------------------------------------------------------- */

.section-title.steps-title { margin-bottom: 4rem; }

.steps-grid {
  display: grid;
  gap: 2rem;
}

.step { text-align: center; }

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background-color: hsl(var(--secondary));
  margin-bottom: 1.5rem;
}

.step-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

.step-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.step-text {
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }
}

/* --- Inbox CTA ---------------------------------------------------------- */

.prose.prose-cta { margin-bottom: 2.5rem; }

/* --- Experience --------------------------------------------------------- */

.section-title.experience-title { margin-bottom: 3.5rem; }

.experience-grid {
  display: grid;
  gap: 1.5rem;
}

.experience-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: hsl(var(--secondary));
}

.experience-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--background));
  display: flex;
  align-items: center;
  justify-content: center;
}

.experience-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.experience-text {
  color: hsl(var(--foreground));
  font-weight: 500;
}

.experience-footnote {
  text-align: center;
  color: hsl(var(--muted-foreground));
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .experience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- Final CTA ---------------------------------------------------------- */

.final-cta-text {
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
  margin-bottom: 2.5rem;
}

.final-cta-button { margin-bottom: 1rem; }

/* --- Footer ------------------------------------------------------------- */

.site-footer {
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid hsl(var(--border));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-inner { flex-direction: row; }
}

/* --- 404 ---------------------------------------------------------------- */

.not-found {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--muted));
}

.not-found-title {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
}

.not-found-text {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: hsl(var(--muted-foreground));
}

.not-found-link {
  color: hsl(var(--primary));
  text-decoration-line: underline;
}

.not-found-link:hover { color: hsl(var(--primary) / 0.9); }

/* --- Animations --------------------------------------------------------- */

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 0;
}

.fade-in-delay-1 { animation-delay: 0.15s; }
.fade-in-delay-2 { animation-delay: 0.3s; }
/* Note: the original site has no rule for .fade-in-delay-3 (renders without delay). */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Content platform: navigation additions, articles, tools, forms, admin
   ========================================================================== */

/* --- Mobile navigation ------------------------------------------------- */

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border-radius: 0.5rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background-color: hsl(var(--foreground));
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1.5rem;
    background-color: hsl(var(--background));
    border-bottom: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-md);
  }

  .nav-open .nav-links .nav-link {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid hsl(var(--border) / 0.6);
  }

  .nav-open .nav-links .btn { margin-top: 1rem; }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

.nav-lang {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.hero-actions-center { justify-content: center; }

.section-lead {
  color: hsl(var(--muted-foreground));
  margin: -0.75rem auto 2.5rem;
  max-width: 36rem;
}

.section-more { margin-top: 2rem; }

/* --- Generic page layout ----------------------------------------------- */

.page-section {
  padding-top: 6.5rem;
  padding-bottom: 4rem;
}

.container.container-article { max-width: 46rem; }
.container.container-wide { max-width: 72rem; }

.container-article-inner {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.page-header { margin-bottom: 2.5rem; }
.page-header.text-center .page-lead { margin-left: auto; margin-right: auto; }

.page-title {
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.page-lead {
  font-size: 1.125rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
  max-width: 40rem;
}

.page-block { margin-top: 4rem; }

.page-block > h2,
.guide-category > h2,
.related > h2,
.faq > h2 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.page-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.prose-left {
  text-align: left;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .page-section {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }

  .page-title {
    font-size: 3rem;
    line-height: 1.1;
  }
}

/* --- Breadcrumbs ------------------------------------------------------- */

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.25rem;
  color: hsl(var(--border));
}

.breadcrumbs a:hover { color: hsl(var(--foreground)); }

/* --- Article ----------------------------------------------------------- */

.article {
  padding-top: 6.5rem;
  padding-bottom: 4rem;
}

.article-category {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(28 80% 40%);
  margin-bottom: 0.75rem;
}

.article-title {
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .article {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }

  .article-title {
    font-size: 2.75rem;
    line-height: 1.1;
  }
}

.article-meta {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

.article-meta a {
  color: hsl(var(--foreground));
  font-weight: 500;
}

.article-meta a:hover { text-decoration: underline; }

.short-answer {
  background-color: hsl(var(--secondary));
  border-left: 4px solid hsl(var(--primary));
  border-radius: 0 1rem 1rem 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.short-answer-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--primary));
  margin-bottom: 0.375rem;
}

.article-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: hsl(var(--foreground) / 0.92);
  margin: 2.5rem 0;
}

.article-body > * + * { margin-top: 1.25rem; }

.article-body h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-top: 3rem;
}

.article-body h3 {
  font-size: 1.1875rem;
  line-height: 1.4;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 2rem;
}

.article-body ul,
.article-body ol { padding-left: 1.5rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li + li { margin-top: 0.5rem; }
.article-body li::marker { color: hsl(var(--muted-foreground)); }

.article-body a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body strong {
  font-weight: 600;
  color: hsl(var(--foreground));
}

.article-body blockquote {
  border-left: 3px solid hsl(var(--border));
  padding-left: 1rem;
  color: hsl(var(--muted-foreground));
}

.source-note {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

/* Tables */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table,
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.data-table th,
.data-table td,
.article-body th,
.article-body td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid hsl(var(--border));
  vertical-align: top;
}

.data-table th,
.article-body th {
  font-weight: 600;
  background-color: hsl(var(--secondary));
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background-color: hsl(var(--accent) / 0.12);
  color: hsl(28 80% 35%);
}

/* E-mail example */

.email-example {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.email-msg {
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.email-in { background-color: hsl(var(--background)); }

.email-out {
  background-color: hsl(var(--primary) / 0.04);
  border-color: hsl(var(--primary) / 0.25);
}

.email-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.625rem;
}

.email-out .email-label { color: hsl(var(--primary)); }

.email-subject {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

/* Reply template */

.template-box {
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  overflow: hidden;
  margin: 2rem 0;
}

.template-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem 0.75rem 1.5rem;
  background-color: hsl(var(--secondary));
  border-bottom: 1px solid hsl(var(--border));
}

.template-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.template-copy {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--primary));
  padding: 0.375rem 0.875rem;
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: 9999px;
  background-color: hsl(var(--background));
  transition: background-color 0.15s var(--ease);
}

.template-copy:hover { background-color: hsl(var(--primary) / 0.06); }

.template-text {
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.template-text mark {
  background-color: hsl(var(--accent) / 0.14);
  color: inherit;
  border-radius: 0.25rem;
  padding: 0 0.125rem;
}

/* CTA box */

.cta-box {
  background-color: hsl(var(--section-alt));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 2rem 0;
}

.cta-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-text {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.cta-note {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

/* FAQ */

.faq { margin-top: 3rem; }

.faq-item { border-bottom: 1px solid hsl(var(--border)); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2rem 1rem 0;
  font-weight: 600;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 0.875rem;
  font-size: 1.25rem;
  font-weight: 400;
  color: hsl(var(--muted-foreground));
}

.faq-item[open] summary::after { content: "–"; }

.faq-answer {
  padding-bottom: 1.25rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* Cards */

.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background-color: hsl(var(--background));
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), transform 0.15s var(--ease);
}

a.card:hover {
  border-color: hsl(var(--primary) / 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(28 80% 40%);
}

.card-title {
  font-weight: 600;
  line-height: 1.4;
  color: hsl(var(--foreground));
}

.card-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

.guide-category { margin-top: 3rem; }
.related { margin-top: 4rem; }

/* --- Pricing ----------------------------------------------------------- */

.price-card {
  max-width: 30rem;
  margin: 0 auto;
  padding: 2rem;
  border: 2px solid hsl(var(--primary));
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.price-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
}

.price-main { margin: 0.5rem 0 1.5rem; }

.price-amount {
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.price-period { color: hsl(var(--muted-foreground)); }

.price-list,
.check-list {
  list-style: none;
  text-align: left;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.price-list li,
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.price-list svg,
.check-list svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: hsl(var(--primary));
}

.price-vat {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

/* --- Forms ------------------------------------------------------------- */

.form-card {
  padding: 1.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1.25rem;
  background-color: hsl(var(--background));
  box-shadow: var(--shadow-md);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  flex: 1;
}

.field input,
.field textarea {
  font: inherit;
  font-weight: 400;
  font-size: 1rem;
  color: hsl(var(--foreground));
  padding: 0.625rem 0.875rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.625rem;
  background-color: hsl(var(--background));
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15);
}

.field.has-error input { border-color: hsl(0 84% 60%); }

.field-row {
  display: flex;
  flex-direction: column;
  gap: 0 1rem;
}

@media (min-width: 640px) {
  .field-row { flex-direction: row; }
}

.form-error {
  color: hsl(0 72% 45%);
  font-size: 0.8125rem;
  font-weight: 500;
}

.form-fineprint {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.875rem;
  line-height: 1.5;
}

.form-fineprint a { text-decoration: underline; }

.btn-block { width: 100%; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  text-align: center;
  padding: 1rem 0;
}

.form-success svg {
  width: 3rem;
  height: 3rem;
  color: hsl(var(--primary));
  margin: 0 auto 1rem;
}

.form-success h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.demo-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.demo-grid .check-list { margin-top: 2rem; }

@media (min-width: 900px) {
  .demo-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 28rem);
    gap: 4rem;
  }
}

/* --- Calculator -------------------------------------------------------- */

.calc {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .calc {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.calc-results {
  display: grid;
  gap: 1rem;
}

.calc-result {
  padding: 1.25rem;
  border-radius: 1rem;
  background-color: hsl(var(--secondary));
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.calc-result-main {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 1.75rem;
}

.calc-result-label {
  font-size: 0.875rem;
  opacity: 0.85;
}

.calc-result-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.calc-result-main .calc-result-value {
  font-size: 2.5rem;
  line-height: 1.1;
}

.calc-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* --- About / company --------------------------------------------------- */

.person-role {
  color: hsl(var(--muted-foreground));
  margin: -0.75rem 0 1.25rem;
}

.company-details {
  line-height: 1.8;
  color: hsl(var(--muted-foreground));
}

/* --- Admin ------------------------------------------------------------- */

.admin { background-color: hsl(var(--section-alt)); }

.admin-container {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.admin h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.admin h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
}

.admin-login {
  max-width: 22rem;
  margin: 6rem auto;
}

.admin-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.admin-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.admin-filter a {
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
}

.admin-filter a.active {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-kpis div {
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.admin-kpis span {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background-color: hsl(var(--background));
  font-size: 0.8125rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid hsl(var(--border));
  white-space: nowrap;
}

.admin-table th {
  background-color: hsl(var(--secondary));
  font-weight: 600;
}

.admin-note,
.admin-empty {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

/* Keep anchored sections clear of the fixed navigation */
.guide-category,
.person,
.faq { scroll-margin-top: 5rem; }
