/* ============================================================
   Blue Heron Companies — landing page styles
   Palette: deep slate-blue + heron teal, warm neutral text
   ============================================================ */

:root {
  --navy: #0f2740;
  --navy-700: #14365a;
  --teal: #1f8a9c;
  --teal-bright: #2bb7cc;
  --sky: #e8f3f6;
  --ink: #18222e;
  --muted: #5a6b7b;
  --line: #e2e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f9fb;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -24px rgba(15, 39, 64, 0.45);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-bright); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .8rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -12px rgba(31, 138, 156, .8); }
.btn-primary:hover { background: var(--teal-bright); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--navy); font-family: 'Sora', sans-serif; }
.brand-mark { display: inline-flex; width: 38px; height: 38px; border-radius: 8px; object-fit: contain; }
.brand-text { font-size: 1.1rem; font-weight: 600; }
.brand-text strong { color: var(--teal); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: var(--navy); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--teal); }
.nav-links .btn { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(105deg, rgba(12,34,56,.92) 0%, rgba(15,39,64,.78) 42%, rgba(15,39,64,.30) 100%),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center right;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,34,56,.55), transparent 35%);
}
.hero-inner { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 24px clamp(3.5rem, 7vw, 6rem); max-width: 880px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; font-weight: 600; color: var(--teal-bright); margin-bottom: 1rem; }
.hero-title { color: #fff; font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #d4e3ee; max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 2.6rem; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 2.2rem; padding: 1.6rem 0 0; margin: 0; border-top: 1px solid rgba(255,255,255,.15); }
.hero-facts li { font-weight: 600; font-size: 1.02rem; color: #fff; }
.hero-facts span { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal-bright); font-weight: 600; margin-bottom: .25rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: .6rem; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 620px; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.founder { display: flex; align-items: center; gap: 1rem; margin: 1.6rem 0 0; padding: 1rem 1.2rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.founder-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--teal); background: var(--sky); flex-shrink: 0; }
.founder figcaption { display: flex; flex-direction: column; }
.founder-name { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--navy); }
.founder-role { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.founder-link { font-size: .9rem; font-weight: 600; margin-top: .2rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.section-head { max-width: 640px; margin-bottom: 2.8rem; }
.section-head .lead { margin-top: .4rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(15,39,64,.5); }
.card-ico { font-size: 1.7rem; margin-bottom: .8rem; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Flagship product ---------- */
.flagship { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 60%, #0c2238 100%); color: #fff; }
.flagship-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.flagship h2 { color: #fff; }
.kicker-light { color: var(--teal-bright); }
.lead-light { color: #cfe0ec; }
.flagship-cta { margin-top: 1.6rem; }
.flagship-badge {
  display: grid; place-items: center; aspect-ratio: 1; max-width: 280px; margin-left: auto;
  border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(43,183,204,.45), rgba(31,138,156,.15));
  border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 0 60px rgba(43,183,204,.25);
}
.flagship-badge span { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.4rem; text-align: center; color: #fff; line-height: 1.25; }

@media (max-width: 760px) {
  .flagship-inner { grid-template-columns: 1fr; }
  .flagship-badge { max-width: 200px; margin: 0 auto; }
}

/* ---------- Contact ---------- */
.contact-grid { align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.ci { font-size: 1.3rem; line-height: 1.4; }
.ci-label { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; margin-bottom: .15rem; }
.contact-list a { color: var(--navy); font-weight: 600; }
.contact-list a:hover { color: var(--teal); }

.social { margin-top: 1.5rem; }
.social-links { display: flex; gap: .8rem; margin-top: .6rem; }
.social-links a {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--sky); color: var(--navy); font-weight: 600; font-size: .9rem;
  padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line);
}
.social-links a:hover { background: var(--teal); color: #fff; }

/* ---------- Form ---------- */
.form-card { box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: 1.2rem; }
form { display: grid; gap: 1rem; }
form label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--navy); }
form input, form textarea {
  font: inherit; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-alt); color: var(--ink); resize: vertical;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(43,183,204,.18); }
.form-note { font-size: .85rem; color: var(--muted); margin: .2rem 0 0; font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cdddea; padding: 3rem 0 2rem; }
.footer-inner { display: grid; gap: 1.2rem; }
.footer-brand .brand-text { color: #fff; font-family: 'Sora', sans-serif; font-size: 1.15rem; }
.footer-brand .brand-text strong { color: var(--teal-bright); }
.footer-brand p { color: #9db4c7; margin: .4rem 0 0; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-meta a { color: #cdddea; font-weight: 500; }
.footer-meta a:hover { color: #fff; }
.copyright { font-size: .85rem; color: #829bb1; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .cards { grid-template-columns: 1fr; }
  .hero-facts { gap: 1.4rem; }
}
