/* =====================================================================
   DODO Care — Brand design system
   ---------------------------------------------------------------------
   Derived from the logo (Logo.png / public/images/logo.png):
     • Deep navy  #002060  — the "D"s. Authority, medical trust, structure.
     • Teal       #0090A8  — the smiling "O"s + "Care". Warmth, care, action.
     • Geometry   perfect circles, rounded terminals, a smile arc
                  → generous radii, pill shapes, soft navy-tinted shadows.
   Hierarchy: navy carries structure (header rails, headings, dark sections),
   teal carries action (CTAs, links, accents), cool neutrals carry everything
   else. Amber appears only in star ratings.
   ===================================================================== */

:root {
    /* --- Core brand (exact logo values) --- */
    --brand-navy: #002060;
    --brand-teal: #0090a8;

    /* --- Navy scale --- */
    --navy-50:  #eef2fa;
    --navy-100: #dbe3f4;
    --navy-200: #b7c6e7;
    --navy-300: #8aa0d2;
    --navy-400: #5470af;
    --navy-500: #2b4a8c;
    --navy-600: #163570;
    --navy-700: #0b2a66;
    --navy-800: #032461;
    --navy-900: #002060;
    --navy-950: #00133a;

    /* --- Teal scale --- */
    --teal-50:  #ecfafd;
    --teal-100: #cff2f8;
    --teal-200: #a2e6f0;
    --teal-300: #63d2e2;
    --teal-400: #22b4cb;
    --teal-500: #0090a8;
    --teal-600: #007f96;  /* AA on white — use for text & solid buttons */
    --teal-700: #06687b;
    --teal-800: #0c5464;
    --teal-900: #0f4654;
    --teal-950: #042e39;

    /* --- Cool neutrals (tuned toward the navy) --- */
    --ink-50:  #f5f8fc;
    --ink-100: #ebf0f7;
    --ink-200: #dce3ee;
    --ink-300: #c2ccdc;
    --ink-400: #93a1b6;
    --ink-500: #6b7a91;
    --ink-600: #4b5a70;
    --ink-700: #364357;
    --ink-800: #232e3f;
    --ink-900: #131b28;

    /* --- Semantic roles --- */
    --surface:        #ffffff;
    --surface-muted:  #f4f7fc;
    --surface-sunken: #eef3fa;
    --page-bg:        #f4f7fc;
    --border:         var(--ink-200);
    --border-strong:  var(--ink-300);
    --text:           var(--ink-800);
    --text-muted:     var(--ink-500);
    --heading:        var(--navy-900);
    --link:           var(--teal-600);
    --link-hover:     var(--teal-700);

    /* Supporting status colours — kept desaturated so they sit beside the
       duotone instead of fighting it. */
    --success-bg: #e8f7f0;  --success-bd: #b9e6d3;  --success-fg: #10614a;
    --danger-bg:  #fdecec;  --danger-bd:  #f7c9c9;  --danger-fg:  #9b2323;
    --warn-bg:    #fdf4e3;  --warn-bd:    #f3ddb0;  --warn-fg:    #855a12;
    --info-bg:    var(--teal-50); --info-bd: var(--teal-200); --info-fg: var(--teal-800);
    --star:       #f2b33d;

    /* --- Radii: the logo is built from circles, so nothing is sharp --- */
    --r-xs: 8px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 18px;
    --r-xl: 24px;
    --r-2xl: 32px;
    --r-pill: 999px;

    /* --- Shadows: tinted with navy, never neutral black --- */
    --sh-xs: 0 1px 2px rgba(0, 32, 96, .06);
    --sh-sm: 0 2px 6px rgba(0, 32, 96, .06), 0 1px 2px rgba(0, 32, 96, .04);
    --sh-md: 0 8px 20px -6px rgba(0, 32, 96, .12), 0 2px 6px rgba(0, 32, 96, .05);
    --sh-lg: 0 18px 40px -12px rgba(0, 32, 96, .20), 0 4px 10px rgba(0, 32, 96, .06);
    --sh-teal: 0 10px 24px -8px rgba(0, 144, 168, .45);
    --sh-navy: 0 10px 24px -8px rgba(0, 32, 96, .35);

    --ring: 0 0 0 3px rgba(0, 144, 168, .28);

    --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, sans-serif;

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

/* =====================================================================
   Base
   ===================================================================== */

body {
    background-color: var(--page-bg);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: var(--font-display);
    letter-spacing: -.02em;
}

::selection {
    background: var(--teal-200);
    color: var(--navy-900);
}

/* One consistent focus ring everywhere — keyboard users get the teal halo. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--teal-500);
    outline-offset: 2px;
    border-radius: var(--r-xs);
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--navy-900);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: .875rem;
    transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

/* =====================================================================
   Buttons  (two-class selectors so they win over CDN utilities)
   ===================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1.25rem;
    border-radius: var(--r-pill);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    transition: background-color .18s var(--ease), color .18s var(--ease),
                box-shadow .18s var(--ease), transform .18s var(--ease),
                border-color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn.btn-primary {
    background: var(--teal-600);
    color: #fff;
    box-shadow: var(--sh-teal);
}
.btn.btn-primary:hover { background: var(--teal-700); box-shadow: 0 14px 28px -10px rgba(0,144,168,.55); }
.btn.btn-primary:active { background: var(--teal-800); }

.btn.btn-navy {
    background: var(--navy-900);
    color: #fff;
    box-shadow: var(--sh-navy);
}
.btn.btn-navy:hover { background: var(--navy-700); }
.btn.btn-navy:active { background: var(--navy-950); }

.btn.btn-outline {
    background: var(--surface);
    color: var(--navy-900);
    border-color: var(--border-strong);
    box-shadow: var(--sh-xs);
}
.btn.btn-outline:hover {
    border-color: var(--teal-400);
    color: var(--teal-700);
    background: var(--teal-50);
}

.btn.btn-ghost {
    background: transparent;
    color: var(--navy-900);
}
.btn.btn-ghost:hover { background: var(--navy-50); color: var(--teal-700); }

/* On dark navy panels */
.btn.btn-on-dark {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
    backdrop-filter: blur(6px);
}
.btn.btn-on-dark:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255,255,255,.55); }

.btn.btn-sm  { padding: .4rem .9rem;  font-size: .8rem; }
.btn.btn-lg  { padding: .9rem 1.9rem; font-size: 1rem; }
.btn.btn-block { display: flex; width: 100%; }

.btn[disabled], .btn.is-disabled, .btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    pointer-events: none;
}

.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    margin: -.525em 0 0 -.525em;
    width: 1.05em; height: 1.05em;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    color: #fff;
    animation: brand-spin .7s linear infinite;
}
.btn.btn-outline.is-loading::after, .btn.btn-ghost.is-loading::after { color: var(--navy-900); }
@keyframes brand-spin { to { transform: rotate(360deg); } }

/* Text link with the brand underline */
.link-brand {
    color: var(--link);
    font-weight: 600;
    text-underline-offset: 3px;
    transition: color .15s var(--ease);
}
.link-brand:hover { color: var(--link-hover); text-decoration: underline; }

/* =====================================================================
   Surfaces & cards
   ===================================================================== */

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-sm);
    transition: box-shadow .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}
.card-hover:hover {
    box-shadow: var(--sh-lg);
    border-color: var(--teal-200);
    transform: translateY(-3px);
}
.card-flat { box-shadow: none; }

/* Panel that sits on dark sections */
.panel-dark {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--r-xl);
    backdrop-filter: blur(10px);
}

/* Page-top band used by inner pages */
.page-head {
    background:
        radial-gradient(900px 320px at 12% -40%, rgba(0, 144, 168, .10), transparent 65%),
        radial-gradient(700px 300px at 88% -60%, rgba(0, 32, 96, .10), transparent 60%),
        var(--surface);
    border-bottom: 1px solid var(--border);
}

/* =====================================================================
   Chips, badges, pills
   ===================================================================== */

.chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .25rem .7rem;
    border-radius: var(--r-pill);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.4;
    background: var(--teal-50);
    color: var(--teal-800);
    border: 1px solid var(--teal-100);
    transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
a.chip:hover { background: var(--teal-100); border-color: var(--teal-300); color: var(--teal-900); }

.chip-navy { background: var(--navy-50); color: var(--navy-800); border-color: var(--navy-100); }
a.chip-navy:hover { background: var(--navy-100); border-color: var(--navy-200); }

.chip-neutral { background: var(--ink-100); color: var(--ink-600); border-color: var(--ink-200); }

.chip-on-dark {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
}
a.chip-on-dark:hover { background: rgba(255, 255, 255, .24); border-color: rgba(255,255,255,.5); color: #fff; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal-600);
}
.eyebrow-on-dark { color: var(--teal-200); }

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .15rem .55rem;
    border-radius: var(--r-pill);
    background: var(--teal-500);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .01em;
}

/* Circular avatar fallback — echoes the logo's circular counters */
.avatar-fallback {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--teal-100), var(--navy-100));
    color: var(--navy-800);
    font-family: var(--font-display);
    font-weight: 800;
    flex-shrink: 0;
}

.icon-tile {
    display: grid;
    place-items: center;
    border-radius: var(--r-md);
    background: var(--teal-50);
    color: var(--teal-600);
    border: 1px solid var(--teal-100);
}

/* =====================================================================
   Forms
   ===================================================================== */

.field-label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--ink-700);
    margin-bottom: .35rem;
}
.field-req { color: var(--teal-600); }

input.input, select.input, textarea.input {
    width: 100%;
    padding: .65rem .9rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text);
    font-size: .9rem;
    font-family: var(--font-body);
    transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background-color .16s var(--ease);
    appearance: none;
}
input.input::placeholder, textarea.input::placeholder { color: var(--ink-400); }

input.input:hover, select.input:hover, textarea.input:hover { border-color: var(--ink-400); }

input.input:focus, select.input:focus, textarea.input:focus {
    outline: none;
    border-color: var(--teal-500);
    box-shadow: var(--ring);
    background: #fff;
}
input.input:disabled, select.input:disabled, textarea.input:disabled {
    background: var(--ink-100);
    color: var(--ink-400);
    cursor: not-allowed;
    border-color: var(--border);
}
select.input {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7a91'%3E%3Cpath d='M5.5 7.5h9L10 13z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .6rem center;
    background-size: 1.15rem;
    padding-right: 2.2rem;
    cursor: pointer;
}
.input-pill { border-radius: var(--r-pill) !important; }

/* Native checkbox / radio recoloured to the brand teal */
input[type="checkbox"], input[type="radio"] { accent-color: var(--teal-600); }

/* Choice tiles (specialisation pickers, radio cards) */
.choice-tile {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .6rem .8rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    font-size: .875rem;
    color: var(--ink-700);
    cursor: pointer;
    transition: border-color .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease);
}
.choice-tile:hover { border-color: var(--teal-300); background: var(--teal-50); }
.choice-tile:has(input:checked) {
    border-color: var(--teal-500);
    background: var(--teal-50);
    color: var(--teal-900);
    box-shadow: var(--ring);
}

/* Slot / date selectors driven by a peer radio */
.slot-chip {
    display: block;
    text-align: center;
    padding: .5rem .25rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--ink-700);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s var(--ease);
}
.slot-chip:hover { border-color: var(--teal-400); color: var(--teal-700); background: var(--teal-50); }
input:checked + .slot-chip {
    background: var(--teal-600);
    border-color: var(--teal-600);
    color: #fff;
    box-shadow: var(--sh-teal);
}
input:focus-visible + .slot-chip { box-shadow: var(--ring); }

/* Horizontal date strip (booking step 1) */
.date-pill {
    flex-shrink: 0;
    width: 4.25rem;
    text-align: center;
    padding: .5rem .25rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--ink-600);
    transition: all .15s var(--ease);
}
.date-pill:hover { border-color: var(--teal-400); color: var(--teal-700); background: var(--teal-50); }
.date-pill.is-active {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: #fff;
    box-shadow: var(--sh-navy);
}

/* Numbered step marker used in multi-step forms */
.step-num {
    display: inline-grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    margin-right: .5rem;
    border-radius: var(--r-pill);
    background: var(--teal-50);
    color: var(--teal-700);
    border: 1px solid var(--teal-200);
    font-size: .82rem;
    font-weight: 800;
    vertical-align: middle;
}

/* =====================================================================
   Alerts
   ===================================================================== */

.alert {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    padding: .9rem 1.1rem;
    font-size: .9rem;
    line-height: 1.5;
    background: var(--surface);
    color: var(--text);
}
.alert-success { background: var(--success-bg); border-color: var(--success-bd); color: var(--success-fg); }
.alert-error   { background: var(--danger-bg);  border-color: var(--danger-bd);  color: var(--danger-fg); }
.alert-warn    { background: var(--warn-bg);    border-color: var(--warn-bd);    color: var(--warn-fg); }
.alert-info    { background: var(--info-bg);    border-color: var(--info-bd);    color: var(--info-fg); }

/* =====================================================================
   Header / navigation
   ===================================================================== */

.site-topbar {
    background: var(--navy-900);
    color: var(--navy-100);
    font-size: .78rem;
}
.site-topbar a { color: #fff; }
.site-topbar a:hover { color: var(--teal-200); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.brand-logo { display: block; height: 38px; width: auto; }
@media (max-width: 400px) { .brand-logo { height: 30px; } }

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .5rem .75rem;
    border-radius: var(--r-sm);
    font-size: .875rem;
    font-weight: 600;
    color: var(--ink-700);
    transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav-link:hover { color: var(--teal-700); background: var(--teal-50); }
.nav-link.is-active { color: var(--navy-900); }
.nav-link.is-active::after {
    content: '';
    position: absolute;
    left: .75rem; right: .75rem; bottom: .15rem;
    height: 2px;
    border-radius: var(--r-pill);
    background: var(--teal-500);
}

.nav-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 15rem;
    padding: .4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.nav-dropdown-wrap:hover > .nav-dropdown,
.nav-dropdown-wrap:focus-within > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown a {
    display: block;
    padding: .5rem .7rem;
    border-radius: var(--r-sm);
    font-size: .85rem;
    color: var(--ink-600);
}
.nav-dropdown a:hover { background: var(--teal-50); color: var(--teal-800); }

/* Mobile drawer — plain <details>, no JS */
.mobile-menu > summary { list-style: none; cursor: pointer; }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu[open] .menu-open-icon { display: none; }
.mobile-menu .menu-close-icon { display: none; }
.mobile-menu[open] .menu-close-icon { display: block; }
.mobile-panel {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-lg);
    animation: brand-drop .18s var(--ease);
}
@keyframes brand-drop { from { opacity: 0; transform: translateY(-8px); } }
.mobile-link {
    display: block;
    padding: .7rem .25rem;
    font-weight: 600;
    color: var(--ink-700);
    border-bottom: 1px solid var(--ink-100);
}
.mobile-link:hover { color: var(--teal-700); }

/* =====================================================================
   Hero — navy→teal, the two logo colours in one gradient,
   with the logo's smile arc repeated as a faint pattern.
   ===================================================================== */

.brand-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1000px 500px at 78% 8%, rgba(0, 144, 168, .55), transparent 60%),
        radial-gradient(800px 460px at 12% 92%, rgba(0, 144, 168, .28), transparent 62%),
        linear-gradient(135deg, #002060 0%, #06316f 45%, #06687b 100%);
    color: #fff;
}
.brand-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' opacity='0.5'%3E%3Cpath d='M28 52c6 9 22 9 28 0'/%3E%3Ccircle cx='42' cy='42' r='26'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 190px 190px;
    opacity: .06;
    pointer-events: none;
}
.brand-hero > * { position: relative; }

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

/* Frosted search panel that floats over the hero */
.search-panel {
    background: var(--surface);
    border-radius: var(--r-2xl);
    box-shadow: 0 30px 60px -20px rgba(0, 19, 58, .45);
    border: 1px solid rgba(255, 255, 255, .6);
}
.search-field {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .9rem;
    border-radius: var(--r-lg);
    cursor: text;
    transition: background-color .15s var(--ease);
}
.search-field:hover { background: var(--surface-muted); }
.search-field:focus-within { background: var(--teal-50); }
.search-field label, .search-field .field-cap {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-500);
}
.search-field input, .search-field select {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    font-size: .9rem;
    font-weight: 600;
    color: var(--navy-900);
    appearance: none;
    outline: none;
}
.search-field select { cursor: pointer; }
.search-field input::placeholder { color: var(--ink-400); font-weight: 500; }

/* =====================================================================
   Section furniture
   ===================================================================== */

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -.025em;
}
/* Small teal rule under section headings — a nod to the logo's smile */
.section-title-rule::after {
    content: '';
    display: block;
    width: 44px;
    height: 4px;
    margin-top: .6rem;
    border-radius: var(--r-pill);
    background: linear-gradient(90deg, var(--teal-500), var(--navy-600));
}

.band-soft {
    background:
        radial-gradient(700px 280px at 85% 0%, rgba(0, 144, 168, .07), transparent 60%),
        var(--surface-sunken);
}

.divider-smile {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.breadcrumb { font-size: .8rem; color: var(--ink-400); }
.breadcrumb a { color: var(--ink-500); }
.breadcrumb a:hover { color: var(--teal-600); }
.breadcrumb .current { color: var(--ink-700); font-weight: 500; }

/* Stat pill used on hero / profile headers */
.stat-block {
    text-align: center;
    padding: .65rem .5rem;
    border-radius: var(--r-md);
    background: var(--surface-muted);
    border: 1px solid var(--border);
}
.stat-block .stat-value {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--navy-900);
    font-size: .95rem;
}
.stat-block .stat-label {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ink-500);
}

/* =====================================================================
   Article body (blog + CMS pages)
   ===================================================================== */

.article-body { line-height: 1.8; color: var(--ink-700); font-size: 1.02rem; }
.article-body h2 {
    font-family: var(--font-display);
    font-size: 1.55rem; font-weight: 800;
    margin: 2rem 0 .8rem; color: var(--navy-900);
}
.article-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem; font-weight: 700;
    margin: 1.5rem 0 .6rem; color: var(--navy-900);
}
.article-body p { margin: 1rem 0; }
.article-body ul { list-style: disc; margin: 1rem 0 1rem 1.4rem; }
.article-body ol { list-style: decimal; margin: 1rem 0 1rem 1.4rem; }
.article-body li { margin: .4rem 0; }
.article-body li::marker { color: var(--teal-500); }
.article-body a { color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--link-hover); }
.article-body strong { color: var(--navy-900); }
.article-body img { border-radius: var(--r-lg); margin: 1.5rem 0; max-width: 100%; height: auto; box-shadow: var(--sh-sm); }
.article-body blockquote {
    border-left: 4px solid var(--teal-500);
    background: var(--teal-50);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    padding: .9rem 1.1rem;
    color: var(--navy-800);
    margin: 1.5rem 0;
    font-style: normal;
}
.article-body pre {
    background: var(--navy-950);
    color: #dbe7f5;
    padding: 1rem 1.15rem;
    border-radius: var(--r-md);
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: .875rem;
}
.article-body code { background: var(--teal-50); color: var(--teal-900); padding: .15rem .4rem; border-radius: 6px; font-size: .9em; }
.article-body pre code { background: transparent; color: inherit; padding: 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .92rem; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: .6rem .75rem; text-align: left; }
.article-body th { background: var(--surface-sunken); color: var(--navy-900); font-weight: 700; }
.article-body hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

/* =====================================================================
   FAQ accordion
   ===================================================================== */

.faq-item { transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.faq-item:hover { border-color: var(--teal-200); }
.faq-item[open] { border-color: var(--teal-300); box-shadow: var(--sh-md); }
.faq-item > summary { list-style: none; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-toggle {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--teal-50);
    color: var(--teal-600);
    font-size: 1.1rem;
    line-height: 1;
    transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--teal-600); color: #fff; }

/* =====================================================================
   Footer
   ===================================================================== */

.site-footer {
    background:
        radial-gradient(800px 400px at 85% 0%, rgba(0, 144, 168, .22), transparent 60%),
        var(--navy-950);
    color: var(--navy-200);
}
.site-footer h3 {
    color: #fff;
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.footer-link { color: var(--navy-200); font-size: .875rem; transition: color .15s var(--ease); }
.footer-link:hover { color: var(--teal-200); }
/* The logo keeps its own colours: it sits on a white plate, never recoloured. */
.footer-logo-plate {
    display: inline-flex;
    background: #fff;
    padding: .6rem .9rem;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
}
.social-dot {
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    transition: background-color .16s var(--ease), transform .16s var(--ease), border-color .16s var(--ease);
}
.social-dot:hover { background: var(--teal-600); border-color: var(--teal-500); transform: translateY(-2px); }

/* =====================================================================
   Pagination (vendor/pagination/tailwind.blade.php)
   ===================================================================== */

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 .7rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink-600);
    font-size: .875rem;
    font-weight: 600;
    transition: all .15s var(--ease);
}
.pagination-link:hover { border-color: var(--teal-300); color: var(--teal-700); background: var(--teal-50); }
.pagination-link.is-current {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: #fff;
    box-shadow: var(--sh-navy);
}
.pagination-link.is-disabled { opacity: .45; pointer-events: none; }

/* =====================================================================
   Ratings
   ===================================================================== */

.stars-empty { color: var(--ink-300); }
.stars-full  { color: var(--star); }

/* =====================================================================
   Motion preferences
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .card-hover:hover { transform: none; }
}
