/* Ocalt (Pty) Ltd — ocalt.co.za stylesheet */
/* Based on ocalt.com master stylesheet with SA identity */

@font-face { font-family: 'AR One Sans'; src: url('/font/AROneSans-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'AR One Sans'; src: url('/font/AROneSans-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'AR One Sans'; src: url('/font/AROneSans-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'AR One Sans'; src: url('/font/AROneSans-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('/font/Rubik-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('/font/Rubik-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('/font/Rubik-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('/font/Rubik-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Uber Move Text'; src: url('/font/UberMoveTextLight.otf') format('opentype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Uber Move Text'; src: url('/font/UberMoveTextRegular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Uber Move Text'; src: url('/font/UberMoveTextMedium.otf') format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Uber Move Text'; src: url('/font/UberMoveTextBold.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Product Sans'; src: url('/font/ProductSans-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Product Sans'; src: url('/font/ProductSans-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Product Sans'; src: url('/font/ProductSans-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
    --font-wordmark: 'AR One Sans', ui-sans-serif, system-ui, sans-serif;
    --font-display:  'Uber Move Text', ui-sans-serif, system-ui, sans-serif;
    --font-ui:       'Product Sans', 'Uber Move Text', ui-sans-serif, system-ui, sans-serif;
    --font-body:     'Rubik', ui-sans-serif, system-ui, sans-serif;

    --ink:       #0a0a0a;
    --bg:        #ffffff;
    --muted:     #6b6b6b;
    --hairline:  #e6e6e6;
    --surface:   #f5f5f5;
    --overlay:   rgba(255,255,255,0.82);

    /* SA accent — Protea green */
    --accent:    #007A4D;
    --accent-bg: #f0faf5;

    --max:    1240px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --ink:       #f2f2f2;
        --bg:        #0a0a0a;
        --muted:     #8a8a8a;
        --hairline:  #1f1f1f;
        --surface:   #141414;
        --overlay:   rgba(10,10,10,0.82);
        --accent-bg: #0a1f15;
    }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100svh;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; }
img, svg { display: block; max-width: 100%; }

/* ── Header ── */
header.site {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem var(--gutter);
    background: var(--overlay);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--hairline);
}
.brand {
    display: inline-flex; align-items: center; gap: 0.625rem;
    font-family: var(--font-wordmark);
    font-weight: 600; font-size: 1.375rem;
    letter-spacing: -0.01em; color: var(--ink);
}
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.brand .za-badge {
    font-family: var(--font-ui);
    font-size: 0.6875rem; font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--accent);
    background: var(--accent-bg);
    padding: 0.125rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.125rem;
    text-transform: uppercase;
}
.header-nav {
    display: flex; align-items: center; gap: 2rem;
}
.header-nav a {
    font-family: var(--font-ui);
    font-size: 0.9375rem; font-weight: 500;
    color: var(--muted);
    transition: color 120ms ease;
}
.header-nav a:hover { color: var(--ink); }
.header-nav a.cta {
    color: var(--ink);
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 2px;
}
@media (max-width: 640px) {
    .header-nav { display: none; }
}

/* ── SA Banner ── */
.sa-banner {
    background: var(--accent);
    color: #fff;
    text-align: center;
    padding: 0.625rem var(--gutter);
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.sa-banner a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.4); }

/* ── Hero ── */
.hero {
    padding: clamp(5rem, 14vh, 12rem) var(--gutter) clamp(3.5rem, 9vh, 8rem);
    max-width: var(--max); margin: 0 auto;
}
.hero .kicker {
    font-family: var(--font-ui);
    font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
    margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
}
.hero h1 em {
    font-style: italic; font-weight: 400;
    color: var(--muted);
}
.hero p {
    font-size: clamp(1.0625rem, 1.7vw, 1.375rem);
    line-height: 1.45;
    max-width: 46rem;
    color: var(--muted);
    margin-bottom: clamp(2rem, 5vh, 3rem);
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-primary {
    display: inline-block;
    padding: 0.9375rem 2rem;
    background: var(--ink); color: var(--bg);
    font-family: var(--font-ui); font-weight: 500; font-size: 1rem;
    border-radius: 999px; letter-spacing: 0.01em;
    transition: opacity 150ms ease;
}
.btn-primary:hover { opacity: 0.82; }
.btn-ghost {
    display: inline-block;
    padding: 0.9375rem 2rem;
    background: transparent; color: var(--ink);
    border: 1px solid var(--hairline);
    font-family: var(--font-ui); font-weight: 500; font-size: 1rem;
    border-radius: 999px; letter-spacing: 0.01em;
    transition: border-color 150ms ease, color 150ms ease;
}
.btn-ghost:hover { border-color: var(--ink); }

/* ── Stats strip ── */
.stats {
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: clamp(2rem, 5vh, 3.5rem) var(--gutter);
}
.stats-inner {
    max-width: var(--max); margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--hairline);
}
@media (max-width: 720px) {
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
.stat {
    background: var(--bg);
    padding: 1.75rem var(--gutter);
    display: flex; flex-direction: column; gap: 0.375rem;
}
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    color: var(--ink);
}
.stat-label {
    font-family: var(--font-ui);
    font-size: 0.8125rem; font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.02em;
}

/* ── Services ── */
.services {
    padding: clamp(5rem, 12vh, 10rem) var(--gutter);
    max-width: var(--max); margin: 0 auto;
}
.kicker {
    font-family: var(--font-ui);
    font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.25rem;
}
.services > h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: clamp(1.25rem, 3vh, 2rem);
    max-width: 26ch;
}
.services > .lead {
    font-size: clamp(1rem, 1.45vw, 1.125rem);
    line-height: 1.55;
    max-width: 44rem;
    color: var(--muted);
    margin-bottom: clamp(3rem, 7vh, 5rem);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--hairline);
    border: 1px solid var(--hairline);
    margin-bottom: clamp(3rem, 7vh, 5rem);
}
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .services-grid { grid-template-columns: 1fr; }
}
.service-card {
    background: var(--bg);
    padding: 2.5rem 2rem;
    display: flex; flex-direction: column; gap: 0.875rem;
    transition: background 120ms ease;
    min-height: 220px;
}
.service-card:hover { background: var(--surface); }
.service-card .service-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}
.service-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--ink);
    letter-spacing: -0.015em;
}
.service-card p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
}

/* ── Process ── */
.process {
    padding: clamp(4rem, 10vh, 8rem) var(--gutter);
    background: var(--surface);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}
.process-inner {
    max-width: var(--max); margin: 0 auto;
}
.process h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    letter-spacing: -0.03em;
    margin-bottom: clamp(2.5rem, 6vh, 4rem);
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--hairline);
}
@media (max-width: 720px) {
    .process-steps { grid-template-columns: repeat(2, 1fr); }
}
.process-step {
    background: var(--surface);
    padding: 2rem 1.75rem;
    display: flex; flex-direction: column; gap: 0.75rem;
}
.step-num {
    font-family: var(--font-display);
    font-size: 2.5rem; font-weight: 600;
    letter-spacing: -0.05em;
    color: var(--accent);
    line-height: 1;
}
.step-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.step-desc {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ── Quote form ── */
.quote-section {
    padding: clamp(5rem, 12vh, 10rem) var(--gutter);
    max-width: var(--max); margin: 0 auto;
}
.quote-section h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    letter-spacing: -0.035em;
    margin-bottom: 0.75rem;
}
.quote-section .lead {
    font-size: clamp(1rem, 1.45vw, 1.125rem);
    color: var(--muted);
    margin-bottom: clamp(3rem, 7vh, 5rem);
    max-width: 44rem;
    line-height: 1.55;
}
.quote-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(3rem, 7vw, 6rem);
    align-items: start;
}
@media (max-width: 860px) {
    .quote-layout { grid-template-columns: 1fr; }
}
.quote-aside h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.375rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.quote-aside ul {
    list-style: none;
    display: flex; flex-direction: column; gap: 1rem;
    margin-bottom: 2.5rem;
}
.quote-aside li {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--muted);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}
.quote-aside li::before {
    content: '';
    position: absolute; left: 0; top: 0.6rem;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.contact-strip {
    padding: 1.5rem;
    border: 1px solid var(--hairline);
    border-radius: 12px;
    display: flex; flex-direction: column; gap: 1rem;
}
.contact-item {
    display: flex; align-items: center; gap: 0.75rem;
    font-family: var(--font-ui);
    font-size: 0.9375rem;
    color: var(--ink);
}
.contact-item svg { flex-shrink: 0; color: var(--muted); }
.contact-item a { border-bottom: 1px solid var(--hairline); padding-bottom: 1px; transition: border-color 150ms ease; }
.contact-item a:hover { border-color: var(--ink); }

/* Quote form fields */
.quote-form { display: grid; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label {
    display: block;
    font-family: var(--font-ui);
    font-weight: 500; font-size: 0.8125rem;
    color: var(--muted); margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--hairline);
    padding: 0.625rem 0;
    font-family: var(--font-body);
    font-size: 1rem; color: var(--ink);
    outline: none;
    transition: border-color 150ms ease;
    appearance: none;
}
.field select {
    cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); }
.field textarea { min-height: 7rem; resize: vertical; line-height: 1.55; }
.radio-group { display: flex; gap: 2rem; align-items: center; padding: 0.5rem 0; }
.radio-label {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-body); font-size: 0.9375rem;
    cursor: pointer; color: var(--ink);
}
.radio-label input[type="radio"] {
    appearance: none; -webkit-appearance: none;
    width: 14px; height: 14px;
    border: 1px solid var(--muted); border-radius: 50%;
    cursor: pointer; position: relative; margin: 0;
    flex-shrink: 0;
}
.radio-label input[type="radio"]:checked { border-color: var(--accent); }
.radio-label input[type="radio"]:checked::after {
    content: ''; position: absolute; inset: 3px;
    border-radius: 50%; background: var(--accent);
}
.form-submit {
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
    margin-top: 0.5rem;
}
.form-submit button {
    padding: 0.9375rem 2rem;
    background: var(--ink); color: var(--bg);
    font-family: var(--font-ui); font-weight: 500; font-size: 1rem;
    border-radius: 999px; letter-spacing: 0.01em;
    transition: opacity 150ms ease;
}
.form-submit button:hover { opacity: 0.82; }
.whatsapp-link {
    font-family: var(--font-ui); font-size: 0.9375rem;
    color: var(--muted);
}
.whatsapp-link a {
    color: var(--ink);
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 2px;
    transition: border-color 150ms ease;
}
.whatsapp-link a:hover { border-color: var(--ink); }

/* Flash / alert */
.flash {
    padding: 0.875rem var(--gutter);
    font-family: var(--font-ui); font-size: 0.9375rem;
    text-align: center;
}
.flash.ok { background: var(--accent-bg); color: var(--accent); }
.flash.err { background: #fff0f0; color: #b00020; }
@media (prefers-color-scheme: dark) {
    .flash.err { background: #1f0a0a; color: #ff6b6b; }
}

/* ── Footer ── */
footer.site {
    border-top: 1px solid var(--hairline);
    padding: clamp(3rem, 8vh, 5rem) var(--gutter) 2rem;
    font-family: var(--font-ui);
    background: var(--bg);
}
.footer-inner {
    max-width: var(--max); margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
}
.footer-brand .brand { font-size: 1.5rem; margin-bottom: 0.75rem; }
.footer-brand .tag {
    font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 1rem;
}
.footer-brand .tag em { font-style: italic; color: var(--muted); }
.footer-brand p {
    font-family: var(--font-body); color: var(--muted);
    font-size: 0.9375rem; max-width: 30rem; line-height: 1.55;
}
.footer-socials {
    display: flex; gap: 1.25rem; margin-top: 1.25rem; align-items: center;
}
.footer-socials a {
    color: var(--muted); transition: color 120ms ease;
}
.footer-socials a:hover { color: var(--ink); }
.footer-col h4 {
    font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 1.125rem;
}
.footer-col a {
    display: block;
    font-size: 0.9375rem; color: var(--ink);
    padding: 0.3125rem 0;
    transition: color 120ms ease;
}
.footer-col a:hover { color: var(--muted); }
.footer-legal {
    max-width: var(--max); margin: clamp(3rem, 6vh, 4rem) auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--hairline);
    font-size: 0.8125rem; color: var(--muted);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 0.5rem;
}
.footer-legal .sa-flag {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8125rem; color: var(--muted);
}
@media (max-width: 860px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; margin-bottom: 1rem; }
}
@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Thank you page */
.thankyou-wrap {
    max-width: 640px; margin: 0 auto;
    padding: clamp(6rem, 15vh, 12rem) var(--gutter);
    text-align: center;
}
.thankyou-wrap h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600; letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
}
.thankyou-wrap p {
    color: var(--muted); font-size: 1.0625rem;
    line-height: 1.6; margin-bottom: 2.5rem;
}
