/* AcodeLink — visual system matched to NinthDev Elementor layout */
:root {
  --primary: #2d82b7;
  --primary-dark: #0c4f79;
  --primary-mid: #2b7fb3;
  --black: #000;
  --white: #fff;
  --text: #000;
  --muted: #c4c4c4;
  --border: #d9d9d9;
  --testimonial-name: #b9c8f3;
  --max: 1440px;
  --font: "Satoshi", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 48px, 1100px);
  margin-inline: auto;
}

.shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  min-height: 122px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(190, 190, 190, 0.5);
  background: transparent;
}

.header-solid {
  position: fixed;
  background: #000;
}

.header-inner {
  width: min(100% - 80px, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-img-h {
  height: 36px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.nav a {
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
  padding: 8px 0;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.28s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  justify-content: flex-end;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  border: 2px solid #fff;
  border-radius: 8px;
  padding: 15px 28px;
  transition: background 0.25s, border-color 0.25s;
}

.btn-contact:hover {
  background: var(--primary);
  border-color: #9f9f9f;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  justify-self: end;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
}

.menu-toggle span:nth-child(2) {
  width: 15px;
}

.menu-toggle span:nth-child(3) {
  width: 20px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.97);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: #fff;
  font-size: 24px;
  font-weight: 500;
}

.mobile-nav .close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 8px;
  background-image: linear-gradient(90deg, #2b7fb3 0%, #0c4f79 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  border-radius: 8px;
  padding: 16px 24px;
  border: none;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 933px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #000;
  margin-top: -122px;
  padding: 180px 24px 100px;
  overflow: hidden;
}

.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback {
  background: #000
    radial-gradient(ellipse at 40% 50%, rgba(45, 130, 183, 0.25), transparent 60%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 920px);
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  color: #fff;
  margin-bottom: 12px;
}

.hero .subtitle {
  font-size: 24px;
  font-weight: 500;
  line-height: 48px;
  color: #fff;
  width: min(100%, 50%);
  margin: 0 auto 28px;
}

/* ========== SIDE-LABEL SECTIONS ========== */
.section-side {
  padding: 60px 0;
  background: #fff
    url("https://ninthdev.com/wp-content/uploads/2025/06/Mask-group-1.webp")
    center / cover no-repeat;
}

.side-label-wrap {
  width: 16%;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 8px;
  padding-right: 15px;
}

.side-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 15px;
  line-height: 1;
  color: #000;
  white-space: nowrap;
}

.side-label.light {
  color: #fff;
}

.side-body {
  width: 84%;
  border-left: 1px solid #c4c4c4;
  padding: 0 20px 0 40px;
}

.side-body h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
  max-width: 520px;
  color: #000;
}

.divider {
  width: min(790px, calc(100% + 40px));
  height: 1px;
  background: #c4c4c4;
  margin: 15px 0 20px -40px;
}

.about-grid {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 36px;
}

.about-copy {
  flex: 1;
  max-width: 730px;
  font-size: 24px;
  font-weight: 400;
  line-height: 48px;
  color: #000;
}

.about-copy p + p {
  margin-top: 12px;
}

.about-visual {
  width: 401px;
  max-width: 38%;
  flex-shrink: 0;
}

.about-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.stats {
  display: flex;
  gap: 0;
  max-width: 750px;
}

.stat {
  flex: 1;
  background: #fff;
  padding: 16px 20px;
}

.stat-label {
  font-size: 20px;
  font-weight: 400;
  color: #000;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 48px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.15;
}

/* ========== CORE SERVICES ========== */
.services {
  position: relative;
  padding: 60px 0;
  color: #fff;
  background: url("https://ninthdev.com/wp-content/uploads/2025/07/f8755742898ad93cc2c2014a80b4436f39eab4e0-3-scaled.webp")
    center / cover no-repeat;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.59);
}

.services > * {
  position: relative;
  z-index: 1;
}

.services-head {
  width: min(100% - 48px, 1100px);
  margin: 0 auto 28px;
}

.services-head h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
  margin-bottom: 4px;
}

.services-head p {
  font-size: 24px;
  font-weight: 400;
  line-height: 48px;
}

.service-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: min(100% - 48px, 948px);
  margin: 0 auto;
  min-height: 360px;
}

.service-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #000
    url("https://ninthdev.com/wp-content/uploads/2025/06/Frame-1000001789.webp")
    bottom center / 104% auto no-repeat;
  border-radius: 12px;
  padding: 48px 28px 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card .ribbon {
  position: absolute;
  top: 18px;
  right: -32px;
  background: #010101;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 6px 40px;
  transform: rotate(45deg);
  z-index: 2;
}

.svc-icon-img,
.service-card .service-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--primary);
  object-fit: contain;
}

.service-card h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 14px;
  line-height: 1.2;
}

.service-card p {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  margin-bottom: 22px;
  flex: 1;
}

.service-card .explore {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: var(--primary);
}

.service-card .explore:hover {
  text-decoration: underline;
}

/* ========== HOW WE HELP ========== */
.help-intro {
  max-width: 730px;
  font-size: 24px;
  line-height: 48px;
  margin-bottom: 8px;
}

.help-list {
  max-width: 798px;
  margin-top: 8px;
}

.help-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 24px;
  line-height: 48px;
  padding: 25px 0;
  border-bottom: 1px solid #c4c4c4;
}

.help-list li:last-child {
  border-bottom: none;
}

.help-list .icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  color: var(--primary);
}

/* ========== GETTING STARTED ========== */
.getting-started {
  position: relative;
  padding: 60px 0;
  color: #fff;
  background: url("https://ninthdev.com/wp-content/uploads/2025/07/Noise-Texture.webp")
    center / cover repeat;
}

.getting-started::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.getting-started > * {
  position: relative;
  z-index: 1;
}

.steps {
  display: flex;
  gap: 20px;
  width: min(100% - 48px, 1162px);
  margin: 24px auto 0;
}

.step {
  flex: 1;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  padding: 44px 47px;
  text-align: center;
  background: transparent;
}

.step-icon {
  width: 71px;
  height: 71px;
  margin: 0 auto 15px;
  color: var(--primary);
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.step p {
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  color: #fff;
}

/* ========== AI ========== */
.ai-intro {
  max-width: 730px;
  font-size: 24px;
  line-height: 48px;
}

.ai-cards {
  display: flex;
  gap: 20px;
  margin: 28px 0 0 40px;
  flex-wrap: wrap;
}

.ai-card {
  width: 323px;
  max-width: 100%;
}

.ai-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.ai-card-caption {
  background: #000;
  color: #fff;
  border-radius: 0 0 12px 12px;
  margin-top: -4px;
  padding: 22px 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 20.8px;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  display: flex;
  min-height: 480px;
  background: url("https://ninthdev.com/wp-content/uploads/2025/06/Rectangle-34624368.webp")
    center / cover no-repeat;
}

.testimonials .side-label-wrap {
  padding-top: 100px;
  width: 16%;
}

.testimonials .side-body {
  width: 55%;
  margin-top: 40px;
  padding-top: 48px;
  padding-bottom: 40px;
  border-left-color: #c4c4c4;
}

.testimonials h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  color: #fff;
  max-width: 396px;
}

.testimonials .divider {
  background: #c4c4c4;
}

.testimonial-slide {
  padding: 24px 0 40px;
  color: #fff;
}

.testimonial-slide blockquote {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 560px;
}

.testimonial-slide .name {
  color: var(--testimonial-name);
  font-size: 20px;
  font-weight: 400;
}

.rating {
  margin-top: 10px;
  color: #ffc107;
  letter-spacing: 2px;
}

.testimonial-visual {
  width: 29%;
  min-height: 400px;
  background: url("https://ninthdev.com/wp-content/uploads/2025/06/29ae68bbd07b34a45884364e4f3827b00401ac0c-scaled.webp")
    center / cover no-repeat;
}

/* ========== FINAL CTA ========== */
.final-cta {
  position: relative;
  padding: 200px 24px;
  text-align: center;
  color: #fff;
  background: url("https://ninthdev.com/wp-content/uploads/2025/06/5aa89ab13efe3667c0b74bd07bc835c2503438c2-scaled.webp")
    center / cover no-repeat;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.41);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 915px);
  margin: 0 auto;
}

.final-cta h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  line-height: 48px;
  margin-bottom: 10px;
}

.final-cta p {
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
}

.final-cta .btn-primary {
  margin-top: 48px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #000;
  color: #fff;
  padding: 60px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
  width: min(100% - 80px, var(--max));
  margin-inline: auto;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
  max-width: 280px;
}

.footer-col h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col a,
.footer-col li {
  display: block;
  font-size: 15px;
  margin-bottom: 12px;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
  opacity: 1;
}

.footer-col .contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 15px;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid #444;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  transition: background 0.2s, border-color 0.2s;
}

.socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.footer-bottom {
  width: min(100% - 80px, var(--max));
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  opacity: 0.7;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== ABOUT PAGE ========== */
.page-about .about-intro,
.page-services .svc-hero {
  margin-top: 122px;
}

.about-intro {
  padding: 60px 30px;
  background: url("https://ninthdev.com/wp-content/uploads/2025/06/ffb2c675437a0fe333e39fb14d593a5c5c29e31c-scaled.webp")
    center / cover no-repeat;
}

.about-intro-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-intro-copy {
  flex: 1;
  max-width: 636px;
}

.about-intro-copy h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
  margin-bottom: 24px;
}

.about-intro-copy p {
  font-size: 24px;
  line-height: 38.4px;
  color: #0f0f0f;
  margin-bottom: 16px;
}

.about-intro-media {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.about-intro-media img {
  max-width: 546px;
  width: 100%;
}

.about-services {
  padding: 60px 24px;
  background: url("https://ninthdev.com/wp-content/uploads/2025/07/40f1338ac1cbc121509e551c8f508eda9c98ce30-1-scaled.webp")
    center / cover no-repeat;
  position: relative;
}

.about-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.about-services > * {
  position: relative;
  z-index: 1;
}

.section-title-center {
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
}

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

.about-service-grid .service-card {
  min-height: 340px;
}

.about-mission {
  padding: 80px 60px;
  background: url("https://ninthdev.com/wp-content/uploads/2025/07/cccafa5027ac33c5313b0982b1e93e10f0ea86eb-scaled.webp")
    center / cover no-repeat;
  position: relative;
  text-align: center;
  color: #fff;
}

.about-mission::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.about-mission-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.about-mission h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-mission p {
  font-size: 24px;
  line-height: 38px;
}

.about-values {
  padding: 60px 24px;
  background: #fff;
}

.about-values-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.about-values-media img {
  max-width: 505px;
  width: 100%;
  margin: 0 auto;
}

.about-values-copy {
  flex: 1;
}

.about-values-copy h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 28px;
}

.value-item {
  padding: 16px 0;
  border-bottom: 1px solid #515252;
}

.value-item:last-child {
  border-bottom: none;
}

.value-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary);
}

.value-item p {
  font-size: 18px;
  line-height: 1.5;
}

.about-why {
  padding: 60px 24px;
  background: #0a0a0a;
  color: #fff;
}

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

.why-item {
  text-align: center;
  padding: 16px 8px;
}

.why-check {
  display: inline-flex;
  color: var(--primary);
  margin-bottom: 12px;
}

.why-item p {
  font-size: 16px;
  line-height: 1.45;
}

.about-cta {
  padding: 80px 24px;
  background: url("https://ninthdev.com/wp-content/uploads/2025/07/cccafa5027ac33c5313b0982b1e93e10f0ea86eb-scaled.webp")
    center / cover no-repeat;
  position: relative;
  text-align: center;
  color: #fff;
}

.about-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.about-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.about-cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-cta p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-cta h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 28px;
  line-height: 1.4;
}

/* ========== SERVICES PAGE ========== */
.svc-hero {
  padding: 80px 24px;
  background: url("https://ninthdev.com/wp-content/uploads/2025/07/da3b5c019fde7a91102c68718f11236afdb0795c-scaled.webp")
    center / cover no-repeat;
  position: relative;
  color: #fff;
  text-align: center;
}

.svc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.svc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
}

.svc-hero h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.svc-hero p {
  font-size: 22px;
  line-height: 1.6;
}

.svc-block {
  padding: 78px 24px;
  background: #fff;
}

.svc-block-alt {
  background: url("https://ninthdev.com/wp-content/uploads/2025/06/ffb2c675437a0fe333e39fb14d593a5c5c29e31c-scaled.webp")
    center / cover no-repeat;
}

.svc-maintenance {
  background: url("https://ninthdev.com/wp-content/uploads/2025/07/b84ea8f25ad4e24df86f77afffeb64ba02ec847e.webp")
    center / cover no-repeat;
  color: #fff;
  position: relative;
}

.svc-maintenance::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.svc-maintenance > * {
  position: relative;
  z-index: 1;
}

.svc-block-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.92);
}

.svc-maintenance .svc-block-inner {
  background: rgba(0, 0, 0, 0.45);
  border-color: #444;
  color: #fff;
}

.svc-block-inner.reverse {
  flex-direction: row-reverse;
}

.svc-block-media {
  flex: 1;
  min-width: 0;
}

.svc-block-media img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 380px;
}

.svc-block-copy {
  flex: 1;
  min-width: 0;
}

.svc-block-copy h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.svc-block-copy p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.svc-kicker {
  font-size: 20px !important;
  font-weight: 600;
  color: var(--primary);
}

.svc-list-label {
  font-weight: 700;
  margin-top: 16px !important;
  margin-bottom: 8px !important;
}

.svc-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 17px;
  line-height: 1.5;
  border-bottom: 1px solid #e0e0e0;
}

.svc-maintenance .svc-list li {
  border-bottom-color: #555;
}

.svc-list li:last-child {
  border-bottom: none;
}

.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero {
    min-height: 700px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero .subtitle {
    width: 86%;
    line-height: 1.5;
  }

  .service-cards,
  .steps,
  .about-grid,
  .about-intro-inner,
  .about-values-inner,
  .svc-block-inner,
  .svc-block-inner.reverse {
    flex-direction: column;
  }

  .about-service-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-visual {
    max-width: 280px;
  }

  .final-cta {
    padding: 100px 24px;
  }

  .testimonials {
    flex-wrap: wrap;
  }

  .testimonials .side-body,
  .testimonial-visual,
  .testimonials .side-label-wrap {
    width: 100%;
  }

  .testimonial-visual {
    min-height: 260px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .ai-cards {
    margin-left: 0;
  }

  .side-label {
    font-size: 22px;
    letter-spacing: 8px;
  }
}

@media (max-width: 767px) {
  .site-header,
  .header-solid {
    min-height: 70px;
  }

  .header-inner {
    width: calc(100% - 30px);
    grid-template-columns: auto 1fr auto;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .logo-img {
    height: 34px;
  }

  .hero {
    min-height: 750px;
    margin-top: -70px;
    padding: 120px 20px 48px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.25;
  }

  .hero .subtitle {
    font-size: 18px;
    width: 100%;
    line-height: 1.45;
  }

  .shell {
    padding: 0 12px;
  }

  .side-label-wrap {
    width: 12%;
    padding-right: 6px;
  }

  .side-body {
    width: 88%;
    padding-left: 12px;
    padding-right: 8px;
  }

  .side-body h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .divider {
    margin-left: -12px;
  }

  .about-copy,
  .help-intro,
  .ai-intro,
  .help-list li {
    font-size: 16px;
    line-height: 1.6;
  }

  .stats {
    flex-direction: column;
  }

  .stat-value {
    font-size: 40px;
  }

  .services-head h2 {
    font-size: 28px;
  }

  .services-head p,
  .step p {
    font-size: 16px;
    line-height: 1.5;
  }

  .step {
    padding: 32px 16px;
  }

  .help-list .icon {
    width: 30px;
    height: 30px;
  }

  .final-cta h2 {
    font-size: 26px;
  }

  .final-cta p {
    font-size: 18px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
  }

  .footer-bottom {
    width: calc(100% - 40px);
    flex-direction: column;
    text-align: center;
  }

  .page-about .about-intro,
  .page-services .svc-hero {
    margin-top: 70px;
  }

  .about-service-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-copy h1,
  .svc-hero h1 {
    font-size: 28px;
  }

  .about-intro-copy p,
  .svc-hero p {
    font-size: 16px;
    line-height: 1.6;
  }

  .about-mission,
  .about-cta {
    padding: 60px 16px;
  }
}
