/* ==========================================================================
   DRAIN WILLIAM PLUMBING — Shared design system
   Industrial / utilitarian / trustworthy local trade.
   Type: Barlow Condensed (display) + Barlow (body).
   Brand: red + deep navy. WhatsApp green for chat CTAs.
   ========================================================================== */

:root {
    --blue-950: #05192D;
    --blue-900: #082F54;
    --blue-800: #0B3E6F;
    --blue:     #0E5FA4;
    --blue-600: #1474C2;
    --blue-bright: #1E88D2;

    --red:      #C8181F;
    --red-dark: #9E1015;

    --green:    #25D366;
    --green-dark: #128C7E;

    --ink:   #0E1726;
    --slate: #3C4A60;
    --muted: #6A7889;
    --line:  #DDE4EE;
    --mist:  #F3F6FA;
    --paper: #FFFFFF;

    --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
    --font-body: "Barlow", system-ui, -apple-system, sans-serif;

    --r-sm: 4px;
    --r:    8px;
    --r-lg: 14px;
    --r-pill: 999px;

    --shadow-sm: 0 1px 3px rgba(8,47,84,.07), 0 2px 8px rgba(8,47,84,.06);
    --shadow:    0 8px 28px rgba(8,47,84,.13);
    --shadow-lg: 0 24px 56px rgba(8,47,84,.20);

    --container: 1240px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.62;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: .01em;
    margin: 0;
    color: var(--ink);
}

a { color: var(--blue); }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 28px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .72rem;
    color: var(--red);
}
.eyebrow--light { color: rgba(255,255,255,0.5); }

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1;
    letter-spacing: .02em;
    padding: .9em 1.65em;
    border-radius: var(--r-sm);
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .18s var(--ease), box-shadow .22s var(--ease), background .18s, color .18s, border-color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--call {
    background: var(--red);
    color: #fff;
    box-shadow: 0 6px 18px rgba(200,24,31,.30);
}
.btn--call:hover { background: var(--red-dark); box-shadow: 0 10px 26px rgba(200,24,31,.40); color: #fff; }

.btn--wa {
    background: var(--green);
    color: #04361F;
    box-shadow: 0 6px 18px rgba(37,211,102,.28);
}
.btn--wa:hover { background: #1ec85d; box-shadow: 0 10px 26px rgba(37,211,102,.38); }

.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(14,95,164,.26); }
.btn--blue:hover { background: var(--blue-800); color: #fff; }

.btn--ghost { background: transparent; color: var(--blue); border-color: rgba(14,95,164,.35); }
.btn--ghost:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: #fff; color: var(--blue-900); border-color: #fff; }

.btn--lg { padding: 1.05em 2.1em; font-size: 1.02rem; }
.btn--sm { padding: .55em 1.1em; font-size: .82rem; }

a:focus-visible, button:focus-visible, .btn:focus-visible {
    outline: 3px solid var(--blue-bright);
    outline-offset: 2px;
}
