﻿:root {
  --sindelar-navy: #03295f;
  --sindelar-navy-deep: #011d44;
  --sand: #f4f0df;
  --cream: #fbf9ef;
  --text: #13233e;
  --card: #ffffff;
  --line: rgba(3, 41, 95, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, #fff7d8 0%, transparent 40%),
    radial-gradient(circle at 90% 35%, #efe7c8 0%, transparent 35%),
    var(--cream);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 80px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(251, 249, 239, 0.95), rgba(251, 249, 239, 0.4));
  backdrop-filter: blur(8px);
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-mark {
  height: clamp(26px, 3.8vw, 36px);
  width: auto;
  display: block;
  opacity: 0.96;
}

.brand-word {
  color: var(--sindelar-navy);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.main-nav {
  display: flex;
  gap: 1.4rem;
}

.main-nav a {
  color: var(--sindelar-navy-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--sindelar-navy);
}

.hero {
  min-height: 96vh;
  padding: 22vh 4vw 12vh;
  display: flex;
  align-items: flex-end;
  background-color: #e9e3c8;
  background:
    linear-gradient(to top, rgba(1, 29, 68, 0.5), rgba(1, 29, 68, 0.08) 45%, rgba(251, 249, 239, 0.08)),
    url("assets/hero-family-cropped.jpeg") center 8% / contain no-repeat;
}

.hero-content {
  max-width: 900px;
  color: #f4f7ff;
  animation: rise 0.7s ease-out both;
  margin-left: clamp(0.5rem, 2vw, 1.4rem);
  margin-bottom: clamp(1.2rem, 3vh, 2.4rem);
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.hero h1 {
  margin: 0;
  line-height: 0.95;
  font-size: clamp(2.6rem, 9vw, 6.2rem);
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-subline {
  margin-top: 1rem;
  font-size: clamp(1.05rem, 2.4vw, 2rem);
  font-weight: 600;
  color: #e9efff;
}

.hero-cta {
  display: inline-block;
  margin-top: 1.8rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  background: rgba(1, 29, 68, 0.35);
}

.branches,
.about {
  padding: 5rem 4vw;
}

.section-head h2,
.about h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--sindelar-navy-deep);
}

.eyebrow {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: rgba(1, 29, 68, 0.75);
  font-weight: 700;
}

.branch-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.branch-card {
  background: linear-gradient(160deg, var(--card), #f8f5e8);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.2rem;
  box-shadow: 0 16px 24px -22px rgba(1, 29, 68, 0.5);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 30px -22px rgba(1, 29, 68, 0.6);
}

.branch-card h3 {
  margin: 0;
  color: var(--sindelar-navy);
}

.branch-card p {
  margin: 0.75rem 0 1rem;
  line-height: 1.5;
}

.branch-card a {
  color: var(--sindelar-navy-deep);
  font-weight: 700;
  text-decoration: none;
}

.about p {
  max-width: 900px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  padding: 2rem 4vw 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer-brand {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--sindelar-navy);
}

.footer-mail {
  align-self: center;
  color: var(--sindelar-navy);
  font-weight: 700;
  text-decoration: none;
}

.footer-links {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .branch-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 74px;
  }

  .brand {
    gap: 0.35rem;
  }

  .brand-word {
    font-size: 1.68rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    right: 4vw;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: 0 14px 24px -20px rgba(1, 29, 68, 0.9);
    padding: 0.7rem;
    display: none;
    min-width: 180px;
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    padding: 0.7rem;
    border-radius: 0.6rem;
  }

  .main-nav a:hover {
    background: #f4f6ff;
  }

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

  .hero {
    min-height: 88vh;
    padding-top: 20vh;
    background-position: center 10%;
  }

  .hero-content {
    margin-left: 0;
    margin-bottom: 1rem;
  }

  .branch-grid {
    grid-template-columns: 1fr;
  }
}
