/* ================================================================
   DTA — MOBILE EXPERIENCE LAYER
   Desktop styles remain untouched. This file only controls <= 768px.
   Goals: deliberate hierarchy, compact spacing, touch-first carousels,
   progressive text disclosure, and no accidental horizontal overflow.
================================================================ */

@media (max-width: 768px) {
  :root {
    --mobile-gutter: 18px;
    --mobile-section-y: 38px;
    --mobile-card-gap: 12px;
    --mobile-radius: 18px;
  }

  html { scroll-padding-top: 78px; }
  body { min-width: 0; overflow-x: hidden; }
  img, video, svg { max-width: 100%; }

  /* ---------- NAV ---------- */
  .navbar {
    width: calc(100% - 28px);
    min-height: 68px;
    gap: 10px;
  }

  .brand-logo { height: 38px; }
  .brand-logo img { height: 38px; }
  .brand-logo::after { width: 42px; height: 5px; bottom: -5px; }

  .nav-actions { gap: 7px; }
  #themeToggle,
  .menu-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  nav.active {
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px;
    gap: 3px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    backdrop-filter: blur(18px);
  }

  nav.active > a,
  nav.active .nav-parent-link {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 11px;
  }

  nav.active > a:hover,
  nav.active .nav-parent-link:hover,
  nav.active .nav-dropdown.open .nav-parent-link {
    background: var(--surface-strong);
  }

  .nav-dropdown { gap: 0; }
  .nav-dropdown-toggle { width: 42px; height: 42px; }
  .nav-dropdown-menu {
    padding: 4px 0 4px 10px;
  }
  .nav-dropdown-menu a {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: .82rem;
  }

  /* ---------- GLOBAL SECTION RHYTHM ---------- */
  .section,
  .related-content-section,
  .blog-updates-section,
  .about-page-hero,
  .page-hero,
  .dta-contact-hero,
  .dta-contact-form-section,
  .dta-contact-bottom-strip {
    width: calc(100% - (var(--mobile-gutter) * 2));
  }

  .section {
    padding-top: var(--mobile-section-y);
    padding-bottom: var(--mobile-section-y);
  }

  .section-heading,
  .cw-features-header,
  .related-content-header,
  .blog-updates-heading {
    width: 100%;
    margin: 0 auto 18px;
    text-align: center;
  }

  .section-heading > span,
  .badge,
  .section-label,
  .dta-badge {
    font-size: .64rem;
    letter-spacing: 1.2px;
    padding: 5px 10px;
    margin-bottom: 8px;
  }

  .section-heading h2,
  .cw-features-header h2,
  .related-content-header h2,
  .blog-updates-heading h2 {
    font-size: clamp(1.28rem, 5.8vw, 1.65rem);
    line-height: 1.16;
    letter-spacing: -.55px;
    margin-top: 0;
  }

  .section-heading p,
  .cw-features-header p,
  .related-content-header p,
  .blog-updates-heading p {
    max-width: 34rem;
    margin: 8px auto 0;
    font-size: .84rem;
    line-height: 1.55;
  }

  /* ---------- READ MORE ---------- */
  .mobile-read-more-target:not(.mobile-expanded) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-height: calc(1.55em * 2);
  }

  .mobile-read-more-target.mobile-expanded {
    display: block;
    max-height: none;
  }

  .mobile-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--purple);
    font-size: .76rem;
    font-weight: 800;
    cursor: pointer;
  }

  .mobile-read-more::after { content: ""; font-size: .72rem; }

  /* ---------- HOME HERO ---------- */
  .home-hero {
    width: calc(100% - (var(--mobile-gutter) * 2));
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 28px 0 34px;
  }

  .home-hero .hero-content { display: contents; }
  .home-hero .badge { order: 1; align-self: center; margin-bottom: 9px; }
  .home-hero h1 {
    order: 2;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1.85rem, 9vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -1.1px;
  }

  .home-hero .hero-visual {
    order: 3;
    width: 100%;
    padding: 18px 0 14px;
  }

  .home-hero .hero-video-halo {
    width: 88%;
    filter: blur(25px);
  }

  .home-hero .hero-video-frame {
    width: 100%;
    max-width: 390px;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
  }

  .home-hero .hero-video { object-fit: cover; }

  .home-hero p {
    order: 4;
    max-width: 100%;
    margin: 6px auto 0;
    text-align: center;
    font-size: .84rem;
    line-height: 1.55;
  }
  /* Read More must stay directly below hero paragraph */
.home-hero .mobile-read-more {
  order: 4;
  align-self: center;
  margin-top: 6px;
}

  .home-hero .hero-buttons {
    order: 5;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 13px;
  }

  .home-hero .hero-buttons .btn {
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 11px;
    font-size: .76rem;
  }

  .home-hero .hero-trust { display: none; }

  /* ---------- TOUCH CAROUSELS ---------- */
  .mobile-carousel-host {
    position: relative;
  }

  /* ---------- TOUCH CAROUSELS ---------- */

.mobile-carousel-track {
  display: flex !important;
  grid-template-columns: none !important;

  width: 100%;
  max-width: 100%;
  margin: 0 auto;

  gap: var(--mobile-card-gap) !important;

  overflow-x: auto !important;
  overflow-y: hidden !important;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;

  padding: 2px 18px 10px;
  box-sizing: border-box;

  overscroll-behavior-x: contain;
}

.mobile-carousel-track::-webkit-scrollbar {
  display: none;
}

.mobile-carousel-track > * {
  flex: 0 0 calc(100% - 36px) !important;
  width: calc(100% - 36px) !important;
  min-width: calc(100% - 36px) !important;

  margin: 0 auto;
  scroll-snap-align: center;
  box-sizing: border-box;
}


/* ---------- CAROUSEL ARROWS ---------- */

.mobile-carousel-controls {
  position: absolute;

  top: 50%;
  left: 0;
  right: 0;

  transform: translateY(-50%);

  display: flex !important;
  align-items: center;
  justify-content: space-between;

  margin: 0;
  padding: 0 4px;

  pointer-events: none;
  z-index: 5;
}

.mobile-carousel-controls .mobile-carousel-arrow {
  pointer-events: auto;
}

.mobile-carousel-arrow {
  pointer-events: auto;

  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: var(--surface);
  color: var(--text);

  box-shadow: 0 7px 18px rgba(76,29,149,.08);

  cursor: pointer;

  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;
}

.mobile-carousel-arrow:active {
  transform: scale(.94);
}

.mobile-carousel-arrow:hover {
  border-color: var(--purple-light);
}

.mobile-carousel-arrow:disabled {
  opacity: .35;
  cursor: default;
}


/* ================================================================
   ALL SERVICES — MOBILE CAROUSEL ARROWS
================================================================ */

@media (max-width: 768px) {

  .services-page .mobile-carousel-host {
    position: relative;
  }

  .services-page .mobile-carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;

    transform: translateY(-50%);

    display: flex !important;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 0 4px;
    margin: 0;

    pointer-events: none;
    z-index: 20;
  }

  .services-page .mobile-carousel-arrow {
    pointer-events: auto;
  }
}

/* ---------- SERVICES ---------- */

.home-page #services .section-heading {
  margin-bottom: 20px;
}

/* Services carousel container */
.home-page #services .mobile-carousel-host {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Services track */
.home-page #services .mobile-carousel-track {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;

  padding-left: 26px;
  padding-right: 26px;
  padding-bottom: 12px;

  box-sizing: border-box;
}

/* Service card */
.home-page #services .mobile-carousel-track > .service-card {
  flex: 0 0 calc(100% - 52px) !important;
  width: calc(100% - 52px) !important;
  min-width: calc(100% - 52px) !important;

  margin: 0;
  box-sizing: border-box;

  scroll-snap-align: center;

  aspect-ratio: 1.28 / 1 !important;
  border-radius: 18px;
  overflow: hidden;
}

/* Service card image */
.home-page #services .service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Service overlay */
.home-page #services .service-overlay {
  padding: 16px;
}

.home-page #services .service-overlay h3 {
  font-size: .96rem;
}

.home-page #services .service-overlay span {
  font-size: .7rem;
}

/* Service icon */
.home-page #services .service-card-icon {
  top: 15px;
  left: 15px;

  width: 44px;
  height: 44px;

  border-radius: 13px;
  font-size: .66rem;
}

/* Description below slider */
.mobile-carousel-description {
  max-width: 680px;
  margin: 15px auto 0;

  text-align: center;

  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}  /* ---------- HOME ABOUT ---------- */
  .dta-home-about {

  padding: var(--mobile-section-y) 0;

}

.dta-home-about-wrapper {

  display: flex;

  flex-direction: column;

  gap: 16px;

}


/* Keep About DTA content in the correct mobile order */

.dta-home-about-text {

  display: contents;

  text-align: center;

}


/* Badge */

.dta-home-about-text .dta-badge {

  order: 1;

  align-self: center;

}


/* Heading */

.dta-home-about-text h2 {

  order: 2;

  text-align: center;

  font-size: clamp(1.38rem, 6vw, 1.7rem);

  line-height: 1.14;

  letter-spacing: -.65px;

  margin: 0;

}


/* Image — BEFORE paragraph */

.dta-home-about-visual {

  order: 3;

}


/* Image sizing */

.dta-compact-image-card {

  max-width: 100%;

  aspect-ratio: 16 / 10;

  border-radius: 18px;

}


/* Paragraph */

.dta-home-about-text p {

  order: 4;

  max-width: 100%;

  margin: 0 auto;

  text-align: center;

  font-size: .84rem;

  line-height: 1.55;

}


/* Read More — directly after paragraph */

.dta-home-about-text .mobile-read-more {

  order: 5;

  justify-self: center;

  align-self: center;

  margin-top: 6px;

}


/* Visit About DTA button */

.dta-home-about-actions {

  order: 6;

  justify-content: center;

  margin-top: -2px;

}


.dta-home-about-actions .btn {

  min-height: 40px;

  padding: 0 15px;

  border-radius: 11px;

  font-size: .76rem;

}
  /* ---------- BLOG / WORK ---------- */
  .home-page #blog .blog-banner-card,
  .blog-banner-card {
    aspect-ratio: 1.16 / 1 !important;
    border-radius: 18px;
  }

  .blog-banner-overlay { padding: 16px; }
  .blog-banner-overlay h3 { font-size: .92rem; line-height: 1.3; }
  .blog-banner-overlay span { font-size: .7rem; }
  .dta-blog-footer { margin-top: 13px !important; }
  .dta-blog-footer .btn {
    min-height: 39px;
    padding: 0 15px;
    border-radius: 11px;
    font-size: .75rem;
  }

  /* ---------- DEDICATED PAGE HEROES ---------- */
  .page-hero,
  .about-page-hero,
  .dta-contact-hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 28px 0 34px;
  }

  .page-hero-content,
  .about-page-content,
  .dta-contact-hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .page-hero h1,
  .about-page-content h1,
  .dta-contact-hero h1 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(1.8rem, 8vw, 2.35rem);
    line-height: 1.1;
    letter-spacing: -.9px;
  }

  .page-hero p,
  .about-page-content p,
  .dta-contact-hero p {
    max-width: 100%;
    margin: 9px auto 0;
    font-size: .84rem;
    line-height: 1.55;
  }

  .page-hero-image,
  .about-page-image,
  .dta-contact-hero-visual {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    order: 2;
  }

  .page-hero-content,
  .about-page-content { order: 1; }

  .page-hero-image img,
  .page-hero-image svg {
    width: 100%;
    max-width: 100%;
    max-height: 280px;
    border-radius: 18px;
  }

  .about-page-image { max-width: 100%; }
  .about-page-image img { height: auto; aspect-ratio: 16 / 10; }

  .about-page-content .hero-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 12px;
  }

  .about-page-content .hero-buttons .btn {
    min-height: 40px;
    padding: 0 9px;
    border-radius: 11px;
    font-size: .73rem;
  }

  /* ---------- FEATURE / VALUE CARDS ---------- */
  .cw-features-section { padding: var(--mobile-section-y) 0; }
  .cw-features-container { width: 100%; }
  .cw-features-header { margin-bottom: 15px; }
  .cw-grid,
  .about-values-grid,
  .video-content-grid {
    display: flex !important;
    gap: var(--mobile-card-gap) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2px 0 9px;
  }
  .cw-grid::-webkit-scrollbar,
  .about-values-grid::-webkit-scrollbar,
  .video-content-grid::-webkit-scrollbar { display: none; }

  .cw-grid > *,
  .about-values-grid > *,
  .video-content-grid > * {
    flex: 0 0 calc(100% - 34px);
    min-width: calc(100% - 34px);
    scroll-snap-align: start;
  }

  .cw-card {
    min-height: 0;
    padding: 20px 18px;
    border-radius: 17px;
  }
  .cw-card h3 { font-size: .98rem; margin-bottom: 7px; }
  .cw-card p { font-size: .78rem; line-height: 1.52; margin: 0; }

  .about-story-section { padding-top: var(--mobile-section-y); padding-bottom: 20px; }

  /* ---------- RELATED / VIDEO ---------- */
  .related-content-section { padding: var(--mobile-section-y) 0; }
  .related-content-header h2 { font-size: 1.35rem; }
  .related-content-header p { font-size: .8rem; }

  /* ---------- CONTACT PAGE ---------- */
  .dta-contact-points {
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
  }
  .dta-contact-points span { padding: 6px 10px; font-size: .68rem; }

  .dta-contact-form-section { padding: 8px 0 28px; }
  .dta-contact-form-shell {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 18px;
    border-radius: 20px;
  }
  .dta-contact-intro { order: 1; }
  .dta-contact-form-wrapper { order: 2; width: 100%; }
  .dta-contact-intro h2 {
    font-size: 1.45rem;
    margin: 6px 0 8px;
  }
  .dta-contact-intro > p { font-size: .8rem; }
  .dta-contact-info-list { gap: 10px; margin-top: 15px; }
  .dta-contact-info-item { gap: 10px; }
  .dta-contact-info-icon { width: 32px; height: 32px; flex-basis: 32px; border-radius: 9px; }

  .dta-contact-form-row { grid-template-columns: 1fr; gap: 10px; }
  .dta-contact-field { gap: 4px; }
  .dta-contact-field label { font-size: .72rem; }
  .dta-contact-field input,
  .dta-contact-field select,
  .dta-contact-field textarea {
    font-size: 16px;
  }
  .dta-contact-field input,
  .dta-contact-field select { height: 43px; min-height: 43px; }
  .dta-contact-field textarea { height: 88px; min-height: 88px; }
  .dta-contact-submit { height: 43px; min-height: 43px; font-size: .8rem; }

  .dta-contact-bottom-strip { margin: 4px auto 26px; }
  .dta-contact-strip-shell { grid-template-columns: 1fr; gap: 9px; }
  .dta-strip-col { padding: 14px 15px; border-radius: 14px; }
  .dta-strip-col h4 { font-size: .84rem; }
  .dta-strip-col p { font-size: .72rem; line-height: 1.45; }

  /* ---------- HOME CONTACT ---------- */
  .home-contact-viewport-section { padding: var(--mobile-section-y) 0 25px; }
  .home-contact-wrapper { width: calc(100% - (var(--mobile-gutter) * 2)); }
  .home-contact-header { margin-bottom: 15px; }
  .home-contact-header h2 { font-size: 1.38rem; }
  .home-contact-header p { font-size: .8rem; }
  .home-contact-shell {
    display: flex;
    flex-direction: column;
    padding: 18px;
    gap: 17px;
    border-radius: 20px;
  }
  .home-contact-shell .dta-contact-intro { order: 1; }
  .home-contact-shell .dta-contact-form-wrapper { order: 2; }
  .home-contact-shell .dta-contact-intro h2 { font-size: 1.42rem; }
  .home-contact-shell .dta-contact-info-item p,
  .home-contact-shell .dta-contact-info-item a { font-size: .78rem; }
  .home-contact-steps-strip { grid-template-columns: 1fr; gap: 8px; margin-top: 11px; }
  .home-step-item { padding: 12px 13px; border-radius: 13px; gap: 10px; }
  .home-step-num { width: 28px; height: 28px; flex-basis: 28px; font-size: .72rem; }
  .home-step-item h4 { font-size: .8rem; }
  .home-step-item p { font-size: .7rem; }

  /* Avoid artificial legacy spacer behavior. */
  .cta { height: auto; min-height: 0; margin: 20px auto 30px; padding: 34px 18px; }
}

@media (max-width: 380px) {
  :root { --mobile-gutter: 15px; }
  .home-hero .hero-buttons { grid-template-columns: 1fr; }
  .about-page-content .hero-buttons { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: 1.8rem; }
}

/* Dynamic controls stay invisible outside mobile. */
.mobile-carousel-controls,
.mobile-read-more { display: none; }

@media (max-width: 768px) {
  .mobile-carousel-controls { display: flex; }
  .mobile-read-more { display: inline-flex; }
}

@media (max-width: 768px) {
  .mobile-carousel-controls { display: flex !important; }
  .mobile-read-more { display: contents !important; }
}

@media (max-width: 768px) {
  /* Dedicated Contact page: visual first, then contact copy, then form. */
  .contact-page .dta-contact-hero-visual { order: 1; }
  .contact-page .dta-contact-hero-content { order: 2; }
}

/* ================================================================
   SERVICE CARDS — LIGHT PURPLE
   Desktop + Mobile
================================================================ */

/* ================================================================
   SERVICE CARDS — LIGHT PURPLE ONLY IN LIGHT MODE
================================================================ */

body:not(.dark) .cw-card {
  background: #f5f1ff;;
}

/* ================================================================
   SERVICE SECTION HEADER — MOBILE
================================================================ */

@media (max-width: 768px) {

  .cw-features-header {
    text-align: center;
  }

  .cw-features-header p {
    max-width: 90%;
    margin: 10px auto 0;
    text-align: center;
    line-height: 1.55;
  }

}

/* ================================================================
   SERVICE SECTION PARAGRAPHS — MOBILE
================================================================ */

@media (max-width: 768px) {

  .cw-features-header p,
  .related-content-header p,
  .video-content-body > p {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.55;
  }

}

/* ================================================================
   BLOG + VIDEO CARDS — MOBILE REFINEMENT
================================================================ */

@media (max-width: 768px) {

  /* ------------------------------------------------
     BLOG CAROUSEL
  ------------------------------------------------ */

  .blog-page .blog-preview-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 16px;
    overflow-x: auto !important;
    overflow-y: hidden;
    padding: 4px 6px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .blog-page .blog-preview-grid::-webkit-scrollbar {
    display: none;
  }

  .blog-page .blog-banner-card {
    flex: 0 0 86%;
    min-width: 86%;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
  }

  .blog-page .blog-banner-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }

  .blog-page .blog-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }


  /* ------------------------------------------------
     VIDEO CAROUSEL
  ------------------------------------------------ */

  .blog-page .video-content-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 16px;
    overflow-x: auto !important;
    overflow-y: hidden;
    padding: 4px 18px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .blog-page .video-content-grid::-webkit-scrollbar {
    display: none;
  }

  .blog-page .video-content-card {
    flex: 0 0 86%;
    min-width: 86%;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
  }

  .blog-page .video-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }

  .blog-page .video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }


  /* ------------------------------------------------
     CAROUSEL ARROWS — CENTER OF CARDS
  ------------------------------------------------ */

  .blog-page .mobile-carousel-host {
    position: relative;
  }

  .blog-page .mobile-carousel-controls {
    position: absolute;
    top: 64%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px;
    pointer-events: none;
    z-index: 20;
  }

  .blog-page .mobile-carousel-controls
  .mobile-carousel-arrow {
    pointer-events: auto;
  }

}
/* =========================================================
   HOME MOBILE — HERO + ABOUT READ MORE POSITION FIX
   ========================================================= */

@media (max-width: 768px) {

  /* ---------- HOME HERO ---------- */

  .home-page .home-hero {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-areas:
      "badge"
      "heading"
      "video"
      "paragraph"
      "readmore"
      "cta";
    gap: 0;
  }

  .home-page .home-hero .hero-content {
    display: contents !important;
  }

  .home-page .home-hero .badge {
    grid-area: badge;
  }

  .home-page .home-hero h1 {
    grid-area: heading;
  }

  .home-page .home-hero .hero-visual {
    grid-area: video;
  }

  .home-page .home-hero p {
    grid-area: paragraph;
  }

  .home-page .home-hero .mobile-read-more {
    grid-area: readmore;
  }

  .home-page .home-hero .hero-buttons {
    grid-area: cta;
  }


  /* ---------- HOME ABOUT ---------- */

  .home-page .dta-home-about-wrapper {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-areas:
      "badge"
      "heading"
      "image"
      "paragraph"
      "readmore"
      "cta";
    gap: 0;
  }

  .home-page .dta-home-about-text {
    display: contents !important;
  }

  .home-page .dta-home-about-text .dta-badge {
    grid-area: badge;
  }

  .home-page .dta-home-about-text h2 {
    grid-area: heading;
  }

  .home-page .dta-home-about-visual {
    grid-area: image;
  }

  .home-page .dta-home-about-text p {
    grid-area: paragraph;
  }

  .home-page .dta-home-about-text .mobile-read-more {
    grid-area: readmore;
  }

  .home-page .dta-home-about-actions {
    grid-area: cta;
  }

}
/* =========================================================
   HOME MOBILE — BADGE POSITION FIX
   ========================================================= */

@media (max-width: 768px) {

  /* Hero badge */
  .home-page .home-hero .badge {
    display: inline-flex !important;
    width: fit-content !important;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
  }

  /* About badge */
  .home-page .dta-home-about-text .dta-badge {
    display: inline-flex !important;
    width: fit-content !important;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
  }

}
/* =========================================================
   HOME MOBILE — PARAGRAPH + READ MORE ALIGNMENT
   ========================================================= */

@media (max-width: 768px) {

  /* Home Hero paragraph */
  .home-page .home-hero p {
    width: 90%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.55;
  }

  /* Home About paragraph */
  .home-page .dta-home-about-text p {
    width: 90%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.55;
  }

  /* Read More / Read Less */
  .home-page .mobile-read-more {
    display: flex !important;
    width: fit-content !important;
    margin: 8px auto  !important;
    justify-self: center;
  }

}
@media (max-width: 768px) {

  /* =========================================================
     ABOUT PAGE — MOBILE HERO STRUCTURE
     ========================================================= */

  .about-page-hero {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-areas:
      "badge"
      "heading"
      "image"
      "paragraph"
      "readmore"
      "buttons";
    gap: 0;
  }

  .about-page-content {
    display: contents !important;
  }

  .about-page-content .badge {
    grid-area: badge;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .about-page-content h1 {
    grid-area: heading;
    text-align: center;
  }

  .about-page-image {
    grid-area: image;
    width: 100%;
  }

  .about-page-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .about-page-content > p {
    grid-area: paragraph;
    width: 90%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.55;
  }

  .about-page-content .mobile-read-more {
    grid-area: readmore;
    justify-self: center;
    margin: 8px auto 0 !important;
  }

  .about-page-content .hero-buttons {
    grid-area: buttons;
  }


  /* =========================================================
     ABOUT PAGE — HOW WE WORK
     ========================================================= */

  .about-story-section .section-heading {
    text-align: center;
  }

  .about-story-section .section-heading p {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.55;
  }

}
/* =========================================================
   ABOUT PAGE — MOBILE HERO BREATHING SPACE
   ========================================================= */

@media (max-width: 768px) {

  /* Heading → Image */
  .about-page-hero .about-page-image {
    margin-top: 20px;
  }

  /* Image → Paragraph */
  .about-page-content > p {
    margin-top: 22px;
  }

  /* Paragraph → Read More */
  .about-page-content .mobile-read-more {
    margin-top: 10px !important;
  }

  /* Read More → Buttons */
  .about-page-content .hero-buttons {
    margin-top: 18px;
  }

}
/* =========================================================
   MOBILE CAROUSELS — HIDE NAVIGATION ARROWS
   Swipe + 3s autoplay will remain active
   ========================================================= */

@media (max-width: 768px) {

  .mobile-carousel-controls {
    display: none !important;
  }

}
/* =========================================================
   HOME ABOUT — MOBILE FINAL SPACING
   Desktop remains unchanged
   ========================================================= */

@media (max-width: 768px) {

  /* Space between About heading and image */
  .home-page .dta-home-about-visual {
    margin-top: 22px;
  }

  /* Make About image slightly smaller on both sides */
  .home-page .dta-home-about-visual {
    width: 92%;
    margin-left: auto;
    margin-right: auto;
  }

  .home-page .dta-compact-image-card {
    width: 100%;
  }

  .home-page .dta-compact-image-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 16px;
  }

}