/* =========================
   Reset + Base + Variables
   ========================= */
* { box-sizing: border-box; }

:root{
  --footer-h: 110px;      /* must match footer’s visual height */
  --header-h: 120px;      /* used for sticky nav offset */
  --content-max: 900px;

  --brand: #1f7a8c;
  --brand-2: #3a6f7a;
  --ink: #111111;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--ink);

  /* Clean: no background image */
  background: #ffffff;

  /* Reserve space so fixed footer never covers content */
  padding-bottom: var(--footer-h);
}

/* =========================
   Header (logo on right) + Sticky
   ========================= */
.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 40px;

  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(4px) saturate(1.15);

  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  max-height: 120px;
  height: auto;
  width: auto;
}

/* =========================
   Hero Banner
   ========================= */
.hero-header {
  height: 280px;        /* adjust: 220–320 is a good range */
  width: 100%;
  overflow: hidden;
  background: #ffffff;  /* fallback behind the image */
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* About + Insurance banner framing */
body.about .hero-img { object-position: center 100%; }
body.insurance .hero-img { object-position: center 60%; }

/* =========================
   Navigation (hamburger always) + Sticky
   ========================= */
.main-nav {
  padding: 14px 60px;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(4px) saturate(1.15);

  border-bottom: 1px solid #eef4f7;

  position: sticky;
  top: var(--header-h);
  z-index: 999;
}

/* Hamburger button ALWAYS visible */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font: inherit;
  font-size: 1.8rem;
  background: transparent;
  border: 2px solid #e6eef2;
  border-radius: 14px;
  padding: 12px 18px;
  cursor: pointer;

  color: var(--brand);
}

/* Links hidden until hamburger is clicked */
.nav-links {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.nav-links.is-open { display: flex; }

.nav-links a {
  text-decoration: none;
  color: #7a9fa6;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.nav-links a:hover { color: var(--brand); }

/* =========================
   Shared content grid + Bottom cushion
   ========================= */
.content {
  max-width: var(--content-max);

  /* Desktop: preserve your left-offset style */
  margin: 0 auto 0 80px;

  /* Big bottom padding = scroll cushion above fixed footer */
  padding: 30px 40px calc(var(--footer-h) + 120px) 80px;
}

/* =========================
   Hero (inside .content)
   ========================= */
.hero {
  margin: 0 0 28px 0;
  padding: 0;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: var(--brand);
  white-space: nowrap; /* no wrap on desktop */
}

.hero p {
  font-size: 1.25rem;
  margin: 0;
  color: var(--brand-2);
}

/* =========================
   Intro (inside .content)
   ========================= */
.intro { margin: 0; padding: 0; }

.intro p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 24px 0;
  color: #333;
}

/* =========================
   Wrapped portrait (text wraps around photo)
   ========================= */
.portrait-wrap {
  float: right;
  width: 300px;
  margin: 6px 0 18px 28px;
}

.portrait {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.18),
    0 0 0 6px rgba(120, 180, 220, 0.08),
    0 0 40px 12px rgba(120, 180, 220, 0.16);
}

/* Ensure .intro contains floated image */
.intro::after {
  content: "";
  display: block;
  clear: both;
}

/* =========================
   Plan list (if used)
   ========================= */
.plan-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.plan-list li {
  border: 1px solid #eef4f7;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;

  font-family: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f6b6f;
}

/* =========================
   Fixed Footer
   ========================= */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);

  z-index: 1000;
  text-align: center;
}

.footer-inner {
  width: 100%;
  margin: 0 auto;
  padding: 12px 40px 16px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-motto {
  max-height: 48px;
  height: auto;
  width: auto;
  opacity: 0.7;

  margin: 0 0 10px 0;
  display: block;
}

.footer-copyright {
  width: 100%;
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  margin: 0;
}

/* =========================
   Bottom Banner (Sunrise)
   ========================= */
.bottom-banner {
  width: 100%;
  height: 260px;        /* adjust: 200–320px works well */
  overflow: hidden;
  background: #ffffff;
  margin-top: 80px;
}

.bottom-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

/* =========================
   Responsive tweaks
   ========================= */
@media (max-width: 768px) {
  :root { --header-h: 110px; }

  .main-nav { padding: 12px 20px; }
  .site-header { padding: 18px 20px; }

  .content {
    margin: 0 auto;
    padding: 60px 20px calc(var(--footer-h) + 100px) 20px;
  }

  .hero h1 {
    white-space: normal;
    font-size: 2.2rem;
  }

  .hero p { font-size: 1.1rem; }

  .portrait-wrap {
    float: none;
    width: min(320px, 100%);
    margin: 18px auto;
  }
}
.name {
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.contact,
.address {
  margin: 0.6rem 0;
  line-height: 1.5;
}

.emergency {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #444;
}
