
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* ========================================================================
   APPROVED SERVICE PAGE RESPONSIVE UPDATE — TABLET AND MOBILE ONLY
   Desktop (1025px and above) intentionally remains unchanged.
   ======================================================================== */
@media (max-width: 1199px) {
  .website-figma-hero {
    text-align: center;
  }

  .website-figma-hero .website-figma-hero__title {
    font-size: clamp(36px, 4.3vw, 44px) !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .website-figma-hero__break {
    display: block !important;
  }

  .website-figma-hero__subtitle {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
  }

  .ect-web-solutions {
    width: calc(100% - 48px);
    height: auto;
    margin: 72px auto;
    overflow: visible;
  }

  .ect-web-solutions__header {
    position: relative;
    height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 20px;
    align-items: end;
    margin-bottom: 28px;
  }

  .ect-web-solutions__eyebrow,
  .ect-web-solutions__heading,
  .ect-web-solutions__controls {
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .ect-web-solutions__eyebrow {
    grid-column: 1 / -1;
    font-family: "Outfit", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
  }

  .ect-web-solutions__heading {
    grid-column: 1;
    font-size: clamp(27px, 3.4vw, 31.25px) !important;
    line-height: 1.2 !important;
    text-align: left;
  }

  .ect-web-solutions__controls {
    grid-column: 2;
    display: flex;
    gap: 10px;
    align-self: end;
  }

  .ect-web-solutions__arrow {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .ect-web-solutions__component {
    position: static;
    width: 100%;
    height: auto;
  }

  .ect-web-solutions__tabs {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 calc(50% - 130px) 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  .ect-web-solutions__tabs::-webkit-scrollbar {
    display: none;
  }

  .ect-web-solutions__tab,
  .ect-web-solutions__tab.is-active {
    position: relative !important;
    inset: auto !important;
    flex: 0 0 260px;
    width: 260px !important;
    height: 72px !important;
    min-height: 72px;
    padding: 12px 18px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .ect-web-solutions__tab-label {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.3;
  }

  .ect-web-solutions__panel,
  .ect-web-solutions__panel.is-active {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    height: auto;
    min-height: 0;
    margin-top: 16px;
    padding: 28px;
    border-radius: 20px;
    background: var(--ect-muted-background);
  }

  .ect-web-solutions__panel {
    display: none;
  }

  .ect-web-solutions__panel.is-active {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .ect-web-solutions__content-title,
  .ect-web-solutions__description,
  .ect-web-solutions__perfect-label,
  .ect-web-solutions__audience,
  .ect-web-solutions__cta,
  .ect-web-solutions__media {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }

  .ect-web-solutions__content-title {
    order: 1;
    font-size: clamp(22px, 2.7vw, 25px);
    line-height: 1.25;
  }

  .ect-web-solutions__description {
    order: 2;
    font-size: 16px;
    line-height: 1.6;
  }

  .ect-web-solutions__media {
    order: 3;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }

  .ect-web-solutions__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .ect-web-solutions__perfect-label {
    order: 4;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
  }

  .ect-web-solutions__audience {
    order: 5;
    font-size: 16px;
    line-height: 1.6;
  }

  .ect-web-solutions__cta {
    order: 6;
    justify-self: start;
    min-height: 44px;
    padding: 10px 18px;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .website-figma-hero .website-figma-hero__title {
    font-size: clamp(26px, 7.7vw, 32px) !important;
  }

  .website-figma-hero__subtitle {
    font-size: 15px;
  }

  .ect-web-solutions {
    width: calc(100% - 32px);
    margin: 56px auto;
  }

  .ect-web-solutions__header {
    gap: 10px 12px;
    margin-bottom: 22px;
  }

  .ect-web-solutions__eyebrow {
    font-size: 14px;
  }

  .ect-web-solutions__heading {
    font-size: clamp(22px, 6.5vw, 26px) !important;
  }

  .ect-web-solutions__arrow {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .ect-web-solutions__tabs {
    padding-inline: calc(50% - min(36vw, 120px));
  }

  .ect-web-solutions__tab,
  .ect-web-solutions__tab.is-active {
    flex-basis: min(72vw, 240px);
    width: min(72vw, 240px) !important;
    height: 66px !important;
    min-height: 66px;
  }

  .ect-web-solutions__tab-label {
    font-size: 15px;
  }

  .ect-web-solutions__panel,
  .ect-web-solutions__panel.is-active {
    padding: 20px;
    border-radius: 16px;
  }

  .ect-web-solutions__content-title {
    font-size: clamp(18px, 5.4vw, 22px);
  }

  .ect-web-solutions__description,
  .ect-web-solutions__audience {
    font-size: 15px;
  }

  .ect-web-solutions__perfect-label,
  .ect-web-solutions__cta {
    font-size: 15px;
  }
}

body {
  font-family: "Montserrat";
  background: #ffffff;
  color: #0a0a0a;
}

/* =========================================================
   WEBSITE HERO — FIGMA DESKTOP REFERENCE
   ========================================================= */
.website-figma-hero,
.website-figma-hero * {
  box-sizing: border-box;
}

.website-figma-hero {
  width: min(1240px, calc(100% - 32px));
  max-width: 1240px;
  margin: 144px auto 100px;
  padding: 0;
  background: #ffffff;
  text-align: center;
}

.website-figma-hero .website-figma-hero__title {
  width: min(765px, 100%);
  min-height: 122px;
  margin: 0 auto;
  padding: 0;
  color: #000000 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 48.83px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0;
  text-align: center;
}

.website-figma-hero__subtitle {
  width: min(414px, 100%);
  height: 24px;
  margin: 16px auto 0;
  padding: 0;
  color: #000000;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
}

.website-figma-hero__cta {
  display: inline-flex;
  width: 146px;
  height: 40px;
  margin-top: 24px;
  padding: 8px 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(#0c3c01, #0c3c01) padding-box,
    radial-gradient(50% 130% at 50% 50%, #f1f1ef 0%, #5b6d49 100%) border-box;
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 250ms ease,
    box-shadow 250ms ease,
    filter 250ms ease;
}

.website-figma-hero__cta:hover {
  box-shadow: 0 8px 20px rgba(12, 60, 1, 0.18);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.website-figma-hero__cta:active {
  transform: translateY(0);
}

.website-figma-hero__cta:focus-visible {
  outline: 3px solid rgba(12, 60, 1, 0.3);
  outline-offset: 4px;
}

.website-figma-hero__video-frame {
  width: 100%;
  height: 552px;
  margin-top: 32px;
  overflow: hidden;
  border-radius: 24px;
  background: #d9d9d9;
  line-height: 0;
}

.website-figma-hero__video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

#website-services {
  scroll-margin-top: 96px;
}

/* Tablet */
@media (max-width: 1199px) {
  .website-figma-hero {
    width: calc(100% - 48px);
    margin-top: 112px;
    margin-bottom: 32px;
  }

  .website-figma-hero .website-figma-hero__title {
    min-height: auto;
    font-size: 40px !important;
  }

  .website-figma-hero__subtitle {
    height: auto;
  }

  .website-figma-hero__video-frame {
    height: auto;
    aspect-ratio: 1240 / 552;
    border-radius: 20px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .website-figma-hero {
    width: calc(100% - 32px);
    margin-top: 92px;
    margin-bottom: 24px;
  }

  .website-figma-hero .website-figma-hero__title {
    font-size: 30px !important;
    line-height: 1.25 !important;
  }

  .website-figma-hero__break {
    display: none;
  }

  .website-figma-hero__subtitle {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.5;
  }

  .website-figma-hero__cta {
    margin-top: 20px;
  }

  .website-figma-hero__video-frame {
    aspect-ratio: 4 / 3;
    margin-top: 28px;
    border-radius: 16px;
  }
}

@media (max-width: 380px) {
  .website-figma-hero .website-figma-hero__title {
    font-size: 27px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .website-figma-hero__cta {
    transition: none;
  }
}

.ect-web-solutions,
.ect-web-solutions *,
.ect-web-solutions *::before,
.ect-web-solutions *::after {
  box-sizing: border-box;
}

.ect-web-solutions {
  --ect-primary: #0C3C01;
  --ect-secondary: #5B6D49;
  --ect-accent: #A2AC82;
  --ect-light-background: #F5F5F3;
  --ect-muted-background: #F9F9F7;
  --ect-white: #FFFFFF;
  --ect-black: #000000;

  position: relative;
  width: 1240px;
  height: 902px;
  margin: 50px auto 0;
  overflow-x: clip;
  color: var(--ect-black);
  font-family: "Montserrat";
}



.ect-web-solutions__eyebrow,
.ect-web-solutions__heading,
.ect-web-solutions__content-title,
.ect-web-solutions__description,
.ect-web-solutions__perfect-label,
.ect-web-solutions__audience {
  margin: 0;
}

.ect-web-solutions__header {
  position: relative;
  height: 92px;
}

.ect-web-solutions__eyebrow {
  position: absolute;
  top: 0;
  left: 0;
  width: 327px;
  height: 24px;
  color: var(--ect-black);
  font-family: "Montserrat";
  font-size: 16px !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

.ect-web-solutions__heading {
  position: absolute;
  top: 32px;
  left: 0;
  width: 629px;
  height: 78px;
  color: var(--ect-black);
  font-family: "Montserrat", sans-serif;
  font-size: 31px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

.ect-web-solutions__controls {
  position: absolute;
  top: 50px;
  right: 5px;
  display: flex;
  width: 100px;
  gap: 16px;
  z-index: 4;
}

.ect-web-solutions__arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--ect-primary);
  color: var(--ect-white);
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease;
}

.ect-web-solutions__arrow svg {
  display: block;
  width: 18px;
  height: 18px;
}

.ect-web-solutions__arrow:hover {
  background: #0f4a02;
  transform: translateY(-1px);
}

.ect-web-solutions__arrow:focus-visible {
  outline: 3px solid rgba(12, 60, 1, 0.26);
  outline-offset: 3px;
}
/* 
.ect-web-solutions__component {
  position: absolute;
  top: 142px;
  left: 0;
  width: 1240px;
  height: 760px;
} */


.ect-web-solutions__component {
  position: absolute;
  top: 142px;
  left: 0;
  width: 1240px;
  height: 760px;
}


.ect-web-solutions__tabs {
  position: absolute;
  top: 0;
  left: 0;
  width: 379px;
  height: 760px;
}

.ect-web-solutions__tab {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 292px;
  height: 100px;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--ect-muted-background);
  color: var(--ect-black);
  cursor: pointer;
  overflow: visible;
  text-align: left;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
  z-index: 1;
}

.ect-web-solutions__tab:nth-child(1) {
  top: 0;
}

.ect-web-solutions__tab:nth-child(2) {
  top: 132px;
}

.ect-web-solutions__tab:nth-child(3) {
  top: 264px;
}

.ect-web-solutions__tab:nth-child(4) {
  top: 396px;
}

.ect-web-solutions__tab:nth-child(5) {
  top: 528px;
}

.ect-web-solutions__tab:nth-child(6) {
  top: 660px;
}

.ect-web-solutions__tab:hover {
  background: #f0f0ec;
}

.ect-web-solutions__tab:focus-visible {
  outline: 3px solid rgba(12, 60, 1, 0.24);
  outline-offset: 4px;
}

.ect-web-solutions__tab.is-active {
  width: 379px;
  background: var(--ect-light-background);
  color: var(--ect-secondary);
  z-index: 2;
}

.ect-web-solutions__tab-label {
  display: block;
  width: 292px;
  padding: 0 14px;
  color: inherit;
  font-family: "Montserrat";
  font-size: 25px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  white-space: pre-line;
}
/* 
.ect-web-solutions__panel {
  position: absolute;
  top: 0;
  left: 318px;
  width: 922px;
  height: 760px;
  border-radius: 24px;
  background: var(--ect-light-background);
  overflow: hidden;
  z-index: 3;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 240ms ease, transform 240ms ease;
} */



.ect-web-solutions__panel {
  position: absolute;
  top: 0;
  left: 318px;
  width: 922px;
  height: 760px;
  border-radius: 24px;
  background: var(--ect-light-background);
  overflow: hidden;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease;
}

.ect-web-solutions__panel.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}
/* 
.ect-web-solutions__media {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 874px;
  height: 502px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ect-white);
} */



.ect-web-solutions__media {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 874px;
  height: 502px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ect-white);
}


.ect-web-solutions__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.ect-web-solutions__content-title {
  position: absolute;
  top: 542px;
  left: 24px;
  width: 874px;
  min-height: 30px;
  color: var(--ect-black);
  font-family: "Montserrat";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
}

.ect-web-solutions__description {
  position: absolute;
  top: 576px;
  left: 24px;
  width: 890px;
  min-height: 48px;
  color: var(--ect-black);
  font-family: "Montserrat";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

.ect-web-solutions__perfect-label {
  position: absolute;
  top: 632px;
  left: 25px;
  min-height: 20px;
  color: var(--ect-black);
  font-family: "Montserrat";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
}

.ect-web-solutions__audience {
  position: absolute;
  top: 656px;
  left: 25px;
  min-height: 24px;
  color: var(--ect-black);
  font-family: "Montserrat";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

.ect-web-solutions__cta {
  position: absolute;
  top: 696px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 40px;
  padding: 8px 24px;
  border-radius: 8px;
  background: var(--ect-primary);
  color: var(--ect-white);
  font-family: "Montserrat";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.ect-web-solutions__cta:hover {
  background: #0f4a02;
  transform: translateY(-2px);
}

.ect-web-solutions__cta:focus-visible {
  outline: 3px solid rgba(12, 60, 1, 0.26);
  outline-offset: 3px;
}

@media (min-width: 1441px) {
  .ect-web-solutions {
    width: 1240px;
  }
}

@media (max-width: 1199.98px) {
  .ect-web-solutions {
    width: min(1240px, calc(100% - clamp(32px, 5vw, 64px)));
    max-width: 1240px;
    height: auto;
    margin-top: clamp(64px, 7vw, 84px);
  }

  .ect-web-solutions__header {
    height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 20px;
    align-items: end;
  }

  .ect-web-solutions__eyebrow,
  .ect-web-solutions__heading,
  .ect-web-solutions__controls {
    position: static;
  }

  .ect-web-solutions__eyebrow {
    width: 100%;
    grid-column: 1 / -1;
  }

  .ect-web-solutions__heading {
    width: min(100%, 720px);
    height: auto;
    grid-column: 1;
  }

  .ect-web-solutions__controls {
    width: 100px;
    margin-left: auto;
    grid-column: 2;
    justify-self: end;
    align-self: end;
  }

  .ect-web-solutions__component {
    position: static;
    width: 100%;
    height: auto;
    margin-top: clamp(24px, 3vw, 32px);
  }

  .ect-web-solutions__tabs {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .ect-web-solutions__tab,
  .ect-web-solutions__tab.is-active {
    position: static;
    width: 100%;
    height: auto;
    min-height: 96px;
  }

  .ect-web-solutions__tab-label {
    width: 100%;
    font-size: 20px;
    line-height: 1.35;
    white-space: normal;
  }

  .ect-web-solutions__panel {
    position: static;
    width: 100%;
    height: auto;
    margin-top: clamp(20px, 3vw, 28px);
    padding: clamp(20px, 3vw, 28px);
  }

  .ect-web-solutions__media {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 874 / 502;
  }

  .ect-web-solutions__content-title,
  .ect-web-solutions__description,
  .ect-web-solutions__perfect-label,
  .ect-web-solutions__audience,
  .ect-web-solutions__cta {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
  }

  .ect-web-solutions__content-title {
    margin-top: 18px;
  }

  .ect-web-solutions__description {
    margin-top: 8px;
  }

  .ect-web-solutions__perfect-label {
    margin-top: 16px;
  }

  .ect-web-solutions__audience {
    margin-top: 6px;
  }

  .ect-web-solutions__cta {
    width: fit-content;
    margin-top: 18px;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .ect-web-solutions__heading {
    font-size: clamp(26px, 3.4vw, 28px);
    line-height: 1.3;
  }

  .ect-web-solutions__tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ect-web-solutions__tab-label {
    font-size: 17px;
  }

  .ect-web-solutions__panel {
    padding: 20px;
  }

  .ect-web-solutions__content-title {
    font-size: 18px;
  }

  .ect-web-solutions__description,
  .ect-web-solutions__perfect-label,
  .ect-web-solutions__audience {
    font-size: 15px;
  }
}

@media (max-width: 767.98px) {
  .ect-web-solutions {
    width: calc(100% - 32px);
    margin-top: 56px;
  }

  .ect-web-solutions__header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .ect-web-solutions__heading {
    width: 100%;
    font-size: clamp(26px, 7vw, 30px);
    line-height: 1.2;
  }

  .ect-web-solutions__controls {
    position: static;
    width: 100%;
    gap: 12px;
    margin-left: 0;
    justify-content: flex-start;
  }

  .ect-web-solutions__arrow {
    width: 40px;
    height: 40px;
  }

  .ect-web-solutions__arrow svg {
    width: 16px;
    height: 16px;
  }

  .ect-web-solutions__component {
    margin-top: 20px;
  }

  .ect-web-solutions__tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ect-web-solutions__tabs::-webkit-scrollbar {
    display: none;
  }

  .ect-web-solutions__tab,
  .ect-web-solutions__tab.is-active {
    flex: 0 0 auto;
    width: min(78vw, 220px);
    min-height: 86px;
    border-radius: 20px;
    scroll-snap-align: start;
  }

  .ect-web-solutions__tab-label {
    font-size: 17px;
  }

  .ect-web-solutions__panel {
    margin-top: 16px;
    padding: 16px;
    border-radius: 16px;
  }

  .ect-web-solutions__content-title {
    font-size: 17px;
  }

  .ect-web-solutions__description,
  .ect-web-solutions__perfect-label,
  .ect-web-solutions__audience {
    font-size: 14px;
  }

  .ect-web-solutions__media {
    border-radius: 14px;
  }
}

@media (max-width: 374.98px) {
  .ect-web-solutions {
    width: calc(100% - 24px);
  }

  .ect-web-solutions__heading {
    font-size: 24px;
  }

  .ect-web-solutions__tab,
  .ect-web-solutions__tab.is-active {
    width: min(82vw, 210px);
  }

  .ect-web-solutions__tab-label {
    font-size: 16px;
  }

  .ect-web-solutions__panel {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ect-web-solutions__arrow,
  .ect-web-solutions__tab,
  .ect-web-solutions__panel,
  .ect-web-solutions__cta {
    transition: none;
  }
}




/* ===== Web Solutions Section ===== */


.web-solutions-section {
  --green: #1e5c1e;
  --dark: #0f1a0f;
  --text: #3a3f3a;
  --border: #dfe3da;
  --bg: #ffffff;
  --bw: 0.125rem;

  font-family: "Montserrat";
  background: var(--bg);
  color: var(--text);
  margin: 50px 0;
  padding: 50px 5%;
}

.web-solutions-section .eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.094rem;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.875rem;
}

.web-solutions-section .header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 4%;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.web-solutions-section .header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  max-width: 52%;
}

.web-solutions-section .header p {
  font-size: 0.906rem;
  line-height: 1.55;
  color: var(--text);
  max-width: 32%;
  text-align: justify;
}

.web-solutions-section .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: var(--bw) solid var(--border);
  border-radius: 0.875rem;
  overflow: hidden;
  background: #fff;
  width: 100%;
}

.web-solutions-section .cell {
  position: relative;
  padding: 6% 10% 8% 10%;
  transition: background 0.3s ease;
}

/* Hover: background tint (matches zoho/hr/IT infrastructure's Our Approach cards) */
.web-solutions-section .cell:hover {
  background: #f8faf6;
}

/* Internal borders: right on cols 1 & 2, bottom on row 1 */
.web-solutions-section .cell:nth-child(3n+1),
.web-solutions-section .cell:nth-child(3n+2) {
  border-right: var(--bw) solid var(--border);
}

.web-solutions-section .cell:nth-child(-n+3) {
  border-bottom: var(--bw) solid var(--border);
}

/* Chevron arrow on vertical dividers */
.web-solutions-section .cell:nth-child(3n+1)::after,
.web-solutions-section .cell:nth-child(3n+2)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.75rem;
  width: 1.375rem;
  height: 1.375rem;
  transform: translateY(-50%) rotate(45deg);
  background: #fff;
  border-top: var(--bw) solid var(--border);
  border-right: var(--bw) solid var(--border);
  z-index: 2;
  transition: background 0.3s ease;
  pointer-events: none;
}

/* Keep the chevron in sync with the card's hover tint */
.web-solutions-section .cell:nth-child(3n+1):hover::after,
.web-solutions-section .cell:nth-child(3n+2):hover::after {
  background: #f8faf6;
}

.web-solutions-section .icon {
  width: 60px;
  height: 60px;
  margin-bottom: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.web-solutions-section .icon svg,
.web-solutions-section .icon img {
  width: 100%;
  height: 100%;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.8;
  object-fit: contain;
  /* No animation by default — static */
}

/* Hover: spin, pause 2s, spin */
.web-solutions-section .cell:hover .icon:not(.icon-zoom) svg,
.web-solutions-section .cell:hover .icon:not(.icon-zoom) img {
  animation: ws-spin-pause 2.8s ease-in-out infinite;
}

/* Hover: zoom in and out, pause 2s */
.web-solutions-section .cell:hover .icon.icon-zoom svg,
.web-solutions-section .cell:hover .icon.icon-zoom img {
  animation: ws-zoom-pause 2.8s ease-in-out infinite;
}

@keyframes ws-spin-pause {
  0%      { transform: rotate(0deg); }
  28.57%  { transform: rotate(360deg); }
  100%    { transform: rotate(360deg); }
}

@keyframes ws-zoom-pause {
  0%      { transform: scale(1); }
  14.28%  { transform: scale(1.2); }
  28.57%  { transform: scale(1); }
  100%    { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .web-solutions-section .cell:hover .icon svg,
  .web-solutions-section .cell:hover .icon img {
    animation: none;
  }
}

.web-solutions-section .step {
  font-family: "Montserrat";
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.094rem;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.625rem;
}

.web-solutions-section .cell h3 {
  font-family: "Montserrat";
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.625rem;
}

.web-solutions-section .cell p {
  font-size: 0.906rem;
  line-height: 1.6;
  color: var(--text);
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 62.5rem) {
  .web-solutions-section .grid {
    grid-template-columns: 1fr 1fr;
  }
  .web-solutions-section .cell {
    border: none !important;
    border-bottom: var(--bw) solid var(--border) !important;
  }
  .web-solutions-section .cell:nth-child(odd) {
    border-right: var(--bw) solid var(--border) !important;
  }
  .web-solutions-section .cell:nth-child(n+5) {
    border-bottom: none !important;
  }
  .web-solutions-section .cell::after {
    display: none !important;
  }
  .web-solutions-section .header h2,
  .web-solutions-section .header p {
    max-width: 100%;
  }
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 1199px) and (min-width: 641px) {
  .web-solutions-section {
    margin-top: 32px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 40rem) {
  .web-solutions-section {
    margin-top: 24px;
    padding: 24px 5%;
  }
  .web-solutions-section .grid {
    grid-template-columns: 1fr;
  }
  .web-solutions-section .cell {
    border-right: none !important;
    border-bottom: var(--bw) solid var(--border) !important;
  }
  .web-solutions-section .cell:last-child {
    border-bottom: none !important;
  }
  .web-solutions-section .header h2 {
    font-size: 1.625rem;
  }
}





/* ===== TRUSTED BY SECTION ===== */

.tb-section-wrapper {
  width: 100%;
  background: #ffffff;
  padding: 50px 0 0;
  margin: 50px 0 0;
}

.tb-section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  /* border:2px solid red; */
}

/* ── TOP ROW ── */
.tb-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 48px;
  margin-bottom: 32px;
  gap: 40px;

  /* Animation: top → bottom */
  opacity: 0;
  transform: translateY(-28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.tb-section.tb-visible .tb-top {
  opacity: 1;
  transform: translateY(0);
}

.tb-top-left {
  display: flex;
  flex-direction: column;
}

.tb-eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  text-transform: uppercase;
  margin: 0 0 8px 0;
  letter-spacing: 0.05em;
}

.tb-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 31px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 0;
  white-space: normal;
}

.tb-tagline {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1.6;
  margin: 0;
  text-align: left;
  max-width: 400px;
  padding-bottom: 6px;
  /* Slight delay so heading animates first */
  transition-delay: 0.12s;
}

/* ── TRACK WRAPPER ── */
/* .tb-track-wrapper {
  width: 100%;
  max-width:1240px;
  overflow: hidden;
  margin-bottom: 24px;
  margin-left:50px;
} */


.tb-track-wrapper {
  width: calc(100% - 100px);
  max-width:1240px;
  overflow: hidden;
  margin-bottom: 24px;
  margin-left:50px;
  margin-right:50px;
}

.tb-track-wrapper:last-child {
  margin-bottom: 0;
}

/* ── TRACK ── */
.tb-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

/* ── ITEM ── */
.tb-item {
  flex-shrink: 0;
  width: 200px;
  height: 100px;
  /* border-radius: 6px; */
  overflow: hidden;
  display: block;

  /* Hover scale */
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.28s ease;
}

@media (hover: hover) {
  .tb-item:hover {
    /* transform: scale(1.07);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    z-index: 10;
    position: relative; */
    border:2px solid #8aaa7a;
    border-radius: 16px;
  }
}

/* Real image style */
.tb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  display: block;
}

/* ── TABLET ── */
@media (max-width: 1023px) and (min-width: 600px) {
  .tb-top { padding: 0 28px; }
  .tb-heading { font-size: 22px; }
  .tb-tagline { font-size: 13px; }
  .tb-item { width: 180px; height: 115px; }
}

/* ── MOBILE ── */
@media (max-width: 599px) {
  .tb-section { padding: 0 0 20px; }
  .tb-top {
    flex-direction: column;
    padding: 0 20px;
    gap: 10px;
    margin-bottom: 24px;
  }
  .tb-heading { font-size: 20px; }
  .tb-tagline { text-align: left; font-size: 12.5px; max-width: 100%; }
  .tb-track-wrapper {
    width: calc(100% - 32px);
    margin-left: 16px;
    margin-right: 16px;
  }
  .tb-item { width: 100px; height: 80px; }
  .tb-track { gap: 4px; }
  .tb-img { padding: 4px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .tb-top { transition: none !important; opacity: 1 !important; transform: none !important; }
  .tb-item { transition: none !important; }
}



/* FAQ */

:root{
  --bg:#f7f7f5;
  --card:#ffffff;
  --ink:#111312;
  --ink-soft:#5b5f5c;
  --line:#e6e6e2;
  --accent:#1f6f54;
  --accent-soft:#e7f2ed;
  --radius:14px;
  --ease:cubic-bezier(.4,0,.2,1);
  --ease-spring:cubic-bezier(.34,1.4,.44,1);
}

.faq-section{
  max-width:1200px;
  margin:50px auto 0;
  padding:50px 20px 100px;
  position:relative;
  overflow:hidden;
}

.faq-section::before{
  display: none;
}

@keyframes faq-float{
  from{transform:translate(0,0)}
  to{transform:translate(-40px,40px)}
}

/* Header */
.faq-head{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:48px;
}

.faq-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:16px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--accent);
  font-weight:400;
  margin-bottom:14px;
  font-family: "Montserrat", sans-serif;
}

.faq-eyebrow::before{
  content:"";
  width:26px;height:2px;
  background:var(--accent);
  display:inline-block;
  transform-origin:left;
  animation:faq-grow .8s var(--ease) both .2s;
}

@keyframes faq-grow{
  from{transform:scaleX(0)}
  to{transform:scaleX(1)}
}

.faq-title{
  margin:0 0 10px;
  font-family:"Montserrat", sans-serif;
  font-size:31px;
  font-weight:700;
  line-height:1.2;
  color: #000;
  margin-bottom: 16px;
}

.faq-title span{color:var(--accent)}

.faq-sub{
  max-width:340px;
  color:var(--ink-soft);
  font-size:.95rem;
  margin:0;
  text-align:justify;
}

/* Grid */
.faq-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px 24px;
  align-items:start;
}

/* Item */
.faq-item{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  opacity:0;
  transform:translateY(26px);
  transition:border-color .3s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
  will-change:transform,opacity;
}

.faq-item.faq-in-view{
  animation:faq-rise .65s var(--ease) forwards;
}

@keyframes faq-rise{
  to{opacity:1;transform:translateY(0)}
}

.faq-item:hover{
  border-color:rgba(31,111,84,.35);
  box-shadow:0 12px 32px -12px rgba(17,19,18,.12);
  transform:translateY(-2px);
}

.faq-item.open{
  border-color:var(--accent);
  box-shadow:0 16px 40px -14px rgba(31,111,84,.22);
}

/* Question button */
.faq-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 22px;
  background:none;
  border:none;
  cursor:pointer;
  text-align:left;
  font-family: "Montserrat";
  font-size:.95rem;
  font-weight:600;
  color:var(--ink);
  transition:color .25s var(--ease);
}

.faq-item.open .faq-q{color:var(--accent)}

/* Icon */
.faq-icon{
  flex:0 0 34px;
  width:34px;height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--accent-soft);
  color:var(--accent);
  transition:transform .45s var(--ease-spring), background .3s var(--ease), color .3s var(--ease);
}

.faq-icon svg{
  width:15px;height:15px;
  transition:transform .45s var(--ease-spring);
}

.faq-item:hover .faq-icon{transform:scale(1.08)}

.faq-item.open .faq-icon{
  background:var(--accent);
  color:#fff;
  transform:rotate(180deg);
}

/* Answer */
.faq-a{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .5s var(--ease);
}

.faq-item.open .faq-a{grid-template-rows:1fr}

.faq-a-inner{overflow:hidden}

.faq-a-inner p{
  padding:0 22px 22px;
  color:var(--ink-soft);
  font-size:.92rem;
  margin:0;
  opacity:0;
  transform:translateY(-6px);
  transition:opacity .4s var(--ease) .1s, transform .4s var(--ease) .1s;
}

.faq-item.open .faq-a-inner p{
  opacity:1;
  transform:translateY(0);
}

/* Bottom accent bar */
.faq-item::after{
  content:"";
  display:block;
  height:3px;
  background:linear-gradient(90deg,var(--accent),#5cbf9a);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .55s var(--ease);
}

.faq-item.open::after{transform:scaleX(1)}

/* Focus */
.faq-q:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:-2px;
  border-radius:var(--radius);
}

/* Responsive */
@media (max-width:900px){
  .faq-grid{grid-template-columns:1fr}
  .faq-section{padding:56px 18px 100px}
}

@media (max-width:560px){
  .faq-head{margin-bottom:34px}
  .faq-q{padding:17px 16px;font-size:.9rem}
  .faq-a-inner p{padding:0 16px 18px}
  .faq-icon{flex-basis:30px;width:30px;height:30px}
}

@media (prefers-reduced-motion:reduce){
  .faq-section::before{animation:none!important}
  .faq-eyebrow::before{animation:none!important}
  .faq-item{opacity:1;transform:none;transition:none!important}
  .faq-item.faq-in-view{animation:none!important}
  .faq-q,.faq-icon,.faq-icon svg,.faq-a,.faq-a-inner p,.faq-item::after{transition:none!important}
}





  
/* =========================================
   FOOTER
========================================= */
.footer { font-family: "Montserrat"; }
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 0 100px; }

/* ---- Top dark green section ---- */
.footer-top { background: #12380a; color: #fff; padding: 56px 0 60px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr auto auto auto auto;
  gap: 48px;
}
.f-col a, .f-col .f-head { white-space: nowrap; }
/* SERVICES column pushed right */
.footer-grid > .f-col:nth-child(2) { padding-left: 170px; }

.f-logo {
  font-size: 16px; font-weight: 700; letter-spacing: .5px;
  margin-bottom: 16px;
}
.f-desc {
  font-size: 15px; line-height: 1.55; color: #e9efe6;
  max-width: 380px; margin-bottom: 26px;
}
.f-news-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.f-news-desc { font-size: 15px; line-height: 1.5; color: #e9efe6; margin-bottom: 16px; }

.f-subscribe { display: flex; max-width: 300px; }
.f-subscribe input {
  flex: 1; min-width: 0;
  padding: 11px 14px;
  border: none; border-radius: 6px 0 0 6px;
  background: #f5f2ea; color: #333;
  font-size: 14px; font-family: "Montserrat"; outline: none;
}
.f-subscribe input::placeholder { color: #9aa79a; }
.f-subscribe button {
  padding: 11px 18px;
  border: none; border-radius: 6px;
  margin-left: -6px;
  background: #1f5c13; color: #fff;
  font-size: 14px; font-family: "Montserrat"; cursor: pointer;
  transition: background .2s ease;
}
.f-subscribe button:hover { background: #2a7a1a; }

.f-col { display: flex; flex-direction: column; }
.f-head {
  font-size: 16px; font-weight: 700; letter-spacing: .5px;
  margin-bottom: 20px; color: #fff;
}
.f-head-gap { margin-top: 28px; }
.f-head-normal { text-transform: none; }
.f-col a {
  color: #eef3ec; text-decoration: none;
  font-size: 15.5px; line-height: 1.4;
  margin-bottom: 16px;
  transition: color .2s ease, transform .2s ease;
}
.f-col a:hover { color: #a8d99a; }

/* ---- Cream middle strip ---- */
.footer-mid { background: #f5f2ea; padding: 22px 0; }
.footer-mid-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
}
.f-follow { display: flex; align-items: center; gap: 16px; }
.f-follow > span { font-size: 16px; color: #1a1a1a; margin-right: 8px; }
.f-social {
  width: 36px; height: 36px; border-radius: 50%;
  background: #12380a; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease, background .25s ease;
}
.f-social svg { width: 17px; height: 17px; }
.f-social:hover { transform: scale(1.15); background: #1f5c13; }

.f-contact { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.f-contact a {
  display: flex; align-items: center; gap: 8px;
  color: #12380a; text-decoration: none; font-size: 16px;
  transition: color .2s ease;
}
.f-contact a:hover { color: #2a7a1a; }
.f-ci { width: 17px; height: 17px; flex-shrink: 0; }

/* ---- Bottom dark strip ---- */
.footer-bottom { background: #12380a; padding: 34px 0 44px; }
.footer-bottom-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.f-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.f-legal a {
  color: #eef3ec; text-decoration: none; font-size: 15px;
  transition: color .2s ease;
}
.f-legal a:hover { color: #a8d99a; }
.f-legal span { color: #eef3ec; font-size: 14px; }
.f-copy { color: #eef3ec; font-size: 15px; }

/* =========================================
   FOOTER RESPONSIVE
========================================= */
/* Laptop */
@media (max-width: 1280px) {
  .footer-inner { padding: 0 48px; }
  .footer-grid { gap: 36px; }
  .footer-grid > .f-col:nth-child(2) { padding-left: 60px; }
}

/* Tablet */
@media (max-width: 1199px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  .footer-grid > .f-col:nth-child(2) { padding-left: 0; }
  .f-col a, .f-col .f-head { white-space: normal; }
  .f-brand { grid-column: 1 / -1; }
  .f-desc { max-width: 520px; }
}

/* Mobile */
@media (max-width: 640px) {
  .footer-inner { padding: 0 20px; }
  .footer-top { padding: 44px 0 48px; }
  /* mobile grid system: brand full width, link columns 2-per-row */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .f-brand { grid-column: 1 / -1; }
  .f-col a { font-size: 14.5px; margin-bottom: 13px; }
  .f-head { font-size: 15px; margin-bottom: 14px; }
  .f-subscribe { max-width: 100%; }
  .footer-mid-row { flex-direction: column; align-items: flex-start; }
  .f-contact { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom-row { flex-direction: column; align-items: flex-start; }
  .f-legal { row-gap: 6px; }
}

/* Small mobile */
@media (max-width: 380px) {
  .f-follow { flex-wrap: wrap; }
  .f-contact a { font-size: 14.5px; word-break: break-all; }
}





/* ============================================================
   WORK SECTION  (scoped under .work so ".card" does not
   collide with the Services section's ".card")
============================================================ */
.work {
  width: 100%;
  background: #ffffff;
  margin: 50px 0;
}

.work__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.work__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2%;
  margin-bottom: 3.25rem;
  flex-wrap: wrap;
}

.work__label {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .0625rem;
  text-transform: uppercase;
  margin-bottom: .875rem;
}

.work__title {
  font-size:31px !important;
  font-weight: 700;
  line-height: 1.05;
    /* border:2px solid red; */

}

.work__nav {
  display: flex;
  gap: 1rem;
  padding-bottom: .375rem;
}

.work .nav-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #0E3B12;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}

.work .nav-btn:hover {
  transform: scale(1.06);
  background: #155219;
}

.work .nav-btn:focus-visible {
  outline: .125rem solid #0E3B12;
  outline-offset: .1875rem;
}

.work .nav-btn svg {
  width: 40%;
  height: 40%;
  stroke: #ffffff;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.75%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.work__grid::-webkit-scrollbar {
  display: none;
}

.work .card {
  flex: 0 0 calc(33.333% - 1.16%);
  scroll-snap-align: start;
  position: relative;
  transition: transform .35s ease;
}

.work .card:hover {
  transform: translateY(-2.5%);
}

.work .card__body {
  position: relative;
  width: 100%;
  aspect-ratio: 397 / 407;
  background: #ffffff;
  /* border: 1px solid #ECECEC; */
  border-radius: 7% / 6.9%;
  box-shadow: none;
}

.work .card__imgwrap {
  width: 100%;
  height: 100%;
  border-radius: 4.5% / 4.4%;
  overflow: hidden;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.work .card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.work .card__imgwrap .ph {
  color: #A79F8F;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .03125rem;
}

.work .card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6%;
  opacity: 0;
  transition: opacity .35s ease;
  border-radius: inherit;
}

.work .card__overlay p {
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.375rem);
  line-height: 1.35;
  transform: translateY(.625rem);
  transition: transform .35s ease;
}

.work .card__overlay p b {
  font-weight: 700;
}

.work .card__overlay p span {
  font-weight: 400;
  opacity: .9;
}

.work .card:hover .card__overlay {
  opacity: 1;
}

.work .card:hover .card__overlay p {
  transform: translateY(0);
}

.work .card__notch {
  position: absolute;
  right: -.25%;
  bottom: -.25%;
  width: 53.4%;
  height: 31.5%;
  pointer-events: none;
  display: block;
}

.work .card__cta {
  position: absolute;
  right: 1%;
  bottom: 0;
  width: 42.8%;
  height: 20.1%;
  background: #FFFFFF;
  border-radius: 14% / 29%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s ease, box-shadow .35s ease;
  z-index: 2;
}

.work .card:hover .card__cta {
  transform: scale(1.02);
}

.work .btn-view {
  width: 82.3%;
  height: 68.3%;
  background: #0E3B12;
  color: #fff;
  border: none;
  border-radius: .9rem;
  font-family: Montserrat;
  font-size: clamp(.75rem, 1.05vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  transition: background .25s ease;
}

.work .btn-view:hover {
  background: #155219;
}

.work .btn-view:focus-visible {
  outline: .125rem solid #0E3B12;
  outline-offset: .1875rem;
}

@media (max-width: 73.75em) {
  .work__grid {
    gap: 3%;
  }

  .work .card {
    flex: 0 0 calc(50% - 1.5%);
  }

  .work .btn-view {
    font-size: clamp(.75rem, 1.6vw, 1rem);
  }
}

@media (max-width: 45em) {
  .work {
    padding: 3rem 4% 3.5rem;
  }

  .work__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.25rem;
  }

  .work__grid {
    gap: 1.5rem;
  }

  .work .card {
    flex: 0 0 100%;
  }

  .work .btn-view {
    font-size: clamp(.8125rem, 3.4vw, 1rem);
  }
}

@media (prefers-reduced-motion: reduce) {

  .work *,
  .work *::before,
  .work *::after {
    transition: none !important;
  }

  .work .card:hover,
  .work .card:hover .card__cta {
    transform: none;
  }
}

/* ===== DIGITAL MARKETING SERVICES SECTION ===== */
.digital-marketing-section {
  max-width: 1240px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.dm-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.dm-header-left {
  max-width: 600px;
}

.dm-eyebrow {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  margin-bottom: 8px;
}

.dm-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 31px;
  font-weight: 600;
  color: #000;
  line-height: 1.25;
}

.dm-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.dm-btn {
  background: #0C3C01;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
}

.dm-nav {
  display: flex;
  gap: 16px;
}

.dm-nav-btn {
  width: 42px;
  height: 42px;
  background: #0C3C01;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.dm-nav-btn svg {
  width: 20px;
  height: 20px;
}

.dm-content {
  display: flex;
  height: 660px;
  align-items: stretch;
}

.dm-tabs {
  width: 25.53%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  z-index: 2;
}

.dm-tab {
  flex: 1;
  width: 90%;
  background: #F9F9F7;
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  transition: all 0.3s ease;
  text-align: center;
}

.dm-tab.active {
  width: calc(100% + 40px);
  background: #F5F5F3;
  color: #5B6D49;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding-right: 56px;
}

.dm-panels {
  width: 74.47%;
  background: #F5F5F3;
  border-radius: 24px;
  padding: 40px;
  z-index: 1;
}

.dm-panel {
  display: none;
  height: 100%;
  flex-direction: column;
}

.dm-panel.active {
  display: flex;
}

.dm-panel-image {
  width: 100%;
  height: 55%;
  border-radius: 16px;
  background-color: #fff;
  background-size: cover;
  background-position: center;
  margin-bottom: 24px;
}

.dm-panel-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.dm-panel-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 8px;
  text-transform: uppercase;
  line-height: 1.5;
}

.dm-panel-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  margin-bottom: 16px;
}

.dm-panel-perfect {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.dm-panel-perfect-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}

.dm-panel-perfect-list {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
}

@media (max-width: 1199px) {
  .dm-content {
    flex-direction: column;
    height: auto;
  }
  .dm-tabs {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
  }
  .dm-tab {
    width: auto;
    flex: 1 1 auto;
    padding: 12px 20px;
    font-size: 16px;
  }
  .dm-tab.active {
    width: auto;
    border-radius: 24px;
    padding-right: 20px;
  }
  .dm-panels {
    width: 100%;
    padding: 24px;
  }
  .dm-panel-image {
    height: 250px;
  }
  .dm-panel-perfect {
    flex-direction: column;
  }
}

/* ========================================================================
   WEBSITE — PAGE-OWNED TABLET/MOBILE LAYOUT
   Loaded after each page stylesheet. Desktop begins at 1025px and is not
   changed by this file.
   ======================================================================== */

.service-mobile-media {
  display: none;
}

@media (max-width: 1199px) {
  /* ---------- Hero typography and alignment ---------- */
  .website-figma-hero,
  .software-figma-hero,
  .zoho-figma-hero.zoho-figma-hero,
  .infra-figma-hero,
  body.hr-page .hero,
  body.digital-page .hero {
    text-align: center !important;
  }

  .website-figma-hero .website-figma-hero__title,
  .software-figma-hero .software-figma-hero__title,
  .zoho-figma-hero .zoho-figma-hero__title,
  .infra-figma-hero .infra-figma-hero__title,
  body.hr-page .hero__title,
  body.digital-page .hero__title {
    width: min(820px, 100%);
    min-height: 0;
    margin-inline: auto;
    font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
    font-size: clamp(36px, 4.3vw, 44px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .website-figma-hero__break,
  .software-figma-hero__break,
  .zoho-figma-hero__desktop-break,
  .infra-figma-hero__break,
  body.hr-page .hero__break,
  body.digital-page .hero__break {
    display: block !important;
  }

  .website-figma-hero__subtitle,
  .software-figma-hero__subtitle,
  .zoho-figma-hero__subtitle,
  .infra-figma-hero__subtitle,
  body.hr-page .hero__subtitle,
  body.digital-page .hero__subtitle {
    width: min(700px, 100%);
    height: auto;
    margin-inline: auto;
    font-family: "Montserrat", "Montserrat Variable", sans-serif;
    font-size: 16px !important;
    line-height: 1.6 !important;
    text-align: center !important;
  }

  .website-figma-hero__cta,
  .software-figma-hero__cta,
  .zoho-figma-hero__cta,
  .infra-figma-hero__cta,
  body.hr-page .hero__cta,
  body.digital-page .hero__cta {
    min-height: 44px;
    font-family: "Outfit", sans-serif;
    font-size: 16px !important;
  }

  /* ---------- Website/Software/Digital/Infrastructure topic sections ---------- */
  .ect-web-solutions {
    width: calc(100% - 48px) !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 32px auto !important;
    overflow: visible !important;
  }

  .ect-web-solutions__header {
    position: relative !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 20px;
    align-items: end;
    margin-bottom: 28px;
  }

  .ect-web-solutions__eyebrow,
  .ect-web-solutions__heading,
  .ect-web-solutions__controls {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .ect-web-solutions__eyebrow {
    grid-column: 1 / -1;
    font-family: "Outfit", sans-serif !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }

  .ect-web-solutions__heading {
    grid-column: 1;
    font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
    font-size: clamp(27px, 3.4vw, 31.25px) !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }

  .ect-web-solutions__controls {
    grid-column: 2;
    display: flex !important;
    gap: 10px;
    align-self: end;
  }

  .ect-web-solutions__arrow {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
  }

  .ect-web-solutions__component {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
  }

  .ect-web-solutions__tabs {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-inline: contain;
    padding: 0 calc(50% - 130px) 12px !important;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  .ect-web-solutions__tabs::-webkit-scrollbar {
    display: none;
  }

  .ect-web-solutions__tab,
  .ect-web-solutions__tab.is-active {
    position: relative !important;
    inset: auto !important;
    flex: 0 0 260px !important;
    width: 260px !important;
    height: 72px !important;
    min-height: 72px !important;
    padding: 12px 18px !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .ect-web-solutions__tab-label {
    font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .ect-web-solutions__panel,
  .ect-web-solutions__panel.is-active {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 16px 0 0 !important;
    padding: 28px !important;
    border-radius: 20px !important;
    background: var(--ect-muted-background, #f9f9f7) !important;
  }

  .ect-web-solutions__panel {
    display: none !important;
  }

  .ect-web-solutions__panel.is-active,
  body.digital-page .ect-web-solutions__panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .ect-web-solutions__content-title,
  .ect-web-solutions__description,
  .ect-web-solutions__services-label,
  .ect-web-solutions__services-text,
  .ect-web-solutions__perfect-label,
  .ect-web-solutions__audience,
  .ect-web-solutions__cta,
  .ect-web-solutions__media {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }

  .ect-web-solutions__content-title {
    order: 1;
    font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
    font-size: clamp(22px, 2.7vw, 25px) !important;
    line-height: 1.25 !important;
  }

  .ect-web-solutions__description {
    order: 2;
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .ect-web-solutions__media {
    order: 3;
    overflow: hidden !important;
    aspect-ratio: 16 / 9;
    border-radius: 16px !important;
  }

  .ect-web-solutions__image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .ect-web-solutions__services-label {
    order: 4;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.5 !important;
  }

  .ect-web-solutions__services-text {
    order: 5;
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .ect-web-solutions__perfect-label {
    order: 6;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.5 !important;
  }

  .ect-web-solutions__audience {
    order: 7;
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .ect-web-solutions__cta {
    order: 8;
    justify-self: start;
    min-height: 44px !important;
    padding: 10px 18px !important;
    font-family: "Inter", "Montserrat", sans-serif !important;
    font-size: 16px !important;
  }

  /* ---------- HR/Zoho moving-topic sections ---------- */
  body.hr-page .software-section,
  body:not(.hr-page) .software-section#zoho-services {
    width: calc(100% - 48px) !important;
    max-width: 1240px !important;
    height: auto !important;
    margin: 72px auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.hr-page .software-section .section-header,
  .software-section#zoho-services .section-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 20px;
    align-items: end !important;
    margin-bottom: 28px !important;
  }

  body.hr-page .software-section .section-header > div:first-child,
  .software-section#zoho-services .section-header > div:first-child {
    min-width: 0;
  }

  body.hr-page .software-section .eyebrow,
  .software-section#zoho-services .eyebrow {
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-family: "Outfit", sans-serif !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
  }

  body.hr-page .software-section .eyebrow::before,
  .software-section#zoho-services .eyebrow::before {
    display: none !important;
  }

  body.hr-page .software-section .section-title,
  .software-section#zoho-services .section-title {
    margin: 0 !important;
    font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
    font-size: clamp(27px, 3.4vw, 31.25px) !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }

  body.hr-page .software-section .nav-arrows,
  .software-section#zoho-services .nav-arrows {
    display: flex !important;
    gap: 10px;
    align-self: end;
  }

  body.hr-page .software-section .nav-arrows button,
  .software-section#zoho-services .nav-arrows button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
  }

  body.hr-page .software-section .tabs-wrapper,
  .software-section#zoho-services .tabs-wrapper {
    width: 100% !important;
    height: auto !important;
    margin: 0 0 16px !important;
    overflow: hidden !important;
    touch-action: pan-y;
  }

  body.hr-page .software-section .tabs-track,
  .software-section#zoho-services .tabs-track {
    display: flex !important;
    gap: 12px !important;
    width: max-content !important;
    height: auto !important;
    will-change: transform;
  }

  body.hr-page .software-section .tab,
  body.hr-page .software-section .tab.active,
  .software-section#zoho-services .tab,
  .software-section#zoho-services .tab.active {
    position: relative !important;
    flex: 0 0 260px !important;
    width: 260px !important;
    min-height: 72px !important;
    padding: 12px 18px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    text-align: center;
  }

  body.hr-page .software-section .content-area,
  .software-section#zoho-services .content-area {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.hr-page .software-section .content-image,
  .software-section#zoho-services .content-image {
    display: none !important;
  }

  body.hr-page .software-section .content-panel,
  .software-section#zoho-services .content-panel {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.hr-page .software-section .panel,
  .software-section#zoho-services .panel {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 28px !important;
    border-radius: 20px !important;
    background: #f9f9f7 !important;
  }

  body.hr-page .software-section .panel:not(.active),
  .software-section#zoho-services .panel:not(.active) {
    display: none !important;
  }

  body.hr-page .software-section .panel.active,
  .software-section#zoho-services .panel.active {
    display: block !important;
  }

  body.hr-page .software-section .panel h3,
  .software-section#zoho-services .panel h3 {
    margin: 0 0 12px !important;
    font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
    font-size: clamp(22px, 2.7vw, 25px) !important;
    line-height: 1.25 !important;
  }

  body.hr-page .software-section .panel p,
  .software-section#zoho-services .panel p,
  body.hr-page .software-section .apps-list,
  .software-section#zoho-services .apps-list {
    font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  body.hr-page .software-section .panel h4,
  .software-section#zoho-services .panel h4 {
    margin: 18px 0 6px !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  .service-mobile-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 18px 0;
    overflow: hidden;
    border-radius: 16px;
    background: #f5f5f3;
  }

  .service-mobile-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  body.hr-page .software-section .btn-demo,
  .software-section#zoho-services .btn-demo {
    min-height: 44px !important;
    margin-top: 20px !important;
    padding: 10px 18px !important;
    font-family: "Inter", "Montserrat", sans-serif !important;
    font-size: 16px !important;
  }
}

@media (max-width: 640px) {
  .website-figma-hero .website-figma-hero__title,
  .software-figma-hero .software-figma-hero__title,
  .zoho-figma-hero .zoho-figma-hero__title,
  .infra-figma-hero .infra-figma-hero__title,
  body.hr-page .hero__title,
  body.digital-page .hero__title {
    font-size: clamp(26px, 7.7vw, 32px) !important;
  }

  .website-figma-hero__subtitle,
  .software-figma-hero__subtitle,
  .zoho-figma-hero__subtitle,
  .infra-figma-hero__subtitle,
  body.hr-page .hero__subtitle,
  body.digital-page .hero__subtitle {
    font-size: 15px !important;
  }

  .ect-web-solutions,
  body.hr-page .software-section,
  body:not(.hr-page) .software-section#zoho-services {
    width: calc(100% - 32px) !important;
    margin: 24px auto !important;
  }

  .ect-web-solutions__header,
  body.hr-page .software-section .section-header,
  .software-section#zoho-services .section-header {
    gap: 10px 12px;
    margin-bottom: 22px !important;
  }

  .ect-web-solutions__eyebrow,
  body.hr-page .software-section .eyebrow,
  .software-section#zoho-services .eyebrow {
    font-size: 14px !important;
  }

  .ect-web-solutions__heading,
  body.hr-page .software-section .section-title,
  .software-section#zoho-services .section-title {
    font-size: clamp(22px, 6.5vw, 26px) !important;
  }

  .ect-web-solutions__arrow,
  body.hr-page .software-section .nav-arrows button,
  .software-section#zoho-services .nav-arrows button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
  }

  .ect-web-solutions__tabs {
    padding-inline: calc(50% - min(36vw, 120px)) !important;
  }

  .ect-web-solutions__tab,
  .ect-web-solutions__tab.is-active,
  body.hr-page .software-section .tab,
  body.hr-page .software-section .tab.active,
  .software-section#zoho-services .tab,
  .software-section#zoho-services .tab.active {
    flex-basis: min(72vw, 240px) !important;
    width: min(72vw, 240px) !important;
    min-height: 66px !important;
    height: 66px !important;
    font-size: 15px !important;
  }

  .ect-web-solutions__panel,
  .ect-web-solutions__panel.is-active,
  body.hr-page .software-section .panel,
  .software-section#zoho-services .panel {
    padding: 20px !important;
    border-radius: 16px !important;
  }

  .ect-web-solutions__content-title,
  body.hr-page .software-section .panel h3,
  .software-section#zoho-services .panel h3 {
    font-size: clamp(18px, 5.4vw, 22px) !important;
  }

  .ect-web-solutions__description,
  .ect-web-solutions__services-text,
  .ect-web-solutions__audience,
  body.hr-page .software-section .panel p,
  .software-section#zoho-services .panel p,
  body.hr-page .software-section .apps-list,
  .software-section#zoho-services .apps-list {
    font-size: 15px !important;
  }

  .ect-web-solutions__services-label,
  .ect-web-solutions__perfect-label,
  .ect-web-solutions__cta,
  body.hr-page .software-section .panel h4,
  .software-section#zoho-services .panel h4,
  body.hr-page .software-section .btn-demo,
  .software-section#zoho-services .btn-demo {
    font-size: 15px !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 1199px) {
  .ect-web-solutions__tabs {
    scroll-behavior: auto;
  }
}

/* WEBSITE — FINAL PAGE-OWNED RESPONSIVE ALIGNMENT */

/* Tablet/mobile-only repositioned copies of the tech-stack tagline and
   the FAQ sub-text (see the duplicate <p> markup in website.html).
   Hidden unconditionally so desktop never renders them; the media
   queries below reveal them and hide the original "--top" copy instead. */
.tb-tagline--bottom,
.faq-sub--bottom {
  display: none;
}

@media (max-width: 1199px) {
  .website-figma-hero .website-figma-hero__title {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
    font-size: clamp(36px, 4.3vw, 44px) !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .website-figma-hero__break {
    display: block !important;
  }

  .ect-web-solutions__header {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .ect-web-solutions__eyebrow,
  .ect-web-solutions__heading,
  .ect-web-solutions__controls {
    grid-column: 1 !important;
  }

  /* Match the hero title's tablet size. Selector needs the extra
     .ect-web-solutions__header ancestor class so it outranks the
     page-wide single-class !important rule in the <style> block in
     website.html, which otherwise wins the specificity tie and
     forces this back to the flat 31.25px heading size. */
  .ect-web-solutions__header .ect-web-solutions__heading {
    font-size: clamp(36px, 4.3vw, 44px) !important;
  }

  .ect-web-solutions__controls {
    justify-self: end !important;
    align-self: auto !important;
    margin-top: 2px !important;
  }
}

@media (max-width: 640px) {
  .website-figma-hero .website-figma-hero__title {
    font-size: clamp(17px, 5.7vw, 26px) !important;
    letter-spacing: -0.02em !important;
  }

  .website-figma-hero__subtitle {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 0 !important;
    font-size: clamp(11px, 3.34vw, 14px) !important;
    white-space: nowrap !important;
  }

  /* Same specificity note as the tablet rule above: the ancestor
     class is required to beat the inline <style> block in
     website.html on mobile. */
  .ect-web-solutions__header .ect-web-solutions__eyebrow {
    font-size: clamp(11px, 3.34vw, 14px) !important;
  }

  .ect-web-solutions__header .ect-web-solutions__heading {
    font-size: clamp(17px, 5.7vw, 26px) !important;
  }
}

/* APPROACH STEPS — tablet/mobile only; desktop remains unchanged */
.web-solutions-section .approach-closing {
  display: none;
}

@media (max-width: 1199px) {
  .web-solutions-section .eyebrow {
    margin-bottom: 10px !important;
    font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  .web-solutions-section .header {
    display: block !important;
    margin-bottom: 24px !important;
  }

  .web-solutions-section .header h2 {
    max-width: 100% !important;
    margin: 0 !important;
    font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
    font-size: clamp(36px, 4.3vw, 44px) !important;
    line-height: 1.2 !important;
  }

  .web-solutions-section .header > p {
    display: none !important;
  }

  .web-solutions-section .grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 36px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  .web-solutions-section .cell {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    grid-template-areas:
      "step step"
      "icon title"
      "desc desc" !important;
    column-gap: 14px !important;
    row-gap: 10px !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 20px !important;
    overflow: visible !important;
    border: 1px solid var(--border, #dfe3da) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  /* An older 2-column tablet grid (see the "62.5rem"/"40rem" media
     queries further up this file) stripped the bottom border from the
     last row (:nth-child(n+5)) and the final card (:last-child), since
     a divider grid doesn't need one below its last row. This section is
     now single-column cards with a full border each, but those older
     rules are more specific than the .cell rule above and still win,
     leaving cards 5 and 6 open at the bottom. Restore it here. */
  .web-solutions-section .cell:nth-child(n+5),
  .web-solutions-section .cell:last-child {
    border-bottom: 1px solid var(--border, #dfe3da) !important;
  }

  .web-solutions-section .cell .step {
    grid-area: step;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  .web-solutions-section .cell .icon {
    grid-area: icon;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
  }

  .web-solutions-section .cell h3 {
    grid-area: title;
    margin: 0 !important;
    font-size: clamp(22px, 2.5vw, 25px) !important;
    line-height: 1.25 !important;
  }

  .web-solutions-section .cell > p {
    grid-area: desc;
    margin: 0 !important;
    font-size: clamp(15px, 1.7vw, 16px) !important;
    line-height: 1.6 !important;
  }

.web-solutions-section .cell:not(:last-child)::after {
    content: "│\A▼" !important;
    display: flex !important;
    position: absolute !important;
    top: auto !important;
    right: auto !important;
    bottom: -30px !important;
    left: 50% !important;
    width: 24px !important;
    height: 26px !important;
    transform: translateX(-50%) !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: pre !important;
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 0.72 !important;
    text-align: center !important;
    color: #0b5d1e !important;
    background: transparent !important;
    border: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }

  .web-solutions-section .cell:last-child::after {
    display: none !important;
  }

  .web-solutions-section .approach-closing {
    display: block;
    margin: 24px 0 0 !important;
    max-width: 100% !important;
    font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
    font-size: clamp(15px, 1.7vw, 16px) !important;
    line-height: 1.6 !important;
    color: var(--text, #3a3f3a) !important;
    text-align: justify !important;
  }

  /* Every other section eyebrow/heading on this page, matched to the
     hero eyebrow ("Fast, modern...") and hero title ("Websites That
     Build Brands...") tablet sizes. The ancestor class in each selector
     is needed to outrank the page's inline <style> block (which forces
     h1/h2/.tb-heading/.faq-title etc. to a flat size) and, for
     .work__title, its own !important base rule further up this file. */
  .tb-top-left .tb-eyebrow { font-size: 16px !important; }
  .tb-top-left .tb-heading { font-size: clamp(36px, 4.3vw, 44px) !important; }

  .faq-head .faq-eyebrow { font-size: 16px !important; }
  .faq-head .faq-title { font-size: clamp(36px, 4.3vw, 44px) !important; }

  .work__head .work__label { font-size: 16px !important; }
  .work__head .work__title { font-size: clamp(36px, 4.3vw, 44px) !important; }

  /* Tech-stack header: was a flex row sharing space with the tagline,
     which squeezed the heading into a narrow column and wrapped it one
     word per line. The tagline moves below the scroll rows below, so
     give the eyebrow/heading the full row width and left-align it. */
  .tb-top {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .tb-top-left {
    width: 100% !important;
  }

  .tb-tagline--top {
    display: none !important;
  }

  .tb-tagline--bottom {
    display: block !important;
    margin: 24px 28px 0 !important;
    max-width: none !important;
  }

  /* SECTION GAPS — recommended tablet/mobile sizing.
     .work had an unconditional 50px margin AND, below 45em, its own
     3rem/3.5rem padding stacked on top of it — nearly doubling the
     gap before and after this section compared to desktop. Same
     spirit for the wrapper/section below it: replace the mix of
     stacked margin+padding with one clean, smaller value instead of
     inheriting whatever the desktop numbers happen to add up to. */
  .work {
    margin: 32px 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .tb-section-wrapper {
    margin-top: 0 !important;
    padding-top: 32px !important;
    /* No padding-bottom here: .faq-section is nested inside this
       wrapper as its last child, so the wrapper's own trailing edge
       is already whatever .faq-section's padding-bottom provides.
       Adding one here would stack on top of it. */
  }

  .faq-section {
    margin-top: 0 !important;
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  /* FAQ sub-text: move below the last card instead of beside the title. */
  .faq-sub--top {
    display: none !important;
  }

  .faq-sub--bottom {
    display: block !important;
    margin: 24px 0 0 !important;
    max-width: none !important;
  }
}

@media (max-width: 640px) {
  .web-solutions-section .eyebrow {
    font-size: clamp(11px, 3.34vw, 14px) !important;
  }

  .web-solutions-section .header h2 {
    font-size: clamp(17px, 5.7vw, 26px) !important;
  }

  .web-solutions-section .grid {
    gap: 32px !important;
  }

  .web-solutions-section .cell {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    padding: 18px 16px !important;
  }

  .web-solutions-section .cell .icon {
    width: 42px !important;
    height: 42px !important;
  }

  .web-solutions-section .cell h3 {
    font-size: clamp(18px, 4.8vw, 22px) !important;
  }

  .web-solutions-section .cell > p,
  .web-solutions-section .approach-closing {
    font-size: clamp(14px, 3.7vw, 15px) !important;
  }

  /* Mobile sizes for the same eyebrow/heading set, matched to the
     hero eyebrow/title mobile sizes. */
  .tb-top-left .tb-eyebrow { font-size: clamp(11px, 3.34vw, 14px) !important; }
  .tb-top-left .tb-heading { font-size: clamp(17px, 5.7vw, 26px) !important; }

  .faq-head .faq-eyebrow { font-size: clamp(11px, 3.34vw, 14px) !important; }
  .faq-head .faq-title { font-size: clamp(17px, 5.7vw, 26px) !important; }

  .work__head .work__label { font-size: clamp(11px, 3.34vw, 14px) !important; }
  .work__head .work__title { font-size: clamp(17px, 5.7vw, 26px) !important; }

  .tb-tagline--bottom {
    margin: 20px 20px 0 !important;
  }

  .work {
    margin: 24px 0 !important;
  }

  .tb-section-wrapper {
    padding-top: 40px !important;
  }

  .faq-section {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
}
/* Contain mobile hero paint so decorative content cannot widen the page. */
@media (max-width: 640px) {
  .website-figma-hero {
    overflow-x: clip;
  }
}

/* Website hero subtitle: match the 16px WEB SOLUTIONS label on desktop
   and allow the complete sentence to wrap on narrow screens. */
.website-figma-hero .website-figma-hero__subtitle {
  height: auto !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  white-space: normal !important;
}

@media (max-width: 640px) {
  .website-figma-hero .website-figma-hero__subtitle {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 14px !important;
    overflow-wrap: normal;
  }
}

/* Service page responsive guardrails: preserve the established layout while
   extending its tablet treatment through narrow laptop widths. */
@media (min-width: 1025px) and (max-width: 1199px) {
  body.service-page .ect-navbar {
    width: calc(100% - 24px);
    padding-inline: 16px;
  }
  body.service-page .ect-navbar-menu { display: none; }
  body.service-page .ect-navbar-actions { gap: 10px; }
  body.service-page .ect-consultation-trigger:not(.ect-mobile-consultation-btn) { display: none; }
  body.service-page .ect-mobile-toggle,
  body.service-page .ect-mobile-panel { display: block; }
}

@media (max-width: 1199px) {
  body.service-page :is(.ect-web-solutions__tabs, .work__grid, .tb-track-wrapper, .tb-track, [class*="carousel"], [class*="slider-track"]) {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  body.service-page :is(.ect-web-solutions__tabs, .work__grid, .tb-track-wrapper, .tb-track, [class*="carousel"], [class*="slider-track"])::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

@media (max-width: 640px) {
  body.service-page :is(.ect-eyebrow, .ect-web-solutions__eyebrow, .faq-eyebrow, .tb-eyebrow, .work__label) {
    font-size: 13px !important;
    line-height: 1.4;
  }
}

/* Website hero: wider heading and intro copy on desktop (Figma hero). */
/* Website hero: wider heading and intro copy on desktop (Figma hero). */
@media (min-width: 1025px) {
  .website-figma-hero .website-figma-hero__title {
    width: min(920px, 100%) !important;
    max-width: none !important;
    min-height: 0 !important;
    font-size: clamp(30px, 3.6vw, 39.06px) !important;
    white-space: nowrap !important;
  }

  .website-figma-hero .website-figma-hero__subtitle {
    width: min(760px, 100%) !important;
  }
}

/* Keep the website hero readable across small phones and narrow tablets.
   The earlier nowrap rules clipped the first line of the heading. */
.website-figma-hero .website-figma-hero__title {
  white-space: normal !important;
  overflow-wrap: normal;
}

@media (max-width: 799px) {
  .website-figma-hero__break {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .website-figma-hero .website-figma-hero__title {
    font-size: clamp(24px, 6.5vw, 32px) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.02em !important;
  }
}

/* Approved hero preview: phone and tablet refinements only. */
@media (min-width: 641px) and (max-width: 1199px) {
  .website-figma-hero {
    width: calc(100% - 48px);
    margin-top: 112px;
  }

  .website-figma-hero .website-figma-hero__title {
    width: min(760px, 100%) !important;
    font-size: clamp(32px, 4.2vw, 40px) !important;
  }

  .website-figma-hero__break {
    display: none !important;
  }

  .website-figma-hero .website-figma-hero__subtitle {
    width: min(680px, 100%) !important;
  }

  .website-figma-hero__video-frame {
    aspect-ratio: 16 / 9;
    margin-top: 28px;
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  .website-figma-hero {
    margin-top: 94px;
  }

  .website-figma-hero .website-figma-hero__title {
    font-size: clamp(25px, 6.6vw, 32px) !important;
  }

  .website-figma-hero .website-figma-hero__subtitle {
    margin-top: 18px;
    font-size: 15px !important;
  }

  .website-figma-hero__cta {
    margin-top: 22px;
  }
}

/* Website benefits: keep the circular desktop cards behind a clean intro
   area, while placing the copy and CTA around the swipe rail on touch sizes. */
#website-benefits .website-benefits__intro {
  background: #fff;
}

#website-benefits .website-benefits__cta--after {
  display: none;
}

@media (max-width: 1024px) {
  #website-benefits .website-benefits__number {
    display: none;
  }

  #website-benefits .website-benefits__intro {
    text-align: left;
    margin-bottom: 28px;
  }

  #website-benefits .website-benefits__intro h2,
  #website-benefits .website-benefits__intro p {
    text-align: left;
    margin-left: 0;
  }

  #website-benefits .website-benefits__intro .website-benefits__cta {
    display: none;
  }

  #website-benefits .website-benefits__cta--after {
    display: inline-flex;
    align-self: flex-start;
    min-height: 48px;
    margin: 8px 0 0 max(20px, calc((100% - 700px) / 2));
    padding: 12px 22px;
    font-size: 15px;
    line-height: 1.2;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  #website-benefits .website-benefits__orbit {
    padding-inline: max(20px, calc((100% - 700px) / 2));
    scroll-padding-inline: max(20px, calc((100% - 700px) / 2));
  }
}

@media (max-width: 600px) {
  #website-benefits .website-benefits__intro {
    margin-bottom: 24px;
  }

  #website-benefits .website-benefits__cta--after {
    margin-left: 20px;
  }
}

@media (max-width: 1024px) {
  #website-benefits .website-benefits__card {
    height: 360px;
    min-height: 360px;
    scroll-snap-align: start;
  }
}

@media (max-width: 600px) {
  #website-benefits .website-benefits__card {
    height: 400px;
    min-height: 400px;
  }

  #website-benefits .website-benefits__card:nth-child(4) p {
    font-size: 12px;
    line-height: 1.35;
  }
}
