:root {
  --navy: #0a254d;
  --sky: #2b7bb9;
  --mint: #e8f4fc;
  --sand: #fff8f0;
  --text: #1a2332;
  --muted: #5a6577;
  --surface: #ffffff;
  --border: #d5e3ef;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(10, 37, 77, 0.08);
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Mulish", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: #f7fbfe;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sky);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--navy);
}

h1, h2, h3, h4, h5 {
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.page-main {
  flex: 1 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--surface);
  border-bottom: 3px solid var(--navy);
  box-shadow: 0 2px 12px rgba(10, 37, 77, 0.06);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
  font-weight: 700;
}

.site-nav a {
  color: var(--navy);
}

.site-nav a:hover {
  color: var(--sky);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(43, 123, 185, 0.18), transparent 55%),
    linear-gradient(135deg, #d6ebf8 0%, var(--mint) 45%, #f0f7fc 100%);
  padding: 2rem 0 2.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, transparent 60%, rgba(10, 37, 77, 0.03) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.hero__intro {
  max-width: 34rem;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.5rem;
}

.hero__title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.hero__lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.quote-panel {
  background: var(--surface);
  border-radius: var(--radius);
  border-bottom: 6px solid var(--sky);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1.5rem;
}

.quote-panel__title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 2.75rem 0 3.25rem;
  }

  .hero__inner {
    grid-template-columns: 1fr minmax(280px, 420px);
    gap: 2rem;
  }

  .site-logo img {
    height: 64px;
  }
}

/* ---------- Services ---------- */

.service {
  padding: 3rem 0;
}

.service--mint {
  background: var(--mint);
}

.service--sand {
  background: var(--sand);
}

.service__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.5rem;
}

.service__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.service__lead {
  color: var(--muted);
  max-width: 42rem;
}

.service__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

@media (min-width: 700px) {
  .service__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 16px rgba(10, 37, 77, 0.04);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.service-card p:last-child,
.service-card ul:last-child {
  margin-bottom: 0;
}

.service-card ul {
  color: var(--text);
}

.service-note {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  background: rgba(10, 37, 77, 0.06);
  border-left: 4px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  font-size: 0.95rem;
}

.service-note strong {
  color: var(--navy);
}

.phone-link {
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

.phone-link:hover {
  color: var(--sky);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.steps li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 0.85rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.address-block {
  font-style: normal;
  line-height: 1.7;
}

/* ---------- Page content (book, directions, legal) ---------- */

.page-content {
  flex: 1 0 auto;
  padding: 2.5rem 0 3rem;
}

.page-content h1,
.page-content > .container > h4 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.page-content .row p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.page-content h4 {
  font-size: 1.35rem;
}

.page-content h5 {
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--navy);
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

/* Directions tabs */

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1rem;
  list-style: none;
  padding: 0;
}

.tabs-nav button {
  appearance: none;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.tabs-nav button:hover,
.tabs-nav button.active {
  color: var(--navy);
  border-bottom-color: var(--sky);
}

.tab-panel {
  padding: 1.25rem;
  background: var(--mint);
  border-radius: var(--radius);
}

.tab-panel.hidden {
  display: none;
}

/* FAQ accordion fallbacks */

#accordion-collapse button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  color: var(--navy);
  background: var(--mint);
  border: 1px solid var(--border);
  border-bottom: none;
  cursor: pointer;
}

#accordion-collapse > h2:last-of-type button,
#accordion-collapse h2:last-child button {
  border-bottom: 1px solid var(--border);
}

#accordion-collapse [id^="accordion-collapse-body"] > div {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-top: none;
  background: var(--surface);
  color: var(--text);
}

.hidden {
  display: none;
}

/* ---------- 404 ---------- */

.page-404 {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
  text-align: center;
}

.page-404__code {
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.page-404__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.page-404__text {
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-weight: 800;
  border-radius: 6px;
  background: var(--sky);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--navy);
  color: #fff;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 2.5rem 0;
  margin-top: auto;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a:hover {
  color: #9fd0f0;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__brand h2 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

.site-footer__brand div {
  margin-bottom: 0.5rem;
}
