/* ==========================================
   PRE-BULIZA TRADING — REFINED CORPORATE
   Luxury Editorial · Black, White & Walnut
   ========================================== */

/* ── Google Fonts ──────────────────────────
   Replace existing font link in base.html with:
   <link href="https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Jost:wght@300;400;500;600&display=swap" rel="stylesheet">
   ─────────────────────────────────────────── */

/* ==========================================
   DESIGN TOKENS
   ========================================== */
:root {
  /* Brand Palette */
  --walnut:        #6B3F22;
  --walnut-dark:   #4A2B14;
  --walnut-mid:    #8F5533;
  --walnut-light:  #C4906A;
  --walnut-blush:  #F7EEE7;
  --walnut-dust:   #EDE0D5;

  --ink:           #0E0B09;
  --ink-soft:      #1C1410;
  --charcoal:      #2D2420;
  --slate:         #5C504A;
  --ash:           #8A7D76;
  --fog:           #B8ADA6;
  --mist:          #DDD5CF;
  --parchment:     #F5F0EC;
  --linen:         #FAF7F5;
  --white:         #FFFFFF;

  --success: #2E6B44;
  --error:   #8B2020;

  /* Typography */
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body:    "Jost", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max: 1240px;
  --section-v:     96px;
  --nav-height:    76px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-mid: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Transitions */
  --t-fast: 180ms var(--ease-out);
  --t-base: 320ms var(--ease-out);
  --t-slow: 500ms var(--ease-out);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(30,15,5,0.06);
  --shadow-sm: 0 2px 8px rgba(30,15,5,0.08);
  --shadow-md: 0 6px 24px rgba(30,15,5,0.10);
  --shadow-lg: 0 16px 48px rgba(30,15,5,0.13);
  --shadow-xl: 0 32px 80px rgba(30,15,5,0.16);
}

/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: 400; font-size: 1rem; line-height: 1.65;
  color: var(--charcoal); background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ==========================================
   CONTAINER
   ========================================== */
.container {
  width: 100%; max-width: var(--container-max);
  margin: 0 auto; padding: 0 32px;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700; line-height: 1.15;
  color: var(--ink); letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.875rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; letter-spacing: 0; }

p { font-family: var(--font-body); color: var(--slate); font-size: 1rem; line-height: 1.75; }

.text-gradient { color: var(--walnut); }

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }

.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; background: transparent;
  border: 1px solid var(--walnut-light);
  color: var(--walnut-mid); font-family: var(--font-body);
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 20px; border-radius: 2px;
}

.section-badge::before {
  content: ""; display: inline-block;
  width: 18px; height: 1px; background: var(--walnut-light);
}

.section-header h2 { margin-bottom: 16px; }
.section-header p   { font-size: 1.0625rem; color: var(--ash); }

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 13px 34px;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1.5px solid transparent; cursor: pointer;
  transition: all var(--t-base); border-radius: 2px; white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--walnut); color: var(--white); border-color: var(--walnut);
  box-shadow: 0 2px 10px rgba(107,63,34,0.20);
}
.btn-primary:hover {
  background: var(--walnut-dark); border-color: var(--walnut-dark);
  transform: translateY(-2px); box-shadow: 0 6px 22px rgba(107,63,34,0.28);
}

.btn-outline { background: transparent; color: var(--walnut); border-color: var(--walnut); }
.btn-outline:hover { background: var(--walnut); color: var(--white); transform: translateY(-2px); }

.btn-white { background: var(--white); color: var(--walnut); border-color: var(--white); }
.btn-white:hover { background: var(--walnut-blush); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,0.12); }

.btn-full { width: 100%; }

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  z-index: 1000; transition: all var(--t-base);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.99);
  border-bottom-color: var(--mist);
  box-shadow: 0 1px 12px rgba(30,15,5,0.05);
}

.nav-container {
  max-width: var(--container-max); margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo img { height: 48px; width: auto; object-fit: contain; }
.nav-logo span {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  color: var(--ink); letter-spacing: 0.04em; text-transform: uppercase;
}

.nav-menu { display: flex; align-items: center; gap: 2px; }

.nav-link {
  padding: 8px 16px; font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--slate);
  transition: all var(--t-fast); position: relative; border-radius: 2px;
}

.nav-link::after {
  content: ""; position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 1px; background: var(--walnut);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base);
}

.nav-link:hover, .nav-link.active { color: var(--walnut); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-link.nav-cta {
  background: var(--walnut); color: var(--white);
  margin-left: 16px; border: 1.5px solid var(--walnut);
  padding: 8px 20px; border-radius: 2px;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover, .nav-link.nav-cta.active {
  background: var(--walnut-dark); color: var(--white); border-color: var(--walnut-dark);
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); transition: all var(--t-fast); border-radius: 1px;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: var(--white); flex-direction: column;
    padding: 28px 32px; gap: 4px;
    border-bottom: 1px solid var(--mist); box-shadow: var(--shadow-md);
    transform: translateY(-110%); opacity: 0; pointer-events: none;
    transition: all var(--t-base);
  }
  .nav-menu.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { width: 100%; text-align: center; }
  .nav-link.nav-cta { margin-left: 0; margin-top: 12px; }
}

/* ==========================================
   FLASH MESSAGES
   ========================================== */
.flash-container {
  position: fixed; top: calc(var(--nav-height) + 20px); right: 24px;
  z-index: 1100; display: flex; flex-direction: column; gap: 10px; max-width: 380px;
}

.flash-message {
  padding: 14px 20px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  animation: slideInRight 0.35s var(--ease-out) forwards;
  box-shadow: var(--shadow-md); border-radius: 2px; font-size: 0.9rem;
}

@keyframes slideInRight {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

.flash-success { background: #EAF4EE; color: #1A4D30; border: 1px solid #B8DDC8; border-left: 3px solid #2E6B44; }
.flash-error   { background: #F5EAEA; color: #5C1A1A; border: 1px solid #DDB8B8; border-left: 3px solid #8B2020; }
.flash-close { background: none; border: none; font-size: 18px; cursor: pointer; opacity: 0.5; transition: opacity var(--t-fast); flex-shrink: 0; }
.flash-close:hover { opacity: 1; }

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-height); overflow: hidden; background: var(--ink);
}

.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.6; pointer-events: none; z-index: 3;
}

.hero-bg-wrapper { position: absolute; inset: 0; z-index: 0; }

.hero-content { width: 100%; position: relative; z-index: 4; }

.hero-content .container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

.hero-text { max-width: 580px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(196,144,106,0.35);
  font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600;
  color: var(--walnut-light); margin-bottom: 28px;
  text-transform: uppercase; letter-spacing: 0.16em; border-radius: 2px;
}
.hero-badge::before { content: ""; display: inline-block; width: 20px; height: 1px; background: var(--walnut-light); }

.hero-text h1 { color: var(--white); margin-bottom: 20px; font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
.hero-text h1 .text-gradient { color: var(--walnut-light); font-style: italic; }
.hero-text p { font-size: 1.0625rem; color: rgba(255,255,255,0.52); margin-bottom: 44px; line-height: 1.8; font-weight: 300; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; height: 500px; }
.hero-shape { position: absolute; background: var(--walnut); animation: heroFloat 7s ease-in-out infinite; mix-blend-mode: screen; }
.hero-shape-1 { width: 280px; height: 280px; top: 8%;  right: 8%;  opacity: 0.06; animation-delay: 0s; }
.hero-shape-2 { width: 180px; height: 180px; bottom: 20%; right: 28%; opacity: 0.04; animation-delay: -2.5s; }
.hero-shape-3 { width: 120px; height: 120px; top: 42%; right: 0;   opacity: 0.08; animation-delay: -4.5s; }

@keyframes heroFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33%      { transform: translateY(-16px) rotate(1deg); }
  66%      { transform: translateY(-8px) rotate(-0.5deg); }
}

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.28); font-size: 0.6rem;
  text-transform: uppercase; letter-spacing: 0.2em;
  font-family: var(--font-body); z-index: 4;
}
.scroll-indicator { width: 20px; height: 34px; border: 1px solid rgba(255,255,255,0.2); position: relative; }
.scroll-indicator::after {
  content: ""; position: absolute; top: 5px; left: 50%;
  transform: translateX(-50%); width: 2px; height: 7px;
  background: var(--walnut-light); animation: scrollPulse 2.2s ease infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  60%      { transform: translateX(-50%) translateY(12px); opacity: 0.2; }
}

@media (max-width: 992px) {
  .hero-content .container { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
}

/* ==========================================
   VIDEO CAROUSEL
   ========================================== */
.hero-bg.video-carousel-mode { position: absolute; inset: 0; }

.video-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-mid); z-index: 1; }
.video-slide.active { opacity: 1; z-index: 2; }

.video-slide video {
  position: absolute; top: 50%; left: 50%;
  min-width: 100%; min-height: 100%; width: auto; height: auto;
  transform: translate(-50%, -50%); object-fit: cover;
}

.video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,6,4,0.72) 0%, rgba(10,6,4,0.50) 60%, rgba(10,6,4,0.60) 100%);
  z-index: 3;
}

.carousel-text-container { position: relative; min-height: 400px; }

.carousel-text-slide {
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), visibility 0.7s;
  position: absolute; top: 0; left: 0; width: 100%;
}
.carousel-text-slide.active { opacity: 1; visibility: visible; transform: translateY(0); position: relative; }

.video-carousel-dots {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 20;
}

.video-carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: 1.5px solid rgba(255,255,255,0.55);
  cursor: pointer; transition: all var(--t-base); padding: 0;
}
.video-carousel-dot.active { background: var(--walnut-light); border-color: var(--walnut-light); transform: scale(1.5); box-shadow: 0 0 8px rgba(196,144,106,0.4); }

.video-carousel-prev,
.video-carousel-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px;
  background: rgba(10,6,4,0.4); border: 1px solid rgba(255,255,255,0.18);
  color: white; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 20; border-radius: 2px;
  font-size: 24px; line-height: 1; transition: all var(--t-base); backdrop-filter: blur(8px);
}
.video-carousel-prev { left: 24px; }
.video-carousel-next { right: 24px; }
.video-carousel-prev:hover, .video-carousel-next:hover {
  background: var(--walnut); border-color: var(--walnut); transform: translateY(-50%) scale(1.05);
}

@media (max-width: 768px) {
  .video-carousel-prev { left: 12px; }
  .video-carousel-next { right: 12px; }
  .carousel-text-container { min-height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  .video-slide video { display: none; }
  .video-slide { background: #110a06; }
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features { padding: var(--section-v) 0; background: var(--linen); }

.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--mist); border: 1px solid var(--mist);
}

.feature-card {
  background: var(--white); padding: 48px 32px 44px;
  text-align: center; transition: all var(--t-base); position: relative;
}

.feature-card::after {
  content: ""; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40px; height: 2px; background: var(--walnut);
  transition: transform var(--t-base);
}

.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); z-index: 2; }
.feature-card:hover::after { transform: translateX(-50%) scaleX(1); }

.feature-icon {
  width: 60px; height: 60px; margin: 0 auto 24px;
  background: var(--walnut-blush); border: 1px solid var(--walnut-dust);
  display: flex; align-items: center; justify-content: center; border-radius: 2px;
  transition: background var(--t-base);
}
.feature-card:hover .feature-icon { background: var(--walnut); }
.feature-icon svg { width: 26px; height: 26px; stroke: var(--walnut); transition: stroke var(--t-base); }
.feature-card:hover .feature-icon svg { stroke: var(--white); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--ink); }
.feature-card p  { font-size: 0.9rem; line-height: 1.7; color: var(--ash); }

@media (max-width: 992px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .features-grid { grid-template-columns: 1fr; } }

/* ==========================================
   STATS SECTION
   ========================================== */
.stats {
  padding: 80px 0; background: var(--walnut-dark);
  position: relative; overflow: hidden;
}

.stats::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-55deg, rgba(255,255,255,0.018) 0, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 44px);
  pointer-events: none;
}

.stats::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 48px; background: rgba(196,144,106,0.5);
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 2; }

.stat-item { text-align: center; padding: 40px 20px; position: relative; }
.stat-item:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 30%; bottom: 30%;
  width: 1px; background: rgba(255,255,255,0.1);
}

.stat-number {
  font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700; color: var(--white); line-height: 1;
  margin-bottom: 10px; letter-spacing: -0.02em;
}
.stat-number::after { content: "+"; color: var(--walnut-light); }
.stat-label {
  font-family: var(--font-body); font-size: 0.6875rem;
  color: rgba(255,255,255,0.55); text-transform: uppercase;
  letter-spacing: 0.16em; font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
}

/* ==========================================
   ABOUT PREVIEW
   ========================================== */
.about-preview { padding: var(--section-v) 0; }

.about-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-preview-image { position: relative; }

.image-frame {
  position: relative; overflow: hidden;
  background: var(--parchment); aspect-ratio: 4/3;
}

.image-frame.large { aspect-ratio: 1; }

.image-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; background: var(--parchment);
}
.image-placeholder svg { width: 72px; height: 72px; stroke: var(--fog); }

/* Corner accents */
.image-frame::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 40px; height: 40px;
  border-top: 3px solid var(--walnut); border-left: 3px solid var(--walnut); z-index: 2;
}
.image-frame::after {
  content: ""; position: absolute; bottom: -1px; right: -1px;
  width: 40px; height: 40px;
  border-bottom: 3px solid var(--walnut); border-right: 3px solid var(--walnut); z-index: 2;
}

.experience-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--walnut); color: var(--white);
  padding: 24px 28px; text-align: center; box-shadow: var(--shadow-lg);
}
.exp-number { display: block; font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.exp-text { font-family: var(--font-body); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.8; margin-top: 4px; display: block; }

.about-preview-content h2 { margin-bottom: 20px; }
.about-preview-content > p { font-size: 1.0625rem; margin-bottom: 32px; line-height: 1.8; color: var(--slate); }

.about-list { margin-bottom: 40px; }
.about-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; color: var(--charcoal);
  border-bottom: 1px solid var(--mist); font-size: 0.9375rem;
}
.about-list li:first-child { border-top: 1px solid var(--mist); }
.about-list svg { width: 18px; height: 18px; fill: var(--walnut); flex-shrink: 0; }

@media (max-width: 992px) {
  .about-preview-grid { grid-template-columns: 1fr; gap: 60px; }
  .experience-badge { bottom: 16px; right: 16px; }
}

/* ==========================================
   SERVICES PREVIEW
   ========================================== */
.services-preview { padding: var(--section-v) 0; background: var(--linen); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--mist); }

.service-card {
  background: var(--white); padding: 48px 40px;
  position: relative; overflow: hidden; transition: all var(--t-base);
  border-right: 1px solid var(--mist); border-bottom: 1px solid var(--mist);
}

.service-card::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; background: var(--walnut);
  transition: height var(--t-base);
}
.service-card:hover::before { height: 100%; }
.service-card:hover { background: var(--walnut); border-color: var(--walnut); }
.service-card:hover h3, .service-card:hover p,
.service-card:hover .service-number, .service-card:hover .service-link { color: var(--white); }

.service-number {
  font-family: var(--font-display); font-size: 3rem; font-weight: 700;
  color: var(--mist); line-height: 1; margin-bottom: 20px;
  letter-spacing: -0.02em; transition: color var(--t-base);
}
.service-card h3 { margin-bottom: 14px; font-size: 1.3rem; transition: color var(--t-base); }
.service-card p  { margin-bottom: 28px; line-height: 1.75; font-size: 0.9375rem; transition: color var(--t-base); }

.service-link {
  color: var(--walnut); font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; transition: all var(--t-fast);
}
.service-link:hover, .service-card:hover .service-link { gap: 14px; }

.services-cta { text-align: center; margin-top: 52px; }

@media (max-width: 992px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .services-grid { grid-template-columns: 1fr; } }

/* ==========================================
   BLOG PREVIEW
   ========================================== */
.blog-preview { padding: var(--section-v) 0; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.blog-card {
  background: var(--white); overflow: hidden;
  border: 1px solid var(--mist); transition: all var(--t-base);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--walnut-dust); }

.blog-card-image { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.blog-card:hover .blog-card-image img { transform: scale(1.04); }

.blog-placeholder { width: 100%; height: 100%; background: var(--parchment); display: flex; align-items: center; justify-content: center; }
.blog-placeholder svg { width: 48px; height: 48px; stroke: var(--fog); }

.blog-card-content { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.blog-date { font-family: var(--font-body); font-size: 0.6875rem; color: var(--walnut-mid); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 12px; }

.blog-card-content h3 { margin-bottom: 12px; font-size: 1.1rem; line-height: 1.4; }
.blog-card-content h3 a { color: var(--ink); transition: color var(--t-fast); }
.blog-card-content h3 a:hover { color: var(--walnut); }
.blog-card-content p { font-size: 0.875rem; margin-bottom: 20px; line-height: 1.75; color: var(--ash); flex: 1; }

.blog-link { color: var(--walnut); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; transition: gap var(--t-fast); }
.blog-link:hover { gap: 12px; }

.blog-cta { text-align: center; margin-top: 52px; }

@media (max-width: 992px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .blog-grid { grid-template-columns: 1fr; } }

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section { padding: 100px 0; position: relative; background: var(--ink); overflow: hidden; }

.cta-section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 60px; background: var(--walnut-mid); opacity: 0.5;
}

.cta-bg {
  position: absolute; inset: 0; z-index: 1;
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,0.012) 0, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 50px);
}

.cta-content { text-align: center; max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
.cta-content h2 { color: var(--white); margin-bottom: 18px; font-style: italic; }
.cta-content p  { color: rgba(255,255,255,0.48); font-size: 1.0625rem; margin-bottom: 40px; font-weight: 300; }

/* ==========================================
   FOOTER
   ========================================== */
.footer { background: var(--ink-soft); color: var(--fog); border-top: 3px solid var(--walnut) !important; }
.footer-wave { display: none; }
.footer-content { padding: 64px 0 32px; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 64px; }

.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-logo img { height: 48px; width: auto; object-fit: contain; }
.footer-logo span { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); letter-spacing: 0.04em; text-transform: uppercase; }

.footer-tagline { font-size: 0.875rem; line-height: 1.8; margin-bottom: 28px; color: rgba(255,255,255,0.35); }

.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: all var(--t-fast); border-radius: 2px; }
.footer-social a:hover { background: var(--walnut); border-color: var(--walnut); transform: translateY(-2px); }
.footer-social svg { width: 15px; height: 15px; fill: rgba(255,255,255,0.45); transition: fill var(--t-fast); }
.footer-social a:hover svg { fill: var(--white); }

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-body); font-size: 0.6875rem; color: var(--white);
  font-weight: 600; margin-bottom: 28px; text-transform: uppercase;
  letter-spacing: 0.16em; position: relative; display: inline-block; padding-bottom: 14px;
}
.footer-links h4::after, .footer-contact h4::after {
  content: ""; position: absolute; bottom: 0; left: 0; width: 24px; height: 1px; background: var(--walnut-mid);
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.40); font-size: 0.875rem;
  transition: color var(--t-fast); display: inline-flex; align-items: center; gap: 8px;
}
.footer-links a::before { content: ""; width: 12px; height: 1px; background: var(--walnut-mid); opacity: 0; transition: opacity var(--t-fast); flex-shrink: 0; }
.footer-links a:hover { color: var(--walnut-light); }
.footer-links a:hover::before { opacity: 1; }

.footer-contact ul { display: flex; flex-direction: column; gap: 16px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.8125rem; line-height: 1.6; color: rgba(255,255,255,0.40); }
.footer-contact svg { width: 15px; height: 15px; flex-shrink: 0; stroke: var(--walnut-mid); margin-top: 2px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.22); letter-spacing: 0.05em; }

@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 576px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ==========================================
   PAGE HEADER (inner pages)
   ========================================== */
.page-header { position: relative; padding: 180px 0 96px; text-align: center; overflow: hidden; background: var(--ink); }

.page-header::before {
  content: ""; position: absolute; top: var(--nav-height); left: 50%; transform: translateX(-50%);
  width: 1px; height: 50px; background: var(--walnut-mid); opacity: 0.45;
}

.page-header-bg { position: absolute; inset: 0; background: var(--ink); z-index: -1; }

.page-header-content { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }

.page-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px; background: transparent;
  border: 1px solid rgba(196,144,106,0.35);
  font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600;
  color: var(--walnut-light); margin-bottom: 24px;
  text-transform: uppercase; letter-spacing: 0.18em; border-radius: 2px;
}
.page-badge::before { content: ""; display: inline-block; width: 16px; height: 1px; background: var(--walnut-light); }

.page-header-content h1 { color: var(--white); margin-bottom: 20px; }
.page-header-content p  { font-size: 1.0625rem; color: rgba(255,255,255,0.45); font-weight: 300; }

/* ==========================================
   ABOUT PAGE
   ========================================== */
.about-story { padding: var(--section-v) 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-content h2 { margin-bottom: 24px; }
.story-content p  { font-size: 1.0625rem; line-height: 1.8; margin-bottom: 20px; }

.mission-vision { padding: 80px 0; background: var(--linen); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--mist); }
.mv-card { background: var(--white); padding: 60px 52px; text-align: center; border-right: 1px solid var(--mist); transition: all var(--t-base); }
.mv-card:hover { background: var(--walnut); }
.mv-card:hover h3, .mv-card:hover p { color: var(--white); }
.mv-icon { width: 68px; height: 68px; margin: 0 auto 24px; background: var(--walnut-blush); border: 1px solid var(--walnut-dust); display: flex; align-items: center; justify-content: center; transition: background var(--t-base); }
.mv-card:hover .mv-icon { background: rgba(255,255,255,0.15); }
.mv-icon svg { width: 30px; height: 30px; stroke: var(--walnut); transition: stroke var(--t-base); }
.mv-card:hover .mv-icon svg { stroke: var(--white); }
.mv-card h3 { margin-bottom: 16px; font-size: 1.45rem; transition: color var(--t-base); }
.mv-card p  { font-size: 0.9375rem; line-height: 1.8; transition: color var(--t-base); }

.core-values { padding: var(--section-v) 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--mist); }
.value-card { padding: 48px 40px; border-right: 1px solid var(--mist); border-bottom: 1px solid var(--mist); transition: all var(--t-base); }
.value-card:hover { background: var(--walnut-blush); border-color: var(--walnut-dust); }
.value-number { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--walnut); opacity: 0.25; margin-bottom: 16px; }
.value-card h3 { margin-bottom: 12px; }
.value-card p  { font-size: 0.9rem; line-height: 1.75; }

.team-section { padding: var(--section-v) 0; background: var(--linen); }

@media (max-width: 992px) { .story-grid, .mv-grid { grid-template-columns: 1fr; } }
@media (max-width: 576px)  { .values-grid { grid-template-columns: 1fr; } }

/* ==========================================
   SERVICES PAGE
   ========================================== */
.services-full { padding: var(--section-v) 0; }
.services-list { display: flex; flex-direction: column; gap: 64px; }

.service-full-card { display: grid; grid-template-columns: 110px 1fr; gap: 52px; align-items: start; padding-bottom: 64px; border-bottom: 1px solid var(--mist); }
.service-full-card.reverse { direction: rtl; }
.service-full-card.reverse > * { direction: ltr; }

.service-full-icon { width: 96px; height: 96px; background: var(--walnut-blush); border: 1px solid var(--walnut-dust); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-full-icon svg { width: 38px; height: 38px; stroke: var(--walnut); }

.service-full-content { position: relative; }
.service-full-number { position: absolute; top: -20px; right: 0; font-family: var(--font-display); font-size: 5rem; font-weight: 700; color: var(--mist); line-height: 1; z-index: -1; letter-spacing: -0.04em; }
.service-full-content h3 { font-size: 1.7rem; margin-bottom: 16px; }
.service-full-content > p { font-size: 1.0625rem; line-height: 1.8; margin-bottom: 24px; }

.service-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-features li { display: flex; align-items: center; gap: 12px; color: var(--charcoal); font-size: 0.875rem; }
.service-features li::before { content: ""; width: 5px; height: 5px; background: var(--walnut); flex-shrink: 0; }

.process-section { padding: var(--section-v) 0; background: var(--linen); }
.process-timeline { display: flex; flex-direction: column; max-width: 800px; margin: 0 auto; }
.process-step { display: flex; gap: 40px; padding: 40px 0; position: relative; }
.process-step:not(:last-child)::after { content: ""; position: absolute; left: 33px; top: 96px; bottom: -40px; width: 1px; background: var(--mist); }
.process-number { width: 66px; height: 66px; background: var(--walnut); color: var(--white); font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; }
.process-content h3 { font-size: 1.35rem; margin-bottom: 10px; }
.process-content p  { font-size: 1.0625rem; line-height: 1.75; }

@media (max-width: 768px) {
  .service-full-card { grid-template-columns: 1fr; gap: 24px; }
  .service-full-card.reverse { direction: ltr; }
  .service-full-icon { width: 76px; height: 76px; }
  .service-full-number { display: none; }
  .service-features { grid-template-columns: 1fr; }
  .process-step { gap: 24px; }
  .process-number { width: 50px; height: 50px; font-size: 1.15rem; }
  .process-step:not(:last-child)::after { left: 24px; top: 76px; }
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-section { padding: var(--section-v) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { font-size: 1.0625rem; line-height: 1.75; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.contact-item { display: flex; gap: 16px; }

.contact-icon { width: 44px; height: 44px; background: var(--walnut-blush); border: 1px solid var(--walnut-dust); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 18px; height: 18px; stroke: var(--walnut); }
.contact-text h4 { font-family: var(--font-body); font-size: 0.6875rem; color: var(--ash); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 4px; font-weight: 600; }
.contact-text p { color: var(--charcoal); font-size: 0.9375rem; }

.contact-social h4 { font-family: var(--font-body); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 16px; font-weight: 600; }
.social-links { display: flex; gap: 8px; }
.social-links a { width: 40px; height: 40px; background: var(--linen); border: 1px solid var(--mist); display: flex; align-items: center; justify-content: center; transition: all var(--t-fast); border-radius: 2px; }
.social-links a:hover { background: var(--walnut); border-color: var(--walnut); transform: translateY(-3px); }
.social-links svg { width: 16px; height: 16px; fill: var(--ash); transition: fill var(--t-fast); }
.social-links a:hover svg { fill: var(--white); }

.contact-form-wrapper { background: var(--white); padding: 52px; box-shadow: var(--shadow-lg); border: 1px solid var(--mist); border-top: 3px solid var(--walnut); }
.contact-form h3 { margin-bottom: 32px; font-size: 1.4rem; }

.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600; color: var(--slate); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.12em; }
.form-group input, .form-group textarea { width: 100%; padding: 13px 16px; font-family: var(--font-body); font-size: 0.9375rem; border: 1px solid var(--mist); background: var(--linen); color: var(--charcoal); transition: all var(--t-fast); border-radius: 2px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--walnut); background: var(--white); box-shadow: 0 0 0 3px rgba(107,63,34,0.08); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--fog); }
.form-group textarea { resize: vertical; min-height: 120px; }

@media (max-width: 992px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } .contact-form-wrapper { padding: 40px; } }
@media (max-width: 576px) { .contact-form-wrapper { padding: 28px 24px; } }

/* ==========================================
   BLOG PAGE
   ========================================== */
.blog-section { padding: var(--section-v) 0; }
.blog-grid-full { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }

.blog-card-full { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); overflow: hidden; border: 1px solid var(--mist); transition: all var(--t-base); }
.blog-card-full:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--walnut-dust); }
.blog-card-full .blog-card-image { aspect-ratio: unset; height: 100%; min-height: 250px; }
.blog-card-full .blog-card-content { padding: 32px; display: flex; flex-direction: column; }
.blog-card-full h2 { font-size: 1.2rem; margin-bottom: 12px; line-height: 1.4; }
.blog-card-full h2 a { color: var(--ink); transition: color var(--t-fast); }
.blog-card-full h2 a:hover { color: var(--walnut); }
.blog-card-full p { font-size: 0.875rem; line-height: 1.75; margin-bottom: 20px; flex-grow: 1; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 60px; }
.pagination-link { display: flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--white); border: 1px solid var(--mist); font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); transition: all var(--t-fast); border-radius: 2px; }
.pagination-link:hover { border-color: var(--walnut); color: var(--walnut); }
.pagination-link svg { width: 14px; height: 14px; }
.pagination-numbers { display: flex; gap: 6px; }
.pagination-number { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: var(--slate); transition: all var(--t-fast); border: 1px solid transparent; border-radius: 2px; }
.pagination-number:hover { background: var(--parchment); border-color: var(--mist); }
.pagination-number.active { background: var(--walnut); color: var(--white); border-color: var(--walnut); }
.pagination-ellipsis { width: 38px; text-align: center; color: var(--fog); }

.blog-empty { text-align: center; padding: 80px 20px; }
.empty-icon { width: 96px; height: 96px; margin: 0 auto 24px; background: var(--parchment); display: flex; align-items: center; justify-content: center; }
.empty-icon svg { width: 44px; height: 44px; stroke: var(--fog); }
.blog-empty h2 { margin-bottom: 12px; }

.newsletter-section { padding: 0 0 var(--section-v); }
.newsletter-card { background: var(--ink); padding: 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.newsletter-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--walnut); }
.newsletter-content h2 { color: var(--white); margin-bottom: 8px; }
.newsletter-content p { color: rgba(255,255,255,0.45); font-size: 0.9375rem; }
.newsletter-form { display: flex; flex-shrink: 0; }
.newsletter-form input { padding: 13px 20px; border: 1px solid rgba(255,255,255,0.12); border-right: none; background: rgba(255,255,255,0.05); color: var(--white); font-family: var(--font-body); font-size: 0.9rem; width: 280px; transition: all var(--t-fast); border-radius: 2px 0 0 2px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { outline: none; border-color: var(--walnut); background: rgba(255,255,255,0.08); }
.newsletter-form .btn-primary { border-radius: 0 2px 2px 0; }

@media (max-width: 992px) {
  .blog-grid-full { grid-template-columns: 1fr; }
  .newsletter-card { flex-direction: column; text-align: center; padding: 48px 36px; }
  .newsletter-card::before { left: 0; right: 0; width: auto; height: 3px; bottom: auto; }
  .newsletter-form { flex-direction: column; width: 100%; max-width: 380px; }
  .newsletter-form input { width: 100%; border-right: 1px solid rgba(255,255,255,0.12); border-bottom: none; border-radius: 2px 2px 0 0; }
  .newsletter-form .btn-primary { border-radius: 0 0 2px 2px; }
}

@media (max-width: 768px) {
  .blog-card-full { grid-template-columns: 1fr; }
  .blog-card-full .blog-card-image { min-height: 200px; }
}

/* ==========================================
   BLOG POST PAGE
   ========================================== */
.post-header { position: relative; padding: 180px 0 80px; overflow: hidden; background: var(--ink); }
.post-header-content { max-width: 780px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.35); font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 28px; transition: color var(--t-fast); }
.back-link:hover { color: var(--walnut-light); }
.back-link svg { width: 14px; height: 14px; }
.post-header-content h1 { color: var(--white); margin-bottom: 24px; font-size: clamp(2rem, 4vw, 2.625rem); }
.post-meta { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.post-meta > span { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.38); font-family: var(--font-body); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; }
.post-meta svg { width: 13px; height: 13px; }

.post-content-section { padding: var(--section-v) 0; }
.post-article { max-width: 780px; margin: 0 auto; }
.post-featured-image { margin-bottom: 52px; overflow: hidden; }

.post-body { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.9; color: var(--slate); }
.post-body h2, .post-body h3, .post-body h4 { margin-top: 44px; margin-bottom: 18px; }
.post-body p   { margin-bottom: 24px; }
.post-body ul, .post-body ol { margin-bottom: 24px; padding-left: 24px; }
.post-body li  { margin-bottom: 8px; list-style: disc; }
.post-body ol li { list-style: decimal; }
.post-body a { color: var(--walnut); text-decoration: underline; text-underline-offset: 3px; }
.post-body blockquote { margin: 40px 0; padding: 28px 36px; border-left: 3px solid var(--walnut); background: var(--walnut-blush); font-style: italic; font-family: var(--font-display); font-size: 1.125rem; color: var(--charcoal); }

.post-footer { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--mist); }
.post-share { display: flex; align-items: center; gap: 16px; }
.post-share > span { font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.share-links { display: flex; gap: 8px; }
.share-links a { width: 36px; height: 36px; background: var(--linen); border: 1px solid var(--mist); display: flex; align-items: center; justify-content: center; transition: all var(--t-fast); border-radius: 2px; }
.share-links a:hover { background: var(--walnut); border-color: var(--walnut); }
.share-links svg { width: 14px; height: 14px; fill: var(--ash); transition: fill var(--t-fast); }
.share-links a:hover svg { fill: var(--white); }
.post-navigation { text-align: center; margin-top: 60px; }

/* ==========================================
   TEAM CAROUSEL
   ========================================== */
.carousel-container { width: 100%; position: relative !important; padding: 0 60px !important; overflow: visible !important; }

.team-grid { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto !important; gap: 0 !important; padding: 20px 0 40px !important; scrollbar-width: none !important; scroll-snap-type: x mandatory; scroll-behavior: smooth; }
.team-grid::-webkit-scrollbar { display: none !important; }

.team-card { flex: 0 0 calc(33.333% - 1px) !important; min-width: calc(33.333% - 1px) !important; max-width: calc(33.333% - 1px) !important; background: var(--white); border: 1px solid var(--mist); border-right: none; transition: all var(--t-base); scroll-snap-align: start; }
.team-card:last-child { border-right: 1px solid var(--mist); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--walnut-dust); z-index: 2; position: relative; }

.team-image { width: 100% !important; height: 300px !important; overflow: hidden !important; }
.team-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform var(--t-slow); }
.team-card:hover .team-image img { transform: scale(1.04); }

.team-placeholder { width: 100%; height: 100%; background: var(--parchment); display: flex; align-items: center; justify-content: center; }
.team-placeholder svg { width: 72px; height: 72px; stroke: var(--fog); }

.team-info { padding: 28px 32px; text-align: center; border-top: 1px solid var(--mist); }
.team-info h3 { margin-bottom: 6px; font-size: 1.2rem; }
.team-role { color: var(--walnut-mid); font-family: var(--font-body); font-weight: 600; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 12px; }
.team-info > p:last-child { font-size: 0.875rem; line-height: 1.75; color: var(--ash); }

.nav-btn { position: absolute !important; top: 50% !important; transform: translateY(-50%) !important; width: 46px !important; height: 46px !important; background: var(--white) !important; border: 1px solid var(--walnut) !important; color: var(--walnut) !important; display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important; z-index: 100 !important; box-shadow: var(--shadow-md) !important; transition: all var(--t-base) !important; border-radius: 2px !important; }
.nav-btn:hover { background: var(--walnut) !important; color: var(--white) !important; }
.nav-btn svg { width: 20px !important; height: 20px !important; stroke: currentColor !important; }
.prev-btn { left: -23px !important; }
.next-btn { right: -23px !important; }

@media (max-width: 768px) {
  .carousel-container { padding: 0 44px !important; }
  .nav-btn { width: 38px !important; height: 38px !important; }
  .prev-btn { left: 0 !important; }
  .next-btn { right: 0 !important; }
  .team-card { flex: 0 0 100% !important; min-width: 100% !important; max-width: 100% !important; }
}

/* ==========================================
   MAP SECTION
   ========================================== */
.map-section { height: 400px; }
.map-placeholder { width: 100%; height: 100%; background: var(--parchment); position: relative; }
.map-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.map-content { text-align: center; color: var(--ash); }
.map-content svg { width: 56px; height: 56px; margin-bottom: 16px; stroke: var(--fog); }

/* ==========================================
   UTILITIES
   ========================================== */
:focus-visible { outline: 2px solid var(--walnut); outline-offset: 3px; }
::selection { background: var(--walnut); color: var(--white); }