/* ═══════════════════════════════════════════════════
   Christina Hutchings — Shared Stylesheet
   ═══════════════════════════════════════════════════ */

/* ── Design Tokens ────────────────────────────────── */
:root {
  --bg:         #F6F9FA;
  --nav-bg:     #2E8FA8;
  --nav-dark:   #1f6679;
  --accent:     #40BDFF;
  --teal-light: #DAEBED;
  --teal-mid:   #b0d8e4;
  --forest:     rgba(30, 55, 30, 0.55);
  --text:       #1e1e1e;
  --muted:      #5a6a6e;
  --white:      #ffffff;
  --border:     #d6e8ee;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.15);

  --font-head:  'Josefin Sans', sans-serif;
  --font-body:  'Lato', sans-serif;
  --max-width:  1100px;
  --radius:     6px;
  --radius-lg:  14px;
}

/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { border: 0; display: block; max-width: 100%; }
a { color: var(--nav-bg); text-decoration: none; }
a:hover { color: var(--nav-dark); }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }

/* ── Utility ──────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 72px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-sm {
  padding: 48px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ── Nav ──────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--nav-bg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
}
.nav-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-creds {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.92);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.18);
  color: var(--white);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero (full-viewport home) ────────────────────── */
.hero-full {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.hero-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(20,40,20,0.50) 0%,
    rgba(20,40,20,0.38) 50%,
    rgba(10,25,25,0.65) 100%);
}
.hero-full .hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
  max-width: 760px;
}
.hero-full h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  margin-bottom: 10px;
}
.hero-full .hero-creds {
  font-family: var(--font-head);
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-full .hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Page hero (inner pages) ──────────────────────── */
.hero-page {
  position: relative;
  height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10,25,25,0.25) 0%,
    rgba(10,30,30,0.65) 100%);
}
.hero-page .hero-page-title {
  position: relative;
  z-index: 2;
  padding: 32px 40px;
  color: var(--white);
}
.hero-page .hero-page-title h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  letter-spacing: 0.04em;
}
.hero-page .hero-page-title p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-top: 6px;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--nav-bg);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--nav-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(46,143,168,0.4);
}
.btn-white {
  background: var(--white);
  color: var(--nav-bg);
}
.btn-white:hover {
  background: rgba(255,255,255,0.9);
  color: var(--nav-dark);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--nav-bg);
  color: var(--nav-bg);
}
.btn-outline:hover {
  background: var(--nav-bg);
  color: var(--white);
}

/* ── Two-column intro ─────────────────────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
}
.intro-portrait {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
}
.intro-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--nav-bg);
  margin-bottom: 18px;
}
.intro-text p { color: var(--muted); margin-bottom: 14px; }
.intro-text p:last-of-type { margin-bottom: 24px; }

/* ── Service cards ────────────────────────────────── */
.services-strip {
  background: var(--teal-light);
  padding: 64px 24px;
}
.services-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card .service-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.15rem;
  color: var(--nav-bg);
  margin-bottom: 10px;
}
.service-card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 20px;
}

/* ── Issues list ──────────────────────────────────── */
.issues-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.issues-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 48px;
  margin-top: 28px;
}
.issues-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--teal-light);
}
.issues-grid li::before {
  content: '✦';
  color: var(--nav-bg);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ── Section headings ─────────────────────────────── */
.section-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nav-bg);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--text);
  margin-bottom: 16px;
}
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--nav-bg);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* ── Fees table ───────────────────────────────────── */
.fees-table {
  width: 100%;
  max-width: 540px;
  border-collapse: collapse;
  margin-top: 20px;
}
.fees-table tr + tr td { border-top: 1px solid var(--border); }
.fees-table td {
  padding: 14px 16px;
  font-size: 0.95rem;
  color: var(--text);
}
.fees-table td:first-child { color: var(--muted); }
.fees-table td:last-child {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--nav-bg);
  text-align: right;
  white-space: nowrap;
}

/* ── Availability pills ───────────────────────────── */
.avail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.pill {
  background: var(--teal-light);
  color: var(--nav-dark);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--teal-mid);
}

/* ── CTA band ─────────────────────────────────────── */
.cta-band {
  background: var(--nav-bg);
  padding: 64px 24px;
  text-align: center;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 12px;
}
.cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 28px;
}

/* ── Logos strip ──────────────────────────────────── */
.logos-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.logos-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.logos-inner p {
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px 48px;
}
.logos-row img {
  height: 72px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: opacity 0.2s, filter 0.2s;
}
.logos-row img:hover { opacity: 1; filter: none; }

/* ── Quote block ──────────────────────────────────── */
.quote-block {
  background: var(--teal-light);
  border-left: 4px solid var(--nav-bg);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 32px 40px;
  margin: 40px 0;
}
.quote-block blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  color: var(--nav-dark);
  line-height: 1.7;
}
.quote-block cite {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: normal;
}

/* ── Content with side image ──────────────────────── */
.content-photo-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
.content-photo-grid.reverse {
  grid-template-columns: 360px 1fr;
}
.content-photo-grid.reverse .content-text { order: 2; }
.content-photo-grid.reverse .content-img  { order: 1; }
.content-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.content-text h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--nav-bg);
  margin-bottom: 16px;
}
.content-text p { color: var(--muted); margin-bottom: 14px; }

/* ── Qualifications list ──────────────────────────── */
.qual-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qual-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--text);
  padding: 10px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.qual-list li::before {
  content: '✓';
  color: var(--nav-bg);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Info box ─────────────────────────────────────── */
.info-box {
  background: var(--teal-light);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-top: 32px;
}
.info-box h3 {
  font-size: 1.1rem;
  color: var(--nav-dark);
  margin-bottom: 12px;
}
.info-box p { color: var(--muted); font-size: 0.93rem; margin-bottom: 8px; }

/* ── Wide photo banner ────────────────────────────── */
.photo-banner {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* ── Fees card ────────────────────────────────────── */
.fees-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  max-width: 480px;
}
.fees-card h3 {
  font-size: 1.1rem;
  color: var(--nav-bg);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--teal-light);
}
.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}
.fee-row:last-child { border-bottom: none; }
.fee-row span:first-child { color: var(--muted); }
.fee-row span:last-child {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--nav-bg);
}

/* ── Contact form ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 {
  font-size: 1.6rem;
  color: var(--nav-bg);
  margin-bottom: 16px;
}
.contact-info p { color: var(--muted); margin-bottom: 10px; font-size: 0.95rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-of-type { border-bottom: none; margin-bottom: 24px; }
.contact-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  width: 56px;
  flex-shrink: 0;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 1.3rem;
  color: var(--nav-bg);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--nav-bg);
  box-shadow: 0 0 0 3px rgba(46,143,168,0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* Status messages */
.status-msg {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.93rem;
}
.status-msg.success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
}
.status-msg.error {
  background: #fce4ec;
  border: 1px solid #f48fb1;
  color: #c62828;
}

/* ── Footer ───────────────────────────────────────── */
footer {
  background: var(--nav-dark);
  padding: 40px 24px;
  text-align: center;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
footer p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
}
footer a { color: rgba(255,255,255,0.75); }
footer a:hover { color: var(--white); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .intro-grid,
  .content-photo-grid,
  .content-photo-grid.reverse,
  .contact-grid { grid-template-columns: 1fr; }

  .content-photo-grid.reverse .content-text,
  .content-photo-grid.reverse .content-img { order: unset; }

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

  .intro-portrait {
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; width: 100%; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--nav-dark);
    padding: 16px 0 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 100;
  }
  .nav-links.open a {
    padding: 12px 28px;
    border-radius: 0;
    font-size: 1rem;
  }
  .nav-toggle { display: flex; }

  .hero-page { height: 280px; }
  .hero-page .hero-page-title { padding: 20px 24px; }

  .section { padding: 48px 20px; }
  .services-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .issues-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .fees-card { max-width: 100%; }
  .quote-block { padding: 24px; }
  .photo-banner { height: 220px; }
}
