/* Can Customers Find You? — Site Styles */
/* Design: Deep navy + muted teal. Clean, diagnostic, teaching-first. */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700;1,9..144,400&display=swap');

:root {
  --navy: #1B2A4A;
  --navy-deep: #0F1B33;
  --teal: #2D8B7A;
  --teal-hover: #24705F;
  --teal-light: #E8F5F1;
  --warm: #F8F6F3;
  --white: #FFFFFF;
  --text: #2C3E50;
  --text-secondary: #5A6B7D;
  --border: #D1D9E0;
  --shadow: 0 2px 8px rgba(27,42,74,0.08);
  --shadow-lg: 0 8px 32px rgba(27,42,74,0.12);
  --radius: 6px;
  --max-w: 1120px;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-hover); }

/* — Layout — */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--warm { background: var(--warm); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy a { color: var(--teal-light); }
.section--teal { background: var(--teal-light); }

/* — Typography — */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.25; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 24px; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 20px; font-weight: 600; }
h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 600; }
p { margin-bottom: 16px; max-width: 68ch; }
.lead { font-size: 1.15rem; color: var(--text-secondary); max-width: 60ch; }

/* — Header / Nav — */
.site-header {
  background: var(--navy-deep);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.nav-brand:hover { color: var(--teal-light); }
.nav-links { display: flex; gap: 4px; align-items: center; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.nav-links a:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--teal-hover) !important; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 6px 0; transition: 0.3s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* — Buttons — */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-hover); color: var(--white); }
.btn--outline { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn--outline:hover { background: var(--teal); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--teal-light); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }

/* — Hero — */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
}
.hero h1 { color: var(--white); max-width: 700px; }
.hero .lead { color: rgba(255,255,255,0.8); }
.hero-badge {
  display: inline-block;
  background: rgba(45,139,122,0.2);
  color: var(--teal-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero--sm { padding: 60px 0 40px; }
.hero--sm h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 12px; }

/* — Cards — */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-secondary); font-size: 0.95rem; }
.card .btn { margin-top: 16px; }

/* — Service detail — */
.service-detail { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.service-detail aside {
  background: var(--warm);
  border-radius: var(--radius);
  padding: 32px;
  position: sticky;
  top: 88px;
}
@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail aside { position: static; }
}

/* — Pricing — */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.price-card--featured { border-color: var(--teal); box-shadow: var(--shadow-lg); }
.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--navy);
  font-weight: 700;
  margin: 16px 0 8px;
}
.price-card ul { list-style: none; text-align: left; margin: 24px 0; }
.price-card li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.price-card li::before { content: "✓ "; color: var(--teal); font-weight: 700; }

/* — FAQ — */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-q {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after { content: "+"; font-size: 1.5rem; color: var(--teal); transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a p { padding-top: 12px; color: var(--text-secondary); }

/* — Blog — */
.post-meta { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 24px; }
.post-content h2 { margin-top: 40px; }
.post-content p { max-width: 68ch; }
.blog-list { list-style: none; }
.blog-list li { padding: 24px 0; border-bottom: 1px solid var(--border); }
.blog-list h3 a { color: var(--navy); }
.blog-list h3 a:hover { color: var(--teal); }

/* — Trust strip — */
.trust-strip { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 24px; }
.trust-item { font-size: 0.9rem; color: var(--text-secondary); }
.trust-item strong { color: var(--navy); display: block; font-size: 1.5rem; font-family: var(--font-display); }

/* — Footer — */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
  font-size: 0.9rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.site-footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--teal-light); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 0.8rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* — Contact form — */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45,139,122,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* — Utilities — */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
