/* ===== Light mode only — Hundred Acre Tech ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #ffffff;
  color: var(--text);
}
img { max-width: 100%; height: auto; vertical-align: middle; display: inline-block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-elevated: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --blue: #0ea5e9;
  --blue-bright: #38bdf8;
  --blue-deep: #0284c7;
  --text: #050810;
  --text-muted: #1e293b;
  --text-dim: #334155;
  --glow-blue: 0 4px 24px rgba(14, 165, 233, 0.2);
  --container: min(1120px, 100% - 48px);
}

.container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  padding: 14px 0;
}
.navbar.is-open {
  z-index: 1002;
}
.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
/* Stratos-style: logo | centered nav | CTA */
.nav-container-centered {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-container-centered .nav-brand { justify-self: start; }
.nav-container-centered .nav-pill-center { justify-self: center; }
.nav-container-centered .btn-nav-cta { justify-self: end; grid-column: 3; }
.nav-container-centered .nav-mobile-menu { justify-self: end; grid-column: 3; }
@media (max-width: 991px) {
  .nav-container-centered { grid-template-columns: 1fr auto; }
  .nav-container-centered .nav-pill-center { display: none; }
  .nav-container-centered .btn-nav-cta { display: none !important; }
  .nav-container-centered .nav-mobile-menu { grid-column: 2; }
}
.nav-brand { display: flex; align-items: center; }
.navbav-logo-div { display: flex; align-items: center; gap: 12px; }
.logo { width: 40px; height: 40px; object-fit: contain; }
.logo-name-header {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-pill {
  display: none;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  background: #ffffff;
  border: none;
  border-radius: 999px;
}
@media (min-width: 992px) { .nav-pill { display: flex; } }
.nav-pill .nav-link {
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-pill .nav-link:hover { color: var(--text); background: var(--bg-soft); }

.btn-nav-cta {
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  padding: 8px 40px 8px 40px;
  min-height: 44px;
  background: #FDCB03;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.btn-nav-cta:hover { background: #000; color: #fff; transform: translateY(-1px); }
.btn-nav-cta:hover .btn-nav-cta-icon circle { fill: #fff; stroke: #fff; }
.btn-nav-cta:hover .btn-nav-cta-icon path { stroke: #000; }
.btn-nav-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
}
.btn-nav-cta-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 992px) { .btn-nav-cta { display: inline-flex; } }

.nav-mobile-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #ffffff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s;
}
.nav-mobile-menu:hover { background: var(--bg-soft); }
@media (min-width: 992px) { .nav-mobile-menu { display: none; } }
.w-icon-nav-menu::before {
  content: "";
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}
.w-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1001;
}
.nav-links-wrapper {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 0 24px 24px;
  border: none;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 1003;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  isolation: isolate;
}
@media (max-width: 991px) {
  .nav-links-wrapper {
    display: flex;
    pointer-events: none;
    visibility: hidden;
  }
  .navbar.is-open .nav-links-wrapper {
    max-height: 360px;
    padding-top: 20px;
    pointer-events: auto;
    visibility: visible;
  }
}
@media (min-width: 992px) {
  .nav-links-wrapper { display: none !important; }
}
.navbar.is-open .w-nav-overlay { display: block; }
.nav-links-wrapper .nav-link {
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--text-muted);
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.nav-links-wrapper .nav-link:hover { color: var(--text); background: var(--bg-soft); }
.nav-button-inner-mobile {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  margin-top: 8px;
  background: #FDCB03;
  color: #1a1a1a;
  font-weight: 700;
  text-align: center;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.nav-button-inner-mobile:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}
.nav-button-inner-mobile:hover .btn-nav-cta-icon circle { fill: #fff; stroke: #fff; }
.nav-button-inner-mobile:hover .btn-nav-cta-icon path { stroke: #000; }
.nav-button-inner-mobile .btn-nav-cta-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
}
.nav-button-inner-mobile .btn-nav-cta-text { white-space: nowrap; }

.btn-parent {
  display: inline-block;
  padding: 14px 28px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-parent:hover { background: var(--blue-deep); box-shadow: var(--glow-blue); transform: translateY(-1px); }
.btn-parent .btn-txt-2 { display: none; }
.btn-parent .btn-txt-1 { display: inline; }

/* ===== Hero: gradient sits behind transparent nav ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center; /* center hero content on main axis */
  margin-top: -72px; /* pull up so gradient extends under nav */
  padding: calc(72px + 88px) 0 88px 0; /* top = nav height + original padding */
  overflow-x: hidden;
  overflow-y: visible;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, #0f172a 0%, #1e3a5f 35%, #1e40af 70%, #2563eb 100%);
  pointer-events: none;
}
/* Stratos-style gradient: lavender → pale blue/green, harder for contrast with next section */
.hero-bg-soft {
  background: linear-gradient(120deg, #e8dff5 0%, #d4e8f5 40%, #dceee2 100%);
}
.hero-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(56, 189, 248, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, black 20%, transparent 70%);
  pointer-events: none;
}
.hero-lines::before {
  content: "";
  position: absolute;
  top: 20%;
  right: 15%;
  width: 300px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
  border-radius: 2px;
  transform: rotate(-25deg);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}
.hero-lines::after {
  content: "";
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.35), transparent);
  border-radius: 2px;
  transform: rotate(15deg);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  overflow: visible;
}
.hero-inner > * {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hero-label {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #38bdf8;
}
.hero-title {
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #f8fafc;
  margin: 0 auto 20px;
  padding-bottom: 0.15em;
  display: block;
  text-align: center;
  max-width: min(900px, 100%);
  overflow: visible;
}
.hero-title-line {
  display: block;
  text-align: center;
}
.hero-title-accent {
  display: block;
  font-size: 1.08em;
  color: #e0f2fe;
  text-align: center;
  line-height: 1.35;
  padding-bottom: 0.12em;
}
/* Let title use more width so it doesn’t clip and stays centered */
.hero-inner .hero-title {
  max-width: min(900px, 100%);
  margin-left: auto;
  margin-right: auto;
}
/* Stratos-style hero: dark text on light bg */
.hero-title-stratos { color: #1a1a2e; margin: 0 0 16px; }
.hero-title-stratos .hero-title-line { color: #1a1a2e; }
.hero-title-stratos .hero-title-script { color: #2a4a72; background: none; -webkit-text-fill-color: #2a4a72; background-clip: unset; }
.hero-title-script {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  overflow: visible;
  padding-bottom: 0.08em;
  line-height: 1.4;
}
.hero-subtitle {
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  color: #94a3b8;
  margin: 0 0 32px;
  line-height: 1.6;
  max-width: 520px;
}
.hero-subtitle-stratos { color: #1a1a2e; max-width: 560px; margin: 24px 0 28px; margin-left: auto; margin-right: auto; text-align: center; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-ctas-stratos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
}
/* Discovery call CTA: same yellow as Let's Talk (override .btn-hero-primary) */
a.btn-hero-discovery,
.btn-hero-primary.btn-hero-discovery {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 48px;
  background: #FDCB03 !important;
  color: #1a1a1a !important;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 999px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s;
}
a.btn-hero-discovery:hover,
.btn-hero-primary.btn-hero-discovery:hover {
  background: #000 !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}
a.btn-hero-discovery:hover .btn-hero-stratos-icon path,
.btn-hero-primary.btn-hero-discovery:hover .btn-hero-stratos-icon path { stroke: #fff; }
.btn-hero-discovery .btn-hero-stratos-icon path { stroke: #1a1a1a; }
.hero-flutterflow-badge {
  display: block;
  margin-top: 8px;
  width: 100%;
  text-align: center;
}
.hero-flutterflow-badge img {
  display: inline-block;
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-hero-primary:hover { background: #f1f5f9; box-shadow: 0 0 30px rgba(255,255,255,0.2); transform: translateY(-2px); }
/* Stratos-style primary CTA: purple-blue, white text, white circle + arrow icon */
.btn-hero-stratos {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 999px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-hero-stratos:hover {
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
  transform: translateY(-2px);
}
.btn-hero-stratos-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.btn-hero-stratos-icon svg { width: 100%; height: 100%; object-fit: contain; }
.btn-hero-stratos-icon path { stroke: #4f46e5; }
/* Social proof: avatars + stars + text */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-avatars {
  display: flex;
  align-items: center;
}
.hero-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 100%);
  border: 2px solid #fff;
  margin-left: -8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.hero-avatar:first-child { margin-left: 0; }
.hero-trusted {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hero-stars { color: #fbbf24; font-size: 0.875rem; letter-spacing: 0.05em; }
.hero-trusted-text { font-size: 0.8125rem; color: #64748b; font-weight: 500; }
/* Footer strap below hero */
.hero-footer-strap {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
  width: 100%;
  max-width: 560px;
  padding: 0 24px;
}
@media (max-width: 640px) {
  .hero-ctas-stratos { flex-direction: column; align-items: center; }
  .hero-flutterflow-badge img { height: 32px; }
  .hero-footer-strap { bottom: 24px; font-size: 0.8125rem; }
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: #38bdf8;
  color: #fff;
  transform: translateY(-2px);
}
.btn-hero-primary .btn-arrow { flex-shrink: 0; opacity: 0.8; stroke: var(--text); }
.btn-hero-secondary .btn-arrow { flex-shrink: 0; opacity: 0.9; stroke: #38bdf8; }

/* ===== Sections (no dividers; alternating background: darker, white, …) ===== */
.our-services,
.our-works,
.testimonials-wrap-new,
.contact-wrap,
.faq-wrap {
  padding: 88px 0;
}
/* Scroll-to-section: align to the heading text (nav height + breathing room above title) */
.section-title {
  scroll-margin-top: 112px;
}
.our-services {
  background: var(--bg-soft);
}
.our-works {
  background: #ffffff;
}
.testimonials-wrap-new {
  background: var(--bg-soft);
}
.contact-wrap {
  background: #ffffff;
}
.faq-wrap {
  background: var(--bg-soft);
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 12px;
}
.section-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.section-subtitle-text { color: var(--text); font-weight: 600; }
.section-text-box {
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ===== Services ===== */
.our-services .container {
  padding-left: 16px;
  padding-right: 16px;
}
.our-services .section-text-box {
  max-width: 760px;
}
.grid-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
  .grid-services { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* Service cards: stagger-in on scroll */
@keyframes service-card-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.grid-services .service-card {
  opacity: 0;
  transform: translateY(24px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.grid-services.services-inview .service-card {
  animation: service-card-reveal 0.5s ease-out forwards;
}
.grid-services.services-inview .service-card:nth-child(1) { animation-delay: 0.05s; }
.grid-services.services-inview .service-card:nth-child(2) { animation-delay: 0.15s; }
.grid-services.services-inview .service-card:nth-child(3) { animation-delay: 0.25s; }
.grid-services.services-inview .service-card:nth-child(4) { animation-delay: 0.35s; }

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.service-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.card-title-block { margin-bottom: 16px; }
.card-image { margin-bottom: 12px; }
.card-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.service-card:hover .card-img {
  transform: scale(1.08);
}

.card-title { font-size: 1.0625rem; font-weight: 600; color: var(--text); margin: 0 0 4px; }
.service-divider {
  height: 2px;
  width: 32px;
  margin-bottom: 16px;
  background: #FDCB03;
  border-radius: 1px;
  transition: width 0.35s ease;
}
.service-card:hover .service-divider {
  width: 100%;
}
.card-subtitle {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* ===== Projects: carousel (center card + edge fades, arrows align with testimonial fade) ===== */
.projects-slider-wrapper {
  position: relative;
}
@media (min-width: 992px) {
  .projects-slider-wrapper {
    margin: 0 -48px; /* match testimonials full-bleed */
  }
}
.projects-slider {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 80px; /* room for arrows on mobile/small desktop */
}
/* Desktop: arrow in solid zone; content inset so it starts after arrow + gap; fade starts at that boundary */
@media (min-width: 992px) {
  .projects-slider {
    max-width: none;
    width: 100%;
    padding: 0;
  }
  /* Fade overlays sit over the content area only (not over arrows); content fades earlier with wide gradient */
  .projects-slider::before,
  .projects-slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 2;
    pointer-events: none;
  }
  .projects-slider::before {
    left: 60px; /* match viewport inset: arrow (44px) + 16px gap, then content + fade */
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
  }
  .projects-slider::after {
    right: 60px;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
  }
  .projects-slider .slider-arrow-left {
    left: 0;
  }
  .projects-slider .slider-arrow-right {
    right: 0;
  }
}
.projects-carousel-viewport {
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
  margin: 0 -12px;
}
@media (min-width: 992px) {
  /* Inset content so it never sits under arrows; arrow ends where content (and fade) starts */
  .projects-carousel-viewport {
    margin: 0 60px; /* 44px arrow + 16px gap = clear space, then content begins */
  }
}
.projects-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
  backface-visibility: hidden;
  align-items: flex-start;
}
.projects-slider .project-slide {
  flex: 0 0 var(--project-slide-width, 320px);
  min-width: 0;
  padding: 12px 0 28px;
  display: flex;
  flex-direction: column;
}
/* Card: on mobile size to content so text isn't cut off; on desktop equal height. */
.projects-slider .project-slide .work-card-slide {
  min-height: 320px;
  opacity: 0.85;
  transform: scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
@media (max-width: 767px) {
  .projects-carousel-viewport {
    margin: 0;
  }
  .projects-slider .project-slide .work-card-slide {
    height: auto;
    min-height: 240px;
  }
  .projects-slider .project-slide {
    padding: 10px 0 20px;
  }
  /* Center card on mobile: show full description so text isn't cut */
  .projects-slider .project-slide.is-center .works-item_text {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
  }
  .projects-slider .project-slide:not(.is-center) .works-item_text {
    -webkit-line-clamp: 2;
  }
}
@media (min-width: 768px) {
  .projects-slider .project-slide .work-card-slide {
    height: 100%;
    min-height: 460px;
  }
  .projects-carousel-track {
    align-items: stretch;
  }
}
@media (min-width: 1024px) {
  .projects-slider .project-slide .work-card-slide {
    min-height: 500px;
  }
}
.projects-slider .project-slide.is-center .work-card-slide {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.work-card-slide {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.projects-slider .project-slide.is-center .work-card-slide {
  border-color: var(--border-strong);
}
.projects-slider .work-card-slide:hover {
  border-color: var(--border);
  box-shadow: none;
}
.projects-slider .project-slide.is-center .work-card-slide:hover {
  border-color: var(--border-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.work-card-slide:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.work-card .work-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ffffff;
  flex-shrink: 0;
  padding: 14px;
  box-sizing: border-box;
}
.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}
.works-item-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-height: 0;
}
.projects-slider .project-slide .works-item-info {
  padding: 24px 22px 28px;
}
@media (max-width: 767px) {
  .our-works .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .projects-slider .project-slide .works-item-info {
    padding: 18px 16px 22px;
  }
  .projects-slider .project-slide .works-item_title {
    font-size: 1.0625rem;
  }
  .projects-slider .project-slide .works-item_text {
    font-size: 0.875rem;
    line-height: 1.55;
  }
}
.works-item_title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}
.projects-slider .project-slide .works-item_title {
  font-size: 1.25rem;
}
.work-item-type-text {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.works-item_text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Projects: 4 lines for side cards; center card shows full description on desktop so text isn't cut off */
.projects-slider .project-slide .works-item_text {
  -webkit-line-clamp: 4;
  font-size: clamp(0.8125rem, 2vw, 0.9375rem);
  line-height: 1.55;
}
@media (min-width: 768px) {
  .projects-slider .project-slide.is-center .works-item_text {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
  }
}
.projects-slider .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  color: var(--text);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  z-index: 2;
}
.projects-slider .slider-arrow:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--bg-elevated);
}
.projects-slider .slider-arrow-left {
  left: 0;
}
.projects-slider .slider-arrow-right {
  right: 0;
}
@media (max-width: 767px) {
  .projects-slider {
    padding: 0 44px;
    max-width: 100%;
  }
  .projects-slider .slider-arrow {
    width: 40px;
    height: 40px;
  }
  .projects-slider .slider-arrow-left { left: 2px; }
  .projects-slider .slider-arrow-right { right: 2px; }
}
@media (max-width: 480px) {
  .our-works {
    padding: 56px 0;
  }
  .projects-slider {
    padding: 0 40px;
  }
  .projects-slider .slider-arrow {
    width: 36px;
    height: 36px;
  }
}
.projects-slider .slider-pagination {
  display: none;
}

/* ===== Testimonials: auto-pan carousel ===== */
.testimonials-pan-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 -24px;
}
.testimonials-pan-wrapper::before,
.testimonials-pan-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.testimonials-pan-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-soft) 0%, transparent 100%);
}
.testimonials-pan-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-soft) 0%, transparent 100%);
}
@media (min-width: 992px) {
  .testimonials-pan-wrapper { margin: 0 -48px; }
  .testimonials-pan-wrapper::before,
  .testimonials-pan-wrapper::after { width: 120px; }
}

/* CSS-driven infinite scroll: works in all browsers and mobile (no JS scrollLeft) */
.testimonials-pan-track {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: minmax(280px, 340px);
  grid-auto-flow: column;
  gap: 24px;
  padding: 8px 24px 24px;
  width: max-content;
  animation: testimonials-pan 80s linear infinite;
  will-change: transform;
}
@keyframes testimonials-pan {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .testimonials-pan-track {
    animation: none;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .testimonials-pan-track::-webkit-scrollbar {
    display: none;
  }
}
@media (min-width: 992px) {
  .testimonials-pan-track { padding: 8px 48px 24px; gap: 28px; }
}

.testimonial-pan-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.testimonial-pan-card::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  background: url("images/quote.png") no-repeat left top;
  background-size: contain;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.testimonial-pan-quote {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 20px;
  flex: 1;
}
.testimonial-pan-author {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-pan-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-pan-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}
.testimonial-pan-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Projects slider (reused slider utilities) */
.slider-mask { position: relative; overflow: hidden; }
.slider-slide { display: none; padding: 8px 0; }
.slider-slide.active { display: block; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  color: var(--text);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  z-index: 2;
}
.slider-arrow:hover { border-color: var(--blue); color: var(--blue); background: #f0f9ff; }
.slider-arrow-left { left: -12px; }
.slider-arrow-right { right: -12px; }
@media (max-width: 767px) { .slider-arrow-left { left: 8px; } .slider-arrow-right { right: 8px; } }
.slider-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.slider-dot:hover { background: var(--border-strong); }
.slider-dot.active { background: var(--blue); }

/* ===== Contact: split layout (left panel + form card) ===== */
.contact-wrapper.contact-v1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: stretch;
}
@media (min-width: 768px) {
  .contact-wrapper.contact-v1 {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    min-height: 420px;
  }
}
.contact-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
}
.contact-text-block .section-text-box {
  margin-bottom: 24px;
  max-width: 360px;
}
.contact-text-block .section-title {
  margin-bottom: 16px;
}
.contact-text-block .section-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.contact-text-block .btn-parent {
  margin-top: 0;
  background: #FDCB03;
  color: #1a1a1a;
}
.contact-text-block .btn-parent:hover {
  background: #000;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}
.contact-form-block {
  display: flex;
  align-items: stretch;
}
.contact-form-block .card.form {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.contact-wrapper.form { display: flex; flex-direction: column; gap: 20px; }
.div-block-form-field { display: flex; flex-direction: column; gap: 8px; }
.div-block-form-field.full-width { grid-column: 1 / -1; }
.contact-wrapper.form label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.input,
.text-area {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  transition: border-color 0.2s;
}
.input::placeholder,
.text-area::placeholder { color: var(--text-dim); }
.input:focus,
.text-area:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.text-area { min-height: 120px; resize: vertical; }
.form-submit-wrap { margin-top: 8px; }
.contact-form-block .btn-primary {
  padding: 14px 28px;
  background: #FDCB03;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.contact-form-block .btn-primary:hover {
  background: #000;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}
.btn-primary {
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: var(--blue);
  color: #fff;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { background: var(--blue-deep); box-shadow: var(--glow-blue); }
.success-message { background: #dcfce7; color: #166534; padding: 20px; border-radius: 12px; margin-top: 16px; }
.error-message { background: #fee2e2; color: #b91c1c; padding: 20px; border-radius: 12px; margin-top: 16px; }
.color-neutral-300 { color: inherit; margin: 0 0 8px; }

/* ===== FAQ ===== */
.accordion-item {
  background: var(--bg);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s;
}
.accordion-trigger:hover { background: var(--bg-soft); }
.accordion-trigger[aria-expanded="true"] { background: none; }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-item-title { flex: 1; }
.accordion-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.2s;
}
.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: #8E8D8D;
  border-radius: 1px;
}
.accordion-icon::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}
.accordion-icon::after {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}
.accordion-content { overflow: hidden; transition: height 0.2s ease; }
.accordion-content[hidden] { display: block; height: 0; overflow: hidden; }
.accordion-paragraph {
  margin: 0;
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.footer-wrap {
  background: #f4f5f7;
  padding: 48px 24px 28px;
}
.footer-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) {
  .footer-wrapper {
    grid-template-columns: auto 1fr;
    align-items: start;
  }
  .footer-blocks { justify-self: end; }
}
.footer-wrap .logo { width: 44px; height: 44px; }
.logo-name-footer {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.35;
  white-space: nowrap;
}
.footer-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-block { display: flex; flex-direction: column; gap: 12px; }
.footer-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-link-2 {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-link-2:hover { color: var(--text); }
.footer-social-block { display: flex; gap: 12px; margin-top: 8px; }
.footer-social-link img,
.footer-block .image-9 {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.2s;
  border-radius: 10px;
}
.footer-social-link:hover img,
.footer-block a:hover .image-9 { opacity: 1; }
.footer-copyright-center {
  text-align: left;
  font-size: 0.875rem;
  color: var(--text-dim);
  padding-top: 24px;
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1120px;
  margin: 0 auto;
}
