/* ==========================================================================
   Võtmemeister: modern site styles
   Palette: deep navy + red + white, matches the logo's own colors
   ========================================================================== */

:root {
  --navy-950: #0b1730;
  --navy-900: #101f3d;
  --navy-800: #17294d;
  --navy-700: #223564;
  --navy-100: #e7ebf5;
  --paper: #faf8f4;
  --paper-dim: #f1ede4;
  --ink: #1c2333;
  --ink-soft: #4b5568;
  --red: #c53c3c;
  --red-dark: #a02f2f;
  --red-light: #e98a8a;
  --line: #e3ddce;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(16, 31, 61, 0.08);
  --shadow-md: 0 8px 24px rgba(16, 31, 61, 0.12);
  --shadow-lg: 0 20px 50px rgba(16, 31, 61, 0.18);
  --container: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top bar ---------- */

.topbar {
  background: var(--navy-950);
  color: #d9def0;
  font-size: 0.85rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}

.topbar a {
  color: #f0c6c6;
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

.topbar-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-info span {
  white-space: nowrap;
}

/* ---------- Header / nav ---------- */

header.site-header {
  background: var(--navy-900);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.brand-plate {
  display: inline-flex;
  align-items: center;
}

.brand-plate img {
  height: 42px;
  width: auto;
  display: block;
}

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

nav.primary-nav a {
  display: block;
  padding: 10px 16px;
  color: #cfd7ea;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

nav.primary-nav a:hover,
nav.primary-nav a.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

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

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: #fff;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 60, 60, 0.18);
  border: 1px solid rgba(197, 60, 60, 0.45);
  color: var(--red-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero .lead {
  font-size: 1.1rem;
  font-weight: 400;
  color: #c6cee4;
  max-width: 46ch;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
}

.hero-art svg {
  width: 100%;
  height: auto;
}

.hero-art img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(4, 10, 26, 0.45);
}

.hero-art-badge {
  position: absolute;
  left: 24px;
  bottom: -18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--navy-950);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
}

.hero-art-badge svg {
  width: 18px;
  height: 18px;
  color: var(--red-dark);
  flex-shrink: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: #d64848;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}

.btn-outline:hover {
  background: var(--navy-800);
  color: #fff;
}

/* ---------- Sections ---------- */

section {
  padding: 64px 0;
}

.section-tight {
  padding: 40px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}

.section-head .kicker {
  display: block;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 12px;
  color: var(--navy-950);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

.section-alt {
  background: var(--paper-dim);
}

.section-navy {
  background: var(--navy-950);
  color: #e7ebf5;
}

.section-navy .section-head h2 {
  color: #fff;
}

.section-navy .section-head p {
  color: #aab3cb;
}

/* ---------- Info / feature cards ---------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--navy-100);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card .icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--navy-950);
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ---------- Info strip (hours / location / contact) ---------- */

.info-strip {
  background: var(--navy-950);
  color: #fff;
}

.info-strip .grid {
  grid-template-columns: repeat(3, 1fr);
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(197, 60, 60, 0.18);
  color: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item .icon svg {
  width: 22px;
  height: 22px;
}

.info-item h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #fff;
}

.info-item p,
.info-item a {
  margin: 0;
  color: #aab3cb;
  font-size: 0.95rem;
  text-decoration: none;
}

.info-item a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Page header (inner pages) ---------- */

.page-header {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #fff;
  padding: 56px 0 48px;
}

.page-header .kicker {
  color: var(--red-light);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 10px;
}

.page-header h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.page-header p {
  color: #c6cee4;
  max-width: 60ch;
  margin: 0;
  font-size: 1.05rem;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: #93a0c2;
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: #cfd7ea;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

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

.timeline {
  border-left: 3px solid var(--line);
  margin-left: 6px;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--red);
}

.timeline-item .year {
  font-weight: 800;
  color: var(--navy-950);
  font-size: 1.05rem;
}

.timeline-item p {
  margin: 4px 0 0;
  color: var(--ink-soft);
}

.brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-pills span {
  background: var(--paper-dim);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-800);
}

/* ---------- Services page ---------- */

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-row {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.service-row .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--navy-100);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-row .icon svg {
  width: 20px;
  height: 20px;
}

.service-row h3 {
  margin: 0;
  font-size: 1.02rem;
  color: var(--navy-950);
}

.service-row h3 .muted-note {
  color: var(--red-dark);
  font-weight: 600;
}

.service-row p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Price list ---------- */

.price-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.price-toolbar input[type="search"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.95rem;
  background: #fff;
}

.price-toolbar input[type="search"]:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}

.price-updated {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.price-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-group summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-950);
  background: var(--paper-dim);
}

.price-group summary::-webkit-details-marker {
  display: none;
}

.price-group summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--red-dark);
  font-weight: 700;
  transition: transform 0.15s ease;
}

.price-group[open] summary::after {
  transform: rotate(45deg);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table tr {
  border-top: 1px solid var(--line);
}

.price-table td {
  padding: 14px 24px;
  font-size: 0.96rem;
}

.price-table tr.price-spacer,
.price-table tr.price-spacer + tr {
  border-top: none;
}

.price-table tr.price-spacer td {
  padding: 10px 24px 0;
}

.price-table td:first-child {
  color: var(--ink);
}

.price-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--navy-950);
  white-space: nowrap;
}

.price-note {
  margin-top: 28px;
  padding: 18px 22px;
  background: #fbebeb;
  border: 1px solid #eec4c4;
  border-radius: var(--radius-md);
  color: #7a2b2b;
  font-size: 0.92rem;
}

.no-results {
  text-align: center;
  color: var(--ink-soft);
  padding: 40px 0;
  display: none;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.cta-banner p {
  margin: 0;
  color: #c6cee4;
}

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

footer.site-footer {
  background: var(--navy-950);
  color: #98a2bd;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid a {
  color: #98a2bd;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-brand .brand-plate img {
  height: 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: #98a2bd;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }

  .grid-3,
  .grid-4,
  .info-strip .grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  nav.primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-900);
    box-shadow: var(--shadow-md);
    display: none;
  }

  nav.primary-nav.open {
    display: block;
  }

  nav.primary-nav ul {
    flex-direction: column;
    padding: 10px;
    gap: 2px;
  }

  nav.primary-nav a {
    padding: 12px 14px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .topbar-info {
    gap: 12px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .info-strip .grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  section {
    padding: 44px 0;
  }
}

@media (max-width: 480px) {
  .price-table td {
    padding: 12px 16px;
  }

  .price-group summary {
    padding: 16px 18px;
  }
}
