/* ==========================================================================
   LicensedTaxi — WhatsApp Taxi Booking
   Shared design system. Clean & modern. All sections consume these tokens.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root {
    /* Brand */
    --brand:        #128C7E;   /* deep WhatsApp teal-green, professional */
    --brand-600:    #0f7a6e;
    --brand-100:    #e6f4f1;
    --accent:       #25D366;   /* bright WhatsApp green for CTAs */
    --accent-600:   #1eb956;

    /* Neutrals */
    --ink:          #0b1220;   /* headings — slightly deeper for contrast */
    --body:         #4a5568;   /* body text */
    --muted:        #94a3b8;
    --line:         #e9edf3;   /* borders */
    --bg:           #ffffff;
    --bg-soft:      #f6f9f8;   /* alternating section background, faint green cast */
    --bg-dark:      #0b1220;

    /* Accent detail */
    --gold:         #d4a24e;   /* subtle premium accent for trust cues */

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Spacing scale */
    --space-section: 7rem;     /* generous vertical rhythm reads as premium */
    --radius:        16px;
    --radius-sm:     10px;
    --radius-pill:   999px;

    /* Shadows — soft, layered, restrained */
    --shadow-sm: 0 1px 2px rgba(11, 18, 32, .04), 0 2px 6px rgba(11, 18, 32, .05);
    --shadow-md: 0 6px 16px rgba(11, 18, 32, .06), 0 2px 4px rgba(11, 18, 32, .04);
    --shadow-lg: 0 24px 48px -12px rgba(11, 18, 32, .18);

    /* Layout */
    --container: 1160px;
}

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

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

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

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 .5em;
    font-weight: 800;
    text-wrap: balance;
}

/* Keyboard accessibility — visible focus ring on all interactive elements */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---- Layout helpers ----------------------------------------------------- */
.lt-container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.lt-section { padding-block: var(--space-section); }
.lt-section--soft { background: var(--bg-soft); }

/* Section heading block */
.lt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand);
    background: var(--brand-100);
    padding: 7px 15px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}
.lt-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.lt-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    max-width: 22ch;
}
.lt-heading--center { margin-inline: auto; text-align: center; }

.lt-sub {
    font-size: 1.12rem;
    color: var(--body);
    max-width: 60ch;
}
.lt-sub--center { margin-inline: auto; text-align: center; }

.lt-accent { color: var(--accent-600); }
.lt-brand  { color: var(--brand); }

/* ---- Buttons ------------------------------------------------------------ */
.lt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    padding: 15px 28px;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    white-space: nowrap;
}
.lt-btn:hover { transform: translateY(-2px); }
.lt-btn:active { transform: translateY(0); }

.lt-btn--primary {
    background: linear-gradient(180deg, var(--accent), var(--accent-600));
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 211, 102, .30), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.lt-btn--primary:hover {
    background: linear-gradient(180deg, #2ee06e, var(--accent-600));
    box-shadow: 0 10px 24px rgba(37, 211, 102, .42), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.lt-btn--ghost {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}
.lt-btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-100); }

.lt-btn__icon { width: 20px; height: 20px; flex: none; }

/* WhatsApp glyph used inside buttons/badges */
.lt-wa-glyph {
    width: 22px; height: 22px; flex: none;
    display: inline-block;
    background: no-repeat center / contain
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M17.5 14.4c-.3-.2-1.7-.9-2-1-.3-.1-.5-.2-.6.2-.2.3-.7 1-.9 1.1-.2.2-.3.2-.6.1-.3-.2-1.2-.5-2.3-1.4-.9-.8-1.4-1.7-1.6-2-.2-.3 0-.5.1-.6l.4-.5c.1-.2.2-.3.3-.5.1-.2 0-.4 0-.5 0-.2-.6-1.5-.9-2-.2-.5-.4-.4-.6-.4h-.5c-.2 0-.5.1-.7.3-.2.3-.9.9-.9 2.2s.9 2.5 1 2.7c.1.2 1.8 2.8 4.4 3.9.6.3 1.1.4 1.5.6.6.2 1.2.2 1.6.1.5-.1 1.7-.7 1.9-1.3.2-.7.2-1.2.2-1.3-.1-.2-.3-.2-.5-.4zM12 2a10 10 0 0 0-8.5 15.2L2 22l4.9-1.3A10 10 0 1 0 12 2zm0 18.2c-1.5 0-3-.4-4.2-1.2l-.3-.2-2.9.8.8-2.8-.2-.3A8.2 8.2 0 1 1 12 20.2z'/></svg>");
}
