/* ==================================================================
   Qorix - site stylesheet
   Rebuilt static version of www.tjqxgd.com
   Tokens measured off the live WordPress/Elementor build so the
   typography, colour and rhythm stay identical.
   ================================================================== */

@import url("fonts.css");

/* ------------------------------------------------------------------
   01. Tokens
   ------------------------------------------------------------------ */

:root {
    --navy:        #1a1a2e;   /* header bar */
    --navy-deep:   #17234d;   /* verification / deep accents */
    /* The accent was #2a9d8f, which reads 3.32:1 against white and
       2.98:1 against the mint band. WCAG AA wants 4.5:1 for text this
       size, and that colour carries the eyebrow labels, the offering
       numbers and the white text on every button.

       Same hue (173), same saturation (58%), nine points darker:
       5.22:1 on white, 4.68:1 on mint. To go back to the old colour,
       change these two lines. */
    --teal:        #20796e;   /* primary accent + buttons */
    --teal-dark:   #1b675d;
    --teal-bright: #2a9d8f;   /* the original, for large decoration */
    --mint:        #ecf4f3;   /* page background */
    --white:       #ffffff;
    --ink:         #000000;
    --body:        rgba(0, 0, 0, .65);
    --body-soft:   rgba(0, 0, 0, .55);
    --line:        rgba(0, 0, 0, .10);

    --container:   1200px;
    --gutter:      40px;

    --font-head:   "DM Sans", "Segoe UI", system-ui, sans-serif;
    --font-body:   "Mulish", "Segoe UI", system-ui, sans-serif;

    --header-h:    100px;
}

/* ------------------------------------------------------------------
   02. Base
   ------------------------------------------------------------------ */

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--mint);
    color: var(--body);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 500;
    color: var(--ink);
    margin: 0;
}

h1 { font-size: 56px; line-height: 1.2; }
h2 { font-size: 40px; line-height: 1.2; }
h3 { font-size: 24px; line-height: 1.27; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--teal);
    color: #fff;
    padding: 12px 20px;
    font-family: var(--font-head);
    font-weight: 600;
}
.skip-link:focus {
    left: 0;
    color: #fff;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ------------------------------------------------------------------
   03. Buttons
   ------------------------------------------------------------------ */

.btn {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .3px;
    text-transform: uppercase;
    padding: 15px 30px;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.btn-teal {
    background: var(--teal);
    color: #fff;
}
.btn-teal:hover {
    background: var(--teal-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .75);
}
.btn-outline:hover {
    background: #fff;
    color: var(--navy);
}

/* ------------------------------------------------------------------
   04. Header
   ------------------------------------------------------------------ */

.site-header {
    background: var(--navy);
    position: relative;
    z-index: 50;
}
.site-header .container { max-width: calc(1200px + var(--gutter) * 2); }

.site-header__inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    flex: none;
}
.brand:hover { color: #fff; }
.brand img {
    width: 120px;
    height: 60px;
    object-fit: contain;
}
.brand__name {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: .2px;
    line-height: 1;
}

.nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav a {
    display: block;
    padding: 0 22px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    line-height: 14px;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(255, 255, 255, .8);
    transition: color .18s ease;
}
.nav a:hover,
.nav a[aria-current="page"] { color: #fff; }

.nav .nav-cta { display: none; }

.header-cta { flex: none; margin-left: 12px; }

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ------------------------------------------------------------------
   05. Hero bands
   ------------------------------------------------------------------ */

.hero {
    position: relative;
    background: #000 center / cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .38);
    z-index: -1;
}
.hero--home {
    min-height: 750px;
    /* the "Who We Are" panel overlaps the lower 200px of this band, so the
       copy is centred on what stays visible rather than on the whole band */
    padding-bottom: 200px;
    background-position: left center;
}
.hero--page { min-height: 555px; }
.hero--page::before { background: rgba(0, 0, 0, .48); }

.hero .container { width: 100%; }
/* text column widths, measured off the live build */
.hero__inner { margin: 0 auto; }
.hero--home .hero__inner { max-width: 800px; }
.hero--page .hero__inner { max-width: 720px; }

.hero__eyebrow {
    font-family: var(--font-body);
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .92);
    margin: 0 0 18px;
}
.hero h1 {
    color: #fff;
    margin: 0 auto;
}
.hero__actions { margin-top: 34px; }

/* ------------------------------------------------------------------
   06. Section furniture
   ------------------------------------------------------------------ */

.band { padding: 96px 0; }
.band--white { background: var(--white); }
.band--mint  { background: var(--mint); }
.band--tight { padding: 72px 0; }
/* Two selectors deep on purpose: the responsive rules further down
   reset .band padding at every breakpoint, and these have to survive
   that, the way the style attributes they replaced did. */
.band.band--flush { padding-top: 0; }     /* the panel above overlaps into it */

.band.band--notfound { padding: 120px 0 96px; }
.band--notfound h1 { font-size: 44px; margin-bottom: 20px; }
.notfound__action { margin-top: 28px; }
.notfound__help { margin-top: 34px; font-size: 15px; }

.eyebrow {
    font-family: var(--font-body);
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--teal);
    margin: 0 0 18px;
}

.section-head { max-width: 640px; }
.section-head--center {
    max-width: 455px;
    margin: 0 auto;
    text-align: center;
}
.section-head--wide { max-width: 1200px; }
.section-head--wide h2 { font-size: 56px; line-height: 1.2; }
.section-head h2 { margin-bottom: 18px; }

.lead {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.36;
    color: rgba(0, 0, 0, .78);
    margin-bottom: 20px;
}

/* ------------------------------------------------------------------
   07. Split panel (home "Who We Are")
   ------------------------------------------------------------------ */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: var(--white);
}
.split--overlap { margin-top: -200px; position: relative; z-index: 2; }
.split__body { padding: 64px 60px; }
.split__body .eyebrow { margin-bottom: 14px; }
.split__body h2 { margin: 26px 0 20px; }
.split__media { position: relative; min-height: 420px; }
.split__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ------------------------------------------------------------------
   08. Numbered value cards
   ------------------------------------------------------------------ */

.values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 64px;
}
.value { padding: 0 40px; }
.value__num {
    font-family: var(--font-body);
    font-size: 16px;
    letter-spacing: 1px;
    color: var(--teal);
    margin: 0 0 14px;
}
.value h3 { margin-bottom: 12px; }
.value p { color: var(--body); }

/* ------------------------------------------------------------------
   09. Feature list (why clients choose us / how we work)
   ------------------------------------------------------------------ */

.duo {
    display: grid;
    grid-template-columns: 32.7% 60.7%;
    justify-content: space-between;
    gap: 0;
    align-items: start;
}
.duo--why { grid-template-columns: 37.5% 50%; }
.feature-list { display: grid; gap: 0; }
.feature {
    padding: 28px 0;
    border-top: 1px solid var(--line);
}
.feature:first-child { border-top: 0; padding-top: 0; }
.feature:last-child { padding-bottom: 0; }
.feature h3 { font-size: 22px; margin-bottom: 10px; }

.pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-top: 56px;
}
.pair > div + div {
    border-left: 1px solid var(--line);
    padding-left: 56px;
}
.pair h3 { font-size: 22px; margin-bottom: 12px; }

/* ------------------------------------------------------------------
   10. Call-to-action band
   ------------------------------------------------------------------ */

.cta {
    position: relative;
    min-height: 444px;
    display: flex;
    align-items: center;
    background: var(--navy-deep) center / cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 80px 0;
    isolation: isolate;
}
.cta .container { width: 100%; }
.cta--mid { min-height: 400px; }
.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 20, 44, .62);
    z-index: -1;
}
.cta .eyebrow { color: rgba(255, 255, 255, .88); }
.cta h2 { color: #fff; margin-bottom: 34px; }

/* ------------------------------------------------------------------
   11. Offerings
   ------------------------------------------------------------------ */

.offerings {
    background: var(--white);
    position: relative;
    z-index: 2;
    margin-top: -145px;
}
.offer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}
.offer__body { padding: 56px 60px; align-self: center; }
.offer__num {
    font-family: var(--font-body);
    font-size: 16px;
    letter-spacing: 1px;
    color: var(--teal);
    margin: 0 0 12px;
}
.offer__body h2 { font-size: 40px; margin-bottom: 10px; }
.offer__methods {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 500;
    color: var(--navy-deep);
    letter-spacing: .2px;
    margin: 0 0 18px;
}
.offer__ask {
    margin-top: 20px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
}
.offer__ask a {
    color: var(--teal);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}
.offer__ask a:hover { color: var(--teal-dark); }

.field--prefilled input {
    border-color: var(--teal);
    background: rgba(32, 121, 110, .06);
}

.form-prefill-note {
    margin: 0 0 18px;
    padding: 11px 14px;
    font-size: 14px;
    border-left: 3px solid var(--teal);
    background: rgba(32, 121, 110, .07);
    color: var(--navy-deep);
}
.form-prefill-note[hidden] { display: none; }

.offer__media { position: relative; min-height: 310px; }
.offer__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.offer--reverse .offer__body { order: 2; }
.offer--reverse .offer__media { order: 1; }

.quote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}
.quote__mark {
    display: block;
    width: 34px;
    height: 26px;
    margin: 0 auto 22px;
    color: var(--teal);
}
.quote p {
    font-family: var(--font-head);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--ink);
    margin: 0 0 26px;
}
.quote__source {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--teal);
    margin: 0;
}

/* ------------------------------------------------------------------
   12. Contact
   ------------------------------------------------------------------ */

.contact-grid {
    display: grid;
    grid-template-columns: 46.7% 46.4%;
    justify-content: space-between;
    gap: 0;
    align-items: start;
}
.contact-intro { padding-top: 65px; }
.contact-intro__body { margin-top: 20px; }

.contact-details {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}
.contact-details li {
    display: flex;
    gap: 7px;
    padding: 4px 0;
}
.contact-details .k {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--navy-deep);
    flex: none;
}
.contact-details a { color: var(--body); }
.contact-details a:hover { color: var(--teal); }

.form-card {
    background: var(--white);
    padding: 50px 56px;
    margin-top: -145px;
    position: relative;
    z-index: 2;
    box-shadow: 0 24px 60px rgba(12, 20, 44, .10);
}
.form-card h2 { font-size: 24px; margin: 8px 0 26px; }

.field { margin-bottom: 18px; }
.field label {
    display: block;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--navy-deep);
    margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink);
    background: #fafbfc;
    border: 1px solid #dfe4e8;
    border-radius: 4px;
    padding: 13px 15px;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: 0;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(42, 157, 143, .18);
}
.field--hp { position: absolute; left: -9999px; }

.form-note {
    font-size: 14px;
    color: var(--body-soft);
    margin-top: 16px;
}
.form-status {
    margin-top: 18px;
    padding: 14px 16px;
    font-size: 15px;
    border-left: 3px solid var(--teal);
    background: rgba(42, 157, 143, .08);
    color: var(--navy-deep);
}
.form-status[hidden] { display: none; }
.form-status.is-error {
    border-left-color: #c0392b;
    background: rgba(192, 57, 43, .08);
    color: #922b21;
}

/* ------------------------------------------------------------------
   13. Footer
   ------------------------------------------------------------------ */

.site-footer {
    background: var(--white);
    padding: 64px 0 0;
    border-top: 1px solid var(--line);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.4fr;
    gap: 56px;
    padding-bottom: 48px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.footer-brand img { width: 96px; height: 48px; object-fit: contain; }
.footer-brand span {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
}
.site-footer p { font-size: 15px; }
.footer-title {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--navy-deep);
    margin: 0 0 16px;
}
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links li { padding: 5px 0; }
.footer-links a { color: var(--body); font-size: 15px; }
.footer-links a:hover { color: var(--teal); }

.footer-bar {
    border-top: 1px solid var(--line);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    color: var(--body-soft);
}
.footer-bar a { color: var(--body-soft); }
.footer-bar a:hover { color: var(--teal); }

.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal);
    color: #fff;
    border: 0;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 60;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--teal-dark); }

/* ------------------------------------------------------------------
   14. Responsive
   ------------------------------------------------------------------ */

@media (max-width: 1180px) {
    .nav a { padding: 0 15px; }
    .duo, .contact-grid { gap: 48px; }
}

@media (max-width: 1024px) {
    :root { --gutter: 28px; }

    h1 { font-size: 42px; }
    h2 { font-size: 32px; }

    .nav-toggle { display: flex; }

    .nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--navy);
        border-top: 1px solid rgba(255, 255, 255, .12);
        display: none;
        padding: 8px 0 22px;
    }
    .nav.is-open { display: block; }
    .nav ul { flex-direction: column; align-items: stretch; }
    .nav a {
        padding: 15px var(--gutter);
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, .07);
    }
    .nav .nav-cta {
        display: block;
        margin: 18px var(--gutter) 0;
        text-align: center;
    }
    .header-cta { display: none; }

    .split, .duo, .duo--why, .offer, .contact-grid, .values, .pair {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .duo, .duo--why { gap: 36px; }
    .contact-grid { gap: 40px; }
    .value { padding: 0; }
    .section-head--wide h2 { font-size: 32px; }
    .split--overlap { margin-top: -120px; }
    .split__body { padding: 44px 32px; }
    .split__media { min-height: 320px; }
    .values { gap: 32px; margin-top: 44px; }
    .duo { gap: 36px; }
    .pair { gap: 28px; margin-top: 36px; }
    .pair > div + div {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-left: 0;
        padding-top: 28px;
    }
    .offerings { margin-top: -90px; }
    .offer__body { padding: 40px 32px; }
    .offer__media { min-height: 260px; }
    .offer--reverse .offer__body { order: 0; }
    .offer--reverse .offer__media { order: 0; }
    .form-card { margin-top: 0; padding: 36px 28px; }
    .contact-intro { padding-top: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .hero--home { min-height: 620px; padding-bottom: 120px; }
    .hero--page { min-height: 420px; }
    .band { padding: 72px 0; }
}

@media (max-width: 640px) {
    h1 { font-size: 34px; }
    h2 { font-size: 27px; }
    h3 { font-size: 21px; }
    .brand img { width: 92px; height: 46px; }
    .brand__name { font-size: 20px; }
    .hero__eyebrow { font-size: 14px; }
    .band { padding: 56px 0; }
    .cta { padding: 76px 0; }
    .split__body { padding: 34px 24px; }
    .offer__body { padding: 32px 24px; }
    .offer__body h2 { font-size: 27px; }
    .form-card h2 { font-size: 22px; }
    .quote p { font-size: 20px; }
    .footer-bar { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
    .site-header, .site-footer, .to-top, .cta { display: none; }
    body { background: #fff; }
}
