/* ==========================================================================
   StackFixOps — Shared Stylesheet (Dark theme)
   ========================================================================== */

:root {
  --color-primary: #185FA5;
  --color-bright: #3A8DDD;        /* decorative use only: icons, borders, dividers, gradients — NOT small text (fails AA at small sizes on alt/card bg) */
  --color-link: #6FB1EC;          /* AA-safe blue for text: labels, links, secondary-button text */
  --color-link-hover: #9CCBF5;

  --color-bg: #041F3A;            /* page base background */
  --color-bg-alt: #06325C;        /* alternating sections */
  --color-card: #0B4176;          /* cards / panels */
  --color-card-border: rgba(58, 141, 221, 0.25);
  --color-navy: #041F3A;          /* footer / top bar */

  --color-heading: #FFFFFF;
  --color-text: #C9D9EA;          /* body text */
  --color-text-secondary: #8FA9C4; /* muted text — page/alt backgrounds only, never small text on cards */
  --color-success: #4ADE80;

  --gradient-brand: linear-gradient(135deg, #185FA5 0%, #3A8DDD 100%);
  --gradient-text: linear-gradient(135deg, #FFFFFF 0%, #6FB1EC 100%);
  --divider: rgba(58, 141, 221, 0.15);

  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.28);
  --shadow-card-hover: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(58, 141, 221, 0.35);

  --container-width: 1200px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }
.section-alt { background: var(--color-bg-alt); }

@media (max-width: 768px) {
  section { padding: 56px 0; }
}

/* ---- Reduced motion: universal safety net ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Section label ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-link);
  margin-bottom: 12px;
}
.section-head {
  max-width: 720px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--color-text); font-size: 1.1rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, background 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.03); }
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(24, 95, 165, 0.35);
}
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 10px 28px rgba(58, 141, 221, 0.5); }
.btn-secondary {
  background: transparent;
  color: var(--color-link);
  border-color: var(--color-bright);
}
.btn-secondary:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.btn-whatsapp {
  background: transparent;
  color: var(--color-link);
  border-color: var(--color-bright);
}
.btn-whatsapp:hover { background: var(--color-primary); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-block { width: 100%; }

/* ---- Top bar ---- */
.top-bar {
  background: var(--color-navy);
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--divider);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
}
.top-bar-links { display: flex; gap: 20px; flex-wrap: wrap; }
.top-bar-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--color-text-secondary); transition: color 0.2s; }
.top-bar-links a:hover { color: var(--color-link); }
.top-bar svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---- Header / Nav ---- */
.site-header {
  background: rgba(4, 31, 58, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--divider);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.logo img { height: 34px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-menu > li { position: relative; }
.nav-menu a.nav-link {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--color-text);
  padding: 8px 0;
  transition: color 0.2s;
}
.nav-menu a.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--color-link);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav-menu a.nav-link:hover { color: var(--color-heading); }
.nav-menu a.nav-link:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 8px; }
.nav-cta a.nav-link::after { display: none; }

.has-dropdown > a.nav-link { display: flex; align-items: center; gap: 6px; }
.has-dropdown .chevron { width: 10px; height: 10px; transition: transform 0.2s; }
.has-dropdown:hover .chevron { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover);
  padding: 10px;
  min-width: 300px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--color-text);
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover { background: rgba(58, 141, 221, 0.14); color: var(--color-link); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--color-heading);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: var(--header-h, 96px);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h, 96px));
    background: var(--color-bg);
    z-index: 150;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu > li { border-bottom: 1px solid var(--divider); }
  .nav-menu a.nav-link { padding: 16px 0; width: 100%; }
  .nav-menu a.nav-link::after { display: none; }
  .has-dropdown .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    display: none;
    min-width: 0;
    padding: 0 0 10px;
  }
  .has-dropdown.open .dropdown-menu { display: block; }
  .has-dropdown:hover .dropdown-menu { transform: none; }
  .nav-cta { margin: 20px 0 0; }
  .top-bar-links span.tb-linkedin-label { display: none; }
}

/* ---- Hero ---- */
.hero {
  padding: 90px 0 70px;
  background: linear-gradient(180deg, #06325C 0%, #041F3A 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-link);
  margin-bottom: 16px;
  display: inline-block;
}
.hero h1 { margin-bottom: 20px; }
.hero .lead {
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  padding: 8px 14px;
  border-radius: 30px;
}
.hero-tag svg { width: 14px; height: 14px; color: var(--color-success); flex-shrink: 0; }
.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-card-hover);
  aspect-ratio: 4 / 3;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.page-hero { text-align: center; padding: 72px 0 56px; background: linear-gradient(180deg, #06325C 0%, #041F3A 100%); }
.page-hero .section-head { max-width: 780px; margin: 0 auto 28px; }
.page-hero .btn-row { justify-content: center; }

/* Hero entrance animation */
@media (prefers-reduced-motion: no-preference) {
  .hero .hero-eyebrow, .hero .badge-label, .hero h1, .hero .lead, .hero .btn-row, .hero .hero-tags {
    opacity: 0;
    animation: heroFadeUp 0.6s var(--ease-out) forwards;
  }
  .hero .hero-eyebrow, .hero .badge-label { animation-delay: 0ms; }
  .hero h1 { animation-delay: 150ms; }
  .hero .lead { animation-delay: 300ms; }
  .hero .btn-row { animation-delay: 450ms; }
  .hero .hero-tags { animation-delay: 600ms; }
  @keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

/* ---- Client logos ---- */
.clients-strip { padding: 48px 0; }
.clients-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 8px 24px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}
.client-logo img { max-height: 34px; width: auto; object-fit: contain; }
.client-logo.dark-bg { background: #0d3b52; }

/* ---- Stats bar ---- */
.stats-bar {
  background: var(--color-bg-alt);
  color: #fff;
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { color: var(--color-text-secondary); font-size: 0.95rem; margin-top: 4px; }
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Cards grid ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-card-border);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: rgba(58, 141, 221, 0.5); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--color-text); font-size: 0.98rem; }
.card a.card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-link);
}

/* Service card with image */
.service-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-card-border);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: rgba(58, 141, 221, 0.5); }
.service-card .thumb { aspect-ratio: 16/10; overflow: hidden; border-bottom: 1px solid var(--color-card-border); }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { color: var(--color-text); font-size: 0.94rem; flex: 1; }
.service-card .card-link { margin-top: 16px; color: var(--color-link); }

.center-btn { text-align: center; margin-top: 48px; }

/* ---- Process steps ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.process-step { position: relative; padding-top: 8px; }
.process-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.4rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
  display: block;
}
.process-step h3 { font-size: 1.05rem; }
.process-step p { color: var(--color-text); font-size: 0.95rem; }

/* ---- Tools strip ---- */
.tools-strip { text-align: center; }
.tools-strip h2 { margin-bottom: 32px; }
.tools-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.tool-pill {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: 30px;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  color: var(--color-text);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.tool-pill:hover { transform: translateY(-3px); border-color: rgba(58, 141, 221, 0.55); }

/* ---- Testimonial carousel ---- */
.testimonial-carousel { max-width: 900px; margin: 0 auto; }
.testimonial-viewport { overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}
.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 8px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .testimonial-slide { flex: 0 0 50%; }
}
.testimonial-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-card-border);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: rgba(58, 141, 221, 0.5); }
.stars { color: #F5A623; letter-spacing: 2px; margin-bottom: 14px; font-size: 1rem; }
.testimonial-card blockquote {
  margin: 0;
  color: var(--color-text);
  font-size: 1rem;
  flex: 1;
  font-style: italic;
}
.testimonial-source { margin-top: 18px; font-size: 0.85rem; color: var(--color-text-secondary); font-weight: 500; }
.carousel-controls { display: flex; justify-content: center; gap: 16px; margin-top: 32px; }
.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out);
}
.carousel-arrow:hover { background: var(--color-primary); color: #fff; transform: scale(1.06); }
.carousel-arrow svg { width: 18px; height: 18px; }

/* ---- Director section ---- */
.director-section {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.director-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.director-grid p { color: var(--color-text); }
.director-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-card-hover);
}
.director-photo img { width: 100%; height: 100%; object-fit: cover; }
.director-grid .btn-secondary { margin-top: 20px; }
@media (max-width: 800px) {
  .director-grid { grid-template-columns: 1fr; padding: 28px; }
  .director-photo { max-width: 260px; margin: 0 auto; }
}

/* ---- FAQ accordion ---- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--divider);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-heading);
}
.faq-question .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.faq-question .plus::before, .faq-question .plus::after {
  content: '';
  position: absolute;
  background: var(--color-link);
  transition: transform 0.25s ease;
}
.faq-question .plus::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq-question .plus::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.faq-item.open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p { padding: 0 4px 22px; color: var(--color-text); }
.faq-item.open .faq-answer { max-height: 600px; }

/* ---- List with checks ---- */
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--color-text);
}
.check-list svg { width: 20px; height: 20px; color: var(--color-success); flex-shrink: 0; margin-top: 2px; }
.dash-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--color-text);
}
.dash-list li::before { content: '—'; color: var(--color-link); font-weight: 700; flex-shrink: 0; }

/* ---- CTA final ---- */
.cta-final {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
}
.cta-final h2 { color: #fff; }
.cta-final p { color: #E3EFFC; font-size: 1.1rem; max-width: 600px; margin: 0 auto 32px; }
.cta-final .btn-row { justify-content: center; }
.cta-final .btn-secondary { border-color: #fff; color: #fff; }
.cta-final .btn-secondary:hover { background: #fff; color: var(--color-navy); }
.cta-final .btn-primary { background: #fff; color: var(--color-primary); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.cta-final .btn-primary:hover { background: #F0F6FC; filter: none; }
@media (max-width: 768px) { .cta-final { padding: 44px 24px; } }

/* ---- Footer ---- */
.site-footer { background: var(--color-navy); color: var(--color-text-secondary); padding: 64px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--divider);
}
.footer-col h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.footer-col img.logo-white { height: 30px; margin-bottom: 16px; }
.footer-col p { font-size: 0.92rem; line-height: 1.7; color: var(--color-text-secondary); }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 0.92rem; color: var(--color-text-secondary); transition: color 0.2s; }
.footer-col a:hover { color: var(--color-link); }
.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- Breadcrumb-ish label on service/branch pages ---- */
.badge-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-brand);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}

/* ---- Two column content blocks ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Contact page ---- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.form-wrap {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-card-border);
  max-width: 720px;
  margin: 0 auto;
}
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; color: #fff; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(58, 141, 221, 0.4);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: #FFFFFF;
  background: var(--color-card);
  transition: border-color 0.2s;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--color-text-secondary); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-bright);
}
.form-row select option { background: var(--color-card); color: #fff; }
.form-note { text-align: center; color: var(--color-text-secondary); font-size: 0.85rem; margin-top: 16px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success h3 { color: #fff; }
.form-success p { color: var(--color-text); }
.form-success svg { width: 56px; height: 56px; color: var(--color-success); margin: 0 auto 16px; }

/* ---- Blog shell ---- */
.blog-empty {
  text-align: center;
  padding: 60px 24px;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
}
.blog-empty h2 { color: #fff; }
.blog-empty svg { width: 56px; height: 56px; color: var(--color-link); margin: 0 auto 20px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; opacity: 0.5; }

/* ---- Scroll reveal ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  }
  .reveal.in-view { opacity: 1; transform: translateY(0); }

  /* Staggered grids: container itself doesn't fade, its children do */
  .card-grid.reveal, .process-grid.reveal, .testimonial-grid.reveal, .blog-grid.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card-grid.reveal > *, .process-grid.reveal > *, .testimonial-grid.reveal > *, .blog-grid.reveal > * {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  }
  .card-grid.reveal.in-view > *, .process-grid.reveal.in-view > *, .testimonial-grid.reveal.in-view > *, .blog-grid.reveal.in-view > * {
    opacity: 1;
    transform: translateY(0);
  }
  .card-grid.reveal.in-view > *:nth-child(1), .process-grid.reveal.in-view > *:nth-child(1), .testimonial-grid.reveal.in-view > *:nth-child(1) { transition-delay: 0ms; }
  .card-grid.reveal.in-view > *:nth-child(2), .process-grid.reveal.in-view > *:nth-child(2), .testimonial-grid.reveal.in-view > *:nth-child(2) { transition-delay: 120ms; }
  .card-grid.reveal.in-view > *:nth-child(3), .process-grid.reveal.in-view > *:nth-child(3), .testimonial-grid.reveal.in-view > *:nth-child(3) { transition-delay: 240ms; }
  .card-grid.reveal.in-view > *:nth-child(4), .process-grid.reveal.in-view > *:nth-child(4) { transition-delay: 360ms; }
  .card-grid.reveal.in-view > *:nth-child(5) { transition-delay: 480ms; }
  .card-grid.reveal.in-view > *:nth-child(6) { transition-delay: 600ms; }
  .card-grid.reveal.in-view > *:nth-child(7) { transition-delay: 720ms; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .card-grid.reveal > *, .process-grid.reveal > *, .testimonial-grid.reveal > * { opacity: 1 !important; transform: none !important; }
}

/* ---- Responsive grids ---- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 20px; }
}
@media (max-width: 700px) {
  .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .testimonial-slide { flex: 0 0 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .form-wrap { padding: 24px; }
}
