/* =========================================================
   ASPIRE TECHNOLOGIES — DESIGN SYSTEM
   Palette pulled directly from the company mark:
   ink navy #022249, black, white. The road-swoosh under the
   "A" is the one signature motif — reused as a section
   divider, an underline, and a progress track. Everything
   else stays quiet so that motif reads as intentional.
   ========================================================= */

:root {
  /* --- Color --- */
  --navy: #022249;
  --navy-700: #033064;
  --navy-600: #0a3d7a;
  --navy-100: #e9eef5;
  --ink: #0a0a0a;
  --black: #000000;
  --white: #ffffff;
  --off-white: #f6f7f9;
  --paper: #fbfbfc;
  --gray-100: #eceef1;
  --gray-300: #d7dbe1;
  --gray-500: #7c8593;
  --gray-700: #454b54;

  --road-gradient: linear-gradient(100deg, #000000 0%, #0a0a0a 40%, var(--navy) 100%);

  /* --- Type --- */
  --font-display: 'Lato', sans-serif;
  --font-body:  'Lato', sans-serif;
  --font-mono: 'Lato', sans-serif;

  /* --- Spacing scale --- */
  --s-1: 0.5rem;
  --s-2: 0.75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 3rem;
  --s-7: 4.5rem;
  --s-8: 6.5rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 20px 50px -25px rgba(2, 34, 73, 0.35);
  --shadow-tight: 0 8px 20px -12px rgba(2, 34, 73, 0.4);

  --container: 100%;
  --side-pad: clamp(1.5rem, 4vw, 4rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }
html { zoom: 75%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
}
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; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

/* --- Layout helpers --- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}
.section { padding: var(--s-8) 0; }
.section-tight { padding: var(--s-6) 0; }
@media (max-width: 780px) {
  .section { padding: var(--s-6) 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: var(--s-3);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--navy);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--s-6);
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; }
.section-head p { color: var(--gray-700); margin-top: var(--s-3); font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #1a1a1a; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); padding: 0.9em 0.2em; }
.btn-ghost::after { content: '→'; margin-left: 0.4em; transition: transform 0.25s var(--ease); display: inline-block; }
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-sm { padding: 0.6em 1.2em; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* --- Site header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 0.9rem var(--side-pad);
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.main-nav { display: flex; align-items: center; gap: var(--s-5); }
.main-nav ul { display: flex; gap: var(--s-4); }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: 0.3em 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--navy);
  transition: right 0.25s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-ctas { display: flex; align-items: center; gap: var(--s-2); }
.nav-toggle { display: none; background: none; border: none; padding: 6px; position: relative; z-index: 101; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: all 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .main-nav { position: fixed; top: 64px; left: 0; right: 0; height: calc(100vh - 64px); height: calc(100dvh - 64px); background: var(--white); z-index: 90; flex-direction: column; align-items: flex-start; padding: var(--s-5) var(--s-4); gap: var(--s-5); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.25s var(--ease); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav ul { display: flex; flex-direction: column; gap: var(--s-3); width: 100%; }
  .main-nav a { font-size: 1.1rem; display: block; }
  .header-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .nav-toggle { display: block; }
  .header-ctas .btn-outline { display: none; }
}

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(2,34,73,0.92) 0%, rgba(2,34,73,0.82) 55%, rgba(2,34,73,0.74) 100%),
    url('../assets/it-consulting-team3.jpg') center/cover no-repeat,
    var(--navy);
  color: var(--white);
  padding: var(--s-8) 0 var(--s-7);
}
.hero-road {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
  z-index: 1;
}
@media (max-width: 900px) {
  /* On narrow screens the hero grows tall (wrapped heading/paragraph),
     while the SVG's viewBox is a wide 1200x700 rectangle. Stretching it
     with inset:0 across that tall shape forces "slice" scaling to zoom
     in drastically, cropping the road curve down to an unrecognizable
     diagonal blob. Pin it to its real aspect ratio at the bottom of the
     hero instead, so the line design still reads correctly. */
  .hero-road {
    inset: auto 0 0 0;
    top: auto;
    height: auto;
    aspect-ratio: 1200 / 700;
  }
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-6);
  align-items: center;
}
.hero-inner > div:first-child { text-align: center; }
.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9db4d6;
  margin-bottom: var(--s-4);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
}
.hero p.lead {
  color: #c7d3e6;
  font-size: 1.15rem;
  max-width: 46ch;
  margin: var(--s-4) auto 0;
  
  
}
.hero-ctas { display: flex; gap: var(--s-3); margin-top: var(--s-5); flex-wrap: wrap; justify-content: center; }
.hero-meta {
  display: flex;
  gap: var(--s-5);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.15);
  justify-content: center;
}
.hero-meta div strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--white); }
.hero-meta div span { font-size: 0.82rem; color: #93a6c4; }

.hero-panel {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  backdrop-filter: blur(6px);
}
.hero-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
  color: #dbe4f2;
}
.hero-panel-row:last-child { border-bottom: none; }
.hero-panel-row span.n { font-family: var(--font-mono); color: #6f89b3; margin-right: 0.8em; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-meta { gap: var(--s-4); flex-wrap: wrap; }
}

/* --- Page hero (interior pages) --- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: var(--s-7) 0 var(--s-6);
  position: relative;
  overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 2; text-align: center; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); max-width: 18ch; margin: 0 auto; }
.page-hero p { color: #c7d3e6; margin: var(--s-3) auto 0; max-width: 58ch; font-size: 1.05rem; }

.hero-slideshow { position: absolute; inset: 0; z-index: 0; }
.hero-slideshow img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  animation: heroSlideFade 12s infinite;
}
.hero-slideshow img:nth-child(1) { animation-delay: 0s; }
.hero-slideshow img:nth-child(2) { animation-delay: 4s; }
.hero-slideshow img:nth-child(3) { animation-delay: 8s; }
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,14,26,0.88) 0%, rgba(10,14,26,0.72) 100%);
  z-index: 1;
}
@keyframes heroSlideFade {
  0% { opacity: 0; }
  3% { opacity: 1; }
  30% { opacity: 1; }
  36% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slideshow img { animation: none; opacity: 0; }
  .hero-slideshow img:first-child { opacity: 1; }
}

/* Per-blog-post slideshow (blog-post.html only) — 1 to 3 admin-uploaded
   images. A single image renders static; 2 or more crossfade. Kept as its
   own class so it never affects the .hero-slideshow banners used on the
   other pages above. */
.blog-hero-slideshow { position: absolute; inset: 0; z-index: 0; }
.blog-hero-slideshow img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.blog-hero-slideshow img.active { opacity: 1; }
.blog-hero-slideshow.single img { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .blog-hero-slideshow img { transition: none; }
}
.breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; color: #93a6c4; letter-spacing: 0.06em; margin-bottom: var(--s-3); text-transform: uppercase; }
.breadcrumb a { color: #c7d3e6; }
.breadcrumb a:hover { color: var(--white); }

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: var(--s-5);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: transparent; }
.service-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-md); margin-bottom: var(--s-4); background: var(--gray-100); }

.grid { display: grid; gap: var(--s-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.service-grid { grid-template-columns: 1.4fr 1fr 0.9fr; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .service-grid { grid-template-columns: 1fr 1fr; } .service-grid > div:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2, .service-grid { grid-template-columns: 1fr; } .service-grid > div:last-child { grid-column: auto; } }

/* Card grids on mobile: instead of stacking vertically, cards sit side
   by side and the user swipes left/right between them, with the next
   card peeking in at the edge. Applied via an explicit .card-row class
   on the grid wrapper (added in the HTML) rather than a :has() selector,
   so it works on every browser without depending on newer CSS support.
   Overrides the generic stacking rule above. */
@media (max-width: 640px) {
  .card-row {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--s-4);
    margin: 0 calc(-1 * var(--side-pad));
    padding: 0.25rem var(--side-pad) 0.75rem;
    scrollbar-width: none;
  }
  .card-row::-webkit-scrollbar { display: none; }
  .card-row > * {
    flex: 0 0 84%;
    scroll-snap-align: center;
  }
}

/* --- Service card --- */
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy-100);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-4);
  font-family: var(--font-mono);
  font-weight: 600;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: var(--s-2); }
.service-card p { color: var(--gray-700); font-size: 0.95rem; flex-grow: 1; }
.service-card .card-links { display: flex; gap: var(--s-3); margin-top: var(--s-4); flex-wrap: wrap; }

/* --- Why us --- */
.why-item { padding: var(--s-4) 0; border-top: 1px solid var(--gray-100); display: grid; grid-template-columns: 90px 1fr; gap: var(--s-4); }
.why-item:last-child { border-bottom: 1px solid var(--gray-100); }
.why-item .num { font-family: var(--font-mono); color: var(--gray-500); font-size: 0.9rem; }
.why-item h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
.why-item p { color: var(--gray-700); font-size: 0.95rem; }

/* --- Stats --- */
.stats-band { background: var(--black); color: var(--white); padding: var(--s-6) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--white); }
.stat span { font-size: 0.85rem; color: #9aa3af; }
@media (max-width: 780px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- Process / road steps --- */
.process-track { position: relative; }
.process-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--s-4); position: relative; }
.process-step { position: relative; padding-top: var(--s-5); }
.process-step .step-no {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--white);
  background: var(--navy);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-3);
}
.process-step h3 { font-size: 1.02rem; margin-bottom: 0.3em; }
.process-step p { font-size: 0.9rem; color: var(--gray-700); }

/* --- Portfolio --- */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }
.filter-btn {
  border: 1.5px solid var(--gray-300);
  background: transparent;
  color: var(--gray-700);
  padding: 0.5em 1.1em;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.portfolio-item { border-radius: var(--radius-md); overflow: hidden; position: relative; background: var(--gray-100); cursor: pointer; }
.portfolio-thumb { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--navy) 0%, #000 130%); display: flex; align-items: flex-end; padding: var(--s-4); position: relative; overflow: hidden; }
.portfolio-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.portfolio-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,35,0.05) 40%, rgba(15,20,35,0.85) 100%); z-index: 1; }
.portfolio-thumb > div { position: relative; z-index: 2; }
.portfolio-thumb .cat { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #a9bcda; }
.portfolio-thumb h3 { color: var(--white); font-size: 1.15rem; margin-top: 0.3em; }
.portfolio-meta { display: flex; justify-content: space-between; padding: var(--s-3) 0.2rem 0; font-size: 0.85rem; color: var(--gray-700); }

/* --- Packages / pricing --- */
.pricing-card { border: 1.5px solid var(--gray-100); border-radius: var(--radius-lg); padding: var(--s-5); display: flex; flex-direction: column; height: 100%; position: relative; }
.pricing-card.featured { border-color: var(--navy); box-shadow: var(--shadow-soft); }
.pricing-card .badge { position: absolute; top: -13px; right: 24px; background: var(--navy); color: var(--white); font-size: 0.72rem; padding: 0.35em 0.9em; border-radius: 999px; font-family: var(--font-mono); letter-spacing: 0.06em; }
.pricing-card .tier { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.1em; }
.pricing-card h3 { font-size: 1.4rem; margin: 0.3em 0 0.6em; }
.pricing-card .price { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); margin-bottom: var(--s-4); }
.pricing-card .price small { font-family: var(--font-body); font-size: 0.8rem; color: var(--gray-500); font-weight: 400; }
.pricing-card ul { display: flex; flex-direction: column; gap: 0.6em; margin-bottom: var(--s-5); flex-grow: 1; }
.pricing-card li { font-size: 0.92rem; color: var(--gray-700); padding-left: 1.4em; position: relative; }
.pricing-card li::before { content: '—'; position: absolute; left: 0; color: var(--navy); }

.pricing-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
  flex-grow: 1;
  padding-top: var(--s-3);
  border-top: 1px solid var(--gray-100);
}
.pricing-split > div:first-child {
  border-right: 1px solid var(--gray-100);
  padding-right: var(--s-4);
}
.pricing-split h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-500);
  margin-bottom: 0.6em;
  font-weight: 500;
}
.pricing-split ul { display: flex; flex-direction: column; gap: 0.5em; }
.pricing-split li {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--gray-700);
  padding-left: 1em;
  position: relative;
}
.pricing-split li::before { content: '—'; position: absolute; left: 0; color: var(--navy); }
.pricing-grid { align-items: stretch; }
@media (max-width: 780px) {
  .pricing-grid.grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pricing-split { grid-template-columns: 1fr; gap: var(--s-4); }
  .pricing-split > div:first-child { border-right: none; padding-right: 0; border-bottom: 1px solid var(--gray-100); padding-bottom: var(--s-4); }
}

/* --- Testimonials --- */
.testimonial-card { padding: var(--s-5); border-radius: var(--radius-lg); background: var(--off-white); display: flex; flex-direction: column; gap: var(--s-4); height: 100%; }
.testimonial-card .quote { font-size: 1.05rem; color: var(--ink); line-height: 1.6; }
.testimonial-card .stars { font-size: 0.85rem; letter-spacing: 0.15em; color: var(--navy); }
.testimonial-person { display: flex; align-items: center; gap: var(--s-3); margin-top: auto; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 0.95rem; }
.testimonial-person strong { display: block; font-size: 0.92rem; }
.testimonial-person span { font-size: 0.8rem; color: var(--gray-500); }

/* --- FAQ --- */
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) 0; background: none; border: none; width: 100%; text-align: left; font-family: var(--font-display); font-size: 1.02rem; color: var(--navy); font-weight: 600; }
.faq-q .plus { font-size: 1.4rem; color: var(--navy); transition: transform 0.25s var(--ease); flex-shrink: 0; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-a p { padding-bottom: var(--s-4); color: var(--gray-700); max-width: 68ch; }

/* --- Forms --- */
.form-card { background: var(--off-white); border-radius: var(--radius-lg); padding: var(--s-5); }
.field { margin-bottom: var(--s-4); }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5em; }
.field .hint { font-size: 0.78rem; color: var(--gray-500); margin-top: 0.4em; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.8em 1em;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field.error input, .field.error textarea, .field.error select { border-color: #c0362c; }
.field .error-msg { display: none; font-size: 0.8rem; color: #c0362c; margin-top: 0.4em; }
.field.error .error-msg { display: block; }

.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
@media (max-width: 700px) { .radio-cards { grid-template-columns: repeat(2, 1fr); } }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card label {
  display: block;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 0.9em 1em;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  margin: 0;
  text-align: center;
}
.radio-card input:checked + label { border-color: var(--navy); background: var(--navy); color: var(--white); }
.radio-card input:focus-visible + label { outline: 2px solid var(--navy); outline-offset: 2px; }

/* --- Multi-step wizard --- */
.wizard-steps { display: flex; align-items: center; margin-bottom: var(--s-6); flex-wrap: wrap; gap: 0; }
.wizard-step { display: flex; align-items: center; gap: 0.6em; }
.wizard-step .dot {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.8rem;
  transition: all 0.25s var(--ease);
  flex-shrink: 0;
}
.wizard-step span.label { font-size: 0.82rem; color: var(--gray-500); font-weight: 600; }
.wizard-step.active .dot, .wizard-step.done .dot { background: var(--navy); border-color: var(--navy); color: var(--white); }
.wizard-step.active span.label, .wizard-step.done span.label { color: var(--navy); }
.wizard-connector { flex: 1; min-width: 24px; height: 1.5px; background: var(--gray-300); margin: 0 0.6em; }
@media (max-width: 700px) { .wizard-step span.label { display: none; } }

.wizard-panel { display: none; }
.wizard-panel.active { display: block; animation: fadein 0.4s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.wizard-nav { display: flex; justify-content: space-between; margin-top: var(--s-5); gap: var(--s-3); }

.summary-list { display: flex; flex-direction: column; gap: 0.7em; }
.summary-row { display: flex; justify-content: space-between; gap: var(--s-3); padding: 0.6em 0; border-bottom: 1px solid var(--gray-100); font-size: 0.92rem; }
.summary-row dt { color: var(--gray-500); }
.summary-row dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }

.success-state { text-align: center; padding: var(--s-6) var(--s-4); }
.success-state .badge-check { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--s-4); font-size: 1.6rem; }
.success-state .ref { font-family: var(--font-mono); background: var(--off-white); display: inline-block; padding: 0.5em 1em; border-radius: var(--radius-sm); margin-top: var(--s-3); font-size: 0.95rem; color: var(--navy); }

/* --- CTA band --- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 22ch; }
.cta-band .actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* --- Footer --- */
.site-footer { background: var(--black); color: #c7cbd2; padding: var(--s-7) 0 var(--s-4); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--s-5); padding-bottom: var(--s-6); border-bottom: 1px solid #232323; }
.footer-brand img { height: 30px; margin-bottom: var(--s-3); }
.footer-brand p.tag { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #7c8593; }
.footer-brand p.desc { margin-top: var(--s-3); font-size: 0.9rem; color: #9aa3af; max-width: 32ch; }
.social-row { display: flex; gap: 0.7em; margin-top: var(--s-4); }
.social-row a { width: 34px; height: 34px; border: 1px solid #2b2b2b; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; transition: all 0.2s var(--ease); }
.social-row a:hover { border-color: var(--white); background: var(--white); color: var(--black); }
.footer-col h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: var(--s-3); font-family: var(--font-display); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65em; }
.footer-col a, .footer-col p { font-size: 0.88rem; color: #9aa3af; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--s-4); font-size: 0.82rem; color: #6b7280; flex-wrap: wrap; gap: var(--s-2); }
.footer-bottom .legal-links { display: flex; gap: var(--s-4); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- WhatsApp floating button --- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 80;
  background: var(--navy);
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(2,34,73,0.55);
  transition: transform 0.25s var(--ease), width 0.25s var(--ease), border-radius 0.25s var(--ease), background .25s;
  overflow: hidden;
  white-space: nowrap;
}
.wa-float:hover { transform: translateY(-3px); background: var(--black); }
.wa-float svg { flex-shrink: 0; }
.wa-float .wa-text { max-width: 0; opacity: 0; transition: all 0.25s var(--ease); font-size: 0.85rem; font-weight: 600; }
.wa-float:hover .wa-text { max-width: 200px; opacity: 1; margin-left: 0.6em; }
@media (max-width: 700px) { .wa-float:hover .wa-text { display: none; } }

/* --- Utility --- */
.text-center { text-align: center; }
.mt-6 { margin-top: var(--s-6); }
.mb-0 { margin-bottom: 0; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.bg-off { background: var(--off-white); }
.bg-navy { background: var(--navy); color: var(--white); }
.divider-swoosh { height: 3px; width: 100%; background: var(--road-gradient); border: none; margin: 0; }

/* =========================================================
   BLOG — listing page (featured post, toolbar, grid) and
   single-post layout with sidebar. Same tokens as the rest
   of the site.
   ========================================================= */
.blog-search { position: relative; }
.blog-search input {
  width: 100%;
  padding: 0.8em 1em;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--white);
}
.blog-search input:focus { outline: none; border-color: var(--navy); }

.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  align-items: center;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  margin-bottom: var(--s-6);
}
.featured-post .thumb {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy) 0%, #000 130%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.featured-post .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-post .thumb span { color: rgba(255,255,255,0.5); font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.featured-post h2 { font-size: 1.4rem; margin: 0.5em 0 0.4em; line-height: 1.2; }
.featured-post p.excerpt { color: var(--gray-700); font-size: 0.95rem; margin-bottom: var(--s-3); }

.blog-card-full { cursor: pointer; display: block; }
.blog-thumb {
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  margin-bottom: var(--s-3);
  background: linear-gradient(135deg, var(--navy) 0%, #000 130%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  position: relative;
}
.blog-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-thumb span { color: rgba(255,255,255,0.5); font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.blog-cat { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; }
.blog-card-full h3 { font-size: 1.08rem; margin: 0.5em 0 0.4em; line-height: 1.3; }
.blog-card-full p.excerpt { font-size: 0.88rem; color: var(--gray-700); margin-bottom: 0.7em; }
.blog-meta { display: flex; gap: 0.9em; font-size: 0.78rem; color: var(--gray-500); font-family: var(--font-mono); }

.pagination { display: flex; justify-content: center; gap: 0.5em; margin-top: var(--s-6); }
.pagination button {
  width: 38px; height: 38px; border-radius: 8px;
  border: 1px solid var(--gray-300); background: var(--white);
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600;
  color: var(--gray-700);
  transition: all 0.2s var(--ease);
}
.pagination button.active, .pagination button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.sidebar-box { border: 1px solid var(--gray-100); border-radius: var(--radius-md); padding: var(--s-4); margin-bottom: var(--s-4); }
.sidebar-box h4 {
  font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--gray-500); margin-bottom: var(--s-3); font-weight: 600;
}
.cat-list li { display: flex; justify-content: space-between; padding: 0.65em 0; border-top: 1px solid var(--gray-100); font-size: 0.9rem; }
.cat-list li:first-child { border-top: none; }
.cat-list a { color: var(--ink); }
.cat-list a:hover, .cat-list a.active-cat { color: var(--navy); font-weight: 600; }
.cat-count { color: var(--gray-500); font-size: 0.78rem; font-family: var(--font-mono); }

.related-post { display: flex; gap: 0.8em; padding: 0.8em 0; border-top: 1px solid var(--gray-100); }
.related-post:first-child { border-top: none; }
.related-thumb { width: 58px; height: 48px; border-radius: 6px; background: var(--navy); flex-shrink: 0; }
.related-post h5 { font-size: 0.85rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.related-post span { font-size: 0.75rem; color: var(--gray-500); font-family: var(--font-mono); }

/* single post layout */
.featured-post-wide { grid-template-columns: 0.9fr 1.1fr; margin-bottom: var(--s-5); }
.featured-post-wide .thumb { aspect-ratio: 16/9; }
.featured-post-wide h2 { font-size: 1.7rem; }

.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--gray-100);
}
.blog-toolbar .blog-search { width: 260px; flex-shrink: 0; }
.blog-toolbar .filter-bar { flex: 1; justify-content: flex-end; }
@media (max-width: 780px) {
  .blog-toolbar { flex-direction: column; align-items: stretch; }
  .blog-toolbar .blog-search { width: 100%; }
  .blog-toolbar .filter-bar { justify-content: flex-start; }
}

.blog-card-full { display: block; }
.blog-card-full .blog-thumb { margin-bottom: var(--s-3); }

.post-layout { display: grid; grid-template-columns: 1fr 300px; gap: var(--s-6); align-items: start; }
.post-body { display: flex; flex-direction: column; gap: var(--s-4); color: var(--gray-700); font-size: 1.02rem; }
.post-body h3 { color: var(--navy); font-size: 1.2rem; margin-top: var(--s-3); }
.post-body img { width: 100%; border-radius: var(--radius-md); display: block; }
.post-cover {
  aspect-ratio: 16/8; border-radius: var(--radius-lg); margin-bottom: var(--s-5);
  background: linear-gradient(135deg, var(--navy) 0%, #000 130%);
  display: flex; align-items: center; justify-content: center;
}
.post-cover span { color: rgba(255,255,255,0.5); font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }

@media (max-width: 980px) {
  .post-layout { grid-template-columns: 1fr; }
  .featured-post { grid-template-columns: 1fr; }
}