/* ─────────────────────────────────────────────
   Ace Quote — Theme
   Charcoal + cyan + ace-of-spades motif
   ───────────────────────────────────────────── */

:root {
    --ink:        #0E0E11;
    --ink-2:      #1A1A1F;
    --paper:      #FFFFFF;
    --paper-soft: #F5F2EC;
    --paper-warm: #EFEAE0;
    --rule:       #E2DED4;
    --rule-dark:  rgba(255,255,255,0.12);
    --muted:      #5B5B66;
    --muted-dark: rgba(245,242,236,0.65);
    --ace:        #00A9D1;
    --ace-deep:   #007DA3;
    --gold:       #D2A24A;

    --serif: "Playfair Display", "EB Garamond", Georgia, "Times New Roman", serif;
    --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

    --container: 1200px;
    --gap:    clamp(2rem, 4vw, 5rem);
    --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }

.aceq-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 2.25rem);
}

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}
.skip-link:focus {
    position: fixed; top: 1rem; left: 1rem;
    background: var(--ink); color: var(--paper);
    padding: .75rem 1rem; z-index: 1000;
}

/* ── Buttons ─────────────────────────────────── */
.aceq-btn {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .85rem 1.4rem;
    border-radius: 999px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: .96rem;
    letter-spacing: .01em;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
    cursor: pointer;
    line-height: 1;
}
.aceq-btn--lg { padding: 1.05rem 1.7rem; font-size: 1.02rem; }
.aceq-btn--block { width: 100%; justify-content: center; }
.aceq-btn--primary { background: var(--ink); color: var(--paper); }
.aceq-btn--primary:hover { background: var(--ace); color: var(--ink); transform: translateY(-1px); }
.aceq-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.aceq-btn--ghost:hover { background: var(--ink); color: var(--paper); }
.aceq-btn--ghost-light { color: var(--paper); border-color: var(--paper); }
.aceq-btn--ghost-light:hover { background: var(--paper); color: var(--ink); }
.aceq-btn__spade { width: 14px; height: 16px; fill: currentColor; }

/* ── Header ──────────────────────────────────── */
.aceq-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--rule);
}
.aceq-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 0; gap: 1.5rem;
}
.aceq-logo {
    display: inline-flex; align-items: center; gap: .65rem;
    color: var(--ink);
}
.aceq-logo__spade {
    width: 22px; height: 25px;
    fill: var(--ink);
    flex: 0 0 22px;
}
.aceq-logo__wordmark {
    display: inline-flex; align-items: baseline; gap: .35rem;
    line-height: 1;
}
.aceq-logo__ace {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 700;
    font-size: 1.55rem;
    letter-spacing: -.01em;
}
.aceq-logo__quote {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: -.01em;
}
.aceq-logo__tag {
    font-family: var(--sans);
    font-weight: 700;
    font-size: .58rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    padding: 3px 6px;
    background: var(--ink); color: var(--paper);
    border-radius: 3px;
    align-self: center;
    margin-left: .3rem;
}
.aceq-logo--light { color: var(--paper); }
.aceq-logo--light .aceq-logo__spade { fill: var(--paper); }
.aceq-logo--light .aceq-logo__tag { background: var(--ace); color: var(--ink); }

.aceq-nav {
    display: flex; gap: 1.8rem;
    font-size: .94rem;
    font-weight: 500;
}
.aceq-nav a {
    position: relative;
    color: var(--ink-2);
    padding: .25rem 0;
}
.aceq-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 2px; background: var(--ace);
    transform: scaleX(0); transform-origin: left;
    transition: transform .2s ease;
}
.aceq-nav a:hover::after { transform: scaleX(1); }

.aceq-header__cta {
    display: inline-flex; align-items: center; gap: 1rem;
}
.aceq-link--phone {
    font-weight: 600;
    font-size: .96rem;
    border-bottom: 1.5px solid transparent;
    transition: border-color .15s;
}
.aceq-link--phone:hover { border-color: var(--ink); }

@media (max-width: 880px) {
    .aceq-nav { display: none; }
    .aceq-header__cta .aceq-link--phone { display: none; }
}

/* ── Eyebrow + section header ────────────────── */
.aceq-eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--sans);
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ace-deep);
    margin: 0 0 1.5rem;
}
.aceq-eyebrow--light { color: var(--ace); }
.aceq-eyebrow svg { width: 14px; height: 16px; fill: currentColor; }
.aceq-eyebrow__spade { width: 16px; height: 18px; fill: var(--ace); }

.aceq-secHeader { max-width: 740px; margin: 0 0 3rem; }
.aceq-secHeader--center { margin-left: auto; margin-right: auto; text-align: center; }
.aceq-secHeader h2 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    margin: 0 0 1rem;
}
.aceq-secHeader__sub {
    font-size: 1.1rem;
    color: var(--muted);
    margin: 0;
}
.aceq-section--dark .aceq-secHeader h2 { color: var(--paper); }
.aceq-section--dark .aceq-secHeader__sub { color: var(--muted-dark); }

/* ── Hero ─────────────────────────────────────── */
.aceq-hero {
    background:
        radial-gradient(circle at 18% 12%, rgba(0,169,209,0.10), transparent 38%),
        radial-gradient(circle at 88% 88%, rgba(0,169,209,0.07), transparent 45%),
        var(--paper);
    padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
    position: relative;
    overflow: hidden;
}
.aceq-hero::before,
.aceq-hero::after {
    content: ""; position: absolute; pointer-events: none;
    width: 320px; height: 360px;
    background-image:
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 36'><path fill='%230E0E11' opacity='0.045' d='M16 2C9.5 9 2 14 2 21.2c0 4 3 7 6.7 7 2.4 0 4.3-1.3 5.3-3-.4 2.6-1.4 5.1-3 7.8h10c-1.6-2.7-2.6-5.2-3-7.8 1 1.7 2.9 3 5.3 3 3.7 0 6.7-3 6.7-7C30 14 22.5 9 16 2z'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
}
.aceq-hero::before { top: -40px; right: -40px; transform: rotate(12deg); }
.aceq-hero::after  { bottom: -60px; left: -50px; transform: rotate(-18deg); width: 260px; height: 290px; }

.aceq-hero__inner {
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--gap); align-items: center;
    position: relative; z-index: 1;
}
.aceq-hero__title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(2.6rem, 5.8vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -.025em;
    margin: 0 0 1.25rem;
}
.aceq-hero__title .hl {
    position: relative;
    font-style: italic;
    color: var(--ace-deep);
}
.aceq-hero__title .hl::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -.05em; height: .5em;
    background: var(--ace); opacity: .22; z-index: -1;
    border-radius: 4px;
}
.aceq-hero__sub {
    font-size: 1.18rem;
    color: var(--muted);
    margin: 0 0 1.75rem;
    max-width: 540px;
}
.aceq-hero__cta {
    display: flex; gap: .8rem; flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.aceq-trust {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
    border-top: 1px solid var(--rule);
    padding-top: 1.5rem;
}
.aceq-trust li { display: flex; flex-direction: column; gap: .15rem; }
.aceq-trust__num {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.7rem;
    color: var(--ink);
    line-height: 1;
}
.aceq-trust li span:last-child {
    font-size: .85rem; color: var(--muted);
}

@media (max-width: 960px) {
    .aceq-hero__inner { grid-template-columns: 1fr; }
    .aceq-trust { grid-template-columns: repeat(2, 1fr); }
}

/* ── Card / Quote form ────────────────────────── */
.aceq-card--ace {
    position: relative;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    padding: 2.2rem 1.8rem;
    box-shadow: 14px 14px 0 var(--ink);
}
.aceq-card__corner {
    position: absolute;
    display: inline-flex; flex-direction: column; align-items: center;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--ink);
}
.aceq-card__corner--tl { top: .75rem; left: 1rem; }
.aceq-card__corner--br { bottom: .75rem; right: 1rem; transform: rotate(180deg); }
.aceq-card__spade { width: 18px; height: 20px; fill: var(--ink); margin-top: 2px; }
.aceq-card__inner { padding: 1.6rem .25rem .25rem; }
.aceq-card__title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.7rem;
    margin: 0 0 .35rem;
    letter-spacing: -.015em;
}
.aceq-card__sub { color: var(--muted); margin: 0 0 1.4rem; font-size: .98rem; }

.aceq-form { display: flex; flex-direction: column; gap: .9rem; }
.aceq-form label {
    display: flex; flex-direction: column; gap: .3rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.aceq-form input, .aceq-form select {
    font-family: var(--sans);
    font-size: 1rem;
    padding: .75rem .9rem;
    border: 1.5px solid var(--rule);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    transition: border-color .15s, box-shadow .15s;
}
.aceq-form input:focus, .aceq-form select:focus {
    outline: none; border-color: var(--ace); box-shadow: 0 0 0 3px rgba(0,169,209,.18);
}
.aceq-form__note {
    font-size: .8rem; color: var(--muted); margin: .25rem 0 0;
}

/* ── Strip ────────────────────────────────────── */
.aceq-strip {
    background: var(--ink);
    color: var(--paper);
    padding: 1.6rem 0;
}
.aceq-strip__row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.aceq-strip__row > div {
    display: flex; flex-direction: column; gap: .15rem;
    padding-left: 1rem;
    border-left: 2px solid var(--ace);
}
.aceq-strip__row strong { font-weight: 600; font-size: 1.02rem; }
.aceq-strip__row span { font-size: .85rem; color: var(--muted-dark); }
@media (max-width: 880px) { .aceq-strip__row { grid-template-columns: repeat(2, 1fr); } }

/* ── Sections ─────────────────────────────────── */
.aceq-section {
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}
.aceq-section--light { background: var(--paper); }
.aceq-section--dark  { background: var(--ink); color: var(--paper); }
.aceq-section--soft  { background: var(--paper-soft); }

/* ── Steps ────────────────────────────────────── */
.aceq-steps {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    counter-reset: step;
}
.aceq-step {
    border-top: 3px solid var(--ink);
    padding-top: 1.5rem;
}
.aceq-step__num {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 2.1rem;
    color: var(--ace-deep);
    letter-spacing: -.02em;
    display: block; margin-bottom: .75rem;
}
.aceq-step h3 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.6rem;
    margin: 0 0 .6rem;
    letter-spacing: -.01em;
}
.aceq-step p { color: var(--muted); margin: 0; font-size: 1rem; }

@media (max-width: 880px) { .aceq-steps { grid-template-columns: 1fr; gap: 2.25rem; } }

/* ── Why grid ────────────────────────────────── */
.aceq-why {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
    margin-top: 2rem;
}
.aceq-why__card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--rule-dark);
    border-radius: var(--radius);
    padding: 1.6rem 1.5rem;
    transition: border-color .2s, transform .2s, background .2s;
}
.aceq-why__card:hover {
    border-color: var(--ace);
    background: rgba(0,169,209,0.08);
    transform: translateY(-2px);
}
.aceq-why__icon {
    display: inline-flex;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    border: 1.5px solid var(--ace);
    border-radius: 8px;
    margin-bottom: 1rem;
}
.aceq-why__icon svg { width: 18px; height: 20px; fill: var(--ace); }
.aceq-why__card h3 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.25rem;
    margin: 0 0 .4rem;
    color: var(--paper);
    letter-spacing: -.01em;
}
.aceq-why__card p { margin: 0; color: var(--muted-dark); font-size: .98rem; }

.aceq-why__cta { text-align: center; margin-top: 2.5rem; }

@media (max-width: 980px) { .aceq-why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .aceq-why { grid-template-columns: 1fr; } }

/* ── Reviews ─────────────────────────────────── */
.aceq-reviews {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.aceq-review {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 1.75rem 1.6rem;
    margin: 0;
    position: relative;
    transition: border-color .2s, transform .2s;
}
.aceq-review:hover { border-color: var(--ace); transform: translateY(-2px); }
.aceq-review__stars { color: var(--gold); font-size: 1.05rem; letter-spacing: .12em; margin-bottom: .75rem; }
.aceq-review blockquote {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.18rem;
    line-height: 1.4;
    color: var(--ink);
    margin: 0 0 1rem;
    quotes: none;
}
.aceq-review figcaption { font-size: .9rem; color: var(--muted); }
.aceq-review figcaption strong { color: var(--ink); margin-right: .25rem; }

@media (max-width: 760px) { .aceq-reviews { grid-template-columns: 1fr; } }

/* ── Areas ────────────────────────────────────── */
.aceq-areas {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center;
}
.aceq-areas__copy h2 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -.02em;
    margin: 0 0 1rem;
}
.aceq-areas__copy p { color: var(--muted); font-size: 1.05rem; max-width: 480px; }
.aceq-areas__soon { margin-top: 1.5rem; }
.aceq-pill {
    display: inline-block;
    background: var(--ink); color: var(--paper);
    padding: .2rem .65rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-right: .6rem;
    vertical-align: middle;
}
.aceq-areas__grid {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem 1.5rem;
}
.aceq-areas__grid li {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.25rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--rule);
}
@media (max-width: 880px) { .aceq-areas { grid-template-columns: 1fr; } }

/* ── Final CTA ────────────────────────────────── */
.aceq-final {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(4.5rem, 7vw, 7rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.aceq-final__spade {
    width: 70px; height: 80px;
    fill: var(--ace);
    margin: 0 auto 1.5rem;
    opacity: .9;
}
.aceq-final h2 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(2.4rem, 4.8vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    margin: 0 0 1rem;
}
.aceq-final p {
    max-width: 580px; margin: 0 auto 2rem;
    color: var(--muted-dark);
    font-size: 1.1rem;
}
.aceq-final__cta {
    display: inline-flex; gap: .85rem; flex-wrap: wrap;
    justify-content: center;
}
.aceq-final .aceq-btn--primary { background: var(--ace); color: var(--ink); border-color: var(--ace); }
.aceq-final .aceq-btn--primary:hover { background: var(--paper); border-color: var(--paper); }

/* ── Footer ──────────────────────────────────── */
.aceq-footer {
    background: #08080A;
    color: var(--paper-soft);
    padding: 4rem 0 1.5rem;
}
.aceq-footer__grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--rule-dark);
}
.aceq-footer__brand .aceq-logo { color: var(--paper); }
.aceq-footer__tag { color: var(--muted-dark); margin-top: 1rem; font-size: .98rem; max-width: 320px; }
.aceq-footer__col h4 {
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .76rem;
    color: var(--ace);
    margin: 0 0 .9rem;
}
.aceq-footer__col p { color: var(--muted-dark); font-size: .96rem; margin: 0; }
.aceq-footer__col a { color: var(--paper); }
.aceq-footer__col a:hover { color: var(--ace); }

.aceq-footer__base {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 1.5rem;
    font-size: .85rem;
    color: var(--muted-dark);
}
.aceq-footer__base a { color: var(--muted-dark); }
.aceq-footer__base a:hover { color: var(--paper); }

@media (max-width: 880px) {
    .aceq-footer__grid { grid-template-columns: 1fr 1fr; }
    .aceq-footer__base { flex-direction: column; gap: .5rem; }
}

/* ── Fallback / generic pages ─────────────────── */
.aceq-fallback, .aceq-page { padding: 4rem 0; }
.aceq-content { font-size: 1.05rem; line-height: 1.65; color: var(--ink-2); }
.aceq-content h1, .aceq-content h2 { font-family: var(--serif); letter-spacing: -.01em; }
