/* ---------- Base ---------- */
:root {
  --ink: #111111;
  --muted: #555555;
  --line: #e2e2e2;
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --accent: #111111;
  --maxw: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
}

p { margin: 0 0 1.2em; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 780px; }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.brand { display: inline-flex; }

.brand-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #e2e2e2;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}

.brand:hover .brand-circle { transform: scale(1.04); }

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1);
  transform-origin: center;
}

.main-nav {
  display: flex;
  gap: 34px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.main-nav a:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.hero-media { position: absolute; inset: 0; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.45));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-content h1 {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
  margin-bottom: 28px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 34px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn:hover { background: #fff; color: var(--ink); }

.btn-light {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-light:hover { background: var(--ink); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.rule {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 20px auto 30px;
}

.section p {
  color: var(--muted);
  font-size: 17px;
}

.tagline {
  font-size: 22px !important;
  font-weight: 500;
  color: var(--ink) !important;
  letter-spacing: 1px;
  margin-bottom: 50px;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 10px 0 55px;
  text-align: center;
}

.feature {
  padding: 32px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.feature p {
  font-size: 15px !important;
  margin: 0;
}

/* ---------- Image band ---------- */
.image-band {
  height: 420px;
  overflow: hidden;
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Quote ---------- */
.quote-section { background: var(--bg-alt); }

blockquote {
  margin: 0 0 24px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 1px;
  color: var(--ink);
}

.mission {
  max-width: 620px;
  margin: 0 auto 32px !important;
  font-size: 18px !important;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cfcfcf;
  padding: 56px 0;
}

.footer-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 216px;
  height: 216px;
  border-radius: 50%;
  background: #e2e2e2;
  overflow: hidden;
  margin: 0 auto 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-contact {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.footer-contact a {
  color: #f2f2f2;
  border-bottom: 1px solid rgba(242, 242, 242, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-contact a:hover {
  color: #fff;
  border-color: #fff;
}

.footer-copy {
  font-size: 13px;
  letter-spacing: 1px;
  color: #9a9a9a;
  margin: 0;
}

/* ---------- Map / Location ---------- */
.map-section {
  width: 100%;
  background: #e9e9e9;
}

.map-embed {
  position: relative;
  width: 100%;
  height: clamp(340px, 38vw, 560px);
  overflow: hidden;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%);
  pointer-events: none; /* keeps the marker aligned; Directions link opens the real map */
}

/* Marker anchored to the centre of the map */
.map-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-pin {
  position: relative;
  width: 22px;
  height: 22px;
  background: #ea4335;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.map-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #a52714;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Info bubble sitting above the pin */
.map-info {
  position: relative;
  min-width: 168px;
  margin-bottom: 12px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  text-align: left;
  font-family: Roboto, Arial, sans-serif;
}

.map-info::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #fff;
}

.map-info-title {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 500;
  color: #202124;
  line-height: 1.35;
}

.map-info-sub {
  margin: 0 0 4px;
  font-size: 13px;
  color: #5f6368;
  line-height: 1.35;
}

.map-info-link {
  font-size: 13px;
  color: #1a73e8;
}

.map-info-link:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .main-nav { gap: 24px; }
  .section { padding: 64px 0; }
  .features { grid-template-columns: 1fr; gap: 18px; }
  .image-band { height: 280px; }
  .map-embed { height: 320px; }
  .hero { min-height: 68vh; }
}

/* ---------- Footer nav ---------- */
.footer-nav {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.footer-nav a {
  color: #cfcfcf;
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: #fff; text-decoration: underline; }

.footer-sep { color: #6a6a6a; margin: 0 10px; }

/* ---------- Interior page title ---------- */
.page-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 52px;
}

.page-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 12px;
}

.page-hero-sub {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* ---------- Legal / policy content ---------- */
.legal .container { max-width: 860px; }

.legal h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: none;
  color: var(--ink);
  margin: 42px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 190px;
}

.legal h2:first-of-type { margin-top: 8px; }

.legal p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 14px;
}

.legal ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 16px;
}

.legal li { margin-bottom: 9px; }

.legal strong { color: var(--ink); font-weight: 600; }

.legal a {
  color: var(--ink);
  border-bottom: 1px solid rgba(17, 17, 17, 0.35);
  transition: border-color 0.2s ease;
}

.legal a:hover { border-color: var(--ink); }

/* On-this-page nav */
.legal-toc {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 12px;
}

.legal-toc-title {
  margin: 0 0 12px !important;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink) !important;
}

.legal-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 32px;
}

.legal-toc li { margin-bottom: 7px; font-size: 14px; }

.legal-toc a { border-bottom: none; color: var(--muted); }
.legal-toc a:hover { color: var(--ink); text-decoration: underline; }

/* Tables */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 22px;
  font-size: 14.5px;
}

.legal-table th {
  background: var(--ink);
  color: #fff;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 11px 14px;
}

.legal-table td {
  padding: 11px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
}

.legal-table tr:nth-child(even) td { background: #fafafa; }

.legal-contact {
  background: var(--bg-alt);
  border-left: 3px solid var(--ink);
  padding: 20px 24px;
  margin-top: 8px;
}

.legal-contact p { margin-bottom: 5px; }
.legal-contact p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .legal-toc ul { columns: 1; }
  .legal-table { font-size: 13.5px; }
  .legal-table th, .legal-table td { padding: 9px 10px; }
  .legal h2 { scroll-margin-top: 210px; }
}
