/*
Theme Name: Argyle Partners
Theme URI: https://www.argylepartners.com.au
Author: Argyle Partners
Author URI: https://www.argylepartners.com.au
Description: A bold, boutique advisory custom theme for Argyle Partners — private funding and commercial finance specialists. Version 2.5.0.
Version: 2.5.0
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: argyle-partners
*/

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
    /* Brand colours (extracted from logo) */
    --ap-charcoal: #2D3A42;
    --ap-charcoal-deep: #1B2429;
    --ap-navy: #0A2A5E;
    --ap-navy-deep: #061a3d;
    --ap-blue: #1478DC;
    --ap-teal: #00A0B4;
    --ap-teal-light: #00B4C8;

    /* Neutrals */
    --ap-cream: #F7F4EE;
    --ap-paper: #FBFAF7;
    --ap-stone: #E8E3DA;
    --ap-stone-dark: #C9C2B5;
    --ap-ink: #1B2429;
    --ap-muted: #5A6670;

    /* Signature gradient */
    --ap-gradient: linear-gradient(135deg, var(--ap-blue) 0%, var(--ap-teal) 100%);
    --ap-gradient-deep: linear-gradient(135deg, var(--ap-navy) 0%, var(--ap-blue) 60%, var(--ap-teal) 100%);

    /* Typography */
    --ap-font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --ap-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ap-font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

    /* Scale */
    --ap-container: 1280px;
    --ap-container-narrow: 920px;
    --ap-radius: 2px;
    --ap-radius-lg: 6px;

    /* Motion */
    --ap-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--ap-font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ap-ink);
    background: var(--ap-paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--ap-navy);
    text-decoration: none;
    transition: color 0.25s var(--ap-ease);
}
a:hover { color: var(--ap-teal); }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ap-font-display);
    font-weight: 500;
    color: var(--ap-charcoal-deep);
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; }
h4 { font-size: 1.25rem; font-weight: 600; font-family: var(--ap-font-body); letter-spacing: 0.02em; }

p { margin: 0 0 1.2em; }
.lead { font-size: 1.25rem; line-height: 1.5; color: var(--ap-muted); font-weight: 300; }

.eyebrow {
    display: inline-block;
    font-family: var(--ap-font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ap-teal);
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 2.5rem;
}
.eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.8rem;
    height: 1px;
    background: var(--ap-gradient);
}

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.ap-container {
    max-width: var(--ap-container);
    margin: 0 auto;
    padding: 0 2rem;
}
.ap-container-narrow {
    max-width: var(--ap-container-narrow);
    margin: 0 auto;
    padding: 0 2rem;
}

.ap-section { padding: clamp(5rem, 10vw, 8rem) 0; }
.ap-section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.ap-section--dark { background: var(--ap-charcoal-deep); color: var(--ap-cream); }
.ap-section--dark h1, .ap-section--dark h2, .ap-section--dark h3 { color: var(--ap-cream); }
.ap-section--cream { background: var(--ap-cream); }

/* ==========================================================================
   5. HEADER
   ========================================================================== */
.ap-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 250, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 58, 66, 0.08);
    transition: all 0.3s var(--ap-ease);
}

.ap-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    max-width: var(--ap-container);
    margin: 0 auto;
}

.ap-logo img { height: 38px; width: auto; }

.ap-nav { display: flex; align-items: center; gap: 2.5rem; }
.ap-nav__menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ap-nav__menu a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ap-charcoal);
    letter-spacing: 0.01em;
    position: relative;
    padding: 0.4rem 0;
}
.ap-nav__menu a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--ap-gradient);
    transition: width 0.3s var(--ap-ease);
}
.ap-nav__menu a:hover::after,
.ap-nav__menu .current-menu-item > a::after { width: 100%; }

.ap-nav__cta {
    padding: 0.7rem 1.4rem;
    background: var(--ap-charcoal-deep);
    color: var(--ap-cream) !important;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--ap-radius);
    transition: all 0.25s var(--ap-ease);
}
.ap-nav__cta:hover {
    background: var(--ap-navy);
    transform: translateY(-1px);
    color: white !important;
}

.ap-nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.ap-nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ap-charcoal);
    margin: 5px 0;
    transition: 0.3s;
}

/* ==========================================================================
   6. HERO
   ========================================================================== */
.ap-hero {
    position: relative;
    padding: clamp(6rem, 14vw, 11rem) 0 clamp(5rem, 10vw, 8rem);
    overflow: hidden;
    background: var(--ap-charcoal-deep);
    color: var(--ap-cream);
}

.ap-hero__skyline {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.ap-hero__skyline::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27, 36, 41, 0.78) 0%, rgba(10, 42, 94, 0.65) 50%, rgba(27, 36, 41, 0.92) 100%);
    z-index: 1;
}
.ap-hero__skyline img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.9;
}

.ap-hero .eyebrow {
    color: var(--ap-teal-light);
}
.ap-hero__title {
    color: var(--ap-cream);
}
.ap-hero__meta p {
    color: rgba(247, 244, 238, 0.85);
}

.ap-hero::before {
    content: "";
    position: absolute;
    top: -20%; right: -10%;
    width: 60vw; height: 60vw;
    max-width: 800px; max-height: 800px;
    background: radial-gradient(circle, rgba(0, 180, 200, 0.18) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.ap-hero::after {
    content: "";
    position: absolute;
    bottom: -30%; left: -15%;
    width: 50vw; height: 50vw;
    max-width: 700px; max-height: 700px;
    background: radial-gradient(circle, rgba(20, 120, 220, 0.18) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.ap-hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--ap-container);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: end;
}

.ap-hero__title {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
    margin-bottom: 0;
}
.ap-hero__title em {
    font-style: italic;
    background: var(--ap-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
}

.ap-hero__meta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.ap-hero__meta p {
    font-size: 1.15rem;
    line-height: 1.55;
    color: rgba(247, 244, 238, 0.88);
    margin: 0;
}

.ap-hero__cta-row {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   7. BUTTONS
   ========================================================================== */
.ap-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.8rem;
    font-family: var(--ap-font-body);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--ap-radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ap-ease);
    text-decoration: none;
}

.ap-btn--primary {
    background: var(--ap-charcoal-deep);
    color: var(--ap-cream);
}
.ap-btn--primary:hover {
    background: var(--ap-navy);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 42, 94, 0.2);
}

.ap-btn--ghost {
    background: transparent;
    color: var(--ap-charcoal-deep);
    border: 1px solid var(--ap-charcoal);
}
.ap-btn--ghost:hover {
    background: var(--ap-charcoal-deep);
    color: var(--ap-cream);
}

/* When ghost button sits on a dark hero, invert the colours */
.ap-hero .ap-btn--ghost {
    color: var(--ap-cream);
    border-color: rgba(247, 244, 238, 0.4);
}
.ap-hero .ap-btn--ghost:hover {
    background: var(--ap-cream);
    color: var(--ap-charcoal-deep);
    border-color: var(--ap-cream);
}
.ap-hero .ap-btn--primary {
    background: var(--ap-cream);
    color: var(--ap-charcoal-deep);
}
.ap-hero .ap-btn--primary:hover {
    background: white;
    color: var(--ap-navy);
    box-shadow: 0 8px 24px rgba(0, 160, 180, 0.25);
}

.ap-btn--accent {
    background: var(--ap-gradient);
    color: white;
}

.ap-btn .ap-btn__arrow {
    transition: transform 0.3s var(--ap-ease);
}
.ap-btn:hover .ap-btn__arrow { transform: translateX(4px); }

/* ==========================================================================
   8. CREDIBILITY STRIP
   ========================================================================== */
.ap-strip {
    background: var(--ap-charcoal-deep);
    color: var(--ap-stone-dark);
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.ap-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: left;
}
.ap-strip__stat .ap-strip__num {
    font-family: var(--ap-font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 400;
    color: var(--ap-cream);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.ap-strip__stat .ap-strip__num em {
    font-style: italic;
    background: var(--ap-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ap-strip__stat .ap-strip__label {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ap-stone-dark);
}

/* ==========================================================================
   9. SERVICES GRID
   ========================================================================== */
.ap-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--ap-stone);
    border-left: 1px solid var(--ap-stone);
    margin-top: 4rem;
}

.ap-service {
    padding: 3rem 2.5rem;
    border-right: 1px solid var(--ap-stone);
    border-bottom: 1px solid var(--ap-stone);
    background: var(--ap-paper);
    transition: all 0.4s var(--ap-ease);
    position: relative;
    overflow: hidden;
}
.ap-service::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ap-gradient);
    opacity: 0;
    transition: opacity 0.4s var(--ap-ease);
    z-index: 0;
}
.ap-service > * { position: relative; z-index: 1; }

.ap-service:hover { transform: translateY(-4px); }
.ap-service:hover::before { opacity: 0.04; }

.ap-service__num {
    font-family: var(--ap-font-mono);
    font-size: 0.78rem;
    color: var(--ap-teal);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}
.ap-service__title {
    font-family: var(--ap-font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--ap-charcoal-deep);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}
.ap-service__desc {
    color: var(--ap-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   10. SPLIT SECTIONS (About preview, etc)
   ========================================================================== */
.ap-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.ap-split__visual {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--ap-gradient-deep);
    border-radius: var(--ap-radius-lg);
    overflow: hidden;
}
.ap-split__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0,180,200,0.3) 0%, transparent 50%);
}
.ap-split__visual--photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.ap-split__visual--photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 42, 94, 0.25) 0%, rgba(27, 36, 41, 0.85) 100%);
    z-index: 1;
}
.ap-split__quote {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
    font-family: var(--ap-font-display);
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.3;
    color: white;
    z-index: 2;
}

/* ==========================================================================
   11. CTA BAND
   ========================================================================== */
.ap-cta-band {
    background: var(--ap-charcoal-deep);
    color: var(--ap-cream);
    padding: clamp(4rem, 8vw, 6rem) 0;
    position: relative;
    overflow: hidden;
}
.ap-cta-band::before {
    content: "";
    position: absolute;
    top: -50%; right: -20%;
    width: 70%; height: 200%;
    background: radial-gradient(ellipse, rgba(0, 160, 180, 0.18) 0%, transparent 60%);
    pointer-events: none;
}
.ap-cta-band__inner {
    max-width: var(--ap-container);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}
.ap-cta-band h2 {
    color: var(--ap-cream);
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.ap-footer {
    background: var(--ap-paper);
    color: var(--ap-charcoal);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--ap-stone);
}
.ap-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.ap-footer__brand img { height: 36px; margin-bottom: 1.5rem; }
.ap-footer__brand p { color: var(--ap-muted); font-size: 0.95rem; max-width: 320px; }

.ap-footer__col h5 {
    font-family: var(--ap-font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ap-charcoal-deep);
    margin-bottom: 1.2rem;
}
.ap-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ap-footer__col li { margin-bottom: 0.6rem; }
.ap-footer__col a {
    color: var(--ap-muted);
    font-size: 0.92rem;
    transition: color 0.2s;
}
.ap-footer__col a:hover { color: var(--ap-teal); }

.ap-footer__bottom {
    border-top: 1px solid var(--ap-stone);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--ap-muted);
}

/* ==========================================================================
   13. PAGE SHELL
   ========================================================================== */
.ap-page-hero {
    padding: clamp(5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 4rem);
    background: var(--ap-paper);
    border-bottom: 1px solid var(--ap-stone);
    position: relative;
    overflow: hidden;
}
.ap-page-hero::before {
    content: "";
    position: absolute;
    top: 30%; right: -10%;
    width: 40vw; height: 40vw;
    max-width: 500px; max-height: 500px;
    background: radial-gradient(circle, rgba(0, 160, 180, 0.06) 0%, transparent 60%);
    border-radius: 50%;
}

/* Photo variant — used on About / Contact page heroes */
.ap-page-hero--photo {
    padding: clamp(7rem, 13vw, 11rem) 0 clamp(4rem, 7vw, 6rem);
    background: var(--ap-charcoal-deep);
    color: var(--ap-cream);
    border-bottom: none;
}
.ap-page-hero--photo::before { display: none; }
.ap-page-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.ap-page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.85;
}
.ap-page-hero--photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 42, 94, 0.55) 0%, rgba(27, 36, 41, 0.55) 50%, rgba(27, 36, 41, 0.85) 100%);
    z-index: 1;
}
.ap-page-hero--photo .ap-page-hero__inner {
    position: relative;
    z-index: 2;
}
.ap-page-hero--photo h1 {
    color: var(--ap-cream);
}
.ap-page-hero--photo h1 em {
    font-style: italic;
    background: var(--ap-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ap-page-hero--photo .eyebrow {
    color: var(--ap-teal-light);
}

.ap-page-hero__inner {
    position: relative;
    max-width: var(--ap-container);
    margin: 0 auto;
    padding: 0 2rem;
}
.ap-page-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    line-height: 1;
    margin: 0;
    max-width: 900px;
}
.ap-page-hero h1 em {
    font-style: italic;
    background: var(--ap-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ap-prose {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--ap-ink);
}
.ap-prose h2 { margin-top: 2.5em; }
.ap-prose h3 { margin-top: 2em; }
.ap-prose ul, .ap-prose ol { padding-left: 1.5rem; margin-bottom: 1.5em; }
.ap-prose li { margin-bottom: 0.5em; }

/* ==========================================================================
   14. SERVICES PAGE — HERO WITH SYDNEY IMAGERY
   ========================================================================== */
.ap-services-hero {
    position: relative;
    padding: clamp(7rem, 14vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
    overflow: hidden;
    background: var(--ap-charcoal-deep);
    color: var(--ap-cream);
}

.ap-services-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.ap-services-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    opacity: 0.55;
}
.ap-services-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27, 36, 41, 0.6) 0%, rgba(27, 36, 41, 0.35) 50%, rgba(27, 36, 41, 0.85) 100%);
    z-index: 1;
}

.ap-services-hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--ap-container);
    margin: 0 auto;
    padding: 0 2rem;
}
.ap-services-hero h1 {
    color: var(--ap-cream);
    font-size: clamp(2.6rem, 6.5vw, 5rem);
    line-height: 1;
    margin: 0 0 1.5rem;
    max-width: 900px;
}
.ap-services-hero h1 em {
    font-style: italic;
    background: var(--ap-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ap-services-hero__lead {
    color: rgba(247, 244, 238, 0.85);
    max-width: 620px;
    margin-top: 1.5rem;
}

/* ==========================================================================
   14b. SERVICES PAGE — TILE GRID WITH EXPANDABLE DETAIL
   ========================================================================== */
.ap-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ap-tile {
    background: var(--ap-paper);
    border: 1px solid var(--ap-stone);
    border-radius: var(--ap-radius-lg);
    overflow: hidden;
    transition: all 0.35s var(--ap-ease);
    position: relative;
}
.ap-tile:hover {
    border-color: var(--ap-stone-dark);
    box-shadow: 0 12px 40px rgba(27, 36, 41, 0.08);
    transform: translateY(-2px);
}

.ap-tile--featured {
    grid-column: span 2;
    border-color: var(--ap-stone-dark);
    background: linear-gradient(180deg, var(--ap-paper) 0%, var(--ap-cream) 100%);
}
.ap-tile--featured::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--ap-gradient);
}

.ap-tile__summary {
    list-style: none;
    cursor: pointer;
    padding: 2.25rem 2.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 1.5rem;
    row-gap: 0.5rem;
    align-items: start;
    transition: background 0.3s var(--ap-ease);
}
.ap-tile__summary::-webkit-details-marker { display: none; }
.ap-tile__summary::marker { display: none; }
.ap-tile__summary:hover {
    background: rgba(0, 160, 180, 0.025);
}

.ap-tile__num {
    grid-row: 1 / 3;
    font-family: var(--ap-font-mono);
    font-size: 0.78rem;
    color: var(--ap-teal);
    letter-spacing: 0.12em;
    padding-top: 0.4rem;
    min-width: 1.8rem;
}

.ap-tile__title {
    grid-column: 2;
    grid-row: 1;
    font-family: var(--ap-font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    font-weight: 500;
    color: var(--ap-charcoal-deep);
    margin: 0;
    line-height: 1.15;
}

.ap-tile__teaser {
    grid-column: 2;
    grid-row: 2;
    color: var(--ap-muted);
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0;
}

.ap-tile__indicator {
    grid-column: 3;
    grid-row: 1 / 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ap-paper);
    border: 1px solid var(--ap-stone-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s var(--ap-ease);
    margin-top: 0.2rem;
}
.ap-tile__plus {
    position: relative;
    width: 12px;
    height: 12px;
}
.ap-tile__plus::before,
.ap-tile__plus::after {
    content: "";
    position: absolute;
    background: var(--ap-charcoal);
    transition: all 0.3s var(--ap-ease);
}
.ap-tile__plus::before {
    top: 50%; left: 0;
    width: 100%; height: 1.5px;
    transform: translateY(-50%);
}
.ap-tile__plus::after {
    top: 0; left: 50%;
    width: 1.5px; height: 100%;
    transform: translateX(-50%);
}

.ap-tile[open] .ap-tile__indicator {
    background: var(--ap-charcoal-deep);
    border-color: var(--ap-charcoal-deep);
}
.ap-tile[open] .ap-tile__indicator .ap-tile__plus::before,
.ap-tile[open] .ap-tile__indicator .ap-tile__plus::after {
    background: var(--ap-cream);
}
.ap-tile[open] .ap-tile__indicator .ap-tile__plus::after {
    transform: translateX(-50%) rotate(90deg);
}

.ap-tile__body {
    padding: 0 2.5rem 2.5rem;
    border-top: 1px solid var(--ap-stone);
    margin-top: 0.5rem;
    padding-top: 2rem;
    color: var(--ap-charcoal);
    font-size: 1rem;
    line-height: 1.7;
    animation: apTileReveal 0.4s var(--ap-ease);
}
.ap-tile__body p { margin: 0 0 1.2em; }

.ap-tile__image {
    margin: 0 0 2rem;
    border-radius: var(--ap-radius);
    overflow: hidden;
    aspect-ratio: 21/9;
    background: var(--ap-stone);
}
.ap-tile__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.ap-tile__body h4 {
    font-family: var(--ap-font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ap-teal);
    margin: 1.8rem 0 0.8rem;
}
.ap-tile__body h4:first-child { margin-top: 0; }

.ap-tile__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2em;
}
.ap-tile__list li {
    padding: 0.7rem 0 0.7rem 1.5rem;
    position: relative;
    color: var(--ap-charcoal);
    font-size: 0.95rem;
    border-top: 1px solid var(--ap-stone);
    line-height: 1.55;
}
.ap-tile__list li:last-child {
    border-bottom: 1px solid var(--ap-stone);
}
.ap-tile__list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--ap-teal);
    font-weight: 600;
}
.ap-tile__list li strong {
    color: var(--ap-charcoal-deep);
    font-weight: 600;
}

@keyframes apTileReveal {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Legacy services-detailed (kept for backwards compatibility if used elsewhere) */
.ap-services-detailed {
    display: flex;
    flex-direction: column;
}
.ap-service-row {
    padding: 4rem 0;
    border-bottom: 1px solid var(--ap-stone);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}
.ap-service-row:last-child { border-bottom: none; }
.ap-service-row__num {
    font-family: var(--ap-font-mono);
    font-size: 0.85rem;
    color: var(--ap-teal);
    letter-spacing: 0.1em;
}
.ap-service-row h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}
.ap-service-row p {
    color: var(--ap-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}
.ap-service-row__list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}
.ap-service-row__list li {
    padding: 0.6rem 0 0.6rem 1.5rem;
    position: relative;
    color: var(--ap-charcoal);
    font-size: 0.95rem;
    border-top: 1px solid var(--ap-stone);
}
.ap-service-row__list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--ap-teal);
}
.ap-service-row__list li:last-child { border-bottom: 1px solid var(--ap-stone); }

/* ==========================================================================
   15. CONTACT PAGE
   ========================================================================== */
.ap-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}
.ap-contact-info {
    padding-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.ap-contact-info__lead {
    margin-bottom: 1.5rem;
}
.ap-contact-info__item {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--ap-stone);
}
.ap-contact-info__item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.ap-contact-info__item h5 {
    font-family: var(--ap-font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ap-teal);
    margin: 0 0 0.6rem;
}
.ap-contact-info__item p {
    font-size: 1.1rem;
    color: var(--ap-charcoal-deep);
    margin: 0;
    line-height: 1.55;
    word-break: break-word;
}
.ap-contact-info__item a {
    color: var(--ap-charcoal-deep);
    word-break: break-word;
}
.ap-contact-info__item a:hover {
    color: var(--ap-teal);
}

/* Contact CTA card (replaces the old form layout) */
.ap-contact-cta {
    position: relative;
}
.ap-contact-cta__card {
    background: var(--ap-charcoal-deep);
    color: var(--ap-cream);
    border-radius: var(--ap-radius-lg);
    padding: 3rem 2.75rem;
    position: relative;
    overflow: hidden;
}
.ap-contact-cta__card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--ap-gradient);
}
.ap-contact-cta__card::after {
    content: "";
    position: absolute;
    top: -30%; right: -20%;
    width: 60%; height: 160%;
    background: radial-gradient(ellipse, rgba(0, 160, 180, 0.18) 0%, transparent 60%);
    pointer-events: none;
}
.ap-contact-cta__card > * {
    position: relative;
    z-index: 1;
}
.ap-contact-cta__card .eyebrow {
    color: var(--ap-teal-light);
    margin-bottom: 1.5rem;
}
.ap-contact-cta__card .eyebrow::before {
    background: linear-gradient(90deg, var(--ap-teal-light), var(--ap-blue));
}
.ap-contact-cta__card h2 {
    color: var(--ap-cream);
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    margin: 0 0 1.5rem;
    line-height: 1.05;
}
.ap-contact-cta__card > p {
    color: rgba(247, 244, 238, 0.85);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 2rem;
}

.ap-contact-cta__btn {
    display: inline-flex;
    margin-bottom: 1.25rem;
}

.ap-contact-cta__alt {
    font-size: 0.95rem;
    color: rgba(247, 244, 238, 0.7);
    margin: 0;
}
.ap-contact-cta__alt a {
    color: var(--ap-teal-light);
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 180, 200, 0.4);
    padding-bottom: 1px;
    transition: all 0.2s var(--ap-ease);
}
.ap-contact-cta__alt a:hover {
    color: var(--ap-cream);
    border-color: var(--ap-cream);
}

.ap-contact-cta__divider {
    height: 1px;
    background: rgba(247, 244, 238, 0.12);
    margin: 2rem 0;
}

.ap-contact-cta__hours h5 {
    font-family: var(--ap-font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ap-teal-light);
    margin: 0 0 0.6rem;
}
.ap-contact-cta__hours p {
    font-size: 0.95rem;
    color: rgba(247, 244, 238, 0.78);
    line-height: 1.55;
    margin: 0;
}

/* Contact form — sits inside the dark CTA card */
.ap-contact-cta__intro {
    color: rgba(247, 244, 238, 0.85);
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0 0 2rem;
}

.ap-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.ap-form__row {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.ap-form__row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.ap-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.ap-field__label {
    font-family: var(--ap-font-body);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ap-teal-light);
}
.ap-field__req {
    color: var(--ap-teal-light);
}

.ap-field__input {
    width: 100%;
    font-family: var(--ap-font-body);
    font-size: 1rem;
    color: var(--ap-ink);
    background: var(--ap-paper);
    border: 1px solid var(--ap-stone-dark);
    border-radius: var(--ap-radius);
    padding: 0.85rem 1rem;
    transition: border-color 0.25s var(--ap-ease), box-shadow 0.25s var(--ap-ease);
    -webkit-appearance: none;
    appearance: none;
}
.ap-field__input::placeholder {
    color: #9aa3ab;
}
.ap-field__input:focus {
    outline: none;
    border-color: var(--ap-teal);
    box-shadow: 0 0 0 3px rgba(0, 160, 180, 0.18);
}
.ap-field__input--textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.55;
}
.ap-field__input--select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232D3A42' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.6rem;
    cursor: pointer;
}

/* Submit button overrides: brand gradient so it reads on the dark card */
.ap-contact-cta .ap-form__submit {
    background: var(--ap-gradient);
    color: #fff;
    padding: 1rem 2rem;
}
.ap-contact-cta .ap-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 160, 180, 0.35);
    color: #fff;
}

.ap-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 1.5rem;
    margin-top: 0.5rem;
}
.ap-form__note {
    font-size: 0.82rem;
    color: rgba(247, 244, 238, 0.6);
    margin: 0;
    max-width: 320px;
    line-height: 1.5;
}

/* Success / error notices */
.ap-form-notice {
    border-radius: var(--ap-radius);
    padding: 1rem 1.2rem;
    margin-bottom: 1.75rem;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.ap-form-notice strong {
    font-size: 0.95rem;
}
.ap-form-notice span,
.ap-form-notice strong {
    color: var(--ap-ink);
}
.ap-form-notice a {
    color: var(--ap-teal);
    text-decoration: underline;
}
.ap-form-notice--success {
    background: #e7f4f1;
    border-color: rgba(0, 160, 180, 0.4);
}
.ap-form-notice--error {
    background: #f6e7e3;
    border-color: rgba(193, 81, 60, 0.4);
}

/* Honeypot — hidden from humans, visible to bots */
.ap-honeypot {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ==========================================================================
   16. RESPONSIVE
   ========================================================================== */

/* Tablet landscape: contact stacks earlier, form retains 2-col rows */
@media (max-width: 1100px) {
    .ap-contact-grid { gap: 3.5rem; }
}

@media (max-width: 960px) {
    .ap-nav__menu { display: none; }
    .ap-nav__toggle { display: block; }
    .ap-hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .ap-services { grid-template-columns: repeat(2, 1fr); }
    .ap-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
    .ap-split { grid-template-columns: 1fr; gap: 3rem; }
    .ap-cta-band__inner { grid-template-columns: 1fr; text-align: left; }
    .ap-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .ap-service-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .ap-contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .ap-contact-info__item { margin-bottom: 1.5rem; padding-bottom: 1.5rem; }
    .ap-tiles { grid-template-columns: 1fr; gap: 1rem; }
    .ap-tile--featured { grid-column: span 1; }
    .ap-tile__summary { padding: 1.75rem 1.75rem; column-gap: 1rem; }
    .ap-tile__body { padding: 1.5rem 1.75rem 2rem; padding-top: 1.5rem; }
    .ap-services-hero__bg img { object-position: 70% bottom; }
    .ap-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ap-insight { grid-template-columns: auto 1fr; gap: 1.5rem 2rem; }
    .ap-insight__takeaway { grid-column: 1 / -1; margin-top: 0.5rem; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .ap-services { grid-template-columns: 1fr; }
    .ap-form__row--2 { grid-template-columns: 1fr; }
    .ap-strip__grid { grid-template-columns: 1fr 1fr; }
    .ap-footer__grid { grid-template-columns: 1fr; }
    .ap-page-hero { padding: 4rem 0 2.5rem; }
    .ap-page-hero h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
    .ap-section { padding: 3.5rem 0; }
    .ap-container, .ap-container-narrow,
    .ap-header__inner, .ap-hero__inner,
    .ap-page-hero__inner, .ap-cta-band__inner,
    .ap-services-hero__inner {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .ap-contact-info__item p { font-size: 1rem; }
    .ap-contact-cta__card { padding: 2.25rem 1.75rem; }
    .ap-tile__summary {
        grid-template-columns: 1fr auto;
        padding: 1.5rem 1.25rem;
    }
    .ap-tile__num {
        grid-row: 1;
        grid-column: 1;
        margin-bottom: 0.4rem;
        padding-top: 0;
    }
    .ap-tile__title {
        grid-column: 1;
        grid-row: 2;
        font-size: 1.2rem;
    }
    .ap-tile__teaser {
        grid-column: 1 / -1;
        grid-row: 3;
        font-size: 0.92rem;
    }
    .ap-tile__indicator {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: start;
        width: 32px;
        height: 32px;
    }
    .ap-tile__body { padding: 1.25rem 1.25rem 1.75rem; padding-top: 1.25rem; }
    .ap-services-hero { padding: 5rem 0 3.5rem; }
    .ap-stats-grid { grid-template-columns: 1fr; }
    .ap-insight { grid-template-columns: 1fr; gap: 1rem; padding: 2.5rem 0; }
    .ap-insight__num { padding-top: 0; }
    .ap-insights-hero { padding: 5rem 0 3.5rem; }
    .ap-stat-card { padding: 1.75rem 1.5rem; }
}

/* ==========================================================================
   17. INSIGHTS PAGE
   ========================================================================== */

/* Hero with blueprint backdrop */
.ap-insights-hero {
    position: relative;
    padding: clamp(7rem, 14vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
    overflow: hidden;
    background: var(--ap-charcoal-deep);
    color: var(--ap-cream);
}
.ap-insights-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.ap-insights-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.55;
}
.ap-insights-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 42, 94, 0.55) 0%, rgba(10, 42, 94, 0.4) 50%, rgba(27, 36, 41, 0.85) 100%);
    z-index: 1;
}
.ap-insights-hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--ap-container);
    margin: 0 auto;
    padding: 0 2rem;
}
.ap-insights-hero h1 {
    color: var(--ap-cream);
    font-size: clamp(2.6rem, 6.5vw, 5rem);
    line-height: 1;
    margin: 0 0 1.5rem;
    max-width: 900px;
}
.ap-insights-hero h1 em {
    font-style: italic;
    background: var(--ap-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ap-insights-hero__lead {
    color: rgba(247, 244, 238, 0.88);
    max-width: 620px;
    margin-top: 1.5rem;
}

/* Stats grid */
.ap-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.ap-stat-card {
    background: var(--ap-paper);
    border: 1px solid var(--ap-stone);
    border-radius: var(--ap-radius-lg);
    padding: 2.25rem 2rem;
    transition: all 0.3s var(--ap-ease);
    position: relative;
    overflow: hidden;
}
.ap-stat-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--ap-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ap-ease);
}
.ap-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(27, 36, 41, 0.07);
    border-color: var(--ap-stone-dark);
}
.ap-stat-card:hover::before { transform: scaleX(1); }

.ap-stat-card__num {
    font-family: var(--ap-font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 400;
    color: var(--ap-charcoal-deep);
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.ap-stat-card__num em {
    font-style: italic;
    background: var(--ap-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ap-stat-card__label {
    font-size: 1rem;
    color: var(--ap-charcoal-deep);
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}
.ap-stat-card__note {
    font-size: 0.82rem;
    color: var(--ap-muted);
    font-family: var(--ap-font-mono);
    letter-spacing: 0.02em;
}

/* Insight articles */
.ap-insights-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ap-insight {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 3rem;
    padding: 3.5rem 0;
    border-top: 1px solid var(--ap-stone);
    align-items: start;
}
.ap-insight:last-child { border-bottom: 1px solid var(--ap-stone); }

.ap-insight__num {
    font-family: var(--ap-font-mono);
    font-size: 0.85rem;
    color: var(--ap-teal);
    letter-spacing: 0.12em;
    padding-top: 0.5rem;
    min-width: 2.4rem;
}

.ap-insight__title {
    font-family: var(--ap-font-display);
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 500;
    color: var(--ap-charcoal-deep);
    line-height: 1.2;
    margin: 0 0 1.2rem;
}
.ap-insight__excerpt {
    color: var(--ap-charcoal);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.ap-insight__takeaway {
    background: var(--ap-cream);
    border-left: 3px solid var(--ap-teal);
    padding: 1.5rem 1.75rem;
    border-radius: 0 var(--ap-radius-lg) var(--ap-radius-lg) 0;
}
.ap-insight__takeaway-label {
    display: block;
    font-family: var(--ap-font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ap-teal);
    margin-bottom: 0.6rem;
}
.ap-insight__takeaway p {
    margin: 0;
    color: var(--ap-charcoal-deep);
    font-size: 0.98rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Bottom line section */
.ap-bottom-line {
    text-align: left;
}
.ap-bottom-line h2 {
    color: var(--ap-cream);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    margin-bottom: 1.5rem;
}
.ap-bottom-line h2 em {
    font-style: italic;
    background: var(--ap-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ap-bottom-line__body {
    font-size: 1.15rem;
    line-height: 1.65;
    color: rgba(247, 244, 238, 0.88);
    max-width: 720px;
    margin-bottom: 2rem;
}

/* ==========================================================================
   18. UTILITIES & ENTRANCE
   ========================================================================== */
.ap-fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: apFadeUp 0.9s var(--ap-ease) forwards;
}
.ap-fade-up--d1 { animation-delay: 0.15s; }
.ap-fade-up--d2 { animation-delay: 0.3s; }
.ap-fade-up--d3 { animation-delay: 0.45s; }

@keyframes apFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Get In Touch - v2.3 layout + CAPTCHA
   ========================================================================== */
.ap-contact-grid { grid-template-columns: 1.45fr 0.75fr; gap: 3rem; }
@media (max-width: 960px) { .ap-contact-grid { grid-template-columns: 1fr; } }
.ap-contact-info--card { background: var(--ap-cream); border: 1px solid var(--ap-stone); border-radius: var(--ap-radius-lg); padding: 2.4rem 2rem; position: sticky; top: 120px; gap: 0; }
@media (max-width: 960px) { .ap-contact-info--card { position: static; } }
.ap-contact-info--card .eyebrow { margin-bottom: 0.8rem; }
.ap-contact-info--card .ap-contact-info__lead { font-size: 0.98rem; line-height: 1.6; margin-bottom: 1.2rem; }
.ap-contact-info--card .ap-contact-info__item { margin-bottom: 1.1rem; padding-bottom: 1.1rem; }
.ap-contact-info--card .ap-contact-info__item p { font-size: 1rem; }
.ap-captcha { border: 1px solid rgba(247,244,238,0.18); border-left: 3px solid var(--ap-teal-light); border-radius: var(--ap-radius); padding: 1.3rem 1.4rem; background: rgba(0,160,180,0.08); animation: apCapIn .35s ease; }
@keyframes apCapIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ap-captcha__step { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ap-teal-light); }
.ap-captcha h5 { color: var(--ap-cream); margin: 0.25rem 0 0.2rem; font-size: 1.05rem; }
.ap-captcha p { color: rgba(247,244,238,0.7); font-size: 0.88rem; margin: 0 0 1rem; }
.ap-captcha__check { display: flex; align-items: center; gap: 0.6rem; color: var(--ap-cream); font-weight: 600; margin-bottom: 1rem; cursor: pointer; }
.ap-captcha__check input { width: 20px; height: 20px; accent-color: var(--ap-teal); }
.ap-captcha__input { max-width: 200px; }
.ap-form__hint { font-size: 0.85rem; color: rgba(247,244,238,0.6); margin: 0; }
.ap-form__submit[disabled] { opacity: 0.45; cursor: not-allowed; }
.ap-contact-cta__card h2 { line-height: 1.12; }

/* ==========================================================================
   Contact Us - v2.4 layout
   ========================================================================== */
.ap-contact-strip { margin-top: -3.5rem; position: relative; z-index: 3; }
.ap-contact-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .ap-contact-strip { margin-top: 2rem; } .ap-contact-strip__grid { grid-template-columns: 1fr; } }
.ap-contact-tile { display: block; background: #fff; border: 1px solid var(--ap-stone); border-top: 3px solid var(--ap-teal); border-radius: var(--ap-radius-lg); padding: 1.6rem 1.7rem; box-shadow: 0 20px 50px -30px rgba(10,42,94,0.35); color: var(--ap-charcoal-deep); text-decoration: none; transition: transform .25s var(--ap-ease); }
a.ap-contact-tile:hover { transform: translateY(-3px); }
.ap-contact-tile h5 { font-family: var(--ap-font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ap-teal); margin: 0 0 0.5rem; }
.ap-contact-tile p { font-size: 1.12rem; font-weight: 600; margin: 0 0 0.25rem; word-break: break-word; }
.ap-contact-tile span { font-size: 0.9rem; color: #6b6b6b; }
.ap-section--contact { padding-top: 4rem; }
.ap-container--narrow { max-width: 860px; }
.ap-section--contact .ap-contact-cta__card { padding: 3.25rem 3rem; }
@media (max-width: 600px) { .ap-section--contact .ap-contact-cta__card { padding: 2rem 1.4rem; } }
.ap-form__step { display: flex; align-items: center; gap: 0.7rem; color: var(--ap-cream); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 1.2rem 0 0.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(247,244,238,0.12); }
.ap-form__step span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ap-teal); color: #fff; font-size: 0.8rem; letter-spacing: 0; }
.ap-captcha__plugin { background: rgba(255,255,255,0.04); border-radius: var(--ap-radius); padding: 0.5rem 0; }
.ap-captcha__plugin p, .ap-captcha__plugin label { color: var(--ap-cream); }
.ap-captcha__plugin input.input { background: #fff; border-radius: 6px; padding: 0.4rem 0.6rem; border: 1px solid var(--ap-stone); margin-left: 0.5rem; }

.ap-recaptcha { margin-top: 0.4rem; min-height: 78px; }
@media (max-width: 380px) { .ap-recaptcha .g-recaptcha { transform: scale(0.88); transform-origin: 0 0; } }
