/* =========================================================
   WebBaron — Core Stylesheet
   Premium dark digital agency design system
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Tell the browser this page manages its own dark theme,
     so it never auto-darkens/re-tints our colors (esp. bg-secondary). */
  color-scheme: dark;

  /* Backgrounds */
  --bg: #070B12;
  --bg-secondary: #0E141A;
  --surface: #121A22;
  --surface-2: #171F29;
  --surface-3: #1A2430;
  --card: #1D2A35;
  --highlight: #101B2A;

  /* Text */
  --text: #F3F5F7;
  --text-tertiary: #D9DEE5;
  --text-muted: #A7B1BA;

  /* Border */
  --border: #2A3744;

  /* Accent */
  --accent: #C89B5C;
  --accent-hover: #D8AE6E;
  --accent-soft: #E7D0A6;

  /* Type */
  --font-heading: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container-max: 1200px;
  --gap: 28px;
  --section-pad: 128px;
  --section-pad-tablet: 88px;
  --section-pad-mobile: 64px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 220ms;
  --t-reveal: 650ms;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}
ul, ol { padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--font-heading);
  color: var(--text);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.text-display {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h1, .h1 { font-size: 56px; }
h2, .h2 { font-size: 40px; }
h3, .h3 { font-size: 28px; }
h4, .h4 { font-size: 20px; font-weight: 600; }

p { color: var(--text-muted); }
p.lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-tertiary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }

.numeral {
  font-family: var(--font-heading);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  font-size: 15px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 32px;
}

.section {
  padding-block: var(--section-pad);
  position: relative;
}
.section-sm { padding-block: calc(var(--section-pad) * 0.55); }

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 18px; }
.section-head h2 { margin-top: 14px; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-12 { grid-template-columns: repeat(12, 1fr); }

.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}

.bg-secondary { background: var(--bg-secondary); }
.bg-surface { background: var(--surface); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: #0E0B06;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-soft); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 10px 0;
}
.btn-ghost:hover { color: var(--accent); }

.btn-sm { padding: 12px 22px; font-size: 13.5px; }
.btn-block { width: 100%; }

.btn-whatsapp {
  background: var(--surface-3);
  border-color: var(--border);
  color: var(--text);
}
.btn-whatsapp:hover { border-color: #3FBF63; color: #6BE38A; transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), gap var(--t-fast) var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover { color: var(--accent-soft); border-color: var(--accent); gap: 12px; }
.link-arrow:hover svg { transform: translateX(2px); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(0px);
  transition: backdrop-filter var(--t-fast) var(--ease);
  z-index: -1;
}
.navbar.is-scrolled {
  background: rgba(7, 11, 18, 0.86);
  border-bottom-color: var(--border);
  box-shadow: 0 12px 32px -20px rgba(0,0,0,0.6);
}
.navbar.is-scrolled::before { backdrop-filter: blur(14px); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  transition: padding var(--t-fast) var(--ease);
}
.navbar.is-scrolled .navbar-inner { padding-block: 14px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-word {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-word span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color var(--t-fast) var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right var(--t-fast) var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }

.navbar-actions { display: flex; align-items: center; gap: 24px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 12px;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease), top var(--t-fast) var(--ease);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 96px 32px 40px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--t-reveal) var(--ease), opacity var(--t-reveal) var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu nav a {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-menu-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
}
.mobile-menu-contact { color: var(--text-muted); font-size: 14px; line-height: 1.8; }
.mobile-menu-contact a { color: var(--text); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 72px;
  padding-bottom: 110px;
  overflow: hidden;
}
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 8%, rgba(200,155,92,0.08), transparent 45%),
                     radial-gradient(circle at 82% 78%, rgba(200,155,92,0.05), transparent 40%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 120px 100%;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6) 30%, transparent 85%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 24px; }
.hero-copy h1 { font-size: 58px; margin-bottom: 26px; }
.hero-copy .lead { max-width: 520px; margin-bottom: 14px; }
.hero-copy .lead-secondary {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* Hero visual — original SVG-based product composition */
.hero-visual { position: relative; }
.product-frame {
  position: relative;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.7);
}
.product-frame-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 14px;
}
.product-frame-bar span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
}
.product-frame-body {
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 22px;
  border: 1px solid var(--border);
}
.pf-row { display: flex; gap: 16px; margin-bottom: 16px; }
.pf-col { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pf-bar {
  height: 10px;
  border-radius: 4px;
  background: var(--surface-3);
}
.pf-bar.accent { background: var(--accent); opacity: 0.85; width: 62%; }
.pf-bar.w-40 { width: 40%; }
.pf-bar.w-70 { width: 70%; }
.pf-bar.w-100 { width: 100%; }
.pf-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface);
  animation: floatY 6s ease-in-out infinite;
}
.pf-card:nth-child(2) { animation-delay: -2s; }
.pf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-soft);
  background: rgba(200,155,92,0.12);
  border: 1px solid rgba(200,155,92,0.25);
  padding: 5px 10px;
  border-radius: 999px;
  position: absolute;
  top: -14px; right: 22px;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .pf-card { animation: none; }
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 40px;
  background: var(--bg-secondary);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-strip-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-tertiary);
  max-width: 320px;
}
.trust-tags {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.trust-tag:hover { border-color: var(--accent); color: var(--accent-soft); }

/* ---------- Selected Work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.work-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.work-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.work-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1.2fr 1fr; }
.work-card-media {
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, var(--surface-3), var(--surface));
  position: relative;
  overflow: hidden;
}
.work-card.featured .work-card-media { aspect-ratio: auto; }
.work-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms var(--ease);
}
.work-card:hover .work-card-media img { transform: scale(1.04); }
.work-card-media .placeholder-tag {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: repeating-linear-gradient(135deg, var(--surface-2) 0px, var(--surface-2) 2px, var(--surface) 2px, var(--surface) 40px);
}
.work-card-body { padding: 30px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.work-card-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.work-card-body h3 { font-size: 24px; }
.work-card.featured .work-card-body h3 { font-size: 30px; }
.work-card-tech {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.tech-pill {
  font-size: 11.5px; font-weight: 500; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px;
}

/* ---------- Services ---------- */
.services-list { display: flex; flex-direction: column; }
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr 90px;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast) var(--ease);
}
.service-row:first-child { border-top: 1px solid var(--border); }
.service-row:hover { background: var(--surface); }
.service-row-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  transition: -webkit-text-stroke-color var(--t-fast) var(--ease);
}
.service-row:hover .service-row-num { -webkit-text-stroke-color: var(--accent); }
.service-row-main h3 { font-size: 24px; margin-bottom: 8px; }
.service-row-main p { max-width: 560px; }
.service-row-icon {
  justify-self: end;
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.service-row-icon svg { width: 20px; height: 20px; stroke: var(--text-muted); transition: stroke var(--t-fast) var(--ease); }
.service-row:hover .service-row-icon { border-color: var(--accent); transform: rotate(45deg); }
.service-row:hover .service-row-icon svg { stroke: var(--accent); }

/* ---------- Why WebBaron ---------- */
.why-list { display: flex; flex-direction: column; }
.why-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}
.why-item:first-child { border-top: 1px solid var(--border); }
.why-item-num { font-family: var(--font-heading); font-weight: 700; color: var(--accent); font-size: 15px; letter-spacing: 0.05em; }
.why-item h3 { font-size: 22px; margin-bottom: 4px; }
.why-item p { max-width: 620px; }

/* ---------- Capabilities ---------- */
.capabilities-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.capability-group h4 {
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 20px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-tertiary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent-soft); }

/* ---------- Process ---------- */
.process-timeline { position: relative; }
.process-step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.process-step:first-child { border-top: 1px solid var(--border); }
.process-step-num {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
}
.process-step-content h3 { font-size: 26px; margin-bottom: 10px; }
.process-step-content p { max-width: 600px; }

/* ---------- Industries ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.industry-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-tertiary);
  background: var(--surface);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.industry-tile:hover { border-color: var(--accent); color: var(--accent-soft); transform: translateY(-3px); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.faq-question:hover { color: var(--accent-soft); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--text-muted);
  transition: background var(--t-fast) var(--ease);
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 10px; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); border-color: var(--accent); }
.faq-item.is-open .faq-icon::before, .faq-item.is-open .faq-icon::after { background: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-reveal) var(--ease);
}
.faq-answer-inner { padding-bottom: 28px; max-width: 680px; }
.faq-item.is-open .faq-answer { max-height: 300px; }

/* ---------- Final CTA ---------- */
.final-cta {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(155deg, var(--surface-2), var(--highlight));
  padding: 90px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: -40%; left: 50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,155,92,0.12), transparent 65%);
  transform: translateX(-50%);
  pointer-events: none;
}
.final-cta h2 { font-size: 44px; margin-bottom: 18px; }
.final-cta p { max-width: 480px; margin-inline: auto; margin-bottom: 40px; font-size: 17px; }
.final-cta-actions { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 88px;
  padding-bottom: 40px;
  background: var(--bg-secondary);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer-brand p { margin-top: 18px; max-width: 320px; }
.footer-heading {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 22px;
}
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links a { color: var(--text-tertiary); font-size: 15px; transition: color var(--t-fast) var(--ease); }
.footer-links a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--text-tertiary); }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 14px; }
.footer-mark { width: 30px; height: 30px; margin-bottom: 4px; }

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 480ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- Page Hero (internal pages) ---------- */
.page-hero {
  padding-top: 72px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { max-width: 760px; }
.page-hero p.lead { max-width: 620px; margin-top: 20px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text-muted);
  margin-bottom: 28px;
}
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 13.5px; font-weight: 600; color: var(--text-tertiary);
}
.form-label .req { color: var(--accent); margin-left: 3px; }
.form-control {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-size: 15px;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.form-control::placeholder { color: var(--text-muted); opacity: 0.8; }
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
}
.form-control.is-invalid { border-color: #C85C5C; }
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0px 1000px var(--surface) inset;
  box-shadow: 0 0 0px 1000px var(--surface) inset;
  caret-color: var(--text);
  transition: background-color 5000s ease-in-out 0s;
}
textarea.form-control { min-height: 140px; resize: vertical; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23A7B1BA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-error {
  font-size: 12.5px;
  color: #E08A8A;
  min-height: 16px;
  display: none;
}
.form-group.is-invalid .form-error { display: block; }
.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}
.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 14px;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.success { border-color: #3FBF63; color: #8FE0A8; }
.form-status.error { border-color: #C85C5C; color: #E08A8A; }

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.contact-info-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color var(--t-fast) var(--ease);
}
.contact-info-item:hover { border-color: var(--accent); }
.contact-info-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  background: var(--highlight);
}
.contact-info-icon svg { width: 18px; height: 18px; stroke: var(--accent); }
.contact-info-label { font-size: 12.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.contact-info-value { font-size: 15.5px; color: var(--text-tertiary); font-weight: 500; line-height: 1.5; }
.contact-info-value a:hover { color: var(--accent); }
.contact-visual {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
}
.contact-form-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 44px;
}

/* ---------- Cards generic ---------- */
.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 32px;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.info-card:hover { border-color: var(--accent); transform: translateY(-3px); }

/* ---------- Insights ---------- */
.insight-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.insight-card-media {
  aspect-ratio: 16/9;
  background: repeating-linear-gradient(135deg, var(--surface-2) 0px, var(--surface-2) 2px, var(--surface) 2px, var(--surface) 40px);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.placeholder-badge {
  position: absolute; top: 16px; left: 16px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--highlight); color: var(--accent-soft);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 12px;
}
.insight-card-body { padding: 28px; }
.insight-card-body .eyebrow { margin-bottom: 14px; }
.insight-card-body h3 { font-size: 21px; margin-bottom: 10px; }

/* ---------- Filter bar (Work page) ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 56px; }
.filter-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 600;
  transition: all var(--t-fast) var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-soft); }
.filter-btn.is-active { background: var(--accent); color: #0E0B06; border-color: var(--accent); }

.work-filter-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.work-filter-grid .work-card.is-hidden { display: none; }

/* ---------- Service detail block ---------- */
.service-detail {
  padding-block: 96px;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail-head {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.service-detail-num {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
}
.service-detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.service-detail-col h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 18px;
}
.service-detail-col ul { display: flex; flex-direction: column; gap: 12px; }
.service-detail-col li {
  color: var(--text-tertiary);
  font-size: 15px;
  padding-left: 20px;
  position: relative;
}
.service-detail-col li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 1px; background: var(--accent);
}

/* ---------- Legal pages ---------- */
.legal-content h2 { font-size: 26px; margin-top: 48px; margin-bottom: 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 16px; max-width: 720px; }
.legal-content ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.legal-content li { color: var(--text-muted); padding-left: 20px; position: relative; max-width: 700px; }
.legal-content li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.legal-updated { color: var(--text-muted); font-size: 14px; margin-bottom: 40px; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  box-shadow: 0 14px 32px -14px rgba(0,0,0,0.7);
}
.whatsapp-float svg { width: 26px; height: 26px; fill: #3FBF63; }
.whatsapp-float:hover { transform: translateY(-3px); border-color: #3FBF63; }
@media (max-width: 767px) {
  .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
  .whatsapp-float svg { width: 22px; height: 22px; }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #0E0B06;
  padding: 12px 20px;
  z-index: 2000;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Focus visibility globally */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 4px;
}
