:root {
  --bg: #fbfcfc;
  --surface: #ffffff;
  --ink: #17333a;
  --muted: #5f7478;
  --line: #dce9e8;
  --teal: #0e766f;
  --teal-dark: #09514d;
  --aqua: #dff5f1;
  --mint: #effaf6;
  --warm: #f4ede4;
  --shadow: 0 18px 50px rgba(23, 51, 58, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 252, 252, 0.9);
  border-bottom: 1px solid rgba(220, 233, 232, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  width: clamp(170px, 20vw, 230px);
  height: auto;
  flex: 0 0 auto;
}

.brand span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.25;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--teal);
}

main > section,
.site-footer {
  padding: clamp(56px, 9vw, 104px) clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding-top: clamp(34px, 7vw, 76px);
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  max-width: 780px;
  font-size: clamp(2rem, 4.8vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.lead {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--teal);
}

.button.secondary {
  color: var(--teal-dark);
  background: white;
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media::before {
  position: absolute;
  inset: 22px -18px -18px 18px;
  z-index: -1;
  content: "";
  background: var(--aqua);
  border-radius: 8px;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.band {
  background: linear-gradient(135deg, var(--mint), var(--warm));
}

.section-heading {
  margin-bottom: clamp(26px, 5vw, 46px);
}

.notice-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}

.notice-list {
  display: grid;
  gap: 16px;
}

.notice {
  padding: clamp(22px, 4vw, 34px);
  background: #fff8eb;
  border: 1px solid #f0d9ad;
  border-radius: 8px;
}

.notice time {
  display: inline-block;
  margin-bottom: 12px;
  color: #8a5a00;
  font-weight: 800;
}

.notice p {
  margin-bottom: 12px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.notice p:last-child {
  margin-bottom: 0;
}

.notice ul {
  margin: 0 0 12px;
  padding-left: 1.2rem;
  color: var(--muted);
}

.notice li + li {
  margin-top: 4px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 5vw, 54px);
  max-width: 1080px;
  color: #345257;
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article,
.team-list article,
.contact-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--teal);
  font-weight: 900;
}

.service-grid p,
.team-list p,
.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.team-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

address {
  font-style: normal;
}

.contact-card a:not(.text-link) {
  color: var(--teal-dark);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.map-card {
  background:
    linear-gradient(135deg, rgba(14, 118, 111, 0.1), rgba(244, 237, 228, 0.82)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(14, 118, 111, 0.08) 18px 19px);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  padding-top: 28px;
  padding-bottom: 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .notice-section,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .brand-logo {
    width: min(240px, 78vw);
  }

  .main-nav {
    justify-content: flex-start;
  }

  main > section,
  .site-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-media::before {
    inset: 12px -8px -8px 8px;
  }

  .service-grid,
  .team-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
