/* ================================================
   Hola Digital — Brand Design System v2.0
   ================================================ */

/* === Font Awesome font-display: swap override ====
   Overrides the font-face declarations in bundle.min.css
   to prevent invisible text during font load          */
@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/vendor/fonts/fa-solid-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/vendor/fonts/fa-regular-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 5 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/vendor/fonts/fa-brands-400.woff2') format('woff2');
}

/* === CSS Variables =============================== */
:root {
  --indigo:       #F0B429;
  --indigo-dark:  #D4930E;
  --indigo-light: #F7C94A;
  --indigo-pale:  #FFFBEB;
  --indigo-100:   #FEF3C7;

  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --white:     #FFFFFF;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --section-py:    96px;
  --section-py-sm: 56px;

  --radius-sm:  8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --border: 1px solid var(--slate-200);

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12), 0 20px 60px rgba(0,0,0,0.08);

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base Reset ================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font) !important;
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font) !important;
  color: var(--slate-900);
  line-height: 1.15;
  font-weight: 700;
  text-transform: none !important;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
}

p { color: var(--slate-600); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--indigo); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--indigo-dark); }

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

/* === Web component space reservation (prevents CLS) = */
main-header {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

body {
  padding-top: 70px;
}
main-footer {
  display: block;
  contain: layout;
}

/* === Typewriter word width stabilisation (prevents CLS) */
.hero-rotate-word {
  display: inline-block;
  min-width: 220px;
}

/* === Skip navigation ================================ */
.skip-nav {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 10000;
  background: var(--slate-900);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
  white-space: nowrap;
}
.skip-nav:focus { top: 20px; color: #fff !important; }

/* === Focus visible styles ========================== */
/* Suppress all default outlines/shadows; restore only on keyboard navigation */
:focus                       { outline: none; }
:focus-visible               { outline: 2px solid #000; outline-offset: 3px; border-radius: 2px; }

/* Kill Bootstrap's blue box-shadow ring that fires on click too */
.btn:focus,
.btn.focus                   { box-shadow: none !important; }
.btn:focus-visible,
.btn.focus:focus-visible     { outline: 2px solid #000 !important; outline-offset: 3px; }

section { padding: var(--section-py) 0; position: relative; overflow: visible; }

/* Remove old template separators */
.separator__svg { display: none !important; }
.loader { display: none !important; }

/* === Utility Classes ============================ */
.text-indigo { color: var(--indigo) !important; }
.bg-slate-900 { background: var(--slate-900) !important; }
.bg-slate-50 { background: var(--slate-50) !important; }
.bg-indigo-pale { background: var(--indigo-pale) !important; }
.section-compact { padding: var(--section-py-sm) 0; }
.no-overflow { overflow: hidden; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
  display: block;
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-subheading {
  font-size: 17px;
  color: var(--slate-500);
  max-width: 540px;
  line-height: 1.7;
}

.divider-line {
  height: 3px;
  width: 40px;
  background: var(--indigo);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* === Navigation ================================= */
.hd-navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border);
  transition: box-shadow var(--transition);
}

.hd-navbar.scrolled {
  box-shadow: 0 2px 20px rgba(15,23,42,0.08);
}

.hd-navbar .navbar {
  padding: 0;
  min-height: 70px;
}

.hd-navbar .navbar-brand {
  padding: 10px 0;
  background: none !important;
}

.hd-navbar .navbar-brand img {
  height: 52px;
  width: auto;
}

.hd-navbar .navbar-nav {
  gap: 4px;
}

.hd-navbar .navbar-nav .nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600) !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0;
  text-transform: none !important;
}

.hd-navbar .navbar-nav .nav-link:hover,
.hd-navbar .navbar-nav .nav-link.active {
  color: var(--slate-900) !important;
  background: var(--slate-100);
}

.hd-navbar .navbar-toggler {
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--slate-700);
}

.hd-navbar .navbar-toggler:focus { box-shadow: none; }
.hd-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(71,85,105,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hd-navbar .navbar-nav .nav-cta {
  background: var(--indigo);
  color: var(--slate-900) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-left: 8px;
}

.hd-navbar .navbar-nav .nav-cta:hover {
  background: var(--indigo-dark) !important;
  color: var(--slate-900) !important;
}

/* Mobile nav */
.hd-navbar .navbar-collapse {
  border-top: var(--border);
  padding: 12px 0 16px;
}

@media (max-width: 991px) {
  .hd-navbar .navbar-nav {
    gap: 0;
  }
  .hd-navbar .navbar-nav .nav-link {
    padding: 12px 16px !important;
    font-size: 15px;
  }
  .hd-navbar .navbar-nav .nav-cta {
    display: block;
    text-align: center;
    margin: 12px 0 0 0;
    padding: 14px 20px !important;
  }
}

@media (min-width: 992px) {
  .hd-navbar .navbar-collapse {
    border-top: none;
    padding: 0;
  }
}

/* === Buttons ==================================== */
.btn-hd-primary {
  background: var(--indigo);
  color: var(--slate-900) !important;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-hd-primary:hover {
  background: var(--indigo-dark);
  color: var(--slate-900) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(240,180,41,0.4);
  text-decoration: none;
}

.btn-hd-secondary {
  background: transparent;
  color: var(--slate-800) !important;
  border: 1.5px solid var(--slate-300);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-hd-secondary:hover {
  border-color: var(--slate-500);
  color: var(--slate-900) !important;
  background: var(--slate-50);
  text-decoration: none;
}

.btn-hd-ghost {
  background: transparent;
  color: var(--indigo) !important;
  border: none;
  padding: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-hd-ghost:hover {
  color: var(--indigo-dark) !important;
  gap: 10px;
  text-decoration: none;
}

.btn-hd-white {
  background: var(--slate-900);
  color: var(--white) !important;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hd-white:hover {
  background: var(--slate-800);
  color: var(--white) !important;
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-group-hd {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* === Hero Section (Home) ======================== */
.hd-hero {
  padding: 80px 0 80px;
  background: #F0B429;
  min-height: calc(90vh - 70px);
  display: flex;
  align-items: center;
}

.hd-hero-headline {
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hd-hero-headline .highlight {
  color: var(--slate-900);
}

.hd-hero-sub {
  font-size: 18px;
  color: rgba(15,23,42,0.68);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 36px;
}

.hd-hero .section-label {
  color: rgba(15,23,42,0.55);
}

.hd-hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(15,23,42,0.15);
  flex-wrap: wrap;
}

.hd-hero-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  display: block;
}

.hd-hero-stat-label {
  font-size: 13px;
  color: rgba(15,23,42,0.6);
  display: block;
}

/* === Hero entrance animations =================== */
@keyframes hdFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hdFadeRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hd-anim {
  opacity: 0;
  animation: hdFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hd-anim-right {
  opacity: 0;
  animation: hdFadeRight 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* === Rotating typewriter word =================== */
.hero-rotate-word {
  display: inline-block;
  min-width: 2px;
  color: var(--slate-900);
}
.hero-rotate-word::after {
  content: '|';
  margin-left: 2px;
  font-weight: 300;
  animation: hdCursorBlink 0.75s step-end infinite;
}
@keyframes hdCursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* === Hero trust strip =========================== */
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 18px;
}
.hero-trust-strip span {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(15,23,42,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-trust-strip .fas {
  font-size: 10px;
  color: var(--slate-900);
  background: rgba(15,23,42,0.12);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Buttons on yellow hero */
.hd-hero .btn-hd-primary {
  background: var(--slate-900);
  color: #fff !important;
}
.hd-hero .btn-hd-primary:hover {
  background: #1e293b;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(15,23,42,0.3);
  transform: translateY(-1px);
}
.hd-hero .btn-hd-secondary {
  border-color: rgba(15,23,42,0.3);
  color: var(--slate-900) !important;
  background: transparent;
}
.hd-hero .btn-hd-secondary:hover {
  background: var(--slate-900);
  border-color: var(--slate-900);
  color: #fff !important;
  transform: translateY(-1px);
}

/* === Browser Mockup ============================= */
.browser-mockup {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--slate-900);
  border: 1px solid var(--slate-800);
}

.browser-chrome {
  background: var(--slate-800);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.browser-dot-red   { background: #FF5F57; }
.browser-dot-amber { background: #FEBC2E; }
.browser-dot-green { background: #28C840; }

.browser-url-bar {
  flex: 1;
  background: var(--slate-700);
  border-radius: 5px;
  height: 22px;
  margin-left: 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11px;
  color: var(--slate-400);
  font-family: var(--font);
  overflow: hidden;
  white-space: nowrap;
}

.browser-screen {
  width: 100%;
  display: block;
}

.browser-screen.browser-wireframe {
  overflow: hidden;
}

/* === Trust Bar ================================== */
.hd-trust-bar {
  padding: 28px 0;
  background: var(--slate-50);
  border-top: var(--border);
  border-bottom: var(--border);
}

.trust-bar-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-400);
  white-space: nowrap;
}

.trust-bar-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-bar-logos img {
  height: 44px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: var(--transition);
}

.trust-bar-logos img:hover {
  opacity: 0.7;
}

/* === Services Section =========================== */
.hd-services { background: var(--white); }

.service-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  border-color: var(--indigo-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--indigo-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--indigo);
  font-size: 20px;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card .service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-card .service-link:hover { gap: 8px; }

/* === How It Works =============================== */
.hd-how { background: var(--slate-900); }

.hd-how .section-label { color: rgba(255,255,255,0.5); }
.hd-how .section-heading { color: var(--white); }
.hd-how .section-subheading { color: rgba(255,255,255,0.5); }

.process-step {
  position: relative;
  padding-left: 68px;
  margin-bottom: 40px;
}

.process-step:last-child { margin-bottom: 0; }

.process-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  background: rgba(79,70,229,0.2);
  border: 1px solid rgba(79,70,229,0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--indigo-light);
  letter-spacing: -0.03em;
  font-family: var(--font);
}

.process-step h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.process-step p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* === Portfolio Cards ============================ */
.hd-portfolio { background: var(--white); }

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border);
  transition: var(--transition);
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--slate-300);
}

.portfolio-thumb {
  position: relative;
  overflow: hidden;
  background: var(--slate-100);
  aspect-ratio: 16/10;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.03);
}

.portfolio-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.portfolio-coming-soon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15,23,42,0.85);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.portfolio-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--indigo-pale);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.portfolio-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.portfolio-body p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.portfolio-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

.portfolio-link:hover { gap: 9px; color: var(--indigo-dark); }

/* === About Strip ================================ */
.hd-about-strip {
  background: var(--slate-50);
  border-top: var(--border);
  border-bottom: var(--border);
}

.about-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3/4;
  max-width: 380px;
}

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

.about-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--indigo-pale);
  border: 1px solid var(--indigo-100);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 24px;
}

/* === Testimonials =============================== */
.hd-testimonials { background: var(--slate-900); }

.hd-testimonials .section-label { color: rgba(255,255,255,0.4); }
.hd-testimonials .section-heading { color: var(--white); }

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-quote-icon {
  color: var(--indigo-light);
  font-size: 24px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.testimonial-author-info h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.testimonial-author-info span {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.testimonial-stars {
  color: #FBBF24;
  font-size: 13px;
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
}

/* === Blog Preview =============================== */
.hd-blog { background: var(--white); }

.blog-card {
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  border-color: var(--slate-300);
}

.blog-thumb {
  aspect-ratio: 16/5;
  overflow: hidden;
  background: var(--slate-100);
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-thumb img { transform: scale(1.04); }

.blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  font-size: 12px;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.blog-body p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.blog-read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

.blog-read-more:hover { gap: 9px; color: var(--indigo-dark); }

/* === CTA Banner ================================= */
.hd-cta-banner {
  background: var(--indigo);
  padding: 80px 0;
}

.hd-cta-banner h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hd-cta-banner p {
  font-size: 17px;
  color: rgba(15,23,42,0.65);
  margin-bottom: 32px;
}

/* === Page Hero (Inner Pages) ==================== */
.page-hero {
  background: var(--white);
  padding: 72px 0 64px;
  border-bottom: var(--border);
}

.page-hero .breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--slate-400);
}

.page-hero .breadcrumb a { color: var(--slate-500); }
.page-hero .breadcrumb-item.active { color: var(--slate-400); }
.page-hero .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--slate-300);
}

.page-hero-heading {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.page-hero-sub {
  font-size: 18px;
  color: var(--slate-500);
  max-width: 520px;
  line-height: 1.65;
}

/* === Stats Bar ================================== */
.hd-stats-bar {
  padding: 40px 0;
  background: var(--slate-50);
  border-bottom: var(--border);
}

.stat-item {
  text-align: center;
  padding: 0 20px;
}

.stat-item + .stat-item {
  border-left: var(--border);
}

.stat-num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.04em;
  display: block;
}

.stat-label {
  font-size: 14px;
  color: var(--slate-500);
  display: block;
}

/* === About Page ================================= */
.about-profile-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-profile-img img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.value-card {
  background: var(--slate-50);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  height: 100%;
}

.value-card .value-icon {
  width: 40px;
  height: 40px;
  background: var(--indigo-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  font-size: 18px;
  margin-bottom: 14px;
}

.value-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 6px;
}

.value-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.tech-stack img {
  height: 44px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: var(--transition);
}

.tech-stack img:hover {
  opacity: 0.9;
  filter: grayscale(0%);
}

/* === Testimonial Carousel ======================= */
.hd-testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.hd-testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 auto;
  min-width: 0;
}

.testimonial-slide .testimonial-card {
  height: 100%;
}

.hd-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.hd-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 13px;
  flex-shrink: 0;
}

.hd-carousel-btn:hover:not(:disabled) {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--slate-900);
}

.hd-carousel-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.hd-carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--indigo);
  width: 24px;
  border-radius: 4px;
}

/* Dark-background variant (for carousels on light backgrounds) */
.hd-carousel-btn--dark {
  border-color: var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
}

.hd-carousel-btn--dark:hover:not(:disabled) {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--slate-900);
}

.hd-carousel-dots--dark .carousel-dot {
  background: var(--slate-300);
}

.hd-carousel-dots--dark .carousel-dot.active {
  background: var(--indigo);
}

/* Blog slide */
.blog-slide {
  flex: 0 0 auto;
  min-width: 0;
}

.blog-slide .blog-card {
  height: 100%;
}

/* === Contact Page =============================== */
.hd-contact { background: var(--white); }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: var(--border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--indigo-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.contact-info-item p, .contact-info-item a {
  font-size: 15px;
  color: var(--slate-800);
  font-weight: 500;
}

/* Contact Form */
.hd-form .form-group { margin-bottom: 20px; }

.hd-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
  display: block;
}

.hd-form .form-control {
  border: var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--slate-800);
  background: var(--white);
  box-shadow: none !important;
  transition: var(--transition);
}

.hd-form .form-control:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(240,180,41,0.15) !important;
}
.hd-form .form-control:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.hd-form select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  height: 52px;
  line-height: 1.5;
}

.hd-form textarea.form-control { resize: vertical; min-height: 160px; }

/* === Footer ===================================== */
.hd-footer {
  background: var(--slate-900);
  padding: 64px 0 0;
}

.footer-logo { height: 36px; width: auto; margin-bottom: 16px; }

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 240px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--indigo);
  color: var(--white);
}

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
  display: block;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* === Cookie Banner ============================== */
#cookiebarBox {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--slate-900);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
}

#cookiebarBox .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

#cookiebarBox p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin: 0;
  flex: 1;
  min-width: 200px;
}

#cookiebarBox a { color: rgba(255,255,255,0.8); }

a.cookieok {
  background: var(--indigo);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
  display: inline-block;
}

a.cookieok:hover { background: var(--indigo-dark); }

/* === Legal Pages ================================ */
.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 40px;
  border-top: var(--border);
}

.legal-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-800);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p { font-size: 15px; color: var(--slate-600); line-height: 1.75; }

.legal-content ul, .legal-content ol {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.75;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li { margin-bottom: 6px; }

.legal-content a { color: var(--indigo); }

.legal-last-updated {
  font-size: 13px;
  color: var(--slate-400);
  margin-bottom: 40px;
  padding: 12px 16px;
  background: var(--slate-50);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--indigo);
}

/* === Error Pages ================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.error-code {
  font-size: clamp(80px, 15vw, 140px);
  font-weight: 800;
  color: var(--slate-200);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.error-page h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 12px;
}

.error-page p { color: var(--slate-500); max-width: 400px; margin: 0 auto 32px; }

/* === Portfolio Filter Tabs ====================== */
.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: var(--border);
  background: var(--white);
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}

/* === Form Alert States ========================== */
.alert-success {
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #065F46;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 16px;
}

.alert-danger {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 16px;
}

/* === Responsive ================================= */
@media (max-width: 991px) {
  :root {
    --section-py: 64px;
    --section-py-sm: 44px;
  }

  .hd-hero { min-height: auto; padding: 60px 0; }
  .hd-hero-sub { max-width: 100%; }

  .browser-mockup { margin-top: 40px; }

  .hd-stats-bar .stat-item + .stat-item { border-left: none; }
  .hd-stats-bar .row { gap: 16px 0; }

  .about-photo { max-width: 100%; margin: 0 auto 40px; }
}

@media (max-width: 767px) {
  :root {
    --section-py: 52px;
    --section-py-sm: 36px;
  }

  .hd-hero-headline { letter-spacing: -0.03em; }

  .hd-hero-stats { gap: 24px; }
  .hd-hero-stat-num { font-size: 22px; }

  .btn-group-hd { flex-direction: column; align-items: flex-start; }
.btn-hd-primary, .btn-hd-secondary, .btn-hd-white { width: 100%; justify-content: center; }


  .trust-bar-logos { gap: 20px; }

  .hd-cta-banner { text-align: center; }
  .hd-cta-banner .btn-group-hd { justify-content: center; }

  .testimonial-card { padding: 24px; }

  .hd-footer { padding: 48px 0 0; }

  .portfolio-filters { gap: 6px; }
  .filter-btn { padding: 7px 14px; font-size: 12px; }

  .section-heading { letter-spacing: -0.02em; }
}

@media (max-width: 480px) {
  .trust-bar-label { display: none; }
  .trust-bar-logos { justify-content: center; }
}

/* ===== CASE STUDY ===== */

/* Hero meta strip */
.cs-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
  border: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}

.cs-meta-item {
  flex: 1 1 160px;
  padding: 18px 24px;
  border-right: var(--border);
}

.cs-meta-item:last-child { border-right: none; }

.cs-meta-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 4px;
}

.cs-meta-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-900);
}

a.cs-meta-link {
  color: var(--indigo-dark);
  text-decoration: none;
}

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

/* Featured image */
.cs-featured-image {
  width: 100%;
  max-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Project details sidebar */
.cs-details-card {
  background: var(--slate-50);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.cs-details-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: var(--border);
}

.cs-details-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.cs-details-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-900);
}

.cs-details-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--indigo-dark);
  text-decoration: none;
}

.cs-details-link:hover { text-decoration: underline; }

.cs-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--white);
  border: var(--border);
  border-radius: 100px;
  color: var(--slate-600);
  margin: 3px 3px 3px 0;
}

/* Challenge cards */
.cs-challenge-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  height: 100%;
}

.cs-challenge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--indigo-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo-dark);
  font-size: 16px;
  margin-bottom: 14px;
}

.cs-challenge-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.cs-challenge-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
  margin: 0;
}

/* Solution cards */
.cs-solution-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.cs-solution-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.cs-solution-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.cs-solution-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.65;
  margin: 0;
}

/* Tech stack grid */
.cs-tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cs-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

.cs-tech-pill i { color: var(--indigo); }

/* Results cards */
.cs-result-card {
  padding: 32px 24px;
  border: var(--border);
  border-radius: var(--radius-lg);
  height: 100%;
  background: var(--white);
}

.cs-result-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--indigo-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo-dark);
  font-size: 20px;
  margin: 0 auto 16px;
}

.cs-result-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.cs-result-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.65;
  margin: 0;
}

/* Next project thumb */
.cs-next-thumb {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border);
  transition: box-shadow var(--transition);
}

.cs-next-thumb:hover { box-shadow: var(--shadow-lg); }

.cs-next-thumb img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.cs-next-thumb:hover img { transform: scale(1.02); }

/* Responsive case study */
@media (max-width: 768px) {
  .cs-meta-strip { flex-direction: column; }
  .cs-meta-item { border-right: none; border-bottom: var(--border); }
  .cs-meta-item:last-child { border-bottom: none; }
  .cs-featured-image { max-height: 260px; }
  .cs-details-card { padding: 24px; }
}

/* ===== BLOG ARTICLE ===== */

.blog-article-wrap {
  padding: 25px 0 64px;
}

.blog-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: var(--border);
  margin-bottom: 40px;
}

.blog-byline-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.blog-byline-meta { display: flex; flex-direction: column; gap: 2px; }
.blog-byline-name { font-size: 14px; font-weight: 700; color: var(--slate-900); }
.blog-byline-detail { font-size: 13px; color: var(--slate-400); }

.blog-article-wrap h2 {
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--slate-900);
  margin: 44px 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.blog-article-wrap p {
  font-size: 16px;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 22px;
}

.blog-article-wrap strong { color: var(--slate-800); font-weight: 600; }

.blog-callout {
  background: var(--indigo-pale);
  border-left: 3px solid var(--indigo);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 24px;
  margin: 36px 0;
}

.blog-callout p {
  margin: 0;
  color: var(--slate-700);
  font-size: 15px;
  line-height: 1.65;
}

.blog-inline-cta {
  background: var(--slate-900);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin: 48px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-inline-cta h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}

.blog-inline-cta p {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

.blog-inline-cta .btn-hd-white {
  background: var(--white);
  color: var(--slate-900) !important;
  border: none;
  width: fit-content;
}

.blog-inline-cta .btn-hd-white:hover {
  background: var(--slate-100);
  color: var(--slate-900) !important;
  transform: translateY(-1px);
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: var(--border);
}

.blog-tag-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border: var(--border);
  border-radius: 100px;
  color: var(--slate-500);
  background: var(--slate-50);
}

.blog-related {
  background: var(--slate-50);
  border-top: var(--border);
  padding: var(--section-py-sm) 0;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.blog-related-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  display: block;
  transition: box-shadow var(--transition), transform var(--transition);
}

.blog-related-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

.blog-related-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo-dark);
  margin-bottom: 8px;
  display: block;
}

.blog-related-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 768px) {
  .blog-article-wrap { padding: 32px 0 48px; }
  .blog-inline-cta { padding: 28px 24px; }
  .blog-related-grid { grid-template-columns: 1fr; }
}

/* ===== FAQ ACCORDION ===== */
.hd-faq {}

.faq-item {
  border-bottom: var(--border);
}

.faq-item:first-of-type {
  border-top: var(--border);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-900);
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

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

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: var(--slate-500);
  transition: var(--transition);
}

.faq-item[open] .faq-icon {
  background: var(--indigo);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-item[open] summary {
  color: var(--indigo);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}

.faq-body {
  padding: 18px 0 24px;
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.7;
  max-width: 680px;
}
