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

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #333;
}

a { color: #1e3a6e; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: #fff;
  border-bottom: 1px solid #dde2eb;
}

.logo-block h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  color: #1e3a6e;
  font-weight: bold;
}

.logo-block .tagline { font-size: 12px; color: #555; margin-top: 2px; }
.logo-block .sub-tagline { font-size: 12px; color: #555; font-style: italic; }

.header-right { display: flex; align-items: center; gap: 24px; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: #444;
}

.contact-info span { display: flex; align-items: center; gap: 7px; }
.contact-info .icon { width: 16px; text-align: center; color: #1e3a6e; }

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #1e3a6e;
  color: #fff;
  padding: 9px 18px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-login:hover { background: #16305a; }

/* ── Navigation ── */
.main-nav { background: #1e3a6e; }

.main-nav ul { display: flex; list-style: none; padding: 0 24px; }

.main-nav ul li a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.main-nav ul li a:hover,
.main-nav ul li a.active { background: rgba(255,255,255,0.15); }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: #1e3a6e;
  color: #fff;
  padding: 10px 22px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover { background: #16305a; color: #fff; text-decoration: none; }

.btn-outline {
  display: inline-block;
  background: #fff;
  color: #1e3a6e;
  padding: 10px 22px;
  border: 2px solid #1e3a6e;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}
.btn-outline:hover { background: #f0f4fb; text-decoration: none; }

/* ── Hero (photo + copy layout) ── */
.hero { display: flex; min-height: 280px; }

.hero-photo { width: 52%; overflow: hidden; }

.hero-photo-placeholder {
  width: 100%;
  min-height: 280px;
  height: 100%;
  background: linear-gradient(135deg, #c2d2e8 0%, #8fa8cc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a728a;
  font-size: 13px;
  font-style: italic;
}

.hero-photo img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.footer-map-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.svc-icon img {
  height: 48px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-copy {
  width: 48%;
  padding: 44px 44px 44px 40px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  color: #1e3a6e;
  line-height: 1.35;
  margin-bottom: 14px;
}

.hero-copy p { color: #555; line-height: 1.65; font-size: 14px; margin-bottom: 22px; }

.hero-buttons { display: flex; gap: 12px; }

/* ── Checklist ── */
.checklist { list-style: none; color: #555; font-size: 13px; }
.checklist li { padding: 3px 0; }
.checklist li::before { content: "✓ "; color: #1e3a6e; font-weight: bold; }

/* ── Page title (non-hero pages) ── */
.page-title {
  padding: 28px 32px 20px;
  background: #fff;
  border-bottom: 1px solid #dde2eb;
}

.page-title h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  color: #1e3a6e;
  margin-bottom: 8px;
}

.page-title p { font-size: 13px; color: #666; line-height: 1.6; }

/* ── Footer ── */
.site-footer {
  display: flex;
  gap: 24px;
  padding: 24px 32px;
  background: #fff;
  border-top: 1px solid #dde2eb;
}

.footer-col { flex: 1; }

.footer-col h4 { font-size: 14px; font-weight: bold; color: #1e3a6e; margin-bottom: 10px; }
.footer-col address { font-style: normal; font-size: 12px; color: #555; line-height: 1.7; }
.footer-col p { font-size: 12px; color: #555; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { padding: 2px 0; }
.footer-col ul li a { font-size: 12px; color: #1e3a6e; }

.map-placeholder {
  width: 100%;
  height: 110px;
  background: #d0dce8;
  border: 1px solid #c0ccd8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a90a4;
  font-size: 12px;
  font-style: italic;
}

.email-row { display: flex; gap: 6px; margin-top: 10px; }

.email-row input[type="email"] {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 12px;
  outline: none;
}
.email-row input[type="email"]:focus { border-color: #1e3a6e; }

.email-row button {
  background: #1e3a6e;
  color: #fff;
  padding: 7px 14px;
  border: none;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
}
.email-row button:hover { background: #16305a; }

/* ── Login modal ── */
.login-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.login-overlay.open { display: flex; }

.login-modal {
  background: #fff;
  border: 1px solid #dde2eb;
  border-radius: 5px;
  width: 380px;
  padding: 32px 36px 28px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.login-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.login-modal-close:hover { color: #333; }

.login-modal h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  color: #1e3a6e;
  margin-bottom: 4px;
}

.login-modal .login-sub {
  font-size: 12px;
  color: #888;
  margin-bottom: 22px;
}

.login-modal .form-group {
  margin-bottom: 14px;
}

.login-modal .form-group label {
  display: block;
  font-size: 13px;
  color: #444;
  font-weight: bold;
  margin-bottom: 4px;
}

.login-modal .form-group input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}
.login-modal .form-group input:focus { border-color: #1e3a6e; }

.login-modal .btn-primary {
  width: 100%;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  margin-top: 6px;
}

.login-error {
  display: none;
  font-size: 12px;
  color: #c0392b;
  background: #fdf0ef;
  border: 1px solid #e8b8b4;
  border-radius: 3px;
  padding: 7px 10px;
  margin-bottom: 10px;
}

@keyframes legacy-blink {
  0%, 100% { opacity: 1; }
  49%       { opacity: 1; }
  50%       { opacity: 0; }
  99%       { opacity: 0; }
}

.legacy-blink { animation: legacy-blink 0.9s step-start infinite; }

.legacy-title {
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legacy-btn {
  width: 100%;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 6px;
}

.login-reset-intro {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
}

.login-reset-confirm {
  font-size: 13px;
  color: #2e6b3e;
  background: #eef7f1;
  border: 1px solid #b4d9c1;
  border-radius: 3px;
  padding: 12px 14px;
  line-height: 1.6;
}

.login-modal-links {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 12px;
}

.login-modal-links a { color: #1e3a6e; }

/* ── Bottom bar ── */
.bottom-bar {
  background: #1e3a6e;
  color: #b8c8de;
  font-size: 12px;
  padding: 10px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
