﻿/* ============================================================
   DVS eCommerce Experts — Design System
   Theme: b2bgreece.gr — Dark + Orange
   Fonts: Manrope (headings) + Open Sans (body)
   ============================================================ */

/* ── Design tokens ──────────────────────────────────────────── */
:root {
  /* === Core palette (b2bgreece.gr) === */
  --dark: #212735;
  --dark2: #2D3547;
  --dark3: #1A1F2E;
  --dark4: #0f121b;
  --orange: #FF7900;
  --orange-dim: rgba(255, 121, 0, 0.14);
  --orange-border: rgba(255, 121, 0, 0.32);
  --white: #FFFFFF;
  --text-muted: #B0B8CC;
  /* ↑ from #8B93A8 — 7.5:1 on dark (WCAG AAA) */
  --text-light: #C8CDD8;

  /* === DVS alias vars (used throughout templates) === */
  --ink: #FFFFFF;
  --ink-2: #C8CDD8;
  --ink-3: #B0B8CC;
  /* ↑ from #8B93A8 — 7.5:1 on dark (WCAG AAA) */
  --paper: #2c354a;
  --paper-2: #2D3547;
  --accent: #FF7900;
  --accent-light: #e06b00;
  --accent-pale: rgba(255, 121, 0, 0.14);
  --line: rgba(255, 255, 255, 0.08);

  --font-display: 'Manrope', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --header-h: 74px;
  --max-w: 1280px;
  --max-w-lg: 960px;
  --max-w-sm: 720px;

  --transition: 0.2s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
}

/* ── Typography ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: 0.5px;
}

h1 {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: 1px;
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.5px;
}

h3 {
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

p {
  color: var(--text-light);
  line-height: 1.72;
}

.lead {
  font-size: clamp(1rem, 1.8vw, 1.05rem);
  line-height: 1.72;
  color: var(--text-light);
  font-weight: 400;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: #ff9b40;
}

/* ── Layout utilities ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w) !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* ── Header ──────────────────────────────────────────────────── */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(15, 18, 27, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 121, 0, 0.14);
}

.header-logo-img {
  height: 55px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.header-spacer {
  height: var(--header-h);
}

@media (max-width: 767px) {
  :root {
    --header-h: 50px;
  }

  .header-logo-img {
    height: 36px;
    /* Leave room for the hamburger on small screens */
    max-width: 62vw;
  }
}

@media (max-width: 380px) {
  .header-logo-img {
    max-width: 56vw;
  }
}

/* ── Navigation ─────────────────────────────────────────────── */

/* Desktop nav links */
.dvs-nav-item {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.875rem;
  transition: color var(--transition);
  white-space: nowrap;
}

.dvs-nav-link {
  color: var(--ink-3);
}

.dvs-nav-link:hover {
  color: var(--accent);
}

.dvs-nav-active {
  color: var(--accent);
}

/* CTA button in nav */
.dvs-btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 15px 34px;
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
  border-radius: 5px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  text-shadow: 0px 0px 1px black;
}

.dvs-btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(255, 121, 0, 0.28);
}

/* Ghost / secondary button */
.dvs-btn-ghost {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: 15px 34px;
  transition: all var(--transition);
}

.dvs-btn-ghost:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* Large primary button (for hero / CTAs) */
.dvs-btn-primary-lg {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 15px 34px;
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
  border-radius: 5px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.dvs-btn-primary-lg:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 121, 0, 0.32);
}

/* Secondary outlined button */
.dvs-btn-secondary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 15px 34px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  transition: all var(--transition);
  white-space: nowrap;
}

.dvs-btn-secondary:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* Mobile nav */
.dvs-mob-nav-item {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dvs-mob-nav-link {
  color: var(--ink-3);
}

.dvs-mob-nav-link:hover {
  color: var(--accent);
}

.dvs-mob-nav-active {
  color: var(--accent);
}

.dvs-mob-sub-link {
  color: var(--ink-3);
  font-size: 0.85rem;
}

.dvs-mob-sub-link:hover {
  color: var(--accent);
}

.dvs-mob-sub-active {
  color: var(--accent);
  font-size: 0.85rem;
}

/* Dropdown navigation */
.nav-has-dropdown {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(15, 15, 15, 0.08);
  z-index: 100;
}

.nav-has-dropdown:hover .nav-dropdown {
  display: block;
}

.nav-dropdown-item {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  transition: color var(--transition), background var(--transition);
}

.nav-dropdown-item:last-child {
  border-bottom: none;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  color: var(--accent);
  background: var(--accent-pale);
}

/* Chevron rotation on hover */
.nav-has-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-chevron {
  transition: transform var(--transition);
}

/* ── Mega menu ──────────────────────────────────────────────── */
.mega-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 540px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(15, 15, 15, 0.08);
  z-index: 100;
}

.nav-has-dropdown:hover .mega-panel {
  display: block;
}

.mega-inner {
  display: flex;
  gap: 0;
  padding: 1.5rem;
}

.mega-col {
  padding: 0 1rem;
  border-right: 1px solid var(--line);
}

.mega-col:first-child {
  padding-left: 0;
}

.mega-col:last-child {
  padding-right: 0;
  border-right: none;
}

.mega-col-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.75rem;
}

.mega-link-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--ink-2);
  transition: color var(--transition);
}

.mega-link-item:hover {
  color: var(--accent);
}

.mega-link-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  flex-shrink: 0;
}

.mega-link-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.mega-link-desc {
  font-size: 0.75rem;
  color: var(--ink-3);
  margin-top: 2px;
  line-height: 1.4;
}

.mega-banner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  color: #fff;
  transition: opacity var(--transition);
}

.mega-banner:hover {
  opacity: 0.9;
}

.mega-banner-icon {
  margin-bottom: 0.25rem;
}

.mega-banner-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.mega-banner-subtitle {
  font-size: 0.8rem;
  opacity: 0.85;
}

.mega-banner-btn {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.25);
  padding: 0.35rem 0.75rem;
}

/* ── Mobile menu visibility ─────────────────────────────────── */
#mobile-menu {
  display: none;
  background: var(--paper);
  padding: 1rem 1.5rem 1.5rem;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

#mobile-menu.open {
  display: block;
}

/* ── Mobile accordion ───────────────────────────────────────── */
.mobile-accordion-content {
  display: none;
  padding-bottom: 0.5rem;
}

.mobile-accordion-item.open .mobile-accordion-content {
  display: block;
}

.mobile-accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-chevron {
  transition: transform var(--transition);
}

.mobile-mega-section-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0.5rem 1rem 0.25rem 2rem;
}

/* ── Sections ───────────────────────────────────────────────── */
.section {
  padding: 3rem 0;
}

.section-sm {
  padding: 2rem 0;
}

.section-lg {
  padding: 5rem 0;
}

.section-dark {
  background: var(--dark3);
  color: var(--text-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p,
.section-dark .lead {
  color: var(--text-muted);
}

.section-accent {
  background: var(--accent);
  color: #fff;
}

.section-accent h1,
.section-accent h2,
.section-accent h3 {
  color: #fff;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 6rem 0 5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff9b40;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.0rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-3);
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

/* ── Stats strip ────────────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  margin-top: 3rem;
}

.stat-item {
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-item:nth-child(2n) {
  border-right: none;
}

.stat-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--ink-3);
  margin-top: 0.375rem;
  font-weight: 400;
}

/* ── Ticker / marquee ───────────────────────────────────────── */
.ticker-wrap {
  background: var(--dark4);
  overflow: hidden;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 40s linear infinite;
  width: max-content;
}

.ticker-wrap:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.ticker-item::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-light);
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── Service cards ──────────────────────────────────────────── */
.service-card {
  padding: 2.5rem;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}

.service-card:hover {
  border-color: var(--accent);
  background: var(--paper-2);
}

.service-card-num-header {
  display: flex;
  gap: 15px;
}

.service-card-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 1.5rem;
  background: #FF7903;
  padding: 11px 4px 2px;
  width: 30px;
  height: 30px;
  text-align: center;
}
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-3);
  margin-bottom: 1.5rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ff9b40;
  transition: gap var(--transition);
}

.service-card:hover .service-card-link {
  gap: 0.75rem;
}

/* ── Why DVS — differentiators ──────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
}

.diff-item {
  padding: 2.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.diff-item:nth-child(2n) {
  border-right: none;
}

.diff-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.diff-icon-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.diff-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-pale);
  color: var(--accent);
}

.diff-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

.diff-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-3);
}

/* ── Blog cards ─────────────────────────────────────────────── */
.blog-card {
  background: var(--paper);
  transition: background var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  background: var(--paper-2);
}

.blog-card-img-wrap {
  display: block;
  flex-shrink: 0;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.03);
}

.blog-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--ink-3);
}

.blog-card-cat {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: block;
  transition: color var(--transition);
}

.blog-card:hover .blog-card-title {
  color: var(--accent);
}

.blog-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-3);
  flex: 1;
}

/* ── Portfolio cards ────────────────────────────────────────── */
.portfolio-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.portfolio-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-card-img {
  transform: scale(1.03);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.portfolio-card-cat {
  font-size: 0.75rem;
  color: rgba(200, 205, 216, 0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Reviews ────────────────────────────────────────────────── */
.review-card {
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: var(--accent);
}

.review-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-2);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.review-author-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}

.review-author-role {
  font-size: 0.75rem;
  color: var(--ink-3);
  margin-top: 2px;
}

/* ── FAQ accordion ──────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question[aria-expanded="true"] {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-3);
  font-weight: 300;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── Contact form ───────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

/* ── Blog Post Page ─────────────────────────────────────────── */
.bp-wrap {
  background: var(--paper);
  padding: 3rem 1.5rem;
}

.bp-hero-img-wrap {
  max-width: var(--max-w);
  margin: 0 auto 2.5rem;
  overflow: hidden;
  border-radius: 4px;
}

.bp-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.bp-grid {
  max-width: var(--max-w);
  margin: 0 auto;
}

.bp-has-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: stretch;
}

/* Breadcrumb */
.bp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.bp-breadcrumb a {
  color: var(--ink-3);
  text-decoration: none;
  transition: color var(--transition);
}

.bp-breadcrumb a:hover {
  color: var(--accent);
}

/* Meta */
.bp-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.bp-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  color: var(--ink-3);
}

/* Title */
.bp-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

/* Lead / excerpt */
.bp-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-2);
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Body */
.bp-body {
  max-width: 100%;
}

/* Back link */
.bp-back {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.bp-sidebar {
  min-width: 0;
}

.bp-sidebar-sticky {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bp-sidebar-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.75rem;
}

/* TOC section */
.bp-toc-section {
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid var(--line);
}

.bp-toc-bar-track {
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.bp-toc-bar-fill {
  width: 2px;
  height: 0%;
  background: var(--accent);
  transition: height 0.1s linear;
}

.bp-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.bp-toc-pct {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
}

.bp-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bp-toc-link {
  font-size: 0.8rem;
  color: var(--ink-3);
  text-decoration: none;
  line-height: 1.4;
  padding: 0.25rem 0;
  transition: color var(--transition);
  display: block;
}

.bp-toc-link:hover,
.bp-toc-link.active,
.bp-toc-link.toc-active {
  color: var(--accent);
}

.bp-toc-h3 {
  padding-left: 0.875rem;
  font-size: 0.75rem;
}

/* Latest posts */
.bp-sidebar-latest {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.bp-latest-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bp-latest-link {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--ink-3);
  text-decoration: none;
  transition: color var(--transition);
  display: block;
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--line);
}

.bp-latest-link:hover {
  color: var(--accent);
}

.bp-latest-link:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 900px) {
  .bp-has-sidebar {
    grid-template-columns: 1fr;
  }

  .bp-sidebar {
    display: none;
  }
}

/* ── Prose (rich text) ──────────────────────────────────────── */
.prose {
  max-width: 680px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-2);
}

.prose h2 {
  font-size: 1.625rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose ul,
.prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--ink-3);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose strong {
  font-weight: 600;
  color: inherit;
}

.prose img {
  width: 100%;
  margin: 2rem 0;
  border: 1px solid var(--line);
}

.prose code {
  font-size: 0.875em;
  background: var(--paper-2);
  padding: 0.15em 0.4em;
  font-family: 'Courier New', monospace;
}

.prose pre {
  background: var(--dark3);
  color: var(--text-light);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

/* ── Divider ────────────────────────────────────────────────── */
.dvs-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  background: var(--accent-pale);
  color: #ff9b40;
  border-radius: 1px;
}

.badge-dark {
  background: var(--dark3);
  color: var(--text-light);
}

/* ── Section header ─────────────────────────────────────────── */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header-center {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ── Grid helpers ───────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1023px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .diff-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .diff-item:last-child {
    border-bottom: none;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .stat-item:last-child {
    border-bottom: none;
  }
}

/* ── Reveal animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── Popup overlay ──────────────────────────────────────────── */
.dvs-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.6);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.dvs-popup {
  background: var(--paper);
  max-width: 560px;
  width: 100%;
  position: relative;
  padding: 2.5rem;
  max-height: 90vh;
  overflow-y: auto;
}

.dvs-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--ink-3);
  cursor: pointer;
  padding: 0.375rem;
  transition: color var(--transition);
}

.dvs-popup-close:hover {
  color: var(--ink);
}

/* ── WhatsApp float ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ── GDPR banner ────────────────────────────────────────────── */
.gdpr-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark4);
  color: var(--text-light);
  z-index: 5000;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 121, 0, 0.25);
}

.gdpr-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.gdpr-banner-text {
  font-size: 0.875rem;
  color: var(--text-light);
}

.gdpr-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── Pagination ─────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 0.875rem;
  color: var(--ink-3);
  border: 1px solid var(--line);
  transition: all var(--transition);
}

.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination span.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark4);
  color: var(--text-muted);
  padding: 4rem 0 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  max-width: 240px;
  display: block;
  object-fit: contain;
}

.footer-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  flex-shrink: 0;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 2rem;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(139, 147, 168, 0.6);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(139, 147, 168, 0.6);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--text-light);
}

@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 639px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Utility ────────────────────────────────────────────────── */
.text-accent {
  color: var(--accent);
}

.text-ink {
  color: var(--ink);
}

.text-ink-2 {
  color: var(--ink-2);
}

.text-ink-3 {
  color: var(--ink-3);
}

.bg-paper-2 {
  background: var(--paper-2);
}

.bg-accent {
  background: var(--accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .section {
    padding: 3.5rem 0;
  }

  .section-lg {
    padding: 5rem 0;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }
}

/* ── Responsive layout grids ────────────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.services-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--line);
}

.why-dvs-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.stats-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 767px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-grid .stats-strip {
    margin-top: 0;
  }

  .services-grid-3 {
    grid-template-columns: 1fr;
  }

  .why-dvs-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid-3 {
    grid-template-columns: 1fr;
  }
}