/* ==========================================================================
   San Diego Floating Lab — theme
   Replicates the legacy WordPress "Vantage" look:
   centered wordmark logo, charcoal centered nav, full-bleed photo hero,
   white content sections. Fonts: Quando (headings/nav) + Quantico (body).
   Brand: cyan #2fd8f8 (logo), ink #282828, charcoal nav #3b3b3b.
   ========================================================================== */

:root {
  --accent:      #2fd8f8;   /* logo cyan */
  --accent-deep: #17a6c9;   /* darker cyan for links/hover on white */
  --ink:         #282828;   /* logo dark / headings */
  --text:        #333333;
  --muted:       #6a6a6a;
  --nav-bg:      #3b3b3b;    /* charcoal nav bar */
  --nav-bg-hi:   #4a4a4a;
  --line:        #e4e7e9;
  --bg:          #ffffff;
  --bg-alt:      #f4f7f9;
  --bg-dark:     #282c30;
  --maxw:        1140px;
  --font-body:   "Quantico", "Helvetica Neue", Arial, sans-serif;
  --font-head:   "Quando", Georgia, "Times New Roman", serif;
}

/* ---- reset-ish ---- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--ink); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* ==========================================================================
   Header — centered logo + charcoal centered nav
   ========================================================================== */
.site-header { background: #fff; }
.site-header .hgroup {
  padding: 25px 20px;
  text-align: center;
}
.site-logo img { margin: 0 auto; max-height: 66px; width: auto; }

.main-nav {
  background: var(--nav-bg);
  border-bottom: 3px solid var(--accent);
}
.main-nav .nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.main-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: #fff;
  padding: 16px 20px;
  letter-spacing: .3px;
}
.main-nav a:hover,
.main-nav li.current a {
  background: var(--nav-bg-hi);
  color: var(--accent);
}

/* mobile nav toggle */
.nav-toggle {
  display: none;
  background: none; border: 0;
  color: #fff; font-size: 1.5rem;
  padding: 14px 20px; cursor: pointer;
}

@media (max-width: 782px) {
  .nav-toggle { display: block; }
  .main-nav .nav-inner { justify-content: space-between; }
  .main-nav ul {
    flex-direction: column;
    width: 100%;
    display: none;
  }
  .main-nav.open ul { display: flex; }
  .main-nav a { text-align: center; border-top: 1px solid rgba(255,255,255,.08); }
}

/* ==========================================================================
   Hero slider — full-bleed photo carousel
   ========================================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 74vh;
  min-height: 420px;
  max-height: 760px;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-slider .slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center 40%;
}
.hero-slider .slide.active { opacity: 1; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,.25);
  color: #fff; border: 0;
  width: 48px; height: 64px;
  font-size: 1.8rem; line-height: 1;
  cursor: pointer;
  transition: background .15s ease;
}
.hero-arrow:hover { background: var(--accent); }
.hero-arrow.prev { left: 0; }
.hero-arrow.next { right: 0; }

.hero-dots {
  position: absolute; bottom: 18px; left: 0; right: 0;
  z-index: 5; text-align: center;
}
.hero-dots button {
  width: 12px; height: 12px; margin: 0 5px;
  border-radius: 50%; border: 2px solid #fff;
  background: transparent; cursor: pointer; padding: 0;
}
.hero-dots button.active { background: #fff; }

/* ==========================================================================
   Page-title banner (inner pages)
   ========================================================================== */
.page-banner {
  background: var(--bg-dark);
  color: #fff;
  padding: 46px 20px;
  text-align: center;
}
.page-banner h1 { color: #fff; margin: 0; }
.page-banner .crumb { color: var(--accent); font-size: .95rem; margin-top: 6px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 62px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--bg-dark); color: #e7edf1; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section-intro { max-width: 760px; margin: 0 auto 12px; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* rule under headings */
.heading-rule::after {
  content: ""; display: block;
  width: 64px; height: 3px; margin: 14px auto 0;
  background: var(--accent);
}

/* 3-column highlight grid */
.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 34px;
}
.cols .col h3 { color: var(--ink); }
.col-icon {
  width: 58px; height: 58px; margin-bottom: 14px;
  color: var(--accent-deep);
}
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; gap: 26px; } }

/* feature / info lists */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 46px;
  margin-top: 26px;
}
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }
.info-grid h3 { color: var(--accent-deep); font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .5px; }
ul.ticks { list-style: none; margin: 0; padding: 0; }
ul.ticks li { padding: 6px 0 6px 30px; position: relative; }
ul.ticks li::before {
  content: "\2713"; color: var(--accent-deep);
  position: absolute; left: 0; top: 6px; font-weight: 700;
}

.fact-row { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 4px 0 8px; }
.fact-row .fact strong { color: var(--ink); font-family: var(--font-head); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--accent);
  color: #05323d;
  text-align: center;
  padding: 40px 20px;
}
.cta-band h2 { color: #05323d; }
.cta-band .phone { font-size: 1.7rem; font-family: var(--font-head); }
.cta-band a { color: #05323d; text-decoration: underline; }

/* buttons */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  background: var(--accent-deep);
  color: #fff;
  padding: 12px 26px;
  border-radius: 3px;
  border: 0; cursor: pointer;
  transition: background .15s ease, transform .05s ease;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.outline { background: transparent; border: 2px solid #fff; color: #fff; padding: 10px 24px; }
.btn.outline:hover { background: #fff; color: var(--ink); }

/* ==========================================================================
   Gallery grid
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery a { display: block; overflow: hidden; border-radius: 3px; }
.gallery img {
  width: 100%; height: 260px; object-fit: cover;
  transition: transform .35s ease;
}
.gallery a:hover img { transform: scale(1.06); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery img { height: 210px; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info dt { font-family: var(--font-head); color: var(--ink); margin-top: 16px; }
.contact-info dd { margin: 0 0 4px; }
.map-embed { border: 0; width: 100%; height: 340px; border-radius: 3px; }

.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 5px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 3px;
  font-family: var(--font-body); font-size: 1rem;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.alert { padding: 12px 16px; border-radius: 3px; margin-bottom: 18px; }
.alert.ok { background: #e6f7ec; color: #1b6b3a; border: 1px solid #b7e3c6; }
.alert.err { background: #fdecec; color: #a12525; border: 1px solid #f2c2c2; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #aeb8bf;
  padding: 46px 20px 26px;
  text-align: center;
  border-top: 3px solid var(--accent);
}
.site-footer .foot-logo { max-height: 90px; margin: 0 auto 18px; }
.site-footer a { color: var(--accent); }
.site-footer .foot-contact { color: #dfe6ea; margin-bottom: 10px; }
.site-footer .copyright { font-size: .85rem; color: #7f8b93; margin-top: 20px; }
