/* ── IKMACMS — default theme ─────────────────────────────────────────── */
:root {
  --brand:        #6c63ff;
  --brand-dark:   #4b44cc;
  --brand-light:  #ede9ff;
  --brand-text:   #675ef2;   /* the brand colour, darkened to 4.5:1 on white (ThemeCss sets all three for the chosen colour) */
  --brand-button: #675ef2;
  --on-brand:     #ffffff;
  --accent:       #ff6b6b;
  --dark:         #0f0e17;
  --gray:         #6b7280;
  --light:        #f9fafb;
  --surface:      #ffffff;
  --border:       #e5e7eb;
  --radius:       12px;
  --shadow:       0 4px 24px rgba(108, 99, 255, .12);
  --shadow-lg:    0 12px 48px rgba(108, 99, 255, .2);
  --transition:   .25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body, system-ui, -apple-system, sans-serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
  background: var(--surface);
}
img { max-width: 100%; display: block; }
a { color: var(--brand-text); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-dark); }

/* ── Typography ── */
h1,h2,h3,h4 { line-height: 1.2; font-weight: 700; font-family: var(--font-heading, inherit); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--gray); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--brand-button);
  color: var(--on-brand);
  box-shadow: 0 4px 16px rgba(108,99,255,.35);
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { border-color: var(--brand-text); color: var(--brand-text); background: transparent; }
.btn-outline:hover { background: var(--brand-button); color: var(--on-brand); }
.btn-sm { padding: 10px 20px; font-size: .875rem; }

/* ── Container ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ── Site Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 68px;
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
}
.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--brand-text); }
.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover  { background: var(--brand-light); color: var(--brand-text); }
.nav-link.active { color: var(--brand-text); font-weight: 600; }
.nav-arrow { font-size: .6rem; opacity: .6; }
.header-cta { margin-left: auto; }

/* ── Dropdown ── */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-item {
  display: block;
  padding: 9px 14px;
  font-size: .875rem;
  color: var(--gray);
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-dropdown-item:hover { background: var(--brand-light); color: var(--brand-text); }

/* ── Mobile nav ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; }

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr repeat(auto-fit, minmax(150px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { margin-top: .75rem; font-size: .9rem; max-width: 280px; color: rgba(255,255,255,.72); }
.footer-social { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-social a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color var(--transition); }
.footer-social a:hover { color: var(--brand-text); }
/* h2: the footer's headings follow the page's own (h1, h2 …) without skipping a level. */
.footer-col .footer-heading { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--brand-text); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: .85rem; }
.logo-white { font-size: 1.4rem; font-weight: 800; color: #fff; }
.logo-white span { color: var(--brand-text); }

/* ── Hero ── */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fafbff 0%, var(--brand-light) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(108,99,255,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-tag {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-text);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 span { color: var(--brand-text); }
.hero p { font-size: 1.15rem; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 45%; max-width: 560px; }
.hero-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ── Stats bar ── */
.stats-bar {
  background: var(--dark);
  padding: 3rem 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item .value { font-size: 2.5rem; font-weight: 800; color: var(--brand-text); line-height: 1; }
.stat-item .label { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: .3rem; }

/* ── Section headers ── */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.section-tag { display: inline-block; color: var(--brand-text); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; }

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--brand-text); }
.card-body { padding: 1.5rem; }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.card-text { font-size: .9rem; }
.card-features { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.card-features li { font-size: .875rem; color: var(--gray); padding-left: 1.2rem; position: relative; }
.card-features li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-text); font-weight: 700; }
.card img { width: 100%; height: 200px; object-fit: cover; }

/* ── Service grid ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

/* ── Portfolio grid ── */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.portfolio-card { position: relative; }
.portfolio-card img { width: 100%; height: 240px; object-fit: cover; }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,14,23,.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-meta .client { font-size: .75rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; }
.portfolio-meta h3 { color: #fff; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: .5rem; }
.tag { font-size: .7rem; background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); padding: 2px 8px; border-radius: 20px; }

/* ── Team ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.team-card { text-align: center; }
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 1.5rem auto 1rem; border: 3px solid var(--brand-light); }
.team-photo-placeholder { width: 120px; height: 120px; border-radius: 50%; background: var(--brand-light); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 1.5rem auto 1rem; }
.team-card .role { color: var(--brand-text); font-size: .85rem; font-weight: 600; margin-bottom: .5rem; }
.team-card p { font-size: .875rem; padding: 0 1rem 1rem; }
.team-socials { display: flex; justify-content: center; gap: .75rem; padding-bottom: 1.5rem; }
.team-socials a { font-size: .8rem; color: var(--gray); }
.team-socials a:hover { color: var(--brand-text); }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial-card { padding: 2rem; }
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 1rem; }
.quote { font-style: italic; font-size: .95rem; margin-bottom: 1.5rem; color: var(--dark); }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-light); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.author-info .name { font-weight: 700; font-size: .9rem; }
.author-info .company { font-size: .8rem; color: var(--gray); }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-date { font-size: .8rem; color: var(--gray); margin-bottom: .5rem; }
.blog-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--dark); }
.blog-excerpt { font-size: .875rem; }
.blog-link { display: inline-block; margin-top: 1rem; font-size: .875rem; font-weight: 600; color: var(--brand-text); }
.blog-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: .75rem; }
.blog-tag { font-size: .7rem; background: var(--brand-light); color: var(--brand-text); padding: 2px 8px; border-radius: 20px; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; background: var(--brand-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-item h4 { font-size: .85rem; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.contact-item p { font-size: .95rem; color: var(--dark); font-weight: 500; }

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 5rem 0;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 540px; margin: 0 auto 2rem; }
.btn-white { background: #fff; color: var(--brand-text); }
.btn-white:hover { background: var(--brand-light); color: var(--brand-dark); }

/* ── Page hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1633 100%);
  padding: 5rem 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.1rem; max-width: 540px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: .5rem; margin-bottom: 1.5rem; font-size: .85rem; color: rgba(255,255,255,.5); }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--brand-text); }

/* ── Rich text content ── */
.prose h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; }
.prose h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.prose p  { margin-bottom: 1rem; color: var(--gray); }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--gray); }
.prose li { margin-bottom: .3rem; }
.prose a  { color: var(--brand-text); text-decoration: underline; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose blockquote { border-left: 3px solid var(--brand); padding-left: 1rem; margin: 1.5rem 0; font-style: italic; color: var(--gray); }

/* ── Badges ── */
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: .75rem; font-weight: 600; }
.badge-brand { background: var(--brand-light); color: var(--brand-text); }
.badge-dark  { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-image { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-hamburger { display: flex; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; padding: 8px 12px 14px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .header-cta { display: none; }
  .hero { min-height: 70vh; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

/* ── Forms ── */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 500; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--brand-light); border-color: var(--brand-text); }
.contact-form .form-consent { flex-direction: row; align-items: flex-start; gap: .6rem; font-weight: 400; color: var(--gray); }
/* The spam trap: clipped rather than pushed off to the left, which on a right-to-left page widens it by 10 000 px. */
.form-honeypot { position: absolute; left: auto; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-form select { font: inherit; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.builder-form { scroll-margin-top: 90px; }   /* the sticky header must not cover the message after a redirect */
.form-field { display: flex; flex-direction: column; gap: .35rem; }
.form-field > label, .form-field legend { font-size: .9rem; font-weight: 500; }
.form-field fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.contact-form .form-choice { flex-direction: row; align-items: center; gap: .5rem; font-weight: 400; }
.form-help { color: var(--gray); font-size: .85rem; }
.form-error { color: #b91c1c; font-size: .85rem; }
.form-field--invalid input, .form-field--invalid textarea, .form-field--invalid select { border-color: #b91c1c; }
.form-message { padding: 12px 16px; border-radius: 8px; margin-bottom: 1rem; }
.form-message--success { background: #ecfdf5; color: #065f46; }
.form-message--error   { background: #fef2f2; color: #991b1b; }

/* ── Error page ── */
.error-page { text-align: center; padding: 6rem 1.5rem; }
.error-page h1 { color: var(--brand-text); }
.error-page p { margin: 1rem 0 2rem; }

/* ── Preview banner (signed draft preview) ── */
.preview-banner { position: sticky; top: 0; z-index: 200; background: #fef3c7; color: #92400e; text-align: center; padding: 8px 16px; font-size: .875rem; font-weight: 600; }

/* ── Generic field rendering (_Generic.cshtml) ── */
.generic-fields .field { margin-bottom: 1.25rem; }
.field-text { white-space: pre-line; }
.field-image { border-radius: var(--radius); margin: .5rem 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.swatch { display: inline-block; width: 1em; height: 1em; border-radius: 4px; vertical-align: -2px; border: 1px solid var(--border); }

/* ══ Blocks (Views/Blocks) ══════════════════════════════════════════════════ */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.block { padding: 4rem 0; }
.block + .block { padding-top: 0; }
.block--hero, .block--cta { padding: 0; }
.block--hero + .block, .block--cta + .block { padding-top: 4rem; }
.container--text { max-width: 760px; }
.block-title { margin-bottom: 1rem; }
.block-title--small { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray); text-align: center; }
.block-intro { max-width: 640px; margin-bottom: 2rem; font-size: 1.1rem; }

/* Hero */
.block-hero { position: relative; overflow: hidden; padding: 5rem 0; }
.block-hero--light { background: var(--brand-light); }
.block-hero--dark { background: var(--dark); color: #fff; }
.block-hero--image { color: #fff; min-height: 480px; display: flex; align-items: center; }
.block-hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,14,23,.85), rgba(15,14,23,.35)); }
.block-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.block-hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.block-hero--image .block-hero-content, .block-hero:not(:has(.block-hero-side-image)) .block-hero-content { grid-template-columns: 1fr; max-width: 760px; }
.block-hero-heading { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; }
.block-hero--dark .block-hero-text, .block-hero--image .block-hero-text { color: rgba(255,255,255,.85); }
.block-hero-text { font-size: 1.15rem; margin-top: 1rem; max-width: 560px; }
.block-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.block-hero--dark .btn-outline, .block-hero--image .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.block-hero-side-image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* Text + image */
.text-image { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.text-image--left .text-image-img { order: -1; }
.text-image-img { width: 100%; border-radius: var(--radius); }

/* Cards */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-icon { font-size: 2rem; margin-bottom: .5rem; }
.card-link { display: inline-block; margin-top: .75rem; font-weight: 600; }

/* Video */
.video-caption { font-size: .9rem; margin-top: .5rem; }

/* Call to action */
.cta { padding: 3.5rem 0; }
.cta--brand { background: var(--brand-button); color: var(--on-brand); }
.cta--brand p { color: rgba(255,255,255,.85); }
.cta--brand .btn-primary { background: #fff; color: var(--brand-text); box-shadow: none; }
.cta--dark { background: var(--dark); color: #fff; }
.cta--dark p { color: rgba(255,255,255,.7); }
.cta--light { background: var(--light); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-heading { font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-text { margin-top: .5rem; max-width: 620px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::after { content: "+"; color: var(--brand-text); font-size: 1.25rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .prose { padding-bottom: 1rem; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.testimonial blockquote { font-size: 1.05rem; color: var(--dark); white-space: pre-line; }
.testimonial figcaption { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.testimonial figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.stars { color: #f59e0b; letter-spacing: 2px; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; align-items: stretch; }
.price { border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: .75rem; background: var(--surface); }
.price--featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.price-amount { font-size: 2rem; font-weight: 800; color: var(--dark); }
.price-amount small { font-size: .9rem; font-weight: 500; color: var(--gray); }
.price-features { list-style: none; display: grid; gap: .4rem; margin-bottom: .5rem; }
.price-features li::before { content: "✓ "; color: var(--brand-text); font-weight: 700; }
.price .btn { margin-top: auto; justify-content: center; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.team-member { text-align: center; }
.team-member img, .team-photo-placeholder { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; }
.team-photo-placeholder { display: flex; align-items: center; justify-content: center; background: var(--brand-light); font-size: 3rem; }
.team-role { color: var(--brand-text); font-weight: 600; font-size: .9rem; }
.team-contact { display: grid; gap: .2rem; margin-top: .5rem; font-size: .9rem; }

/* Logos */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.5rem; }
.logos img { max-height: 56px; max-width: 160px; width: auto; filter: grayscale(1); opacity: .7; transition: all var(--transition); }
.logos img:hover { filter: none; opacity: 1; }

/* Map */
.map-block { display: grid; gap: 1rem; }
.map-consent { aspect-ratio: 16 / 7; border-radius: var(--radius); background: var(--light); border: 1px dashed var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; padding: 1rem; }
.map-consent p { font-size: .85rem; }
.map-consent.map-loaded { padding: 0; border: 0; overflow: hidden; }
.map-consent iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 900px) {
  .block-hero-content, .text-image { grid-template-columns: 1fr; }
  .text-image--left .text-image-img { order: 0; }
  .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .block { padding: 2.5rem 0; }
  .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; }
  .map-consent { aspect-ratio: 4 / 3; }
}

/* Responsive images: <picture> wraps the <img>, so size rules target both. */
picture { display: contents; }
img { height: auto; }


/* ── Step 6: logo image, search, breadcrumbs ── */
.logo-image { height: 40px; width: auto; }
.header-search input { font: inherit; font-size: .9rem; padding: 6px 12px; border: 1px solid var(--border); border-radius: 20px; width: 160px; background: var(--light); }
.header-search input:focus { outline: 2px solid var(--brand-light); border-color: var(--brand-text); width: 220px; }
@media (max-width: 768px) { .header-search { display: none; } }
.breadcrumbs { background: var(--light); border-bottom: 1px solid var(--border); font-size: .85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--gray); }
.breadcrumbs [aria-current] { color: var(--gray); }

.search-page-form { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.search-page-form input { flex: 1; font: inherit; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; }
.search-summary { color: var(--gray); margin-bottom: 1rem; }
.search-results { list-style: none; display: grid; gap: 1.5rem; }
.search-result-title { font-size: 1.15rem; font-weight: 600; }
.search-result-url { font-size: .8rem; color: var(--gray); }
.search-result-snippet { margin-top: .25rem; }
.search-result-snippet mark { background: var(--brand-light); color: inherit; padding: 0 2px; border-radius: 3px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2.5rem; font-size: .95rem; }
.pager span { color: var(--gray); }

/* ── Blog ── */
.blog-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.blog-filter a { padding: 4px 14px; border: 1px solid var(--border); border-radius: 20px; font-size: .9rem; color: var(--dark); }
.blog-filter a span { color: var(--gray); font-size: .8rem; }
.blog-filter a.active { background: var(--brand-button); border-color: var(--brand-button); color: var(--on-brand); }
.blog-filter a.active span { color: inherit; opacity: .8; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; }
.blog-card-image img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-placeholder { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; background: var(--brand-light); }
.blog-card .blog-title { font-size: 1.2rem; margin: .35rem 0; }
.blog-card .blog-title a { color: var(--dark); }
.blog-date { font-size: .8rem; color: var(--gray); }
.blog-excerpt { color: var(--gray); font-size: .95rem; }
.blog-empty { color: var(--gray); }
.blog-tag-cloud { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.blog-tag-cloud h2 { font-size: 1rem; width: 100%; }
.blog-rss { margin-top: 2rem; font-size: .85rem; }
.post-meta { opacity: .85; }
.post-categories { margin-top: .75rem; display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.post-image { margin-bottom: 2.5rem; }
.post-image img { width: 100%; border-radius: var(--radius); max-height: 440px; object-fit: cover; }
.post-tags { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.post-tags > span { font-size: .85rem; font-weight: 600; color: var(--gray); margin-right: .4rem; }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; }
.post-nav a { display: flex; flex-direction: column; max-width: 48%; font-weight: 600; }
.post-nav a span { font-size: .8rem; font-weight: 400; color: var(--gray); }
.post-nav-next { text-align: right; margin-left: auto; }

/* ── Business info and opening hours ── */
.business-address { font-style: normal; margin: .75rem 0; line-height: 1.6; }
.business-org { font-size: .85em; }   /* no opacity: the footer text is already at its lowest readable contrast */
.opening-status { font-weight: 600; margin-bottom: .5rem; }
.opening-status.is-open { color: #15803d; }
.opening-status.is-closed { color: #b91c1c; }
.opening-week, .opening-special { display: grid; gap: .2rem; margin: 0; }
.opening-week div, .opening-special div { display: flex; justify-content: space-between; gap: 1.5rem; }
.opening-week dd, .opening-special dd { margin: 0; font-variant-numeric: tabular-nums; }
.opening-special { margin-top: .75rem; font-size: .9em; }
.opening-block { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; align-items: start; }
.opening-note { margin-top: .75rem; color: var(--gray); }
.footer-hours { max-width: 320px; margin-bottom: 2rem; }
.footer-hours .opening-status.is-open { color: #4ade80; }
.footer-hours .opening-status.is-closed { color: #fca5a5; }
.footer-cookie-link { color: inherit; opacity: .75; }

/* ── Cookie banner ── */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 32px rgba(0,0,0,.12); }
.cookie-banner-inner { display: flex; align-items: center; gap: 1.5rem; padding: 1rem 1.5rem; flex-wrap: wrap; }
.cookie-banner-text { flex: 1; min-width: 260px; font-size: .95rem; }
.cookie-banner-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.cookie-banner-actions form { display: flex; gap: .5rem; }
.cookie-banner-more { font-size: .9rem; }
.consent-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.consent-option { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); }
.consent-option input { margin-top: .35rem; }
.consent-status { color: var(--gray); font-size: .9rem; }

/* ── Language switcher ── */
.language-switcher { display: flex; gap: 2px; margin-left: .5rem; }
.language-switcher a { font-size: .8rem; font-weight: 600; padding: 4px 7px; border-radius: 6px; color: var(--gray); }
.language-switcher a:hover { color: var(--brand-text); background: var(--brand-light); }
.language-switcher a.active { color: var(--brand-text); background: var(--brand-light); }
