﻿/* =====================
   FONTS
   ===================== */
@font-face {
  font-family: 'CalSans';
  src: url('../fonts/CalSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #ff863d;
  --orange-dark: #e06b28;
  --blue: #1a73e8;
  --blue-dark: #0d47a1;
  --dark: #111111;
  --dark2: #1a1a1a;
  --mid: #333333;
  --gray: #666666;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --green: #2ecc71;
  --topbar-h: 36px;
  --nav-h: 64px;
  --header-h: calc(var(--topbar-h) + var(--nav-h));
  --section-pad: 80px 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: var(--mid);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 4px;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.55);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 4px;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-white:hover { background: #e8f0fe; }

.btn-outline-nav {
  display: inline-block;
  color: var(--mid);
  font-weight: 500;
  font-size: 14px;
  padding: 7px 14px;
  border-radius: 4px;
  border: 1.5px solid var(--orange);
  transition: background 0.2s, color 0.2s;
}
.btn-outline-nav:hover { background: var(--orange); color: var(--white); }

/* =====================
   SECTION TYPOGRAPHY
   ===================== */
.section-eyebrow {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-eyebrow.light { color: rgba(255,255,255,0.7); }

.section-heading {
  font-family: 'CalSans', sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-heading.light { color: var(--white); }

/* =====================
   SITE HEADER (topbar + navbar, fixed together)
   ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

/* TOP ANNOUNCEMENT BAR */
.topbar {
  background: #2b2b2b;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar .container {
  display: flex;
  justify-content: center;
}
.topbar p {
  font-size: 12px;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
  letter-spacing: 0.3px;
  text-align: center;
}

/* NAVBAR */
.navbar {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 30px;
  width: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a:not(.btn-primary):not(.btn-outline-nav) {
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  padding: 7px 12px;
  border-radius: 4px;
  transition: color 0.2s;
}
.nav-links a:not(.btn-primary):not(.btn-outline-nav):hover { color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--mid);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* =====================
   HERO
   ===================== */
.hero {
  height: 590px;
  background: url('../images/hero_bg.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-content {
  width: 100%;
}

.hero-body {
  max-width: 700px;
}

.hero-eyebrow {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

/* Bar + full text column side by side */
.hero-body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.hero-accent-bar {
  width: 7px;
  height: 54px;
  background: var(--orange);
  border-radius: 0;
  flex-shrink: 0;
  margin-top: 5px;
}

.hero-text-col {
  flex: 1;
}

.hero-heading {
  font-family: 'CalSans', sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 36px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 26px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =====================
   PLATFORMS
   ===================== */
.platforms {
  background: var(--white);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 56px 0;
}

.platforms-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.platforms-label {
  font-size: 15px;
  color: #000000;
  letter-spacing: 0.3px;
  margin-bottom: 32px;
  text-align: center;
  width: 100%;
}

.platforms-img {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================
   TESTIMONIALS DARK  (after platforms, dark bg with analytics image)
   ===================== */
.testimonials-dark {
  background: #111 url('../images/testimonials_bg.png') center center / cover no-repeat;
  position: relative;
  padding: 64px 0;
}
.testimonials-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.82);
}
.testimonials-dark .container { position: relative; z-index: 1; }

/* Single-column list; double gap between items, single gap quote→attr */
.testimonials-dark-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tdark-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 2em;  /* double-space below each item */
}
.tdark-item:last-child {
  padding-bottom: 0;
}

@keyframes tdark-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.18); opacity: 0.82; }
}

.tdark-icon {
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  background: #286b39;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  margin-top: 4px;
  animation: tdark-pulse 2.4s ease-in-out infinite;
}
.tdark-icon::after {
  content: '';
  width: 9px;
  height: 9px;
  background: #3dff6f;
  border-radius: 50%;
}

.tdark-quote {
  font-size: 18px;
  color: #ffffff;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 0.4em;
}

.tdark-attr {
  font-size: 17px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.5;
}
.tdark-attr span {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--orange);
  margin-top: 2px;
  font-style: normal;
}

/* =====================
   SERVICES
   ===================== */
.services {
  padding: var(--section-pad);
  background: var(--light-gray);
  text-align: center;
}

.services .section-eyebrow,
.services .section-heading { text-align: center; }
.services .section-heading { margin-bottom: 44px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  color: var(--orange);
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: 'CalSans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* =====================
   DIGITAL COMPANY
   ===================== */
.digital-company {
  padding: var(--section-pad);
  background: var(--white);
}

.digital-company-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.digital-mockup {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mockup-laptop {
  width: 100%;
  max-width: 440px;
}

.mockup-screen {
  background: var(--dark2);
  border-radius: 8px 8px 0 0;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 6px solid #2a2a2a;
}

.mockup-placeholder {
  color: rgba(255,255,255,0.2);
  font-size: 12px;
  letter-spacing: 1px;
}
.mockup-placeholder.small { font-size: 10px; }

.mockup-base {
  height: 18px;
  background: #2a2a2a;
  border-radius: 0 0 4px 4px;
  margin: 0 10%;
}

.mockup-phone {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 84px;
  background: #2a2a2a;
  border-radius: 14px;
  padding: 7px 5px;
  border: 4px solid #1a1a1a;
}

.mockup-phone-screen {
  background: var(--dark);
  border-radius: 8px;
  aspect-ratio: 9/16;
  display: flex;
  align-items: center;
  justify-content: center;
}

.digital-text .section-heading { margin-bottom: 14px; }

.digital-desc {
  color: var(--gray);
  margin-bottom: 22px;
  font-size: 14px;
}

.digital-list { margin-bottom: 28px; }

.digital-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 14px;
  color: var(--mid);
}

.list-check {
  width: 20px;
  height: 20px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* =====================
   DIGITAL COMPANY — STATS GRID (replaces mockup)
   ===================== */
.digital-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}

.stat-box {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 24px 20px;
  border-left: 4px solid var(--orange);
}

.stat-number {
  font-family: 'CalSans', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--orange);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

/* =====================
   PROJECTS
   ===================== */
.projects {
  padding: var(--section-pad);
  background: var(--blue);
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 24px;
}

.projects-header .section-heading { margin-bottom: 8px; }

.projects-sub {
  color: rgba(255,255,255,0.70);
  font-size: 14px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.projects-col-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.project-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}
.project-card:hover { transform: translateY(-3px); }

.project-card.large .project-img-placeholder { height: 300px; }
.project-card:not(.large) .project-img-placeholder { height: 138px; }

.project-img-placeholder {
  background: #2e2e2e;
  width: 100%;
}

.project-result {
  background: linear-gradient(140deg, #1c1c1c, #2e2e2e);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px;
}

.project-card.large .project-result { height: 300px; }
.project-card:not(.large) .project-result { height: 138px; }

.project-result-stat {
  font-family: 'CalSans', sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--orange);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 4px;
}

.project-result-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.project-info {
  padding: 12px 16px;
}

.project-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 3px;
}

.project-info h4 {
  font-family: 'CalSans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--dark);
}

/* =====================
   DIGITAL PRODUCTS
   ===================== */
.digital-products {
  padding: var(--section-pad);
  background: var(--light-gray);
}

.digital-products-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.dp-text .section-heading { margin-bottom: 14px; }
.dp-text p { color: var(--gray); margin-bottom: 26px; font-size: 14px; }

.dp-visuals {
  display: flex;
  gap: 20px;
  align-items: center;
}

.dp-phone-placeholder {
  flex-shrink: 0;
  width: 130px;
  height: 260px;
  background: #2e2e2e;
  border-radius: 22px;
}

.dp-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dp-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--light-gray);
  border-radius: 8px;
  padding: 12px 14px;
}

.dp-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dp-card-icon.orange { background: var(--orange); }
.dp-card-icon.blue { background: var(--blue); }
.dp-card-icon.green { background: var(--green); }
.dp-card-icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dp-cards { width: 100%; }

.dp-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}
.dp-card p { font-size: 12px; color: var(--gray); line-height: 1.5; }

/* =====================
   TESTIMONIALS  (plain white bg, cards with subtle shadow)
   ===================== */
.testimonials {
  padding: var(--section-pad);
  background: var(--light-gray);
}
.testimonials .section-eyebrow,
.testimonials .section-heading { text-align: center; }
.testimonials .section-heading { margin-bottom: 40px; color: var(--dark); }
.testimonials .section-eyebrow { color: var(--orange); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.stars {
  color: #f5c518;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card > p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ccc;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: var(--dark);
  font-size: 14px;
}
.testimonial-author span {
  font-size: 12px;
  color: var(--gray);
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--dark) url('../images/footer_bg.png') center center / cover no-repeat;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.92);
}
.footer .container { position: relative; z-index: 1; }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 24px 40px;
}

.footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: background 0.2s, color 0.2s;
}
.social-icon:hover { background: var(--orange); color: var(--white); }
.social-icon svg { width: 15px; height: 15px; }

.footer-col h4 {
  font-family: 'CalSans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--orange); }

/* =====================
   NAV ACTIVE STATE
   ===================== */
.nav-links a.nav-active:not(.btn-primary):not(.btn-outline-nav) {
  color: var(--orange);
  font-weight: 600;
}

/* =====================
   NAV DROPDOWN
   ===================== */
.nav-dropdown { position: relative; }
.nav-dropdown:hover .nav-dropdown-toggle { color: var(--orange); }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: -14px;
  background: #fff; border: 1px solid #e8e8e8; border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10); min-width: 235px;
  z-index: 300; padding: 14px 0 8px;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block !important; padding: 9px 18px !important;
  font-size: 13px; color: var(--dark) !important; white-space: nowrap;
}
.nav-dropdown-menu a:hover { color: var(--orange) !important; background: #f7f7f7; }

/* =====================
   PAGE BANNER (interior pages)
   ===================== */
.page-banner {
  background: var(--dark) url('../images/bannerbg.jpg') center center / cover no-repeat;
  padding: 52px 0;
  padding-top: calc(var(--header-h) + 52px);
}
.page-banner .section-eyebrow { color: var(--orange); margin-bottom: 8px; }
.page-banner-title {
  font-family: 'CalSans', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--white);
  line-height: 1.2;
  margin: 0;
}

/* =====================
   SERVICES PAGE LAYOUT
   ===================== */
.services-page {
  padding: 64px 0 80px;
  background: var(--light-gray);
}

.services-page-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
}

.services-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.sidebar-panel {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.sidebar-panel h2 {
  font-family: 'CalSans', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.sidebar-panel p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 12px;
}

.sidebar-panel .btn-primary { margin-top: 8px; }

.services-content-list {
  display: grid;
  gap: 16px;
}

.svc-block {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.svc-block h2 {
  font-family: 'CalSans', sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 12px;
}

.svc-block p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 10px;
}
.svc-block p:last-child { margin-bottom: 0; }

.svc-block ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: grid;
  gap: 6px;
}

.svc-block ul li {
  font-size: 14px;
  color: var(--gray);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.svc-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.svc-block strong { color: var(--dark); }

/* Scroll offset for anchor links (fixed header) */
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* =====================
   CASE STUDIES
   ===================== */
.case-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: var(--light-gray);
  border-radius: 6px;
  border-left: 4px solid var(--orange);
}

.case-stats span {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.case-graph {
  margin: 18px 0 6px;
  border-radius: 8px;
  background: #f0f2f5;
  overflow: hidden;
  width: 100%;
  max-width: 560px;
  border: 1px solid #e0e0e0;
}

.case-graph canvas {
  display: block;
  width: 100%;
  height: auto;
}

.graph-note {
  font-size: 12px;
  color: var(--gray);
  font-style: italic;
  margin-bottom: 14px;
}

/* =====================
   FAQ PAGE
   ===================== */
.faq-page {
  padding: 64px 0 80px;
  background: var(--light-gray);
}

.faq-intro-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 36px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  margin-bottom: 24px;
}

.faq-intro-card h2 {
  font-family: 'CalSans', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 8px;
}

.faq-intro-card > p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 24px;
}

.faq-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.index-column {
  background: var(--light-gray);
  border-radius: 6px;
  padding: 18px 20px;
}

.index-list {
  margin: 0;
  padding-left: 20px;
  list-style: decimal;
}

.index-list > li {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.index-list > li:last-child { margin-bottom: 0; }

.index-list ul {
  list-style: none;
  padding-left: 4px;
  margin: 6px 0 0;
  display: grid;
  gap: 4px;
}

.index-list ul li {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
}

.faq-index a {
  color: inherit;
  transition: color 0.15s;
}

.faq-index a:hover { color: var(--orange); }

.faq-sections {
  display: grid;
  gap: 16px;
}

.faq-section-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.faq-section-header {
  margin-bottom: 20px;
}

.faq-section-header h2 {
  font-family: 'CalSans', sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--dark);
  line-height: 1.3;
  margin: 0;
}

.faq-shell {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 6px;
  border: 1px solid #e8e8e8;
  padding: 18px 20px;
  background: var(--white);
}

.faq-item h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  margin: 0 0 8px;
  line-height: 1.4;
}

.faq-item p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

/* =====================
   CONTACT PAGE
   ===================== */
.contact-page {
  padding: 64px 0 80px;
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.contact-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}

.contact-page > .container {
  position: relative;
  z-index: 1;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  align-items: start;
}

.contact-panel {
  background: var(--white);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.hours-panel h2 {
  font-family: 'CalSans', sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.hours-panel > p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--light-gray);
  border-radius: 6px;
  font-size: 14px;
  border-left: 3px solid var(--orange);
}

.hours-list li span:first-child {
  font-weight: 600;
  color: var(--dark);
}

.hours-list li span:last-child {
  color: var(--gray);
  font-weight: 500;
}

.contact-info {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  display: grid;
  gap: 14px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--mid);
}

.contact-info-item svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex-shrink: 0;
}

.contact-info-item a {
  color: var(--mid);
  transition: color 0.2s;
}
.contact-info-item a:hover { color: var(--orange); }

.form-panel h2 {
  font-family: 'CalSans', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 8px;
}

.form-panel > p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  background: var(--white);
  color: var(--mid);
  padding: 11px 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--orange); }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #bbb; }

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%23666' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 12px 8px;
  background-position: calc(100% - 14px) center;
  cursor: pointer;
}

.contact-form textarea { resize: vertical; min-height: 96px; }

.contact-form .btn-primary {
  width: 100%;
  padding: 13px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-align: center;
  display: block;
}

.form-hint {
  font-size: 12px;
  color: var(--gray);
  margin: 0;
  text-align: center;
  line-height: 1.5;
}

/* =====================
   CARD LINK (service cards → dedicated pages)
   ===================== */
.card-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-top: 12px;
  transition: color 0.2s;
}
.card-link:hover { color: var(--orange-dark); }

/* =====================
   SVC-BLOCK H3 (FAQ sections inside service pages)
   ===================== */
.svc-block h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
  margin: 20px 0 8px;
  line-height: 1.4;
}
.svc-block h3:first-child { margin-top: 4px; }

/* =====================
   BLOG LISTING PAGE
   ===================== */
.blog-page {
  padding: 64px 0 80px;
  background: var(--light-gray);
}

.blog-list {
  display: grid;
  gap: 16px;
}

.blog-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }

.blog-card-title {
  font-family: 'CalSans', sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 12px;
}
.blog-card-title a { color: inherit; transition: color 0.2s; }
.blog-card-title a:hover { color: var(--orange); }

.blog-card-excerpt {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-read-more {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  transition: color 0.2s;
}
.blog-read-more:hover { color: var(--orange-dark); }

/* =====================
   PAGINATION
   ===================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  background: var(--white);
  border: 1.5px solid #e0e0e0;
  transition: border-color 0.2s, color 0.2s;
}
.pagination-btn:hover { border-color: var(--orange); color: var(--orange); }
.pagination-btn.disabled { opacity: 0.38; cursor: default; pointer-events: none; }

.pagination-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  background: var(--white);
  border: 1.5px solid #e0e0e0;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pagination-num:hover { border-color: var(--orange); color: var(--orange); }
.pagination-num.current {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  cursor: default;
  pointer-events: none;
}

/* =====================
   BLOG POST PAGE
   ===================== */
.blog-post-page {
  padding: 64px 0 80px;
  background: var(--light-gray);
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 20px;
  transition: color 0.2s;
}
.blog-back:hover { color: var(--orange); }

/* =====================
   BREADCRUMBS
   ===================== */
.breadcrumb-trail { background: #efefef; border-bottom: 1px solid #e2e2e2; padding: 9px 0; }
.breadcrumb-trail .container { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; }
.breadcrumb-trail a { color: #777; transition: color 0.18s; }
.breadcrumb-trail a:hover { color: var(--orange); }
.breadcrumb-trail .bc-sep { color: #bbb; }
.breadcrumb-trail .bc-current { color: #444; }

.post-meta { font-size: 12px; color: #999; margin-bottom: 10px; }

/* =====================
   RESPONSIVE — TABLET (1024px)
   ===================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .digital-company-inner,
  .digital-products-inner { gap: 40px; }
}

@media (max-width: 900px) {
  .services-page-grid { grid-template-columns: 1fr; }
  .services-sidebar { position: static; }
  .faq-index { grid-template-columns: 1fr; }
  .faq-intro-card { padding: 24px 20px; }
  .faq-section-card { padding: 24px 20px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-panel { padding: 28px 24px; }

  .digital-company-inner { grid-template-columns: 1fr; }
  .mockup-laptop { max-width: 100%; }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-col-right { flex-direction: row; }
  .projects-col-right .project-card { flex: 1; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

/* =====================
   RESPONSIVE — MOBILE (640px)
   ===================== */
@media (max-width: 640px) {
  :root {
    --section-pad: 52px 0;
    --topbar-h: 44px;
  }

  .topbar p { font-size: 11px; line-height: 1.4; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 24px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn-primary):not(.btn-outline-nav) { padding: 10px 0; }
  .btn-outline-nav,
  .btn-primary { text-align: center; margin-top: 4px; }

  .nav-dropdown-menu { display: none; }

  .hero { height: auto; min-height: 480px; padding-bottom: 48px; }
  .hero-content { padding-top: 32px; }
  .hero-heading { font-size: clamp(20px, 6vw, 28px); }
  .hero-accent-bar { height: 44px; }

  .services-grid { grid-template-columns: 1fr; }

  .digital-products-inner { grid-template-columns: 1fr; }
  .dp-visuals { flex-wrap: wrap; justify-content: center; }
  .dp-phone-placeholder { width: 100px; height: 200px; }

  .projects-header { flex-direction: column; align-items: flex-start; }
  .projects-col-right { flex-direction: column; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 26px; padding: 44px 24px 28px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }

  .platforms-img { max-width: 100%; }
}
