/* Home header: white once the visitor leaves the top of the hero. */
.page-home-wrapper .moden-header-home.is-scrolled {
  color: #17191d !important;
  background: #fff !important;
  border: 0 !important;
}
.page-home-wrapper .moden-header-home.is-scrolled .moden-brand-light { display: none !important; }
.page-home-wrapper .moden-header-home.is-scrolled .moden-brand-dark { display: block !important; }

.page-home-wrapper .moden-hero-editorial {
  display: block;
  height: auto;
  min-height: 0;
  color: #17191d;
  background: #fff;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .68) 34%, rgba(255, 255, 255, .28) 66%, rgba(255, 255, 255, .03)),
    linear-gradient(0deg, rgba(255, 255, 255, .36), rgba(255, 255, 255, 0) 56%),
    url("../assets/home/digital-marketing-hero-desktop.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid #ececea;
}
.page-home-wrapper .moden-hero-editorial::before,
.page-home-wrapper .moden-hero-editorial::after { display: none; }
.page-home-wrapper .moden-hero-editorial .moden-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  width: min(1320px, calc(100% - 80px));
  height: auto;
  min-height: 0;
  gap: clamp(36px, 4.5vw, 72px);
  align-items: center;
  padding: 132px 0 56px;
}
.page-home-wrapper .moden-hero-editorial .moden-hero-copy { width: 100%; max-width: none; container-type: inline-size; }
.page-home-wrapper .moden-hero-editorial .moden-hero-eyebrow {
  font-family: var(--font-display, 'Khand', sans-serif);
  margin-bottom: 10px;
  color: #60626a;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 1.25;
}
.page-home-wrapper .moden-hero-editorial .moden-hero-eyebrow span { background: #ff3131; box-shadow: none; flex-shrink: 0; }
.page-home-wrapper .moden-hero-editorial h1 {
  color: #17191d;
  font-size: clamp(1rem, 6.8cqi, 2.55rem);
  font-weight: 700;
  line-height: 1.05;
  min-height: 2.1em;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.page-home-wrapper .moden-hero-editorial .moden-hero-title-accent { color: #ff3131; }
.page-home-wrapper .moden-hero-editorial .moden-hero-title-line { white-space: nowrap; min-height: 1.05em; }
.page-home-wrapper .moden-hero-editorial .moden-hero-title-line.is-typing::after {
  content: '';
  display: inline-block;
  width: 0;
  height: .8em;
  margin-left: 3px;
  border-left: 2px solid currentColor;
  vertical-align: -.03em;
  animation: hero-type-caret 800ms step-end infinite;
}
@keyframes hero-type-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .page-home-wrapper .moden-hero-editorial .moden-hero-title-line.is-typing::after { display: none; }
}
.page-home-wrapper .moden-hero-editorial .moden-hero-description {
  max-width: 430px;
  min-height: 3em;
  margin: 16px 0 0;
  color: #62636b;
  font-size: 1.05rem;
  line-height: 1.5;
}
.page-home-wrapper .moden-hero-editorial .moden-hero-actions { gap: 22px; margin-top: 18px; }
.page-home-wrapper .moden-hero-editorial .moden-hero-primary { color: #fff; background: #ff3131; border-radius: 6px; }
.page-home-wrapper .moden-hero-editorial .moden-hero-primary:hover { background: #db2020; }
.page-home-wrapper .moden-hero-editorial .moden-hero-secondary { color: #17191d; }
.page-home-wrapper .moden-hero-editorial .moden-hero-secondary span { color: #ff3131; }
.page-home-wrapper .moden-hero-editorial .moden-hero-proof { margin-top: 24px; gap: 22px; }
.page-home-wrapper .moden-hero-editorial .moden-hero-proof > div + div { border-color: #dededb; }
.page-home-wrapper .moden-hero-editorial .moden-hero-proof > div { gap: 2px; align-content: start; }
.page-home-wrapper .moden-hero-editorial .moden-hero-proof-icon { width: 21px; height: 21px; margin-bottom: 4px; color: #ff3131; }
.page-home-wrapper .moden-hero-editorial .moden-hero-proof strong { margin: 0; color: #27282b; font-size: 1.05rem; line-height: 1.15; }
.page-home-wrapper .moden-hero-editorial .moden-hero-proof span { margin: 0; color: #777981; line-height: 1.25; }

.page-home-wrapper .moden-hero-editorial .moden-showcase {
  position: relative;
  inset: auto;
  z-index: auto;
  width: 100%;
  max-width: none;
  padding: 16px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(22,28,38,.035);
}
.page-home-wrapper .moden-hero-editorial .moden-showcase-stage {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  padding-bottom: 70px;
  box-sizing: content-box;
  background: #fff;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
}
.page-home-wrapper .moden-hero-editorial .moden-showcase-slide { inset: 0; transform: none; }
.page-home-wrapper .moden-hero-editorial .moden-showcase-slide.is-active { transform: none; }
.page-home-wrapper .moden-hero-editorial .moden-showcase-slide picture { position: absolute; inset: 0 0 70px; overflow: hidden; }
.page-home-wrapper .moden-hero-editorial .moden-showcase-slide img { display: block; width: 100%; height: 100%; padding: 0; object-fit: contain; object-position: center; filter: none; }
.page-home-wrapper .moden-hero-editorial .moden-showcase-slide figcaption {
  inset: auto 18px 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  text-shadow: none;
}
.page-home-wrapper .moden-hero-editorial .moden-showcase-slide figcaption span { color: #797b81; font-size: .59rem; letter-spacing: .08em; }
.page-home-wrapper .moden-hero-editorial .moden-showcase-slide figcaption strong { color: #17191d; font-size: 1rem; font-weight: 700; }
.moden-showcase-project-info { display: grid; gap: 2px; min-width: 0; line-height: 1.25; }
.page-home-wrapper .moden-hero-editorial .moden-showcase-case-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex-shrink: 0; min-height: 38px; padding: 0 14px; color: #fff; background: #17191d; border: 1px solid #17191d; border-radius: 5px; font-size: .75rem; font-weight: 650; text-decoration: none; transition: background .2s ease; }
.page-home-wrapper .moden-hero-editorial .moden-showcase-case-button:hover { background: #34363c; }
.page-home-wrapper .moden-hero-editorial .moden-showcase-case-button span { color: inherit; font-size: .9rem; letter-spacing: 0; }
.moden-showcase-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 3px 0; }
.page-home-wrapper .moden-hero-editorial .moden-showcase-index { position: static; color: #27282b; font-size: .7rem; }
.page-home-wrapper .moden-hero-editorial .moden-showcase-index i { color: #9b9c9f; }
.page-home-wrapper .moden-hero-editorial .moden-showcase-controls { position: static; padding: 0; gap: 6px; }
.page-home-wrapper .moden-hero-editorial .moden-showcase-controls button { width: 28px; height: 24px; }
.page-home-wrapper .moden-hero-editorial .moden-showcase-controls button::after { background: #d4d4cf; }
.page-home-wrapper .moden-hero-editorial .moden-showcase-controls button[aria-current="true"]::after { background: #ff3131; }
.page-home-wrapper .moden-hero-editorial a:focus-visible,
.page-home-wrapper .moden-hero-editorial button:focus-visible { outline: 2px solid #ff3131; outline-offset: 5px; }

@media (max-width: 900px) {
  .page-home-wrapper .moden-hero-editorial {
    background: #fff url("../assets/home/digital-marketing-hero-mobile.webp") center / cover no-repeat;
  }
  .page-home-wrapper .moden-hero-editorial .moden-hero-inner { grid-template-columns: 1fr; width: min(660px, calc(100% - 48px)); gap: 36px; padding: 118px 0 48px; }
  .page-home-wrapper .moden-hero-editorial h1 { min-height: 2.1em; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-description { max-width: 500px; min-height: 3em; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-proof { margin-top: 22px; }
}
@media (max-width: 520px) {
  .page-home-wrapper .moden-hero-editorial .moden-hero-inner { width: calc(100% - 40px); padding: 105px 0 32px; gap: 28px; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-eyebrow { margin-bottom: 9px; font-size: 1.05rem; letter-spacing: .05em; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-description { min-height: 3em; margin-top: 14px; font-size: .96rem; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-actions { gap: 18px; margin-top: 18px; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-proof { gap: 14px; margin-top: 22px; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-proof > div + div { padding-left: 14px; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-proof strong { font-size: .97rem; }
  .page-home-wrapper .moden-hero-editorial .moden-showcase { padding: 11px; border-radius: 8px; }
  .page-home-wrapper .moden-hero-editorial .moden-showcase-stage { padding-bottom: 60px; }
  .page-home-wrapper .moden-hero-editorial .moden-showcase-slide picture { bottom: 60px; }
  .page-home-wrapper .moden-hero-editorial .moden-showcase-slide figcaption { right: 13px; left: 13px; height: 60px; }
  .page-home-wrapper .moden-hero-editorial .moden-showcase-slide figcaption strong { font-size: .9rem; }
}

/* Local preview: one full-screen geometric image behind the Home hero copy. */
.page-home-wrapper .moden-header-home:not(.is-scrolled) {
  color: #fff !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.page-home-wrapper .moden-header-home:not(.is-scrolled) .moden-brand-light { display: block !important; }
.page-home-wrapper .moden-header-home:not(.is-scrolled) .moden-brand-dark { display: none !important; }

.page-home-wrapper .moden-hero-editorial {
  display: flex;
  box-sizing: border-box;
  height: 100svh;
  min-height: 100svh;
  align-items: center;
  padding-top: 84px;
  color: #fff;
  background-color: #08090b;
  background-image:
    linear-gradient(90deg, rgba(5, 6, 8, .27), rgba(5, 6, 8, .1) 58%, rgba(5, 6, 8, .04)),
    url("../assets/home/home-hero-geometric-black-v1-20261011.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 0;
}
.page-home-wrapper .moden-hero-editorial::before,
.page-home-wrapper .moden-hero-editorial::after { display: none; }
.page-home-wrapper .moden-hero-editorial .moden-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  width: min(1320px, calc(100% - 80px));
  height: 100%;
  min-height: 0;
  align-items: center;
  gap: clamp(30px, 4vw, 68px);
  margin: 0 auto;
  padding: 26px 0 20px;
  box-sizing: border-box;
}
.page-home-wrapper .moden-hero-editorial .moden-hero-copy {
  width: 100%;
  max-width: 720px;
  container-type: inline-size;
}
.page-home-wrapper .moden-hero-editorial .moden-hero-eyebrow {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .78);
}
.page-home-wrapper .moden-hero-editorial h1 {
  min-height: 2.1em;
  color: #fff;
  font-size: clamp(2.45rem, 5.8cqi, 4.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.055em;
}
.page-home-wrapper .moden-hero-editorial .moden-hero-title-accent { color: #ff424b; }
.page-home-wrapper .moden-hero-editorial .moden-hero-title-line { white-space: nowrap; min-height: 1.05em; }
.page-home-wrapper .moden-hero-editorial .moden-hero-description {
  max-width: 520px;
  color: rgba(255, 255, 255, .82);
}
.page-home-wrapper .moden-hero-editorial .moden-hero-primary { color: #fff; background: #e3272f; }
.page-home-wrapper .moden-hero-editorial .moden-hero-primary:hover { background: #c91e27; }
.page-home-wrapper .moden-hero-editorial .moden-hero-secondary { color: #fff; }
.page-home-wrapper .moden-hero-editorial .moden-hero-secondary span { color: #ff424b; }
.page-home-wrapper .moden-hero-editorial .moden-hero-proof { gap: 20px; }
.page-home-wrapper .moden-hero-editorial .moden-hero-proof > div + div { border-color: rgba(255, 255, 255, .27); }
.page-home-wrapper .moden-hero-editorial .moden-hero-proof strong { color: #fff; }
.page-home-wrapper .moden-hero-editorial .moden-hero-proof span { color: rgba(255, 255, 255, .74); }

@media (max-width: 900px) {
  .page-home-wrapper .moden-hero-editorial {
    height: auto;
    min-height: 100svh;
    padding-top: 72px;
    background-image:
      linear-gradient(90deg, rgba(5, 6, 8, .44), rgba(5, 6, 8, .28) 66%, rgba(5, 6, 8, .12)),
      url("../assets/home/home-hero-geometric-black-v1-20261011.png");
    background-position: 58% center;
  }
  .page-home-wrapper .moden-hero-editorial .moden-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    width: min(660px, calc(100% - 40px));
    height: auto;
    min-height: 0;
    align-content: start;
    gap: 18px;
    padding: 0 0 20px;
  }
  .page-home-wrapper .moden-hero-editorial .moden-hero-copy {
    width: 100%;
    max-width: 660px;
    margin: 0 auto;
    text-align: center;
  }
  .page-home-wrapper .moden-hero-editorial .moden-hero-eyebrow { justify-content: center; }
  .page-home-wrapper .moden-hero-editorial h1 { text-align: center; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-description { margin-right: auto; margin-left: auto; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-actions { justify-content: center; flex-wrap: wrap; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-proof { justify-content: center; margin-right: auto; margin-left: auto; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-proof > div { justify-items: center; text-align: center; }
  .page-home-wrapper .moden-hero-editorial .moden-showcase { width: 100%; max-width: 580px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .page-home-wrapper .moden-hero-editorial {
    background-image:
      linear-gradient(90deg, rgba(5, 6, 8, .68), rgba(5, 6, 8, .46) 70%, rgba(5, 6, 8, .28)),
      url("../assets/home/home-hero-geometric-black-v1-20261011.png");
    background-position: 60% center;
  }
  .page-home-wrapper .moden-hero-editorial .moden-hero-inner {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    padding: 0 0 18px;
    gap: 16px;
  }
  .page-home-wrapper .moden-hero-editorial .moden-hero-eyebrow {
    margin-bottom: 10px;
    font-size: .93rem;
    letter-spacing: .12em;
  }
  .page-home-wrapper .moden-hero-editorial h1 {
    min-height: 0;
    font-size: clamp(1.8rem, 7.4cqi, 2.4rem);
  }
  .page-home-wrapper .moden-hero-editorial .moden-hero-description {
    min-height: 3em;
    margin-top: 10px;
    font-size: .96rem;
  }
  .page-home-wrapper .moden-hero-editorial .moden-hero-actions { gap: 14px; margin-top: 12px; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-proof { margin-top: 15px; }
}
@media (max-width: 360px) {
  .page-home-wrapper .moden-hero-editorial .moden-hero-title-line { white-space: normal; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-proof { gap: 7px; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-proof > div + div { padding-left: 7px; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-proof span { font-size: .61rem; }
}
@media (min-width: 901px) {
  .page-home-wrapper .moden-hero-editorial .moden-hero-eyebrow {
    margin-bottom: 18px;
    font-size: 1.25rem;
  }
  .page-home-wrapper .moden-hero-editorial h1 {
    min-height: 2.05em;
    font-size: clamp(2rem, 8.8cqi, 3.8rem);
  }
  .page-home-wrapper .moden-hero-editorial .moden-hero-description {
    max-width: 520px;
    margin-top: 19px;
    font-size: 1.08rem;
    line-height: 1.55;
  }
  .page-home-wrapper .moden-hero-editorial .moden-hero-actions { gap: 25px; margin-top: 22px; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-primary {
    min-height: 56px;
    padding: 0 23px;
    font-size: .97rem;
  }
  .page-home-wrapper .moden-hero-editorial .moden-hero-secondary { font-size: .96rem; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-proof { gap: 24px; margin-top: 28px; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-proof-icon { width: 25px; height: 25px; margin-bottom: 6px; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-proof strong { font-size: 1.12rem; }
  .page-home-wrapper .moden-hero-editorial .moden-hero-proof span { font-size: .75rem; }
}

/* More visible section introductions and a distinct portfolio action. */
.page-home-wrapper .moden-home-services,
.page-home-wrapper .moden-home-projects,
.page-home-wrapper .moden-home-testimonials { padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(36px, 4vw, 56px); }
.page-home-wrapper .moden-home-contact { padding-bottom: 48px; }
.page-home-wrapper .moden-home-section-heading,
.page-home-wrapper .moden-home-projects-heading,
.page-home-wrapper .moden-home-testimonials-heading { margin-bottom: 26px; }
.page-home-wrapper .moden-home-section-eyebrow,
.page-home-wrapper .moden-section-cta-eyebrow {
  font-family: var(--font-display, 'Khand', sans-serif);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 1.4;
  margin-bottom: 16px;
}
.page-home-wrapper .moden-home-section-heading h2,
.page-home-wrapper .moden-home-projects-heading h2,
.page-home-wrapper .moden-home-testimonials-heading h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  letter-spacing: -.045em;
  line-height: 1.08;
  text-transform: uppercase;
}
.page-home-wrapper .moden-section-cta-title {
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.page-home-wrapper .moden-home-experience-all {
  display: flex;
  width: fit-content;
  min-height: 52px;
  box-sizing: border-box;
  justify-content: center;
  gap: 16px;
  margin: 32px auto 0;
  padding: 0 24px;
  color: #fff;
  background: #17191d;
  border: 1px solid #17191d;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.page-home-wrapper .moden-home-experience-all:hover { color: #fff; background: #34363c; border-color: #34363c; }
.page-home-wrapper .moden-home-experience-all:focus-visible { outline: 2px solid #ff3131; outline-offset: 4px; }
.page-home-wrapper .moden-section-cta-button.is-whatsapp { color: #fff; background: #128c4e; border-color: #128c4e; }
.page-home-wrapper .moden-section-cta-button.is-whatsapp:hover { background: #0f7540; border-color: #0f7540; }
.moden-section-cta-whatsapp-icon { width: 22px; height: 22px; flex-shrink: 0; }

/* Separate groups of four brand and digital projects on desktop. */
.page-home-wrapper .moden-home-projects-heading > p.moden-home-projects-description { max-width: 560px; margin: 16px auto 0; color: #626875; font-size: 1rem; line-height: 1.6; text-align: center; text-wrap: balance; }
.moden-home-project-carousel .moden-home-experience-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.moden-home-project-carousel [data-featured-card][hidden] { display: none !important; }
.moden-home-project-carousel .moden-home-experience-image img { object-fit: contain; }
.moden-home-project-carousel .moden-home-experience-copy { padding: 18px 20px 20px; }
.moden-home-project-carousel .moden-home-experience-copy > span { display: block; font-size: .7rem; line-height: 1.2; }
.moden-home-project-carousel .moden-home-experience-copy h3 { margin: 6px 0 7px; font-size: 1.35rem; line-height: 1.15; }
.moden-home-project-card-description { display: -webkit-box; min-height: 2.8em; margin: 0 0 11px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #68707b; font-size: .88rem; line-height: 1.4; }
.moden-home-project-carousel .moden-home-experience-link { line-height: 1.2; }
.moden-home-project-carousel .moden-home-experience-card { box-shadow: none; border-radius: 12px; }
.moden-featured-controls { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 26px; }
.moden-featured-controls[hidden] { display: none; }
.moden-featured-arrow { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; color: #27282b; background: #fff; border: 1px solid #dcdfe3; border-radius: 50%; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.moden-featured-arrow svg { width: 19px; height: 19px; }
.moden-featured-arrow:hover { color: #ff3131; border-color: #ff3131; }
.moden-featured-dots { display: flex; align-items: center; gap: 3px; }
.moden-featured-dot { display: grid; place-items: center; width: 28px; height: 40px; padding: 0; background: transparent; border: 0; cursor: pointer; }
.moden-featured-dot::before { content: ""; display: block; width: 8px; height: 8px; background: #c5c8cd; border-radius: 50%; transition: background .2s ease, transform .2s ease; }
.moden-featured-dot[aria-current="true"]::before { background: #ff3131; transform: scale(1.25); }
.moden-featured-controls button:focus-visible { outline: 2px solid #ff3131; outline-offset: 3px; }
.page-home-wrapper [data-services-carousel] .moden-home-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
[data-service-card][hidden] { display: none !important; }
[data-services-controls] .moden-featured-arrow { color: #ff3131; border-color: #ffc4c4; }
[data-services-controls] .moden-featured-arrow:hover { color: #fff; background: #ff3131; border-color: #ff3131; }
@media (max-width: 900px) {
  .page-home-wrapper [data-services-carousel] .moden-home-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .page-home-wrapper [data-services-carousel] .moden-home-services-grid { grid-template-columns: 1fr; }
}

/* Testimonials: generous typography, an editorial quote and clear attribution. */
.moden-home-testimonials-editorial { background: #f7f8fa; }
.moden-home-testimonials-editorial .moden-home-testimonials-grid { gap: 22px; }
.moden-home-testimonials-editorial .moden-home-testimonial-card { padding: 28px; border: 1px solid #e7e8eb; border-radius: 16px; box-shadow: 0 12px 32px rgba(20,24,30,.035); }
.moden-testimonial-topline { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.moden-testimonial-quote-mark { height: 48px; color: #ff3131; font-family: Georgia, serif; font-size: 5rem; line-height: 1; }
.moden-testimonial-area { color: #717780; font-size: .7rem; font-weight: 650; }
.moden-home-testimonials-editorial .moden-home-testimonial-card blockquote { margin: 10px 0 26px; color: #353a43; font-size: 1rem; line-height: 1.8; }
.moden-testimonial-author { display: flex; align-items: center; gap: 13px; width: 100%; padding-top: 22px; border-top: 1px solid #edeef0; }
.moden-testimonial-avatar { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; color: #ff3131; background: #fff1f1; border-radius: 50%; font-family: var(--font-heading, sans-serif); font-size: 1.65rem; font-weight: 800; line-height: 1; }
.moden-testimonial-author > div { display: grid; gap: 4px; }
.moden-testimonial-author strong { color: #23262c; font-size: .86rem; font-weight: 700; }
.moden-testimonial-author > div > span { color: #797f89; font-size: .73rem; }
.moden-testimonial-preview-note { max-width: 680px; margin: -10px auto 28px; padding: 10px 15px; color: #626875; background: #eceef1; border-radius: 6px; text-align: center; font-size: .75rem; line-height: 1.5; }
.moden-testimonial-sample { display: inline-block; color: #737983; font-size: .65rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 900px) {
  .moden-home-project-carousel .moden-home-experience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .moden-home-project-carousel .moden-home-experience-grid { grid-template-columns: 1fr; }
  .moden-home-testimonials-editorial .moden-home-testimonial-card { padding: 25px; }
  .moden-home-testimonials-editorial .moden-home-testimonial-card blockquote { font-size: .96rem; }
}

/* Keep the top-of-page header seamless over the hero. */
.page-home-wrapper .moden-header-home:not(.is-scrolled) {
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
.page-home-wrapper #servicios-destacados { scroll-margin-top: 84px; }

/* Centered, pulsing cue that takes visitors into the first homepage section. */
.page-home-wrapper .moden-hero-scroll {
  bottom: max(22px, env(safe-area-inset-bottom));
  left: 50%;
  gap: 6px;
  padding: 7px 13px 3px;
  color: rgba(255, 255, 255, .82);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
  animation: none;
  transform: translateX(-50%);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.page-home-wrapper .moden-hero-scroll.is-dismissed { opacity: 0; visibility: hidden; pointer-events: none; }
.page-home-wrapper .moden-hero-scroll:hover {
  color: #fff;
  animation: none;
  transform: translate(-50%, -2px);
}
.page-home-wrapper .moden-hero-scroll:focus-visible {
  outline: 2px solid #ff424b;
  outline-offset: 4px;
}
.page-home-wrapper .moden-home-services .moden-home-service-card:hover { border-color: #e5e7eb; }
.page-home-wrapper .moden-scroll-cue-mouse {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
}
.page-home-wrapper .moden-scroll-cue-mouse::before {
  content: none;
  animation: none;
}
.page-home-wrapper .moden-scroll-mouse { width: 22px; height: 33px; color: #fff; }
.page-home-wrapper .moden-scroll-wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: moden-scroll-wheel 1.5s ease-in-out infinite;
}
.page-home-wrapper .moden-scroll-cue-label {
  color: inherit;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .page-home-wrapper { padding-top: 0 !important; }
  .page-home-wrapper #servicios-destacados { scroll-margin-top: 72px; }
  .page-home-wrapper .moden-hero-editorial {
    display: flex !important;
    height: auto !important;
    min-height: 100svh !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 90px 0 0 !important;
  }
  .page-home-wrapper .moden-hero-editorial .moden-hero-inner {
    width: min(660px, calc(100% - 40px));
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto;
    padding: 0 !important;
  }
  .page-home-wrapper .moden-hero-editorial .moden-hero-description {
    max-width: 500px;
    padding-right: 36px;
    padding-left: 36px;
    box-sizing: border-box;
    text-align: center;
  }
  .page-home-wrapper .moden-hero-scroll {
    position: relative !important;
    inset: auto !important;
    display: flex;
    align-self: center;
    margin: 20px auto 0;
    padding: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    transform: none;
  }
  .page-home-wrapper .moden-hero-scroll:hover { transform: none; }
  .page-home-wrapper .moden-hero-scroll.is-dismissed { transform: translateY(7px); }
}
@keyframes moden-scroll-wheel {
  0%, 100% { opacity: 1; transform: translateY(-1px); }
  55% { opacity: .35; transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .page-home-wrapper .moden-scroll-wheel { animation: none; }
}

/* Keep the hero edge-to-edge at the top; use the light header after scrolling. */
.page-home-wrapper { background-color: #08090b; }
.page-home-wrapper .moden-header-home:not(.is-scrolled):not(.menu-open) {
  color: #fff !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.page-home-wrapper .moden-header-home:not(.is-scrolled):not(.menu-open) .moden-brand-light { display: block !important; }
.page-home-wrapper .moden-header-home:not(.is-scrolled):not(.menu-open) .moden-brand-dark { display: none !important; }
.page-home-wrapper .moden-header-home.is-scrolled {
  color: #17191d !important;
  background-color: #fff !important;
  background-image: none !important;
  border: 0 !important;
}
.page-home-wrapper .moden-header-home.is-scrolled .moden-brand-light { display: none !important; }
.page-home-wrapper .moden-header-home.is-scrolled .moden-brand-dark { display: block !important; }

@media (max-width: 900px) {
  .page-home-wrapper .moden-hero-scroll {
    background: transparent;
    border-color: transparent;
    backdrop-filter: none;
  }
}
