/* ============================================================
   DESIGN SYSTEM — shadcn/ui default theme (oklch → hex)
   primary  = oklch(0.205 0 0) ≈ #252525  (near-black)
   bg       = oklch(1 0 0)     = #ffffff
   muted    = oklch(0.97 0 0)  ≈ #f5f5f5
   border   = oklch(0.922 0 0) ≈ #e8e8e8
   fg-muted = oklch(0.556 0 0) ≈ #737373
   ============================================================ */

:root {
  --background:        #ffffff;
  --foreground:        #1a1a1a;
  --card:              #ffffff;
  --primary:           #252525;
  --primary-fg:        #fafafa;
  --muted:             #f5f5f5;
  --muted-fg:          #737373;
  --accent:            #f5f5f5;
  --border:            #e8e8e8;
  --ring:              #b0b0b0;
  --radius:            0.5rem;
  --shadow-xs:         0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow-md:         0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-lg:         0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --blue-600:          #2563eb;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}
img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; padding: 0; }

/* ── Container (mirrors Tailwind container + px-4 sm:px-6 lg:px-8) ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 2rem;
}
@media (max-width: 1023px) { .container { padding-inline: 1.5rem; } }
@media (max-width: 639px)  { .container { padding-inline: 1rem; } }

/* ── Buttons (shadcn/ui) ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
  outline: none;
  border: 1px solid transparent;
}
/* default size: h-9 px-4 py-2 */
.btn         { height: 2.25rem; padding: 0.5rem 1rem; }
/* lg size: h-10 px-6 */
.btn-lg      { height: 2.5rem;  padding: 0 1.5rem;   font-size: 0.875rem; }

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: var(--shadow-xs);
}
.btn-primary:hover { opacity: 0.9; }

.btn-outline {
  background: var(--background);
  color: var(--foreground);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover { background: var(--accent); }

.btn-full  { width: 100%; }

/* ── Header ──────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / .95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;          /* h-16 */
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo-img {
  height: 2.5rem;   /* ~40px — fits nicely in h-16 header */
  width: auto;
  display: block;
}

/* Nav: hidden md:flex space-x-8 */
.header-nav {
  display: flex;
  gap: 2rem;             /* space-x-8 */
}
.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--primary); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu: md:hidden border-t */
.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu-inner {
  padding: 0.5rem 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu a.mobile-link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background 0.15s;
}
.mobile-menu a.mobile-link:hover { background: var(--accent); }
.mobile-menu .mobile-btn-wrap { padding: 0.5rem 0.75rem; }

@media (max-width: 767px) {
  .header-nav, .header-cta { display: none; }
  .burger { display: flex; }
}

/* ── Hero ─────────────────────────────────────────────────── */
/* py-20 md:py-32 bg-gradient-to-b from-background to-accent/20 */
.hero {
  padding-block: 5rem;
  background: linear-gradient(to bottom, var(--background), rgb(245 245 245 / .2));
}
@media (min-width: 768px) { .hero { padding-block: 8rem; } }

.hero--image {
  position: relative;
  min-height: min(760px, calc(100vh - 4rem));
  display: flex;
  align-items: center;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgb(0 0 0 / .74), rgb(0 0 0 / .42) 46%, rgb(0 0 0 / .18)),
    var(--hero-bg) center / cover no-repeat;
}

.hero--image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0), rgb(255 255 255 / .78) 72%, #ffffff);
}

.hero--image .container {
  position: relative;
  z-index: 2;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  left: var(--particle-x);
  top: var(--particle-y);
  width: var(--particle-size);
  height: var(--particle-size);
  border-radius: 999px;
  background: rgb(255 255 255 / .72);
  box-shadow: 0 0 18px rgb(255 255 255 / .34);
  opacity: var(--particle-opacity);
  transform: translate3d(0, 0, 0);
  animation: heroParticleFloat var(--particle-speed) ease-in-out infinite alternate;
  animation-delay: var(--particle-delay);
}

.hero-particle--1 { --particle-x: 10%; --particle-y: 24%; --particle-size: 3px; --particle-opacity: .44; --particle-speed: 7s; --particle-delay: -1s; }
.hero-particle--2 { --particle-x: 18%; --particle-y: 68%; --particle-size: 4px; --particle-opacity: .34; --particle-speed: 9s; --particle-delay: -5s; }
.hero-particle--3 { --particle-x: 24%; --particle-y: 39%; --particle-size: 2px; --particle-opacity: .52; --particle-speed: 6s; --particle-delay: -2s; }
.hero-particle--4 { --particle-x: 34%; --particle-y: 18%; --particle-size: 5px; --particle-opacity: .24; --particle-speed: 11s; --particle-delay: -7s; }
.hero-particle--5 { --particle-x: 41%; --particle-y: 73%; --particle-size: 3px; --particle-opacity: .42; --particle-speed: 8s; --particle-delay: -3s; }
.hero-particle--6 { --particle-x: 47%; --particle-y: 31%; --particle-size: 2px; --particle-opacity: .5; --particle-speed: 10s; --particle-delay: -6s; }
.hero-particle--7 { --particle-x: 55%; --particle-y: 58%; --particle-size: 4px; --particle-opacity: .28; --particle-speed: 8s; --particle-delay: -4s; }
.hero-particle--8 { --particle-x: 62%; --particle-y: 22%; --particle-size: 3px; --particle-opacity: .38; --particle-speed: 12s; --particle-delay: -8s; }
.hero-particle--9 { --particle-x: 68%; --particle-y: 70%; --particle-size: 2px; --particle-opacity: .56; --particle-speed: 7s; --particle-delay: -2s; }
.hero-particle--10 { --particle-x: 74%; --particle-y: 42%; --particle-size: 5px; --particle-opacity: .24; --particle-speed: 10s; --particle-delay: -5s; }
.hero-particle--11 { --particle-x: 82%; --particle-y: 26%; --particle-size: 3px; --particle-opacity: .36; --particle-speed: 9s; --particle-delay: -3s; }
.hero-particle--12 { --particle-x: 89%; --particle-y: 62%; --particle-size: 2px; --particle-opacity: .48; --particle-speed: 6s; --particle-delay: -1s; }
.hero-particle--13 { --particle-x: 15%; --particle-y: 48%; --particle-size: 2px; --particle-opacity: .46; --particle-speed: 8s; --particle-delay: -6s; }
.hero-particle--14 { --particle-x: 30%; --particle-y: 82%; --particle-size: 3px; --particle-opacity: .28; --particle-speed: 12s; --particle-delay: -9s; }
.hero-particle--15 { --particle-x: 51%; --particle-y: 14%; --particle-size: 2px; --particle-opacity: .44; --particle-speed: 7s; --particle-delay: -4s; }
.hero-particle--16 { --particle-x: 59%; --particle-y: 80%; --particle-size: 4px; --particle-opacity: .22; --particle-speed: 11s; --particle-delay: -7s; }
.hero-particle--17 { --particle-x: 78%; --particle-y: 15%; --particle-size: 2px; --particle-opacity: .5; --particle-speed: 8s; --particle-delay: -2s; }
.hero-particle--18 { --particle-x: 93%; --particle-y: 38%; --particle-size: 3px; --particle-opacity: .32; --particle-speed: 10s; --particle-delay: -6s; }

@keyframes heroParticleFloat {
  from {
    transform: translate3d(-10px, 12px, 0) scale(.92);
  }
  to {
    transform: translate3d(14px, -18px, 0) scale(1.18);
  }
}

.hero-inner {
  max-width: 56rem;      /* max-w-4xl */
  margin-inline: auto;
  text-align: center;
}

.hero--image .hero-inner {
  margin-inline: auto;
  max-width: 56rem;
  text-align: center;
}

/* Badge: inline-flex rounded-full border px-3 py-1 text-xs font-semibold uppercase tracking-wider mb-6 text-muted-foreground bg-muted */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;         /* mr-1.5 */
  border-radius: 9999px;
  border: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-fg);
  background: var(--muted);
  margin-bottom: 1.5rem; /* mb-6 */
}
.badge svg { color: var(--primary); }

.hero--image .badge {
  color: rgb(255 255 255 / .86);
  background: rgb(255 255 255 / .12);
  border-color: rgb(255 255 255 / .24);
  backdrop-filter: blur(10px);
}

/* h1: text-4xl sm:text-5xl md:text-6xl font-extrabold leading-tight tracking-tighter mb-6 */
.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px)  { .hero-title { font-size: 3rem; } }
@media (min-width: 768px)  { .hero-title { font-size: 3.75rem; } }

.hero-title .text-primary { color: var(--primary); }

.hero--image .hero-title,
.hero--image .hero-title .text-primary {
  color: #ffffff;
}

/* p: text-lg sm:text-xl text-muted-foreground max-w-3xl mx-auto mb-10 */
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-fg);
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .hero-subtitle { font-size: 1.25rem; } }

.hero--image .hero-subtitle,
.hero--image .hero-note {
  color: rgb(255 255 255 / .82);
}

.hero--image .btn-outline {
  background: rgb(255 255 255 / .12);
  color: #ffffff;
  border-color: rgb(255 255 255 / .35);
  box-shadow: none;
}

.hero--image .btn-outline:hover {
  background: rgb(255 255 255 / .2);
}

@media (max-width: 767px) {
  .hero--image {
    min-height: 680px;
    background:
      linear-gradient(to bottom, rgb(0 0 0 / .72), rgb(0 0 0 / .5)),
      var(--hero-bg) center / cover no-repeat;
  }

  .hero--image .hero-inner {
    text-align: center;
    margin-inline: auto;
  }
}

/* flex justify-center gap-4 flex-wrap */
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* mt-8 text-xs text-muted-foreground */
.hero-note {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--muted-fg);
}

/* ── Section shared ───────────────────────────────────────── */
/* py-20 */
.section { padding-block: 5rem; }
.section-alt { background: rgb(245 245 245 / .2); } /* bg-accent/20 */

/* Section header: text-center max-w-3xl mx-auto mb-16 / mb-12 */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}
.section-header.mb-16 { margin-bottom: 4rem; }
.section-header.mb-12 { margin-bottom: 3rem; }

/* h2: text-3xl sm:text-4xl font-bold mb-4 */
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }

/* p: text-lg text-muted-foreground */
.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-fg);
}

/* ── Features ─────────────────────────────────────────────── */
/* grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

/* bg-card border rounded-lg p-6 hover:shadow-lg transition-shadow */
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s;
  /* fade-in */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.2s;
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover { box-shadow: var(--shadow-lg); }

/* inline-flex items-center justify-center w-12 h-12 rounded-lg bg-primary/10 text-primary mb-4 */
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgb(37 37 37 / .1), rgb(37 37 37 / .04));
  color: var(--primary);
  margin-bottom: 1rem;
  border: 1px solid rgb(37 37 37 / .08);
}

.feature-icon__svg {
  display: block;
}

/* text-xl font-semibold mb-2 */
.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* text-muted-foreground */
.feature-text { color: var(--muted-fg); }

/* Gallery scroll */
.gallery-scroll {
  overflow: clip;
  background:
    radial-gradient(circle at 10% 0%, rgb(37 37 37 / .08), transparent 28rem),
    linear-gradient(to bottom, rgb(245 245 245 / .45), #ffffff 68%);
}

.gallery-scroll__intro {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-scroll__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
  background: #fff;
  color: var(--muted-fg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-scroll__stage {
  min-height: 118vh;
  perspective: 1000px;
  perspective-origin: center top;
  transform-style: preserve-3d;
}

.gallery-scroll__sticky {
  position: sticky;
  top: 4rem;
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  perspective: 1000px;
  perspective-origin: center top;
  transform-style: preserve-3d;
}

.gallery-scroll__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  transform-origin: center center;
  transform-style: preserve-3d;
  will-change: transform, filter, opacity;
  transform: rotateX(var(--gallery-rotate, 64deg)) scale(var(--gallery-scale, 1.14));
  filter: blur(var(--gallery-blur, 7px));
  opacity: var(--gallery-opacity, .4);
  transition: filter .12s linear, opacity .12s linear;
}

.gallery-scroll__col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(var(--gallery-col-y, 0%));
  will-change: transform;
}

.gallery-scroll__col:nth-child(1) { --gallery-col-y: var(--gallery-col-1, 2%); }
.gallery-scroll__col:nth-child(2) { --gallery-col-y: var(--gallery-col-2, -4%); }
.gallery-scroll__col:nth-child(3) { --gallery-col-y: var(--gallery-col-3, 4%); }

.gallery-scroll__card {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .72);
  border-radius: 1rem;
  background: #111;
  box-shadow: 0 24px 70px rgb(0 0 0 / .16);
}

.gallery-scroll__card:nth-child(even) {
  min-height: 19rem;
}

.gallery-scroll__card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.02);
}

@media (max-width: 899px) {
  .gallery-scroll__stage {
    min-height: auto;
  }

  .gallery-scroll__sticky {
    position: relative;
    top: auto;
    min-height: auto;
    overflow: visible;
  }

  .gallery-scroll__grid {
    grid-template-columns: 1fr 1fr;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .gallery-scroll__col {
    transform: none !important;
  }

  .gallery-scroll__col:nth-child(3) {
    display: none;
  }

  .gallery-scroll__card {
    min-height: 18rem;
  }
}

@media (max-width: 599px) {
  .gallery-scroll__grid {
    grid-template-columns: 1fr;
  }

  .gallery-scroll__col:nth-child(2) {
    display: none;
  }
}

/* ── Testimonials carousel ────────────────────────────────── */
.carousel-outer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.carousel-track-wrap { overflow: hidden; }

/* flex gap-6, width: max-content */
.carousel-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}
.carousel-track.left  { animation: scrollLeft  25s linear infinite; }
.carousel-track.right { animation: scrollRight 30s linear infinite; }

@keyframes scrollLeft  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); }   }

.carousel-track-wrap:hover .carousel-track { animation-play-state: paused; }

/* bg-white border-2 shadow-md rounded-3xl p-4 flex-shrink-0 w-[320px] my-3 */
.tcard {
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  padding: 1rem;
  flex-shrink: 0;
  width: 320px;
  height: 200px;
  margin-block: 0.75rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s;
}
.tcard:hover { transform: scale(1.05) rotate(1deg); }

/* text-sm leading-relaxed text-justify */
.tcard-text {
  font-size: 0.875rem;
  line-height: 1.625;
  text-align: justify;
  overflow: hidden;
  word-break: break-word;
  flex: 1;
}
/* text-blue-600 font-semibold */
.tcard-text strong { color: var(--blue-600); font-weight: 600; }

/* flex items-center gap-3 mt-4 */
.tcard-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
/* h-12 w-12 rounded-full object-cover */
.tcard-author img {
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  object-fit: cover;
}
/* font-medium leading-tight */
.tcard-name { font-size: 0.9375rem; font-weight: 500; line-height: 1.25; }
/* opacity-60 text-sm */
.tcard-role { font-size: 0.875rem; opacity: 0.6; }

/* ── FAQ accordion ────────────────────────────────────────── */
/* divide-y overflow-hidden rounded-lg border max-w-3xl mx-auto */
.faq-wrap {
  max-width: 48rem;
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

/* hover:bg-primary/5 flex w-full items-center justify-between gap-2 px-4 py-3 text-left transition-colors */
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  text-align: left;
  transition: background 0.15s;
}
.faq-btn:hover { background: rgb(37 37 37 / .05); }

/* font-medium */
.faq-question { font-weight: 500; font-size: 1rem; }

.faq-chevron {
  flex-shrink: 0;
  width: 1.25rem; height: 1.25rem;
  transition: transform 0.2s;
  color: var(--foreground);
}
.faq-btn[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

/* animated answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
}
.faq-answer.open { max-height: 300px; opacity: 1; }

/* border-t px-4 py-3 text-muted-foreground */
.faq-answer-inner {
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--muted-fg);
}

/* ── Contact ──────────────────────────────────────────────── */
/* grid md:grid-cols-2 gap-8 max-w-4xl mx-auto */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }

/* bg-card border rounded-lg p-8 */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

/* text-xl font-semibold mb-6 */
.card-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; }

/* space-y-4 */
.contact-list { display: flex; flex-direction: column; gap: 1rem; }

/* flex items-start gap-3 */
.contact-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-item svg { margin-top: 2px; flex-shrink: 0; color: var(--primary); width: 1.25rem; height: 1.25rem; }

/* font-medium */
.contact-label { font-weight: 500; font-size: 0.9375rem; }
/* text-muted-foreground hover:text-primary */
.contact-value { font-size: 0.9375rem; color: var(--muted-fg); }
a.contact-value:hover { color: var(--primary); }

/* mt-8 pt-8 border-t */
.contact-hours { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); font-size: 0.875rem; }
/* text-sm text-muted-foreground mb-4 */
.contact-hours p:first-child { color: var(--muted-fg); margin-bottom: 0.5rem; }

/* Form: space-y-4 */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

/* block text-sm font-medium mb-2 */
.form-label { font-size: 0.875rem; font-weight: 500; }

/* w-full px-4 py-2 border rounded-md bg-background */
.form-input {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgb(176 176 176 / .5);
}
textarea.form-input { resize: vertical; min-height: 6rem; }

/* ── Footer ───────────────────────────────────────────────── */
/* bg-card border-t py-12 */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

/* grid grid-cols-1 md:grid-cols-3 gap-8 */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }

.footer-logo-img {
  height: 2.25rem;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
}

/* text-sm text-muted-foreground */
.footer-desc { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.625; }

/* text-lg font-semibold mb-4 */
.footer-heading { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }

/* space-y-2 text-sm */
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-fg); }
.footer-links a:hover { color: var(--primary); }

/* mt-8 pt-8 border-t text-center text-sm text-muted-foreground */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

/* ── Blog grid (homepage) ─────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(4, 1fr); } }

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

/* thumbnail placeholder */
.blog-card__thumb {
  height: 180px;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-fg);
  flex-shrink: 0;
}

.blog-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* category pill */
.blog-cat {
  display: inline-block;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-date {
  font-size: 0.8125rem;
  color: var(--muted-fg);
}

.blog-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  margin-block: 0.125rem;
}
.blog-card__title a { color: var(--foreground); }
.blog-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-top: auto;
  padding-top: 0.25rem;
  display: inline-block;
}
.blog-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* centered CTA under grid */
.blog-cta { text-align: center; }

/* ── Blog page layout ─────────────────────────────────────── */
.page-hero {
  padding-block: 3rem;
  background: var(--muted);
  border-bottom: 1px solid var(--border);
}
.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.page-hero__subtitle { font-size: 1.125rem; color: var(--muted-fg); }

/* breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--muted-fg);
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--muted-fg); }
.breadcrumb a:hover { color: var(--primary); text-decoration: underline; }
.breadcrumb__sep { opacity: 0.4; }

/* 2-column layout: main + sidebar */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .blog-layout { grid-template-columns: 1fr 320px; }
}

/* blog listing cards (horizontal on listing page) */
.blog-list { display: flex; flex-direction: column; gap: 1.5rem; }

.blog-card--h {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.blog-card--h:hover { box-shadow: var(--shadow-lg); }

.blog-card--h .blog-card__thumb {
  height: 100%;
  min-height: 160px;
  border-radius: 0;
}

@media (max-width: 599px) {
  .blog-card--h {
    grid-template-columns: 1fr;
  }
  .blog-card--h .blog-card__thumb { height: 160px; }
}

/* pagination */
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}
.pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--background);
  color: var(--foreground);
  transition: background 0.15s;
}
.pagination__btn:hover  { background: var(--accent); }
.pagination__btn.active { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }

/* ── Sidebar ──────────────────────────────────────────────── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .sidebar { position: sticky; top: calc(4rem + 1rem); }
}

.sidebar-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.sidebar-widget__title {
  font-size: 0.9375rem;
  font-weight: 700;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* categories list */
.cat-list { display: flex; flex-direction: column; gap: 0.375rem; }
.cat-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.375rem 0.5rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  transition: background 0.15s;
}
.cat-list__item:hover { background: var(--muted); }
.cat-list__item a { color: var(--foreground); flex: 1; }
.cat-list__item a:hover { color: var(--primary); }
.cat-list__count {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--muted);
  color: var(--muted-fg);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
}

/* recent posts list */
.recent-list { display: flex; flex-direction: column; gap: 0.75rem; }
.recent-list__item { font-size: 0.875rem; line-height: 1.45; }
.recent-list__item a { color: var(--foreground); }
.recent-list__item a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.recent-list__date { font-size: 0.75rem; color: var(--muted-fg); display: block; margin-top: 0.125rem; }

/* about widget */
.widget-about__text { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; margin-bottom: 1rem; }

/* ── Article page ─────────────────────────────────────────── */
.article-thumb {
  width: 100%;
  height: 280px;
  background: var(--muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-fg);
  margin-bottom: 2rem;
}

.article-header { margin-bottom: 1.5rem; }
.article-header .blog-card__meta { margin-bottom: 0.75rem; }
.article-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* prose-style body */
.article-body { font-size: 1rem; line-height: 1.75; color: var(--foreground); }
.article-body h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-body p { margin-bottom: 1rem; }
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.article-body li { margin-bottom: 0.375rem; }
.article-body strong { font-weight: 600; }

/* CTA banner inside article */
.article-cta {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2.5rem;
  text-align: center;
}
.article-cta p { font-size: 1.0625rem; font-weight: 600; margin-bottom: 1rem; }

/* reading time */
.read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--muted-fg);
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .carousel-track { animation: none !important; }
  .feature-card   { opacity: 1 !important; transform: none !important; }
  .hero-particle  { animation: none !important; }
}

/* WordPress bridge */
.header-nav .menu-item,
.footer-links .menu-item {
  list-style: none;
}

.mobile-menu .menu-item a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
}

.blog-card__thumb img,
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-thumb--image {
  padding: 0;
  overflow: hidden;
}

.pdcg-page-content {
  grid-template-columns: 1fr;
}

.wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wpcf7 p {
  margin: 0;
}

.wpcf7 label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.wpcf7 .wpcf7-acceptance label {
  display: grid;
  grid-template-columns: 1rem 1fr;
  align-items: start;
  gap: 0.625rem;
  color: var(--muted-fg);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  accent-color: var(--primary);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.wpcf7 textarea {
  min-height: 6rem;
  resize: vertical;
}

.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2.25rem;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}

.wpcf7-not-valid-tip {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
}

.wpcf7-response-output {
  margin: 0 !important;
  border-radius: var(--radius);
  padding: 0.75rem 1rem !important;
}
