/* ============================================================
   FARRELL CONSULTING — Shared Stylesheet
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
  --navy:      #1B2F5E;
  --gold:      #C9A84C;
  --gold-dark: #b5923f;
  --green:     #4A7C59;
  --white:     #FFFFFF;
  --surface:   #F5F7FA;
  --text:      #2D2D2D;
  --navy-dark: #243d7a;
  --shadow-sm: 0 2px 8px rgba(27,47,94,.07);
  --shadow-md: 0 4px 16px rgba(27,47,94,.12);
  --shadow-lg: 0 8px 24px rgba(27,47,94,.16);
  --radius:    6px;
  --radius-lg: 10px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }

/* === LAYOUT === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; }
.section    { padding: 5rem 0; }
.bg-surface { background: var(--surface); }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* === SECTION LABELS === */
.section-label {
  font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .7rem;
}
.section-title { margin-bottom: 1rem; }
.section-sub   { font-size: 1rem; color: #555; max-width: 600px; }

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: var(--gold); color: var(--navy);
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1rem;
  padding: .85rem 2.2rem; border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(201,168,76,.35);
  transition: background .2s, transform .15s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); color: var(--navy); }

.btn-secondary {
  display: inline-block;
  background: var(--navy); color: var(--white);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .95rem;
  padding: .8rem 2rem; border-radius: var(--radius);
  transition: background .2s; border: none; cursor: pointer;
}
.btn-secondary:hover { background: var(--navy-dark); color: var(--white); }

/* === NAVBAR === */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e2e6ef;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 68px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--navy); letter-spacing: .01em;
  display: flex; align-items: center;
}
.nav-logo span { color: var(--gold); }
.nav-logo-img { height: 48px; width: auto; display: block; }
.nav-links {
  display: flex; gap: 2rem;
  list-style: none; align-items: center;
}
.nav-links a {
  color: var(--navy); font-size: .95rem; font-weight: 500;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.nav-links a:hover,
.nav-links a.active { border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--navy);
  font-weight: 600; font-size: .9rem;
  padding: .55rem 1.3rem;
  border-radius: var(--radius);
  border-bottom: none;
  transition: background .2s;
}
.nav-cta:hover { background: var(--gold-dark); }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  min-height: 44px; min-width: 44px;
  align-items: center; justify-content: center;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO (Home) === */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white); padding: 7rem 2.5rem 6rem; text-align: center;
}
.hero-eyebrow {
  font-size: .85rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.hero h1   { color: var(--white); max-width: 700px; margin: 0 auto 1.5rem; }
.hero p    { font-size: 1.1rem; max-width: 560px; margin: 0 auto 2.5rem; opacity: .88; color: var(--white); }

/* Page hero (inner pages — shorter) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white); padding: 4rem 2.5rem; text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.85); font-size: 1rem; max-width: 520px; margin: 0 auto; }

/* === TRUST BAR === */
.trust-bar {
  background: var(--surface); padding: 1.4rem 2.5rem;
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  border-bottom: 1px solid #e2e6ef;
}
.trust-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .88rem; font-weight: 500; color: var(--navy);
}
.trust-item::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 1rem; }

/* === SERVICE CARDS === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem; margin-top: 3rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 44px; height: 44px; background: #eef1f8;
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.2rem; font-size: 1.3rem;
}
.service-card h3 { margin-bottom: .6rem; }
.service-card > p { font-size: .92rem; color: #555; }
.card-includes {
  list-style: none; margin-top: .85rem;
  display: flex; flex-direction: column; gap: .4rem;
}
.card-includes li {
  font-size: .88rem; color: #555;
  display: flex; align-items: flex-start; gap: .4rem;
}
.card-includes li::before {
  content: '→'; color: var(--gold);
  font-size: .85rem; flex-shrink: 0; margin-top: 2px;
}

/* === CTA STRIP === */
.cta-strip {
  background: var(--navy); color: var(--white);
  padding: 4.5rem 2.5rem; text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: .75rem; }
.cta-strip p  { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1rem; }

/* === ABOUT === */
.about-layout {
  display: flex; align-items: flex-start;
  gap: 4rem; flex-wrap: wrap;
}
.about-text           { flex: 1; min-width: 260px; }
.about-text p         { margin-bottom: 1rem; color: #444; }
.about-centered {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-centered p     { margin-bottom: 1rem; color: #444; }
.values-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.value-item { text-align: center; padding: 2rem 1.5rem; }
.value-icon {
  width: 52px; height: 52px; background: #eef1f8; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 1.4rem;
  border: 2px solid var(--gold);
}
.value-item h3  { margin-bottom: .5rem; }
.value-item p   { font-size: .9rem; color: #555; }

/* === CONTACT === */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.contact-info h2      { margin-bottom: 1rem; }
.contact-info > p     { color: #555; margin-bottom: 1.5rem; font-size: .95rem; line-height: 1.7; }
.contact-detail {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: .6rem; font-size: .9rem;
  color: var(--navy); font-weight: 500;
}
.contact-detail span  { font-size: 1rem; }
.form-legend          { font-size: .82rem; color: #666; margin-bottom: 1rem; }
.form-legend span     { color: var(--gold); font-weight: 700; }
.form-group           { margin-bottom: 1.3rem; }
.form-group label {
  display: block; font-size: .88rem; font-weight: 600;
  color: var(--navy); margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .72rem 1rem;
  border: 1.5px solid #d0d6e4; border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: .95rem; color: var(--text);
  background: var(--white); transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 3px solid transparent;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,47,94,.18);
}
.form-group textarea  { resize: vertical; min-height: 120px; }

#thank-you            { display: none; }
#thank-you.visible    { display: block; }
.thank-you-box {
  background: #f0faf3; border: 2px solid var(--green);
  border-radius: var(--radius-lg); padding: 2.5rem; text-align: center;
}
.thank-you-box h3     { color: var(--green); margin-bottom: .5rem; font-size: 1.4rem; }
.thank-you-box p      { color: #555; font-size: .95rem; }

/* === FOOTER === */
.footer { background: var(--navy); color: var(--white); padding: 2.5rem 0; }
.footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo          { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; }
.footer-logo span     { color: var(--gold); }
.footer-links         { display: flex; gap: 1.8rem; }
.footer-links a       { color: rgba(255,255,255,.75); font-size: .88rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: .82rem; opacity: .55; width: 100%; text-align: center;
  padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: .25rem;
}

/* === RESPONSIVE (≤ 768px) === */
@media (max-width: 768px) {

  /* Nav — collapse to hamburger */
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid #e2e6ef;
    box-shadow: var(--shadow-md); padding: .5rem 0;
  }
  .nav-links.open   { display: flex; }
  .nav-links a {
    display: flex; align-items: center;
    padding: .85rem 2rem; border-bottom: none;
    font-size: 1rem; min-height: 44px; width: 100%;
  }
  .nav-links a:hover  { background: var(--surface); }
  .nav-cta            { display: none; }
  .nav-hamburger      { display: flex; }

  /* Hero */
  .hero               { padding: 4rem 1.5rem 3.5rem; }
  .page-hero          { padding: 3rem 1.5rem; }

  /* Trust bar */
  .trust-bar          { gap: 1.2rem; padding: 1rem 1.5rem; }

  /* Service cards — single column */
  .services-grid      { grid-template-columns: 1fr; }

  /* About — stack vertically */
  .about-layout       { flex-direction: column; }

  /* Contact — single column */
  .contact-layout     { grid-template-columns: 1fr; gap: 2rem; }

  /* Footer */
  .footer-inner       { flex-direction: column; align-items: flex-start; }
  .footer-links       { flex-wrap: wrap; gap: 1rem; }

  /* Touch targets */
  .btn-primary,
  .btn-secondary      { min-height: 44px; width: 100%; text-align: center; display: block; }
  .cta-strip .btn-primary { width: auto; display: inline-block; }

  /* V2 responsive overrides */
  .nav-phone             { display: none; }
  .hero-ctas             { justify-content: center; }
  .services-preview-grid { grid-template-columns: 1fr; }
  .pricing-grid          { grid-template-columns: 1fr; }
}

/* =============================================
   V2: Nav phone number
   ============================================= */
.nav-phone {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-phone:hover { text-decoration: underline; }

/* =============================================
   V2: Hero two-column layout
   ============================================= */
.hero-centered {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.75rem;
}
.btn-ghost {
  display: inline-block;
  padding: 0.85rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
  background: transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* =============================================
   V2: Services preview strip (home page)
   ============================================= */
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.services-preview-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.services-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.services-preview-card .card-icon {
  font-size: 2rem;
  line-height: 1;
}
.services-preview-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0;
}
.services-preview-card p {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
  flex: 1;
  line-height: 1.5;
}
.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  margin-top: 0.5rem;
}
.card-link:hover { text-decoration: underline; }

/* =============================================
   V2: Pricing teaser row (home page)
   ============================================= */
.pricing-teaser {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.pricing-teaser p {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 500;
  margin: 0 0 0.75rem;
}
.pricing-teaser a {
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}
.pricing-teaser a:hover { text-decoration: underline; }

/* =============================================
   V2: Pricing page cards
   ============================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--navy);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pricing-card.featured {
  border-top-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.pricing-card .most-popular {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  align-self: flex-start;
}
.pricing-card h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0;
}
.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.pricing-price span {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
}
.pricing-card .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.pricing-card .feature-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
}
.pricing-card .feature-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}
.pricing-card .btn-secondary {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
}
.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text);
  margin-top: 2rem;
  opacity: 0.75;
  line-height: 1.6;
}

/* =============================================
   V2: Credentials section (about page)
   ============================================= */
.credential-section {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}
.credential-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  max-width: 220px;
}
.credential-badge {
  width: 160px;
  height: auto;
  display: block;
}
.credential-placeholder {
  width: 120px;
  height: 120px;
  background: var(--surface);
  border: 2px dashed rgba(27, 47, 94, 0.4);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--navy);
  text-align: center;
  padding: 0.5rem;
  line-height: 1.4;
}
.credential-card h4 {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
  margin: 0;
}
.credential-card p {
  font-size: 0.8rem;
  color: var(--text);
  opacity: 0.65;
  margin: 0;
}

