/* =========================================================
   Application Development — page-specific styles
   Template: page-app-development.php
   Figma:    1987:12198
   Depends:  intone-design-system.css (loaded first)
   ========================================================= */

/* ── Colour aliases (page scope) ─────────────────────── */
/* dark      : #141414  (all dark sections)               */
/* gold      : #f6b43f  (accents, table headers)          */
/* gold-tint : rgba(246,180,63,0.06) (Intone col bg)      */
/* navy      : #1e2e4c  (section headings)                */
/* light-bg  : #f4f6f9  (approach section, cards, assess) */
/* card-bg   : #202022  (risk card)                       */


/* =========================================================
   §1  HERO — CTA button below clip-text title
        Figma: black background, white text (inverse of DS default)
   ========================================================= */

.intone-app-dev-page .btn-hero-fill {
    background: #141414;
    color: #fff;
    border-color: #141414;
}

.intone-app-dev-page .btn-hero-fill:hover {
    background: var(--ds-gold, #f6b43f);
    border-color: var(--ds-gold, #f6b43f);
    color: #000;
}


/* =========================================================
   §2  DARK SECTION — risk card + image strip + what-is
       Single dark column replacing the old two-col grid.
   ========================================================= */
.ad-dark-section {
    background: #f4f6f9;
    padding: 6.25rem 0 0;      /* 100px top; bottom padding absorbed by image strip */
}

.ad-dark-section__inner {
    /* max-width: 1284px; */
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
}

/* ── Risk card ─────────────────────────────────────────── */
.ad-risk-card {
    background: #ffffff;
    border-left: 10px solid #f6b43f;
    padding: 3.5rem 2.5rem 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.ad-risk-card__heading {
    font-family: 'Public Sans', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.625rem);   /* ~42px max */
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin: 0;
}

.ad-risk-card__bullets {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ad-risk-card__bullets p {
    font-family: 'Public Sans', sans-serif;
    font-size: 1rem;                               /* 16px */
    font-weight: 500;
    line-height: 1.36;
    /* text-transform: uppercase; */
    margin: 0;
    padding: 0.4rem 0;
}

.ad-risk-card__statement {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: baseline;
}

.ad-risk-card__statement-light,
.ad-risk-card__statement-bold {
    font-family: 'Public Sans', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 2.25rem);    /* ~36px max */
    line-height: 1.36;
    text-transform: uppercase;
}

.ad-risk-card__statement-light {
    font-weight: 300;
}

.ad-risk-card__statement-bold {
    font-weight: 700;
}

/* ── Image strip (visual break between risk card and what-is) ── */
.ad-dark-section__image-strip {
    width: 100%;
    height: 436px;
    overflow: hidden;
    margin-top: 6.25rem;      /* 100px gap below risk card */
}

.ad-dark-section__image-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── What is Custom Application Development ─────────────── */
.ad-what-is {
    padding: 6.25rem 0 6.25rem;   /* 100px top/bottom gap */
}

.ad-what-is__heading {
    font-family: 'Public Sans', sans-serif;
    font-size: 1.5rem;             /* 24px */
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    color: #141414;
    margin: 0 0 3.75rem;          /* 60px gap to body */
}

.ad-what-is__body {
    font-family: 'Public Sans', sans-serif;
    font-size: 1.5rem;             /* 24px */
    font-weight: 400;
    line-height: 1.35;
    /* text-transform: uppercase; */
    color: #141414;
    max-width: 1183px;
    margin: 0;
}

@media (max-width: 800px) {
    .ad-dark-section__image-strip {
        height: 260px;
    }
    .ad-risk-card__heading {
        font-size: 1.5rem;
    }
    .ad-what-is__heading,
    .ad-what-is__body {
        font-size: 1.1rem;
    }
}


/* =========================================================
   §3  HOW ENTERPRISES SOLVE — uses DS home-service-row
       No extra CSS needed; DS rules already match Figma:
       heading clamp(36,5vw,68px) bold navy uppercase,
       content bg #f4f6f9, body 16px medium uppercase.
   ========================================================= */


/* =========================================================
   §4  AUDIENCE SECTION — dark #141414, 3-col table
   ========================================================= */
/* Figma (1987:12198, "Who This Is For") has no background fill on this
   section — it sits on the page's white background. Was built as a
   dark navy block with white text; every color below flips to match. */
.ad-audience-section {
    background: #fff;
    color: #141414;
    padding: 6.25rem 0 5rem;
}

.ad-audience-section__inner {
    /* max-width: 1284px; */
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Label "Who This Is For" with border-top treatment */
.ad-audience-section__header {
    margin-bottom: 3.75rem;       /* 60px gap to table */
}

.ad-audience-section__label {
    display: block;
    border-top: 1px solid #141414;
    padding-top: 1.0625rem;       /* 17px */
    padding-bottom: 1.5rem;
    font-family: 'Public Sans', sans-serif;
    font-size: 1.5rem;            /* 24px */
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    color: #141414;
    margin: 0;
}

.ad-audience-section__heading {
    font-family: 'Public Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 4.25rem);  /* ~68px max */
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    color: #141414;
    max-width: 975px;
    margin: 0;
}

/* Table */
.ad-audience-table {
    width: 100%;
    border-top: 1px solid rgba(20, 20, 20, 0.1);
}

.ad-audience-table__head {
    display: grid;
    grid-template-columns: 1.2fr 2fr 2fr;
    padding: 0.8125rem 1.25rem;
    border-bottom: 1px solid #f6b43f;
}

.ad-audience-table__head span {
    font-family: 'Public Sans', sans-serif;
    font-size: 0.875rem;          /* 14px */
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #8f600f;
    font-weight: 700;
}

.ad-audience-row {
    display: grid;
    grid-template-columns: 1.2fr 2fr 2fr;
    align-items: start;
    padding: 0;
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
    transition: background 0.18s ease;
}

.ad-audience-row:nth-child(odd) {
    background: #f4f6f9;
}

.ad-audience-row span {
    padding: 1.25rem 1.25rem;
    font-size: 0.9375rem;         /* 15px */
    line-height: 1.6;
}

.ad-audience-row__role {
    font-weight: 700;
    color: #141414;
}

.ad-audience-row__pain {
    font-style: italic;
    color: #2d3035;
}

.ad-audience-row__answer {
    color: #2d3035;
}

@media (max-width: 820px) {
    .ad-audience-table__head {
        display: none;
    }

    .ad-audience-row {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 1.25rem 0;
    }

    .ad-audience-row span {
        padding: 0.2rem 0;
    }

    .ad-audience-row__role {
        font-size: 1rem;
        margin-bottom: 0.35rem;
    }

    .ad-audience-row__answer {
        border-top: 1px solid rgba(246, 180, 63, 0.3);
        padding-top: 0.65rem !important;
        margin-top: 0.35rem;
    }
}


/* =========================================================
   §4  HOW INTONE DELIVERS IT — border-top label + intro + 5 gold-bar cards
       White bg, sits between "How Enterprises Solve This" (light-bg) and
       "Who This Is For" (dark) for background alternation.
   ========================================================= */
.ad-deliver-section {
    background: #ffffff;
    padding: 6.25rem 0;
}

.ad-deliver-section__inner {
    /* max-width: 1284px; */
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.ad-deliver-section__label {
    border-top: 1px solid #141414;
    padding-top: 1rem;
    margin: 0 0 2rem;
    font-family: 'Public Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    color: #141414;
}

.ad-deliver-section__intro {
    font-family: 'Public Sans', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 400;
    line-height: 1.5;
    color: #141414;
    max-width: 900px;
    margin: 0 0 3rem;
}

.ad-deliver-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.ad-deliver-card {
    background: #f4f6f9;
    border-left: 6px solid #f6b43f;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.3s ease, border-left-width 0.3s ease;
}
.ad-deliver-card:hover {
    transform: translateY(-4px);
    border-left-width: 10px;
}

.ad-deliver-card__title {
    font-family: 'Public Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: #141414;
    margin: 0;
}

.ad-deliver-card__body {
    font-family: 'Public Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #596068;
    margin: 0;
}

@media (max-width: 800px) {
    .ad-deliver-section {
        padding: 3.5rem 0;
    }
    .ad-deliver-section__label {
        margin-bottom: 1.5rem;
    }
    .ad-deliver-section__intro {
        margin-bottom: 2rem;
    }
    .ad-deliver-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   §5  APPROACH SECTION — "How We Build Modern Applications"
       #f4f6f9 bg, 100px top padding, border-top label,
       ExtraLight Italic 74px heading
   ========================================================= */
.ad-approach-section {
    background: #f4f6f9;
    padding: 6.25rem 0 6rem;      /* 100px top · 96px bottom */
}

.ad-approach-section__inner {
    max-width: 1284px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;                        /* spacing handled per-element below */
}

/* Label with border-top (Figma: HorizontalBorder pattern) */
.ad-approach-section__label {
    display: block;
    border-top: 1px solid #141414;
    padding-top: 1rem;
    padding-bottom: 5rem;          /* generous gap to heading */
    font-family: 'Public Sans', sans-serif;
    font-size: 1.5rem;             /* 24px */
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    color: #141414;
    margin: 0;
}

/* ExtraLight Italic heading — Public Sans 200 italic, ~74px */
.ad-approach-section__heading {
    font-family: 'Public Sans', sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 4.625rem);
    font-weight: 200;
    font-style: italic;
    line-height: 1.01;
    text-transform: uppercase;
    color: #141414;
    max-width: 749px;
    margin: 0 0 4rem;             /* 64px gap to body */
}

.ad-approach-section__body {
    font-family: 'Public Sans', sans-serif;
    font-size: clamp(1rem, 1.7vw, 1.5rem);        /* ~24px max */
    font-weight: 400;
    line-height: 1.35;
    /* text-transform: uppercase; */
    color: #141414;
    max-width: 1183px;
    margin: 0;
}

@media (max-width: 800px) {
    .ad-approach-section {
        padding: 3.5rem 0 3.5rem;
    }
    .ad-approach-section__label {
        padding-bottom: 2rem;
    }
    .ad-approach-section__heading {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}


/* =========================================================
   §6  CONTACT MARQUEE — uses existing intone-contact-marquee
       No extra CSS needed.
   ========================================================= */


/* =========================================================
   §7  OUTCOMES SECTION — white bg, 5 tall #f4f6f9 cards
       No checkmarks; cards with text at top
   ========================================================= */
.ad-outcomes-section {
    background: #fff;
    color: #141414;
    padding: 6.25rem 2rem 6.25rem;
}

.ad-outcomes-section__inner {
    max-width: 1352px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Header row: border-top, then heading + link on same row */
.ad-outcomes-section__header {
    border-top: 1px solid #141414;
    padding-top: 1.3125rem;       /* 21px */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 0;
    margin-bottom: 0;
}

.ad-outcomes-section__heading {
    font-family: 'Public Sans', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);    /* ~36px max */
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    color: #141414;
    margin: 0;
    white-space: nowrap;
}

.ad-outcomes-section__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: 'Public Sans', sans-serif;
    font-size: 1.125rem;          /* 18px */
    font-weight: 600;
    /* text-transform: uppercase; */
    color: #141414;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.18s ease;
}

.ad-outcomes-section__link:hover {
    opacity: 0.7;
    text-decoration: none;
}

/* 5 tall cards in a row */
.ad-outcomes-cards {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ad-outcome-card {
    background: #f4f6f9;
    flex: 1 0 220px;
    min-height: 420px;
    overflow: hidden;
    position: relative;
    padding: 3.875rem 1.25rem 1.5rem;  /* top padding ~62px matches Figma 61.84px */
}

.ad-outcome-card__text {
    font-family: 'Public Sans', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.5rem);       /* ~24px max */
    font-weight: 500;
    line-height: 1.36;
    text-transform: uppercase;
    color: #141414;
    margin: 0;
}

@media (max-width: 700px) {
    .ad-outcomes-cards {
        flex-wrap: wrap;
    }
    .ad-outcome-card {
        flex: 1 0 calc(50% - 0.75rem);
        min-height: 260px;
    }
}

@media (max-width: 420px) {
    .ad-outcome-card {
        flex: 1 0 100%;
    }
}


/* =========================================================
   §8  COMPARISON TABLE — Figma names this layer "DarkBackground"
       but its actual fill is #f4f6f9 (light) — stale layer name,
       same trap as the industries-page shared components. Built
       as a dark #141414 block; every color below flips to match.
   ========================================================= */
.ad-comparison-section {
    background: #f4f6f9;
    color: #141414;
    padding: 6.25rem 0 5rem;
}

.ad-comparison-section__inner {
    max-width: 1284px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

/* Section label with border-top (same pattern as §4 label) */
.ad-section-label-row {
    border-top: 1px solid #141414;
    padding-top: 1.0625rem;
}

.ad-section-label-row__text {
    font-family: 'Public Sans', sans-serif;
    font-size: 1.5rem;            /* 24px */
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    color: #141414;
    margin: 0;
}

/* Table wrapper — horizontal scroll on narrow screens */
.ad-comparison-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ad-comparison-table__head {
    display: grid;
    grid-template-columns: 2fr 1.4fr 1.4fr 2fr;
    border-bottom: 1px solid #f6b43f;
    min-width: 640px;
}

.ad-comparison-table__head span {
    padding: 0.8125rem 1.25rem;
    font-family: 'Public Sans', sans-serif;
    font-size: 0.875rem;          /* 14px */
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #8f600f;
    font-weight: 700;
}

/* Intone column header highlighted */
.ad-comparison-table__intone-col {
    background: rgba(246, 180, 63, 0.12);
}

.ad-comparison-table__body {
    min-width: 640px;
}

.ad-comparison-row {
    display: grid;
    grid-template-columns: 2fr 1.4fr 1.4fr 2fr;
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
    align-items: start;
}

.ad-comparison-row span {
    padding: 1.0625rem 1.25rem;
    font-size: 0.875rem;          /* 14px */
    line-height: 1.5;
}

.ad-comparison-row__need {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #141414;
}

.ad-comparison-row__col {
    color: #2d3035;
}

/* Intone column cells — highlighted with gold tint */
.ad-comparison-row__intone {
    background: rgba(246, 180, 63, 0.12);
    color: #141414;
    font-weight: 600;
}


/* =========================================================
   §9  ASSESS SECTION — white border-box, content left + image right
   ========================================================= */
.ad-assess-section {
    background: #fff;
    border: 1px solid #ececf0;
    margin: 0 2.75rem;
}

.ad-assess-section__inner {
    display: flex;
    align-items: stretch;
    min-height: 698px;
}

.ad-assess-section__content {
    flex: 1 1 0;
    padding: 4rem 3.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3.5rem;
}

.ad-assess-section__heading {
    font-family: 'Public Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 4.25rem);   /* ~68px max */
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    color: #1e2e4c;
    margin: 0;
}

.ad-assess-section__body {
    font-family: 'Public Sans', sans-serif;
    font-size: 1rem;                         /* 16px */
    font-weight: 500;
    line-height: 1.36;
    /* text-transform: uppercase; */
    color: #000;
    max-width: 857px;
    margin: 0;
}

.ad-assess-section__image {
    flex: 0 0 360px;
    background: #ececf0;
    overflow: hidden;
    position: relative;
}

.ad-assess-section__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .ad-assess-section {
        margin: 0 1rem;
    }
    .ad-assess-section__inner {
        flex-direction: column;
    }
    .ad-assess-section__image {
        flex: 0 0 280px;
    }
    .ad-assess-section__heading {
        font-size: 1.75rem;
    }
}


/* =========================================================
   §10 GET STARTED — uses DS home-ready
       Single "Start Your Application Strategy" button.
   ========================================================= */

/* The shared .home-ready__arch is an unconditional white shape — the
   shared .btn-cta-white default (white-fill/black-text, built for a
   dark arch) is invisible/borderless on top of it. Same fix as the
   BFSI/Healthcare/Higher-Ed/Manufacturing industries pages. */
.intone-app-dev-page .home-ready .btn-cta-white {
  background: #141414;
  color: #fff;
}
.intone-app-dev-page .home-ready .btn-cta-white:hover {
  background: var(--ds-gold, #f6b43f);
  color: #000;
}

.ad-midcta { background: #ffffff; padding: clamp(28px, 3.5vw, 44px) var(--gutter); }
.ad-midcta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(16px, 2vw, 28px); }
.ad-midcta__text { font-family: var(--ds-font-heading); font-size: clamp(17px, 2.4vw, 38px); font-weight: 600; line-height: 1.3; max-width: 46ch; margin: 0; color: var(--t-text); }
.ad-midcta-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 2px solid var(--ink); padding: 16px 32px; font-family: var(--ds-font-heading); font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; line-height: normal; text-transform: uppercase; text-decoration: none; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; white-space: nowrap; }
.ad-midcta-btn:hover { background: var(--gold); border-color: var(--gold); color: #141414; }
@media (max-width: 860px) { .ad-midcta__inner { flex-direction: column; align-items: flex-start; } }
