/* =========================================================
   Able Aide Global Styles – Cleaned 2025 Edition
   Includes universal .hero-img + natural image behaviour
========================================================= */

/* --------------------------
   RESET
--------------------------- */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2933;
    background: #ffffff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    margin: 0 0 .5rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
}

p { margin: 0 0 1rem; }

a {
    color: #0b7285;
    text-decoration: none;
}
a:hover { text-decoration: underline; }

.small { font-size: .9rem; color: #4b5563; }
.center { text-align: center; }

/* --------------------------
   GLOBAL IMAGE HANDLING
--------------------------- */

/* ALL IMAGES default to natural aspect ratio */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* UNIVERSAL HERO IMAGE CLASS (Option A) */
.hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    display: block;
}

/* Hero card stays tidy */
.hero-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* --------------------------
   CONTAINER
--------------------------- */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* --------------------------
   TOP TRUST BAR
--------------------------- */

.top-trust-bar {
    background: #0b7285;
    color: #e6f6f9;
    font-size: .9rem;
}

.top-trust-bar-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .4rem 0;
}
.top-trust-left,
.top-trust-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
}
.top-trust-badge {
    padding: .15rem .6rem;
    border-radius: 999px;
    border: 1px solid rgba(229,246,249,.4);
    font-size: .8rem;
}
.top-trust-link { color: #e6f6f9; text-decoration: underline; }

@media (max-width:700px){
    .top-trust-bar-inner { flex-direction: column; align-items: flex-start; }
}

/* --------------------------
   HEADER
--------------------------- */

.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 0;
    gap: 1rem;
}

/* LOGO */
.logo { display: flex; align-items: center; gap: .65rem; color: inherit; }
.logo-img { height: 46px; width: auto; }
.logo-mark { font-weight: 700; font-size: 1.15rem; }
.logo-tagline { font-size: .85rem; color: #6b7280; }

/* NAV */
.main-nav { display: flex; align-items: center; }
.nav-list {
    display: flex; list-style: none; gap: 1.25rem;
    margin: 0; padding: 0;
}
.nav-list>li>a {
    font-size: .95rem; font-weight: 500; padding: .4rem 0;
    color: #111827; position: relative;
}
.nav-list>li>a:hover { color: #0b7285; }

.nav-list>li>a.active::after,
.nav-list>li>a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%; height: 2px;
    background: #0b7285;
    border-radius: 999px;
}

/* DROPDOWN */
.nav-has-children { position: relative; }
.nav-has-children>a::after {
    content: "▾"; font-size: .7rem; margin-left: .2rem;
}
.nav-submenu {
    display: none; position: absolute; top: 120%; left: 0;
    min-width: 240px; list-style: none;
    background: #fff; border-radius: .5rem;
    box-shadow: 0 14px 30px rgba(15,23,42,.14);
    padding: .5rem 0;
}
.nav-submenu li a {
    padding: .45rem 1rem;
    display: block; color: #111827;
}
.nav-submenu li a:hover {
    background: #f3f4f6; color: #0b7285;
}

@media(min-width:901px){
    .nav-has-children:hover>.nav-submenu{display:block;}
}

/* HEADER CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* --------------------------
   BUTTONS
--------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .6rem 1.15rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .95rem; font-weight: 500;
    cursor: pointer; white-space: nowrap;
    transition: .18s ease;
}
.btn-primary {
    background: #0b7285; color:#fff;
    box-shadow:0 10px 20px rgba(11,114,133,.25);
}
.btn-primary:hover {
    background:#085b6a;
    box-shadow:0 14px 28px rgba(8,91,106,.35);
    transform:translateY(-1px);
}
.btn-secondary { background:#e0f4f7; color:#0b7285; }
.btn-outline { background:#fff; border-color:#0b7285; color:#0b7285; }
.btn-block { width:100%; }

/* --------------------------
   HERO
--------------------------- */

.hero {
    background: linear-gradient(135deg,#f1fbfd 0%,#ffffff 55%);
    padding: 2.8rem 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-highlights {
    list-style:none; padding:0; margin:1rem 0;
}
.hero-highlights li {
    position:relative; padding-left:1.2rem; color:#374151;
}
.hero-highlights li::before {
    content:"•"; position:absolute; left:0; top:0; color:#0b7285;
}

.hero-actions {
    display:flex; flex-wrap:wrap; gap:.75rem; margin:1.25rem 0 .6rem;
}

.hero-badge-group {
    display:flex; flex-direction:column; gap:.35rem; margin-top:.8rem;
}
.badge {
    display:inline-flex; padding:.35rem .7rem;
    border-radius:999px; background:#e0f4f7; color:#064e5a;
    font-size:.8rem;
}
.badge-hours { background:#fef3c7; color:#92400e; }

/* --------------------------
   TRUST BAR
--------------------------- */

.trust-bar {
    background:#f9fafb;
    border-top:1px solid #e5e7eb;
    border-bottom:1px solid #e5e7eb;
    padding:1.3rem 0;
}
.trust-inner {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1.5rem;
}
.trust-item p { color:#4b5563; font-size:.93rem; }

/* --------------------------
   CARDS & GRID
--------------------------- */

.card-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1.5rem;
    margin-top:1.5rem;
}

.card {
    background:#fff;
    border-radius:.9rem;
    padding:1.1rem;
    border:1px solid #e5e7eb;
    box-shadow:0 5px 14px rgba(15,23,42,.04);
}
.card h3 { margin-bottom:.4rem; }

/* --------------------------
   STEPS
--------------------------- */

.steps-list {
    list-style:none; padding:0;
    display:grid; grid-template-columns:repeat(3,1fr);
    gap:1.5rem; margin-top:1.5rem;
}

/* --------------------------
   REGIONS
--------------------------- */

.regions { background:#f9fafb; }
.regions-list {
    columns:2; list-style:none;
    padding:0; margin:1.4rem 0 .6rem;
    column-gap:2.5rem;
}
.regions-list li { margin-bottom:.35rem; }

/* --------------------------
   SIDEBAR
--------------------------- */

.layout-with-sidebar {
    display:grid;
    grid-template-columns:minmax(0,.7fr) minmax(260px,.3fr);
    gap:2rem;
}
.sidebar-card {
    background:#fff; border:1px solid #e5e7eb;
    border-radius:.9rem; padding:1rem 1.1rem;
    margin-bottom:1rem;
}

/* --------------------------
   FLOATING CTA
--------------------------- */

.floating-cta {
    position:fixed; right:1.25rem; bottom:1.25rem;
    z-index:60; display:flex; flex-direction:column; gap:.5rem;
    align-items:flex-end;
}
.floating-cta-panel {
    width:260px; max-width:80vw; background:#fff;
    border-radius:1rem; padding:1rem;
    opacity:0; pointer-events:none;
    transform:scale(.95) translateY(8px);
    transition:.2s ease;
    border:1px solid #e5e7eb;
    box-shadow:0 18px 40px rgba(15,23,42,.35);
}
.floating-cta.open .floating-cta-panel {
    opacity:1; pointer-events:auto; transform:scale(1) translateY(0);
}

/* --------------------------
   FOOTER
--------------------------- */

.site-footer {
    background:#0f172a;
    color:#e5e7eb;
    padding:2.4rem 0 1.6rem;
}
.footer-inner {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:2rem;
}
.footer-links { list-style:none; padding:0; }

/* --------------------------
   RESPONSIVE
--------------------------- */

@media(max-width:900px){
    .header-inner { flex-wrap:wrap; }
    .main-nav {
        display:block; max-height:0; overflow:hidden;
        position:absolute; top:100%; left:0; right:0;
        background:#fff; border-bottom:1px solid #e5e7eb;
        transition:max-height .25s ease;
    }
    .main-nav.open { max-height:500px; }
    .nav-list { flex-direction:column; padding:1rem; gap:.5rem; }
    .nav-submenu { position:static; display:block; box-shadow:none; }
    .hero-inner { grid-template-columns:1fr; }
    .trust-inner { grid-template-columns:1fr; }
    .card-grid { grid-template-columns:repeat(2,1fr); }
    .steps-list { grid-template-columns:1fr; }
    .regions-list { columns:1; }
    .layout-with-sidebar { grid-template-columns:1fr; }
    .footer-inner { grid-template-columns:repeat(2,1fr); }
}

@media(max-width:640px){
    .card-grid { grid-template-columns:1fr; }
    .footer-inner { grid-template-columns:1fr; }
}
