/* ==========================================================================
   CareHarbour Canada Inc. — Landing Page Styles
   ========================================================================== */

:root {
  --deep-teal: #0e4749;
  --teal: #146b6b;
  --teal-light: #1e8a86;
  --aqua-bg: #f0f8f7;
  --aqua-bg-2: #e4f2f0;
  --coral: #f4844a;
  --coral-dark: #e06a2f;
  --ink: #16302f;
  --ink-soft: #4d635f;
  --white: #ffffff;
  --border: #dcece9;
  --shadow: 0 12px 30px -14px rgba(14, 71, 73, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1180px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

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

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--aqua-bg); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 14px;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; color: var(--deep-teal); line-height: 1.15; }

h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.lede {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--coral); color: var(--white); box-shadow: 0 10px 24px -10px rgba(244, 132, 74, 0.6); }
.btn--primary:hover { background: var(--coral-dark); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn--outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: var(--white); }

.btn--dark { background: var(--deep-teal); color: var(--white); }
.btn--dark:hover { background: #0a3435; }

.btn--sm { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--deep-teal);
}
.brand img { width: 34px; height: 34px; }
.brand span.accent { color: var(--coral); }
.brand--logo img { width: auto; height: 42px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.15s ease;
  position: relative;
}
.nav-links a:hover { color: var(--teal-light); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--deep-teal); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 15% 0%, #17605f 0%, var(--deep-teal) 55%, #082b2c 100%);
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 140px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C200,90 400,0 600,40 C800,80 1000,10 1200,50 L1200,120 L0,120 Z' fill='%23ffffff'/%3E%3C/svg%3E") bottom / cover no-repeat;
}
.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
}
.hero p.subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.86);
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Welcome ---------- */
.welcome-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.welcome-text p { color: var(--ink-soft); font-size: 1.08rem; }
.welcome-text p:first-of-type { font-size: 1.18rem; color: var(--ink); font-weight: 500; }

/* ---------- Two column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.info-card h3 { display: flex; align-items: center; gap: 10px; }
.info-card p { color: var(--ink-soft); }

/* ---------- HARBOUR values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--aqua-bg-2);
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.value-card h4 { font-size: 1.02rem; color: var(--deep-teal); margin-bottom: 6px; }
.value-card p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Feature cards (What We Do) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Checklist ---------- */
.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--aqua-bg);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 600;
  color: var(--deep-teal);
}
.check-item .tick {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* ---------- Who We Serve ---------- */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.serve-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 16px;
  text-align: center;
  font-weight: 600;
  color: var(--deep-teal);
  font-size: 0.94rem;
}
.serve-item .serve-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--aqua-bg-2);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.serve-icon svg { width: 20px; height: 20px; }

/* ---------- Services ---------- */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-panel {
  background: linear-gradient(155deg, var(--deep-teal), var(--teal-light));
  border-radius: var(--radius);
  padding: 40px;
  color: var(--white);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-panel .tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  width: fit-content;
}
.service-panel h3 { color: var(--white); font-size: 1.5rem; }
.service-panel p { color: rgba(255,255,255,0.85); }

.bullet-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.bullet-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 1rem;
}
.bullet-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.topic-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.topic-tags span {
  background: var(--aqua-bg-2);
  color: var(--teal);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- Future services ---------- */
.future-banner {
  background: var(--aqua-bg);
  border: 1px dashed var(--teal-light);
  border-radius: var(--radius);
  padding: 48px;
}
.future-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.future-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deep-teal);
  text-align: center;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--coral), var(--coral-dark));
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}
.cta-banner h2 { color: var(--white); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 24px; }
.cta-banner .btn--ghost { border-color: rgba(255,255,255,0.7); }
.cta-banner .btn--primary { background: var(--white); color: var(--coral-dark); box-shadow: none; }
.cta-banner .btn--primary:hover { background: var(--deep-teal); color: var(--white); }

/* ---------- Partner ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.partner-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: box-shadow 0.15s ease;
}
.partner-card:hover { box-shadow: var(--shadow); }
.partner-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--coral);
  font-weight: 700;
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.news-card .feature-icon { background: var(--coral); margin-bottom: 14px; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info h2 { text-align: left; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-item .icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--aqua-bg-2);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item h4 { margin-bottom: 2px; font-size: 0.98rem; }
.contact-item p, .contact-item a { color: var(--ink-soft); font-size: 0.95rem; }
.social-row { display: flex; gap: 12px; margin-top: 4px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--deep-teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.social-row a:hover { background: var(--coral); }

.contact-form {
  background: var(--aqua-bg);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--deep-teal); }
.form-field input, .form-field textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  outline: 2px solid var(--teal-light);
  outline-offset: 1px;
}
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep-teal);
  color: rgba(255,255,255,0.85);
  padding-top: 64px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: 14px; color: rgba(255,255,255,0.7); font-size: 0.92rem; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; font-family: var(--font-body); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.72); font-size: 0.94rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--coral); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .tagline { color: rgba(255,255,255,0.8); font-weight: 600; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .serve-grid { grid-template-columns: repeat(3, 1fr); }
  .service-block, .service-block.reverse { grid-template-columns: 1fr; direction: ltr; }
  .future-list { grid-template-columns: repeat(3, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn--outline { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .section { padding: 64px 0; }
  .values-grid, .feature-grid, .check-grid, .serve-grid, .future-list, .partner-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .values-grid, .feature-grid, .check-grid, .serve-grid, .future-list, .partner-grid, .news-grid { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 120px; }
}
