/* ================================================
   compliancenoc.css  — LeaseTime
   Compliance, NOC & Statutory Approvals Advisory
   Design: Dark editorial / regulatory authority

   ✅ NO local :root block — all colors come from
      styles.css global variables:
        --brand        (primary accent, was --gold)
        --brand-dark   (hover accent, was --gold-light)
        --brand-pale   (tinted bg,    was gold rgba)
        --black        --white        --offwhite
        --grey-text    --dark-bg      --dark-line
        --font-body    --font-head    --border-subtle
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500&display=swap');

/* ================================================
   CONTAINER WIDTH
================================================ */
@media (min-width: 1200px) {
    .container {
        width: 1140px;
        max-width: 100%;
    }
}

/* ================================================
   REVEAL DELAY HELPERS
================================================ */
.cna-reveal:nth-child(1) { transition-delay: 0.05s; }
.cna-reveal:nth-child(2) { transition-delay: 0.10s; }
.cna-reveal:nth-child(3) { transition-delay: 0.15s; }
.cna-reveal:nth-child(4) { transition-delay: 0.20s; }

/* ================================================
   ANIMATIONS
================================================ */
.cna-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.cna-reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.cna-reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.cna-reveal.cna-visible,
.cna-reveal-left.cna-visible,
.cna-reveal-right.cna-visible { opacity: 1; transform: none; }

@keyframes cnaFadeUp    { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
@keyframes cnaFadeIn    { from { opacity:0; } to { opacity:1; } }
@keyframes cnaLineGrow  { from { width:0; opacity:0; } to { width:32px; opacity:1; } }
@keyframes cnaTagFade   { from { opacity:0; letter-spacing:0.30em; } to { opacity:1; letter-spacing:0.18em; } }
@keyframes cnaShimmer   { 0% { background-position:0% 50%; } 100% { background-position:200% 50%; } }
@keyframes cnaImgReveal { from { clip-path:inset(0 100% 0 0); } to { clip-path:inset(0 0% 0 0); } }
@keyframes cnaBadgePop  { 0% { transform:scale(0.55); opacity:0; } 70% { transform:scale(1.07); } 100% { transform:scale(1); opacity:1; } }
@keyframes cnaPulse     { 0%,100% { box-shadow:0 0 0 0 var(--brand-pale); } 50% { box-shadow:0 0 0 7px transparent; } }

/* ================================================
   HERO
================================================ */
.cna-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--black);
}

.cna-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(10,10,10,0.97) 45%, rgba(10,10,10,0.60) 100%),
                url(/images/services/compliancebanner.jpg) center / cover no-repeat;
    z-index: 0;
}

.cna-hero::after { display: none; }

/* Vertical brand-color rule — left edge */
.cna-hero::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--brand) 30%, var(--brand) 70%, transparent);
    z-index: 2;
}

.cna-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 90px 0 72px;
}

/* Eyebrow pill */
.cna-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    border: 1px solid var(--border);
    padding: 6px 16px 6px 12px;
    animation: cnaFadeIn 0.6s ease both;
}

.cna-hero-eyebrow::before {
    content: '';
    display: block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand);
    flex-shrink: 0;
    animation: cnaPulse 2s 1s ease infinite;
}

.cna-hero-eyebrow span {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0;
    animation: cnaTagFade 0.8s 0.4s ease forwards;
}

.cna-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(34px, 5vw, 66px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.03;
    letter-spacing: -0.025em;
    margin: 0 0 22px;
    max-width: 820px;
    animation: cnaFadeUp 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cna-hero h1 span {
    font-style: normal;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark), var(--brand));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: cnaShimmer 3s 1.5s linear infinite;
    -webkit-text-stroke: 1px var(--white);
}

.cna-hero-desc {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,0.44);
    max-width: 560px;
    line-height: 1.85;
    margin: 0;
    opacity: 0;
    animation: cnaFadeUp 0.9s 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    padding-left: 18px;
    border-left: 2px solid var(--border-subtle);
}

/* ================================================
   BREADCRUMB
================================================ */
.cna-breadcrumb {
    background: var(--dark-bg);
    border-top: 1px solid var(--dark-line);
    border-bottom: 1px solid var(--dark-line);
    padding: 13px 0;
}

.cna-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255,255,255,0.30);
    letter-spacing: 0.04em;
}

.cna-breadcrumb-inner a { color: rgba(255,255,255,0.30); text-decoration: none; transition: color 0.2s; }
.cna-breadcrumb-inner a:hover { color: var(--brand); }
.cna-breadcrumb-inner .bsep { color: var(--brand); font-size: 10px; }
.cna-breadcrumb-inner .bcurrent { color: rgba(255,255,255,0.60); }

/* ================================================
   SHARED SECTION HEADER
================================================ */
.cna-sec-header { margin-bottom: 52px; }
.cna-sec-header.center { text-align: center; }

.cna-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 14px;
}
.cna-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--brand);
}
.cna-sec-header.center .cna-tag { justify-content: center; }

.cna-sec-header h2 {
    font-family: var(--font-head);
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin: 0 0 16px;
}

.cna-sec-header h2 em { font-style: normal; color: var(--brand); }

.cna-sec-header p {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: var(--grey-text);
    line-height: 1.85;
    max-width: 620px;
    margin: 0;
}

.cna-sec-header.center p { margin: 0 auto; }

/* ================================================
   INTRO
================================================ */
.cna-intro {
    padding: 80px 0;
    background: var(--white);
    overflow: hidden;
}

.cna-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
}

.cna-intro-text {
    background: var(--offwhite);
    padding: 80px 60px 80px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cna-intro-text p {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: #444;
    line-height: 1.95;
    margin: 0 0 18px;
}

.cna-intro-text p:last-child { margin: 0; }

.cna-intro-img {
    position: relative;
    overflow: hidden;
    clip-path: polygon(6% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.cna-intro-img.cna-visible img {
    animation: cnaImgReveal 1.1s cubic-bezier(0.77, 0, 0.18, 1) both;
}

.cna-intro-img img {
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cna-intro-img:hover img { transform: scale(1.05); }

/* Badge */
.cna-intro-img-badge {
    position: absolute;
    bottom: 32px;
    left: 40px;
    background: var(--black);
    padding: 20px 26px;
    min-width: 190px;
    border-left: 3px solid var(--brand);
    opacity: 0;
    z-index: 2;
}

.cna-intro-img.cna-visible .cna-intro-img-badge {
    animation: cnaBadgePop 0.7s 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.cna-intro-img-badge .badge-num {
    font-family: var(--font-head);
    font-size: 40px;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
    display: block;
}

.cna-intro-img-badge .badge-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 5px;
    display: block;
}

/* ================================================
   SCOPE
================================================ */
.cna-scope {
    padding: 96px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.cna-scope::before {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-head);
    font-size: 280px;
    font-weight: 800;
    color: rgba(0,0,0,0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.cna-scope .cna-sec-header h2 { color: var(--black); }
.cna-scope .cna-sec-header p  { color: var(--grey-text); }

.cna-scope-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--border-subtle);
}

.cna-scope-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 26px 28px;
    border-bottom: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
    position: relative;
    transition: background 0.28s ease;
    cursor: default;
}

.cna-scope-item:nth-child(2n) { border-right: none; }

/* Brand-color left-border on hover */
.cna-scope-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0;
    background: var(--brand);
    transition: width 0.22s ease;
}

.cna-scope-item:hover { background: var(--brand-pale); }
.cna-scope-item:hover::before { width: 3px; }

/* Number badge */
.cna-scope-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.06em;
    margin-top: 1px;
    transition: background 0.22s, color 0.22s, border-color 0.22s;
}

.cna-scope-item:hover .cna-scope-num {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
}

.cna-scope-body { flex: 1; min-width: 0; }

.cna-scope-item h3 {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin: 0 0 5px;
    line-height: 1.25;
}

.cna-scope-item p {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 300;
    color: var(--grey-text);
    line-height: 1.68;
    margin: 0;
    transition: color 0.22s;
}

.cna-scope-item:hover p { color: #555; }

/* ================================================
   ADVANTAGES
================================================ */
.cna-advantages {
    padding: 96px 0;
    background: var(--white);
}

.cna-adv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cna-adv-item {
    background: var(--offwhite);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s, transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
    border-bottom: 3px solid transparent;
}

.cna-adv-item:hover {
    background: var(--white);
    transform: translateY(-5px);
    border-bottom-color: var(--brand);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.cna-adv-item::before {
    content: attr(data-num);
    position: absolute;
    right: 20px; top: 8px;
    font-family: var(--font-head);
    font-size: 80px;
    font-weight: 800;
    color: rgba(0,0,0,0.04);
    line-height: 1;
    pointer-events: none;
    transition: color 0.3s;
}

.cna-adv-item:hover::before { color: var(--brand-pale); }

.cna-adv-icon-wrap {
    width: 48px; height: 48px;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.25s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.cna-adv-item:hover .cna-adv-icon-wrap {
    background: var(--brand);
    transform: rotate(-6deg) scale(1.05);
}

.cna-adv-icon-wrap svg {
    width: 22px; height: 22px;
    stroke: var(--white);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.25s;
}

.cna-adv-item:hover .cna-adv-icon-wrap svg { stroke: var(--white); }

.cna-adv-body h3 {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.cna-adv-body p {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--grey-text);
    line-height: 1.80;
    margin: 0;
}

/* ================================================
   APPROACH — Split panel
================================================ */
.cna-approach {
    padding: 0;
    overflow: hidden;
}

.cna-approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 440px;
}

.cna-approach-left {
    background: var(--black);
    padding: 72px 56px 72px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cna-approach-left .cna-tag { border-color: var(--border-subtle); }

.cna-approach-left h2 {
    font-family: var(--font-head);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 0 24px;
}

.cna-approach-left p {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,0.44);
    line-height: 1.9;
    margin: 0;
}

.cna-approach-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 48px;
    border-top: 1px solid var(--dark-line);
    padding-top: 36px;
}

.cna-stat {
    padding: 0 20px 0 0;
    border-right: 1px solid var(--dark-line);
}

.cna-stat:first-child { padding-left: 0; }
.cna-stat:last-child  { border-right: none; }

.cna-stat-num {
    font-family: var(--font-head);
    font-size: 38px;
    font-weight: 800;
    color: var(--brand);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.cna-stat-label {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 400;
    color: rgba(255,255,255,0.28);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    line-height: 1.6;
}

.cna-approach-right {
    background: var(--offwhite);
    padding: 72px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cna-approach-right::before {
    content: '\201C';
    position: absolute;
    top: 20px; left: 40px;
    font-family: var(--font-head);
    font-size: 160px;
    color: var(--brand);
    opacity: 0.11;
    line-height: 1;
    pointer-events: none;
}

.cna-quote-block blockquote {
    font-family: var(--font-head);
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 700;
    color: var(--black);
    line-height: 1.42;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    position: relative;
    z-index: 1;
    border: none;
    padding: 0;
}

.cna-quote-block blockquote em { font-style: normal; color: var(--brand); }

.cna-quote-block cite {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--grey-text);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cna-quote-block cite::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--brand);
}

/* ================================================
   CTA STRIP
================================================ */
.lsa-cta {
    background: var(--brand);
    padding: 72px 0;
}

.lsa-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.lsa-cta-text h2 {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    line-height: 1.15;
}

.lsa-cta-text p {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.70);
    margin: 0;
}

.lsa-cta-btns {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.lsa-btn-dark {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 16px 36px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.lsa-btn-dark:hover {
    background: #1f1f1f;
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.28);
}

.lsa-btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 15px 36px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.lsa-btn-ghost:hover {
    background: var(--white);
    color: var(--brand);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 991px) {
    .cna-intro-grid     { grid-template-columns: 1fr; }
    .cna-intro-text     { padding: 56px 32px; }
    .cna-intro-img      { clip-path: none; min-height: 360px; }
    .cna-intro-img img  { min-height: 360px; }
    .cna-approach-grid  { grid-template-columns: 1fr; }
    .cna-approach-left  { padding: 56px 32px; }
    .cna-approach-right { padding: 56px 32px; min-height: 320px; }
    .cna-cta-inner      { flex-direction: column; text-align: center; align-items: center; }
    .cna-cta-btns       { justify-content: center; }
    .lsa-cta-inner      { flex-direction: column; text-align: center; align-items: center; }
    .lsa-cta-btns       { justify-content: center; }
}

@media (max-width: 767px) {
    .cna-hero           { min-height: 380px; }
    .cna-intro,
    .cna-scope,
    .cna-advantages,
    .cna-cta            { padding: 64px 0; }
    .cna-scope-list     { grid-template-columns: 1fr; }
    .cna-scope-item     { border-right: none; }
    .cna-adv-grid       { grid-template-columns: 1fr; }
    .cna-adv-item       { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .cna-approach-stats { grid-template-columns: 1fr; }
    .cna-stat {
        border-right: none;
        border-bottom: 1px solid var(--dark-line);
        padding: 16px 0;
    }
    .cna-stat:last-child { border-bottom: none; }
}

@media (prefers-reduced-motion: reduce) {
    .cna-reveal,
    .cna-reveal-left,
    .cna-reveal-right { opacity: 1; transform: none; transition: none; }
    .cna-hero h1,
    .cna-hero-desc,
    .cna-hero-eyebrow,
    .cna-hero-eyebrow span { animation: none; opacity: 1; }
    .cna-hero h1 em { animation: none; -webkit-text-fill-color: var(--brand); color: var(--brand); }
    .cna-intro-img.cna-visible img,
    .cna-intro-img.cna-visible .cna-intro-img-badge { animation: none; opacity: 1; clip-path: none; }
}