/* ===========================================================================
   Mobile App Development Company in Texas (page-id 66)
   Location page. The hero comes from the shared page-header.css; only
   page-specific rules belong here.
   =========================================================================== */

/* --------------------------------------------------------------- page ---- */
/* theme default is .site-content{padding-top:40px} - drop it so the hero
   starts flush against the header */
body.sts-page-66 .site-content {
    padding-top: 0;
    padding-bottom: 0;
}

/* ===========================================================================
   Shared section furniture
   =========================================================================== */
.sts-66 .sts-element .states-side-heading:is(h2),
.sts-66 h2.states-side-heading {
    font-size: clamp(30px, 4.2vw, 66px);
    line-height: 1.04;
    text-align: center;
    text-transform: capitalize;
    white-space: normal;
}

.sts-66 .sts-element.sts-element-mt-svc-b .states-side-heading,
.sts-66 .sts-element.sts-element-mt-cost-b .states-side-heading,
.sts-66 .sts-element.sts-element-mt-cta-b .states-side-heading {
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
}

.sts-66 .sts-element.sts-element-mt-need,
.sts-66 .sts-element.sts-element-mt-svc,
.sts-66 .sts-element.sts-element-mt-cost,
.sts-66 .sts-element.sts-element-mt-work,
.sts-66 .sts-element.sts-element-mt-ind,
.sts-66 .sts-element.sts-element-mt-tech,
.sts-66 .sts-element.sts-element-mt-quo,
.sts-66 .sts-element.sts-element-mt-faq,
.sts-66 .sts-element.sts-element-mt-cta {
    --display: flex;
    --flex-direction: column;
    --gap: 26px 26px;
    --row-gap: 26px;
    --column-gap: 26px;
    --overflow: hidden;
    --padding-top: 110px;
    --padding-bottom: 110px;
}

/* ---------------------------------------------------------- two columns -- */
.sts-66 .sts-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
    width: 100%;
}

/* beside the copy the heading stops being a centred banner and reads
   left-aligned against its own column */
.sts-66 .sts-split .sts-element-mt-need-h .states-side-heading,
.sts-66 .sts-split .sts-element-mt-tech-h .states-side-heading {
    text-align: start;
}

.sts-66 .sts-split .sts-element-mt-need-b .states-side-heading,
.sts-66 .sts-split .sts-element-mt-tech-b .states-side-heading {
    text-align: start;
    white-space: normal;
}

.sts-66 .sts-prose p { margin: 0 0 18px; }
.sts-66 .sts-prose p:last-child { margin-bottom: 0; }

/* the copy column is much taller than the heading, so align to the top */
.sts-66 .sts-element.sts-element-mt-need .sts-split { align-items: start; }

/* ===========================================================================
   Services carousel - auto-scrolling, drag-to-browse
   Same widget and treatment as the Android service page's services block.
   =========================================================================== */
.sts-66 .sts-element.sts-element-mt-svc:not(.sts-motion-effects-element-type-background),
.sts-66 .sts-element.sts-element-mt-svc > .sts-motion-effects-container > .sts-motion-effects-layer {
    background-image: url("../images/mountain.webp");
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: cover;
}

.sts-66 .sts-element.sts-element-mt-svc-car {
    width: 100%;
    margin-top: 24px;
}

/* the active card lifts -6px, so the track needs headroom or overflow:hidden
   clips its top edge. Negative margin keeps the visual spacing unchanged. */
.sts-66 .sts-svc-swiper {
    overflow: hidden;
    cursor: grab;
    padding-top: 18px;
    padding-bottom: 10px;
    margin-top: -18px;
    margin-bottom: -10px;
}

.sts-66 .sts-svc-swiper:active { cursor: grabbing; }

.sts-66 .sts-svc-slide { height: auto; }

.sts-66 .sts-svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
    padding: 34px 30px 38px;
    border-radius: 20px;
    background-color: rgba(26, 26, 26, .72);
    border: 1px solid #FFFFFF29;
    overflow: hidden;
    transition: border-color .4s ease, transform .4s ease;
}

/* brand gradient fades in behind the copy, as on the services page cards */
.sts-66 .sts-svc-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: radial-gradient(204.03% 102.75% at 50.17% 0%, #000000 44.82%, #C83C00 82.29%, #F67300 90.48%, #FAE5B4 100%);
    transition: opacity .45s ease;
    pointer-events: none;
    z-index: 0;
}

.sts-66 .sts-svc-card > * { position: relative; z-index: 1; }

.sts-66 .sts-svc-card:hover { border-color: #FFFFFF3D; transform: translateY(-6px); }

.sts-66 .sts-svc-card:hover::after { opacity: 1; }

.sts-66 .sts-svc-card__num {
    color: var(--color-primary, #f25b09);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1;
    transition: color .4s ease;
}

.sts-66 .sts-svc-card:hover .sts-svc-card__num { color: #ffffff; }

.sts-66 .sts-svc-card__icon { display: inline-flex; color: #ffffff; }

.sts-66 .sts-svc-card__icon svg { width: 42px; height: 42px; }

.sts-66 .sts-svc-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 34px;
}

.sts-66 .sts-svc-card__title {
    color: #ffffff;
    font-size: clamp(17px, 1.25vw, 21px);
    font-weight: 500;
    line-height: 1.3;
    text-transform: capitalize;
}

.sts-66 .sts-svc-card__text {
    color: #FFFFFF99;
    font-size: 14px;
    line-height: 1.65;
    transition: color .4s ease;
}

.sts-66 .sts-svc-card:hover .sts-svc-card__text { color: #FFFFFFD9; }

/* --------------------------------------------- carousel: active slide -- */
/* With centered-slides the middle card is the active one, and it carries the
   brand gradient permanently; the flanking cards stay muted until hovered.
   The slider also sets initial-slide="1" so card 02 opens in the centre and
   card 01 sits to its left - centring on card 01 instead would pull the loop
   clone of the last card in on the left, opening the list on 11. */
.sts-66 .sts-svc-slide { transition: opacity .45s ease; }

.sts-66 .sts-svc-slide:not(.swiper-slide-active) { opacity: .55; }

.sts-66 .swiper-slide-active .sts-svc-card::after { opacity: 1; }

.sts-66 .swiper-slide-active .sts-svc-card {
    border-color: #FFFFFF3D;
    transform: translateY(-6px);
}

.sts-66 .swiper-slide-active .sts-svc-card__num { color: #ffffff; }

.sts-66 .swiper-slide-active .sts-svc-card__text { color: #FFFFFFD9; }

/* drag cursor over the track, replacing the pointer */
.states-side-hover-cursor__mt-svc-car {
    --icon-position: column;
    --content-vertical-alignment: center;
    --text-align: center;
}

.states-side-hover-cursor__mt-svc-car .states-side-hover-cursor__icon {
    width: 74px;
    height: 74px;
    color: #ffffff;
    background-color: rgba(255, 255, 255, .12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 50%;
}

@media (prefers-reduced-motion: reduce) {
    .sts-66 .sts-svc-card,
    .sts-66 .sts-svc-card::after,
    .sts-66 .sts-svc-slide { transition: none; }
    .sts-66 .sts-svc-card:hover,
    .sts-66 .swiper-slide-active .sts-svc-card { transform: none; }
}

/* ===========================================================================
   Serving Businesses Across Texas - full-bleed parallax CTA band
   The image sits on its own oversized layer, translated by GSAP ScrollTrigger
   rather than background-attachment: fixed, which iOS Safari renders badly.
   =========================================================================== */
.sts-66 .sts-element.sts-element-mt-serve {
    --padding-top: 0px;
    --padding-bottom: 0px;
    --padding-left: 0px;
    --padding-right: 0px;
    --content-width: 100%;
}

.sts-66 .sts-serve-cta {
    position: relative;
    width: 100%;
    padding: 150px 24px 160px;
    overflow: hidden;
}

/* 30% taller than the band so the layer can travel without exposing an edge */
.sts-66 .sts-serve-cta__bg {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%;
    background-image: url("../images/cta-bg.webp");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    will-change: transform;
    z-index: 0;
}

/* scrim sits above the moving layer, below the copy */
.sts-66 .sts-serve-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, .5);
    pointer-events: none;
    z-index: 1;
}

.sts-66 .sts-serve-cta__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

.sts-66 .sts-element.sts-element-mt-serve-b .states-side-heading {
    text-align: center;
    white-space: normal;
    max-width: 760px;
    margin-inline: auto;
}

.sts-66 .sts-element.sts-element-mt-serve-btn,
.sts-66 .sts-element.sts-element-mt-cta-btn { text-align: center; }

/* ===========================================================================
   Cost tiers (.sts-tiers)
   =========================================================================== */
.sts-66 .sts-tiers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    width: 100%;
    margin-top: 12px;
}

.sts-66 .sts-tier {
    display: flex;
    flex-direction: column;
    padding: 0 0 30px;
    border-radius: 46px;
    background-color: #1a1a1a;
    border: 1px solid #FFFFFF29;
    transition: background-color .35s ease, border-color .35s ease;
}

.sts-66 .sts-tier:hover {
    background-color: #212121;
    border-color: #FFFFFF3D;
}

.sts-66 .sts-tier__header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 34px 14px 14px;
    border-radius: 999px;
    background-color: var(--color-snow-white, #ffffff);
    box-shadow: -5px -5px 5px 0px #62260052 inset, 8px -1px 14px 0px #FFFFFF3D inset;
}

.sts-66 .sts-tier__num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--color-primary, #f25b09);
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.sts-66 .sts-tier__title {
    color: #000000;
    font-size: clamp(15px, 1.15vw, 18px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.sts-66 .sts-tier__text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.65;
    padding: 26px 30px 0;
}

/* the "these are ranges, not a quote" caveat under the tiers */
.sts-66 .sts-note {
    width: 100%;
    max-width: 760px;
    margin: 6px auto 0;
    color: #FFFFFF80;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

/* ------------------------------------------------------------ how we work -- */
.sts-66 .sts-element.sts-element-mt-work:not(.sts-motion-effects-element-type-background),
.sts-66 .sts-element.sts-element-mt-work > .sts-motion-effects-container > .sts-motion-effects-layer {
    background-image: url("../images/mountain.webp");
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: cover;
}

.sts-66 .sts-work-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) calc((100% - 36px) / 3);
    align-items: stretch;
    gap: 18px;
    width: 100%;
    margin-top: 12px;
}

.sts-66 .sts-work-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.sts-66 .sts-work-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 44px;
    padding: 30px 28px 34px;
    background-color: rgba(26, 26, 26, .7);
    border: 1px solid #FFFFFF29;
    border-radius: 14px;
    transition: background-color .35s ease, border-color .35s ease;
}

.sts-66 .sts-work-card:hover {
    background-color: rgba(33, 33, 33, .82);
    border-color: #FFFFFF3D;
}

.sts-66 .sts-work-card__icon {
    display: inline-flex;
    flex-shrink: 0;
    color: #ffffff;
}

.sts-66 .sts-work-card__icon svg { width: 38px; height: 38px; }

.sts-66 .sts-work-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.sts-66 .sts-work-card__title {
    color: #ffffff;
    font-size: clamp(17px, 1.2vw, 20px);
    font-weight: 500;
    line-height: 1.3;
    text-transform: capitalize;
}

.sts-66 .sts-work-card__num,
.sts-66 .sts-work-promo__num {
    margin-right: 10px;
    color: var(--color-primary, #f25b09);
}

.sts-66 .sts-work-card__text {
    color: #FFFFFF99;
    font-size: 14px;
    line-height: 1.65;
    min-width: 0;
}

/* gradient panel: title pinned top, copy and button pushed to the bottom */
.sts-66 .sts-work-promo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 34px 38px;
    border-radius: 14px;
    border: 1px solid #FFFFFF29;
    overflow: hidden;
    position: relative;
}

.sts-66 .sts-work-promo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(204.03% 102.75% at 50.17% 0%, #000000 44.82%, #C83C00 82.29%, #F67300 90.48%, #FAE5B4 100%);
    border-radius: inherit;
    z-index: 1;
}

.sts-66 .sts-work-promo > * { position: relative; z-index: 2; }

.sts-66 .sts-work-promo__title {
    color: #ffffff;
    font-size: clamp(20px, 1.6vw, 27px);
    font-weight: 500;
    line-height: 1.2;
    text-transform: capitalize;
}

.sts-66 .sts-work-promo__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.sts-66 .sts-work-promo__text { color: #FFFFFFCC; font-size: 15px; line-height: 1.6; }
.sts-66 .sts-work-promo__btn { align-self: flex-start; }

/* ===========================================================================
   Texas industry cards (.sts-tinds) - matching the sibling Android
   Texas page: dark card with a white pill header carrying an icon badge.
   =========================================================================== */
.sts-66 .sts-tinds {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    width: 100%;
    margin-top: 12px;
}

.sts-66 .sts-tind {
    display: flex;
    flex-direction: column;
    padding: 0 0 30px;
    border-radius: 46px;
    background-color: #1a1a1a;
    border: 1px solid #FFFFFF29;
    transition: background-color .35s ease, border-color .35s ease;
}

.sts-66 .sts-tind:hover {
    background-color: #212121;
    border-color: #FFFFFF3D;
}

.sts-66 .sts-tind__header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 38px 14px 14px;
    border-radius: 999px;
    background-color: var(--color-snow-white, #ffffff);
    box-shadow: -5px -5px 5px 0px #62260052 inset, 8px -1px 14px 0px #FFFFFF3D inset;
}

.sts-66 .sts-tind__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--color-primary, #f25b09);
    color: #ffffff;
}

.sts-66 .sts-tind__icon svg { width: 28px; height: 28px; }

.sts-66 .sts-tind__title {
    color: #000000;
    font-size: clamp(15px, 1.15vw, 18px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.sts-66 .sts-tind__text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.65;
    padding: 26px 30px 0;
}

/* ---------------------------------------------------------------- marquee -- */
/* The widget defaults to the dark treatment; this band sits between two light
   sections, so the plate is white and the type is a faint black. */
.sts-66 .sts-element.sts-element-mt-mq-wrap {
    --display: flex;
    --overflow: hidden;
    border-style: solid;
    --border-style: solid;
    border-width: 1px 0;
    border-color: #0000001F;
    --border-color: #0000001F;
}

.sts-66 .sts-element.sts-element-mt-mq-wrap:not(.sts-motion-effects-element-type-background),
.sts-66 .sts-element.sts-element-mt-mq-wrap > .sts-motion-effects-container > .sts-motion-effects-layer {
    background-color: #FFFFFF;
}

.sts-66 .sts-element.sts-element-mt-mq .states-side-marquee__primary { padding: 60px 0 56px; }

.sts-66 .sts-element.sts-element-mt-mq .states-side-marquee__primary .states-side-marquee__items {
    gap: 90px;
    margin-inline-end: 90px;
}

.rtl .sts-66 .sts-element.sts-element-mt-mq .states-side-marquee__primary .states-side-marquee__items {
    gap: 90px;
    margin-inline-start: 90px;
    margin-inline-end: 0;
}

/* the markup carries .text-white from the widget default - this wins on
   specificity and is what actually paints the type */
.sts-66 .sts-element.sts-element-mt-mq .states-side-marquee__primary .states-side-marquee__text {
    font-size: clamp(56px, 10vw, 150px);
    color: #00000014;
    letter-spacing: -.01em;
}

.states-side-hover-cursor__mt-mq {
    --icon-position: column;
    --content-vertical-alignment: center;
    --text-align: center;
}

/* ------------------------------------------------------------------ faq -- */
.sts-66 .sts-element.sts-element-mt-faq:not(.sts-motion-effects-element-type-background),
.sts-66 .sts-element.sts-element-mt-faq > .sts-motion-effects-container > .sts-motion-effects-layer {
    background-color: #FFFFFF;
}

.sts-66 .sts-element.sts-element-mt-faq-h .states-side-heading { color: #000000; }

/* matches the home page FAQ section's --content-width */
.sts-66 .sts-element.sts-element-mt-faq-a {
    width: 100%;
    max-width: 856px;
    margin-inline: auto;
}

.sts-66 .sts-element.sts-element-mt-faq .states-side-accordion__item {
    border-color: #0000001F;
}

.sts-66 .sts-element.sts-element-mt-faq .states-side-accordion__title {
    color: #000000;
}

.sts-66 .sts-element.sts-element-mt-faq .states-side-accordion__content p {
    color: #00000099;
}

.sts-66 .states-side-accordion__item.open .states-side-accordion__title,
.sts-66 .states-side-accordion__item.open .states-side-accordion__content p { color: #ffffff; }

/* ------------------------------------------------------------- closing -- */
.sts-66 .sts-element.sts-element-mt-cta {
    --padding-top: 140px;
    --padding-bottom: 60px;
}

.sts-66 .sts-element.sts-element-mt-cta-h .states-side-heading {
    font-size: clamp(38px, 5.6vw, 92px);
    line-height: .98em;
}

/* ------------------------------------------------------------- tablet ---- */
@media (max-width: 1024px) {
    .sts-66 .sts-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .sts-66 .sts-tiers,
    .sts-66 .sts-tinds { grid-template-columns: minmax(0, 1fr); }
    .sts-66 .sts-work-grid { grid-template-columns: minmax(0, 1fr); }
    .sts-66 .sts-work-card { gap: 28px; }

    .sts-66 .sts-element.sts-element-mt-need,
    .sts-66 .sts-element.sts-element-mt-svc,
    .sts-66 .sts-element.sts-element-mt-cost,
    .sts-66 .sts-element.sts-element-mt-work,
    .sts-66 .sts-element.sts-element-mt-ind,
    .sts-66 .sts-element.sts-element-mt-tech,
    .sts-66 .sts-element.sts-element-mt-quo,
    .sts-66 .sts-element.sts-element-mt-faq {
        --padding-top: 80px;
        --padding-bottom: 80px;
    }

    .sts-66 .sts-serve-cta { padding: 110px 24px 120px; }
}

/* ------------------------------------------------------------- mobile ---- */
@media (max-width: 767px) {
    .sts-66 .sts-work-cards { grid-template-columns: minmax(0, 1fr); }

    .sts-66 .sts-svc-card { padding: 28px 24px 30px; }
    .sts-66 .sts-work-card { padding: 26px 22px 28px; gap: 24px; }
    .sts-66 .sts-work-promo { padding: 30px 26px 32px; }

    .sts-66 .sts-tier,
    .sts-66 .sts-tind { padding: 0 0 26px; border-radius: 28px; }
    .sts-66 .sts-tier__header,
    .sts-66 .sts-tind__header { gap: 16px; padding: 12px 28px 12px 12px; }
    .sts-66 .sts-tier__num,
    .sts-66 .sts-tind__icon { width: 50px; height: 50px; font-size: 20px; }
    .sts-66 .sts-tier__text,
    .sts-66 .sts-tind__text { padding: 22px 24px 0; }

    .sts-66 .sts-element.sts-element-mt-need,
    .sts-66 .sts-element.sts-element-mt-svc,
    .sts-66 .sts-element.sts-element-mt-cost,
    .sts-66 .sts-element.sts-element-mt-work,
    .sts-66 .sts-element.sts-element-mt-ind,
    .sts-66 .sts-element.sts-element-mt-tech,
    .sts-66 .sts-element.sts-element-mt-quo,
    .sts-66 .sts-element.sts-element-mt-faq {
        --padding-top: 60px;
        --padding-bottom: 60px;
    }

    .sts-66 .sts-element.sts-element-mt-cta {
        --padding-top: 90px;
        --padding-bottom: 50px;
    }

    .sts-66 .sts-serve-cta { padding: 80px 20px 90px; }
}

/* no drift for anyone who has asked for less motion */
@media (prefers-reduced-motion: reduce) {
    .sts-66 .sts-serve-cta__bg {
        top: 0;
        height: 100%;
        transform: none !important;
    }
}
