/* ===========================================================================
   Android App Development in Texas (page-id 65)
   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-65 .site-content {
    padding-top: 0;
    padding-bottom: 0;
}

/* ===========================================================================
   Shared section furniture
   =========================================================================== */
.sts-65 .sts-element .states-side-heading:is(h2),
.sts-65 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-65 .sts-element.sts-element-tx-cta-b .states-side-heading {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
}

.sts-65 .sts-element.sts-element-tx-need,
.sts-65 .sts-element.sts-element-tx-ind,
.sts-65 .sts-element.sts-element-tx-why,
.sts-65 .sts-element.sts-element-tx-work,
.sts-65 .sts-element.sts-element-tx-tech,
.sts-65 .sts-element.sts-element-tx-faq,
.sts-65 .sts-element.sts-element-tx-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-65 .sts-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
    width: 100%;
}

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

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

/* the "why Texas" column carries three paragraphs rather than one block */
.sts-65 .sts-prose p { margin: 0 0 18px; }
.sts-65 .sts-prose p:last-child { margin-bottom: 0; }

/* the need block sits against the top of its column, not centred, because the
   copy is much taller than the heading */
.sts-65 .sts-element.sts-element-tx-need .sts-split { align-items: start; }

/* ------------------------------------------------------ texas industries -- */
/* mountain backdrop, as on the service pages' Why Us section */
.sts-65 .sts-element.sts-element-tx-ind:not(.sts-motion-effects-element-type-background),
.sts-65 .sts-element.sts-element-tx-ind > .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;
}

/* ===========================================================================
   Texas industry cards (.sts-tinds)
   The About page's belief-card treatment: a dark rounded card with a white
   pill header floating on top. The pill carries an orange icon badge instead
   of a number, plus the industry name and the metros it covers.
   =========================================================================== */
.sts-65 .sts-tinds {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    width: 100%;
    margin-top: 12px;
}

.sts-65 .sts-tind {
    display: flex;
    flex-direction: column;
    /* pill sits flush to the top and side edges */
    padding: 0 0 30px;
    border-radius: 46px;
    background-color: #1a1a1a;
    border: 1px solid #FFFFFF29;
    transition: background-color .35s ease, border-color .35s ease;
}

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

/* white pill: badge + heading. Uses the theme's own primary-button shadow so
   it reads as the same raised surface as the buttons elsewhere on the site. */
.sts-65 .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;
}

/* the numbered badge from the About page, carrying an icon instead */
.sts-65 .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-65 .sts-tind__icon svg { width: 28px; height: 28px; }

.sts-65 .sts-tind__heading {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

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

/* the metros sit under the industry name, inside the pill */
.sts-65 .sts-tind__where {
    color: #00000099;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .02em;
}

/* the card has no side padding, so the copy carries the full inset */
.sts-65 .sts-tind__text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.65;
    padding: 26px 30px 0;
}

/* ---------------------------------------------------------- icon cards -- */
/* Shared by the industries grid and the How We Work grid: icon alone at the
   top, copy pushed to the bottom by justify-content on the card. */
.sts-65 .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-65 .sts-work-card:hover {
    background-color: rgba(33, 33, 33, .82);
    border-color: #FFFFFF3D;
}

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

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

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

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

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

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

/* ------------------------------------------------------------ how we work -- */
.sts-65 .sts-element.sts-element-tx-work:not(.sts-motion-effects-element-type-background),
.sts-65 .sts-element.sts-element-tx-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-65 .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-65 .sts-work-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* gradient panel: title pinned top, copy and button pushed to the bottom */
.sts-65 .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-65 .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-65 .sts-work-promo > * { position: relative; z-index: 2; }

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

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

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

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

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

/* 30% taller than the band so ScrollTrigger can slide it vertically as the
   section passes without ever exposing an edge */
.sts-65 .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 so the copy holds up over the photo - sits above the moving layer */
.sts-65 .sts-serve-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, .5);
    pointer-events: none;
    z-index: 1;
}

.sts-65 .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-65 .sts-element.sts-element-tx-serve-b .states-side-heading {
    text-align: center;
    white-space: normal;
    max-width: 760px;
    margin-inline: auto;
}

/* ---------------------------------------------------------------- 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 very faint black that
   reads as texture rather than copy. */
.sts-65 .sts-element.sts-element-tx-mq-wrap {
    --display: flex;
    --overflow: hidden;
    border-style: solid;
    --border-style: solid;
    border-width: 1px 0;
    border-color: #0000001F;
    --border-color: #0000001F;
}

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

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

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

.rtl .sts-65 .sts-element.sts-element-tx-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-65 .sts-element.sts-element-tx-mq .states-side-marquee__primary .states-side-marquee__text {
    font-size: clamp(56px, 10vw, 150px);
    color: #00000014;
    letter-spacing: -.01em;
}

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

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

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

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

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

.sts-65 .sts-element.sts-element-tx-faq .states-side-accordion__title {
    color: #000000;
}

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

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

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

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

.sts-65 .sts-element.sts-element-tx-serve-btn,
.sts-65 .sts-element.sts-element-tx-cta-btn { text-align: center; }

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

    .sts-65 .sts-element.sts-element-tx-need,
    .sts-65 .sts-element.sts-element-tx-ind,
    .sts-65 .sts-element.sts-element-tx-why,
    .sts-65 .sts-element.sts-element-tx-work,
    .sts-65 .sts-element.sts-element-tx-tech,
    .sts-65 .sts-element.sts-element-tx-faq {
        --padding-top: 80px;
        --padding-bottom: 80px;
    }

    .sts-65 .sts-tinds { grid-template-columns: minmax(0, 1fr); }
    .sts-65 .sts-serve-cta { padding: 110px 24px 120px; }
}

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

    .sts-65 .sts-tind { padding: 0 0 26px; border-radius: 28px; }
    .sts-65 .sts-tind__header { gap: 16px; padding: 12px 28px 12px 12px; }
    .sts-65 .sts-tind__icon { width: 50px; height: 50px; }
    .sts-65 .sts-tind__text { padding: 22px 24px 0; }
    .sts-65 .sts-work-card { padding: 26px 22px 28px; gap: 24px; }
    .sts-65 .sts-work-promo { padding: 30px 26px 32px; }

    .sts-65 .sts-element.sts-element-tx-need,
    .sts-65 .sts-element.sts-element-tx-ind,
    .sts-65 .sts-element.sts-element-tx-why,
    .sts-65 .sts-element.sts-element-tx-work,
    .sts-65 .sts-element.sts-element-tx-tech,
    .sts-65 .sts-element.sts-element-tx-faq {
        --padding-top: 60px;
        --padding-bottom: 60px;
    }

    .sts-65 .sts-element.sts-element-tx-cta {
        --padding-top: 90px;
        --padding-bottom: 50px;
    }

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

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