/* Rare Field Ventures Inc — Bookkeeping & Accounting Support */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --navy: #1e3a5f;
  --navy-dark: #0f2744;
  --navy-light: #2d4a6f;
  --gold: #c9a227;
  --gold-light: #f5edd8;
  --gray-bar: #f4f5f7;
  --gray-bg: #f8f9fb;
  --gray-text: #6b7280;
  --text: #4b5563;
  --text-dark: #1f2937;
  --white: #ffffff;
  --border: #e5e7eb;
  --accent: #2563eb;
  --font: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1080px;
  --wide: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.75; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color 0.2s, background 0.2s; }
a:hover { color: var(--gold); }

.utility-bar { background: var(--gray-bar); border-bottom: 1px solid var(--border); padding: 14px 24px; }
.utility-inner { max-width: var(--wide); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.utility-items { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.utility-item { display: flex; align-items: flex-start; gap: 12px; }
.utility-icon { width: 36px; height: 36px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.utility-item h4 { font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.utility-item p, .utility-item a, .utility-item span { font-size: 13px; color: var(--gray-text); line-height: 1.4; }
.utility-cta { display: inline-block; background: var(--navy); color: var(--white) !important; padding: 12px 26px; font-size: 14px; font-weight: 700; border-radius: 4px; white-space: nowrap; }
.utility-cta:hover { background: var(--navy-dark); color: var(--white) !important; }

.main-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 24px; position: sticky; top: 0; z-index: 200; box-shadow: 0 1px 6px rgba(0,0,0,0.04); }
.header-inner { max-width: var(--wide); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 24px; }
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 80px; width: auto; max-width: 400px; object-fit: contain; }
.footer-logo-img { height: 72px; width: auto; max-width: 360px; margin-bottom: 14px; }

.main-menu { flex: 1; display: flex; justify-content: flex-end; }
.menu-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.menu-list > li { position: relative; }
.menu-list > li > a { display: block; padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--gray-text); border-radius: 4px; }
.menu-list > li > a:hover, .menu-list > li > a.active { color: var(--navy); }
.menu-dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: var(--white); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); padding: 6px 0; list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.2s; z-index: 100; }
.has-submenu:hover .menu-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-dropdown li a { display: block; padding: 9px 18px; font-size: 13px; font-weight: 600; color: var(--gray-text); }
.menu-dropdown li a:hover { background: var(--gray-bar); color: var(--navy); }
.mobile-toggle { display: none; background: var(--gray-bar); border: none; padding: 10px 16px; font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 4px; color: var(--text-dark); }

.announce-strip { background: var(--white); border-bottom: 1px solid var(--border); text-align: center; padding: 10px 24px; font-size: 14px; color: var(--text); }
.announce-strip a { font-weight: 700; color: var(--navy); }

.hero-banner { position: relative; min-height: 460px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-banner::before { content: ''; position: absolute; inset: 0; background: rgba(15, 39, 68, 0.62); }
.hero-overlay { position: relative; z-index: 1; padding: 60px 24px; max-width: 880px; }
.hero-overlay h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; color: var(--gold); line-height: 1.15; margin-bottom: 18px; text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.hero-overlay h3 { font-size: clamp(1rem, 2.5vw, 1.3rem); font-weight: 600; color: #f3f4f6; line-height: 1.55; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }

.page-banner { background: var(--navy); padding: 52px 24px 60px; text-align: center; color: var(--white); }
.page-banner h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 8px; }
.page-banner p { font-size: 16px; opacity: 0.85; max-width: 620px; margin: 0 auto; }
.breadcrumb { font-size: 13px; opacity: 0.65; margin-bottom: 14px; }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--gold); }

.content-section { padding: 64px 24px; }
.content-section.gray { background: var(--gray-bg); }
.content-section.white { background: var(--white); }
.section-wrap { max-width: var(--max); margin: 0 auto; }
.section-wrap.wide { max-width: var(--wide); }
.section-wrap h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--text-dark); margin-bottom: 18px; line-height: 1.25; }
.section-wrap h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin: 24px 0 10px; }
.section-wrap p { margin-bottom: 16px; }
.section-wrap ul, .section-wrap ol { margin: 0 0 18px 22px; }
.section-wrap li { margin-bottom: 8px; }

.media-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media-block.reverse .media-image { order: 2; }
.media-block.reverse .media-text { order: 1; }
.media-image img { width: 100%; border-radius: 6px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.media-caption { font-size: 14px; color: var(--gray-text); margin-top: 10px; font-style: italic; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 28px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 28px; transition: box-shadow 0.25s; }
.service-card:hover { box-shadow: 0 8px 28px rgba(30, 58, 95, 0.1); }
.service-card .icon { font-size: 30px; margin-bottom: 12px; }
.service-card h3 { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.service-card p { font-size: 14px; margin-bottom: 14px; }
.service-card a { font-size: 14px; font-weight: 700; color: var(--navy); }

.btn-primary { display: inline-block; background: var(--navy); color: var(--white) !important; padding: 13px 28px; font-size: 14px; font-weight: 700; border-radius: 4px; border: none; cursor: pointer; font-family: var(--font); }
.btn-primary:hover { background: var(--navy-dark); color: var(--white) !important; }
.btn-outline { display: inline-block; border: 2px solid var(--navy); color: var(--navy) !important; padding: 11px 26px; font-size: 14px; font-weight: 700; border-radius: 4px; }
.btn-outline:hover { background: var(--navy); color: var(--white) !important; }

.notice-box { background: var(--gold-light); border-left: 4px solid var(--gold); padding: 18px 22px; margin: 24px 0; font-size: 15px; color: var(--text); border-radius: 0 4px 4px 0; }
.data-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; border: 1px solid var(--border); }
.data-table th, .data-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { background: var(--gray-bar); color: var(--text-dark); font-weight: 700; width: 200px; }

.sidebar-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; max-width: var(--max); margin: 0 auto; padding: 56px 24px 72px; }
.side-nav { position: sticky; top: 110px; align-self: start; }
.side-nav h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-text); margin-bottom: 10px; }
.side-nav ul { list-style: none; }
.side-nav li a { display: block; padding: 10px 0; font-size: 14px; font-weight: 600; color: var(--gray-text); border-bottom: 1px solid var(--border); }
.side-nav li a:hover, .side-nav li a.active { color: var(--navy); }

.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.step-box { text-align: center; padding: 24px 16px; background: var(--white); border: 1px solid var(--border); border-radius: 6px; }
.step-box .num { width: 42px; height: 42px; background: var(--navy); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 12px; }
.step-box h3 { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.step-box p { font-size: 13px; color: var(--text); }

.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.insight-item { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--white); }
.insight-item img { width: 100%; height: 170px; object-fit: cover; }
.insight-body { padding: 20px; }
.insight-date { font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.insight-body h3 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; line-height: 1.35; }
.insight-body p { font-size: 14px; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 4px; font-size: 15px; font-family: var(--font); color: var(--text-dark); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--navy); }
.form-group textarea { min-height: 130px; resize: vertical; }

.site-footer { background: var(--gray-bar); border-top: 1px solid var(--border); padding: 52px 24px 0; }
.footer-inner { max-width: var(--wide); margin: 0 auto; }
.footer-newsletter { text-align: center; padding-bottom: 44px; border-bottom: 1px solid var(--border); margin-bottom: 36px; }
.footer-newsletter h2 { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.footer-newsletter p { color: var(--gray-text); margin-bottom: 20px; }
.newsletter-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-form input { flex: 1; min-width: 200px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 4px; font-family: var(--font); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer-brand p { font-size: 14px; color: var(--gray-text); line-height: 1.7; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: var(--gray-text); font-weight: 600; }
.footer-col a:hover { color: var(--navy); }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--gray-text); flex-wrap: wrap; gap: 8px; }

@media (max-width: 1024px) {
  .media-block, .contact-layout { grid-template-columns: 1fr; }
  .media-block.reverse .media-image, .media-block.reverse .media-text { order: unset; }
  .services-grid, .insights-grid { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; }
}
@media (max-width: 768px) {
  .logo-img { height: 58px; max-width: 280px; }
  .header-inner { height: 84px; }
  .menu-list { display: none; }
  .menu-list.open { display: flex; flex-direction: column; position: absolute; top: 84px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .mobile-toggle { display: block; }
  .services-grid, .insights-grid, .steps-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-banner { min-height: 340px; }
}
