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

:root {
  --footer-h: 110px;
  --content-max: 900px;

  --brand: #1f7a8c;
  --brand-2: #3a6f7a;
  --ink: #111111;
  --nav-bg: rgba(10, 25, 45, 0.9);
  --nav-hover: #cfdff7;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #ffffff;
  padding-bottom: var(--footer-h);
}

/* =========================
   Header
   ========================= */
.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);
}

.logo,
.logo-link {
  display: block;
}

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

/* =========================
   Hero Banner
   ========================= */
.hero-header {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

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

body.about .hero-img {
  object-position: center 100%;
}

body.insurance .hero-img {
  object-position: center 60%;
}

/* =========================
   Navigation
   ========================= */
.main-nav {
  width: 100%;
  background: var(--nav-bg);
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  overflow: hidden;
}

.nav-toggle {
  display: none !important;
}

.nav-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.95rem 2rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: nowrap;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--nav-hover);
  border-bottom-color: var(--nav-hover);
}

/* =========================
   Content
   ========================= */
.content {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 40px 20px calc(var(--footer-h) + 80px);
}

.hero {
  margin: 0;
  padding: 0;
}

.hero h1,
.name {
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--brand);
}

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

.intro {
  margin: 0;
  padding: 0;
}

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

/* =========================
   Portrait
   ========================= */
.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);
}

.intro::after {
  content: "";
  display: block;
  clear: both;
}

/* =========================
   Plan List
   ========================= */
.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: #ffffff;
  font-weight: 600;
  color: #0f6b6f;
}

/* =========================
   Video
   ========================= */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin-top: 20px;
}

.video-wrap iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

/* =========================
   Contact Text
   ========================= */
.contact-info,
.address,
.emergency {
  margin: 0.6rem 0;
  line-height: 1.5;
  color: var(--brand-2);
}

.emergency {
  font-size: 0.95rem;
}

/* =========================
   Bottom Banner
   ========================= */
.bottom-banner {
  width: 100%;
  height: 260px;
  overflow: hidden;
  margin-top: 80px;
}

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

/* =========================
   Footer
   ========================= */
.site-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.footer-inner {
  padding: 10px 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-motto {
  max-height: 48px;
  width: auto;
  height: auto;
  margin-bottom: 6px;
  opacity: 0.7;
}

.footer-copyright {
  font-size: 0.8rem;
  color: #666666;
  text-align: center;
}

/* =========================
   Tablet
   ========================= */
@media (max-width: 900px) {
  .nav-links {
    gap: 1.4rem;
    padding: 0.85rem 1rem;
  }

  .nav-links a {
    font-size: 0.82rem;
  }
}

/* =========================
   Mobile
   ========================= */
@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .hero-header {
    height: 120px;
  }

  .site-header {
    justify-content: flex-end;
    padding: 14px 40px;
  }

  .logo {
    max-height: 90px;
    max-width: 75%;
    width: auto;
  }

  .main-nav {
    width: 100%;
    padding: 0 16px;
  }

  .nav-links {
    width: 100%;
    max-width: 100%;
    padding: 0.8rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
  }

  .nav-links a {
    font-size: 0.52rem;
    letter-spacing: 0.035em;
    padding: 0.25rem 0;
    white-space: nowrap;
  }

  .content {
    width: 100%;
    max-width: 100%;
    padding: 32px 20px calc(var(--footer-h) + 70px);
  }

  .hero h1,
  .name {
    font-size: 1.85rem;
  }

  .hero p,
  .contact-info,
  .address,
  .emergency {
    font-size: 1rem;
  }

  .intro p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .portrait-wrap {
    float: none;
    width: 140px;
    max-width: 55%;
    margin: 14px auto 20px;
  }

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

  .bottom-banner {
    height: 160px;
    margin-top: 40px;
  }

  .footer-motto {
    max-height: 36px;
  }

  .footer-copyright {
    font-size: 0.76rem;
  }
}