
/* Bridge of Home Care — Styles (light, clean, fast) */
:root {
  --bg: #ffffff;
  --text: #0f172a; /* slate-900 */
  --muted: #475569; /* slate-600 */
  --brand: #2e7d8a; /* teal-ish */
  --brand-2: #a5c9ca; /* soft teal */
  --accent: #f1f5f9; /* slate-100 */
  --ring: rgba(46,125,138,0.35);
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(15,23,42,0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth;}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  line-height: 1.6;
  font-size: 16px;
}

.container { width: min(1100px, 92vw); margin: 0 auto; }

header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #e2e8f0;
}
.nav-inner {
  display:flex; align-items: center; justify-content: space-between; padding: 14px 0;
}
.logo { display:flex; align-items:center; gap: 10px; text-decoration:none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.logo-mark::after {
  content:""; position:absolute; inset: 7px; border-radius:8px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), rgba(255,255,255,0));
}
.logo-word { font-weight: 800; font-size: 18px; color: var(--text); }
.logo-sub { display:block; font-weight:600; letter-spacing:.3px; color: var(--brand); font-size: 11px; margin-top:-4px; }

nav a {
  color: var(--muted); text-decoration:none; font-weight:600; padding: 10px 12px; border-radius: 10px;
}
nav a.active, nav a:hover { color: var(--text); background: var(--accent);}

.cta-btn, .ghost-btn {
  appearance:none; border: 1px solid transparent; border-radius: 12px;
  padding: 10px 16px; font-weight:700; cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; gap:10px;
}
.cta-btn {
  background: var(--brand); color: #fff; box-shadow: var(--shadow);
}
.cta-btn:hover { filter: brightness(1.05);}
.ghost-btn { border-color: #cbd5e1; color: var(--text); background:#fff; }
.ghost-btn:hover { background: var(--accent);}

.hero {
  background: linear-gradient(180deg, #f8fbfc, #ffffff);
  border-bottom: 1px solid #e2e8f0;
}
.hero-inner { padding: 60px 0; display:grid; grid-template-columns: 1.2fr .8fr; gap: 40px; }
.hero h1 { font-size: clamp(28px, 5vw, 44px); line-height:1.15; margin: 8px 0 10px; }
.hero p.lead { font-size: clamp(16px, 2.5vw, 20px); color: var(--muted); margin: 0 0 18px; }
.kv {
  border-radius: 16px; background: linear-gradient(135deg, var(--accent), #fff);
  border: 1px solid #e2e8f0; min-height: 260px; position:relative; overflow:hidden;
  box-shadow: var(--shadow);
}
.kv::after {
  content:""; position:absolute; inset:0;
  background: radial-gradient(600px 200px at 20% 0%, rgba(46,125,138,.12), rgba(46,125,138,0));
}

.badges { display:flex; flex-wrap:wrap; gap:10px; margin-top: 16px; }
.badge {
  font-size:12px; color: var(--brand); background:#e6f3f4; border:1px solid #cce4e6; padding:6px 10px; border-radius:999px; font-weight:700;
}

.grid { display:grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  padding: 18px; border-radius: 16px; border:1px solid #e2e8f0; background: var(--card); box-shadow: var(--shadow);
}
.card h3 { margin: 8px 0 10px; }
.card p { margin: 0; color: var(--muted); }
.card .list { margin:10px 0 0 18px; }
.card .list li { margin: 4px 0; }

.section { padding: 46px 0; }
.section h2 { font-size: clamp(24px, 3.5vw, 32px); margin: 0 0 16px;}
.section .sub { color: var(--muted); margin-top:-8px; }

footer {
  margin-top: 40px; border-top: 1px solid #e2e8f0; background: #fcfcfd;
}
.footer-inner {
  padding: 28px 0; display:grid; grid-template-columns:2fr 1fr 1fr 1.2fr; gap: 24px;
}
.footer-col h4 { margin: 0 0 10px; }
.footer-col a { display:block; color: var(--muted); text-decoration:none; padding: 4px 0; }
.footer-col a:hover { color: var(--text); }

.copy {
  font-size: 13px; color: var(--muted); padding: 14px 0 26px; border-top:1px solid #e2e8f0; text-align:center;
}

.kicker { text-transform: uppercase; letter-spacing:.14em; font-weight:800; font-size: 12px; color: var(--brand);}

.split { display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }

blockquote.notice {
  margin: 0; padding: 14px 16px; border-left: 4px solid var(--brand); background: #f0f8f9; color: #0b3641; border-radius: 10px;
}
table.kvp { width:100%; border-collapse: collapse; }
table.kvp th, table.kvp td { text-align:left; padding: 10px; border-bottom: 1px solid #e2e8f0; }
table.kvp th { width: 32%; color: var(--muted); font-weight: 600;}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  nav .hide-sm { display:none; }
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity:1; transform:none; }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: #0b1f24; color: #fff; padding: 14px 16px; border-radius: 12px;
  display:flex; gap: 14px; align-items:center; box-shadow: var(--shadow); z-index: 99;
  max-width: 960px;
}
.cookie-banner p { margin:0; font-size: 14px; }
.cookie-banner button {
  border:none; background: var(--brand); color:#fff; padding: 10px 14px; border-radius: 10px; font-weight:700; cursor:pointer;
}
.cookie-banner a { color: #c6f1ff; }

/* Forms */
form .field { display:flex; flex-direction:column; gap:6px; margin-bottom:12px; }
input, textarea, select {
  width:100%; padding:12px 12px; border-radius:12px; border:1px solid #cbd5e1; font: inherit;
}
input:focus, textarea:focus { outline: 2px solid var(--ring); border-color: var(--brand); }

/* Utility */
ul.inline { list-style: none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:10px; }
.sep { height: 1px; background:#e2e8f0; margin: 10px 0 18px; }
