/* ============================================================
   Solafide — Main Stylesheet
   solafide.app · Records & Document Management · DFW
   ============================================================ */

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

:root {
  --navy:       #0B1E4A;
  --navy-mid:   #122A6A;
  --navy-light: #1A3A8F;
  --gold:       #C8973A;
  --gold-light: #E0B05A;
  --white:      #FFFFFF;
  --off-white:  #F7F9FC;
  --gray-light: #EEF1F6;
  --gray-mid:   #8A94A6;
  --gray-dark:  #3D4459;
  --text:       #1A1D2E;
  --border:     #DDE2EE;

  --font-head: 'Inter', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);

  --container: 1180px;
  --gap:       clamp(16px, 3vw, 32px);
  --section-py: clamp(56px, 7vw, 96px);
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

/* ── Typography ── */
h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(26px, 3.5vw, 40px); }
h3 { font-size: clamp(18px, 2.2vw, 24px); }
h4 { font-size: 18px; }
p  { color: var(--gray-dark); }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15px; cursor: pointer;
  border: 2px solid transparent; transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ── Nav ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex; align-items: center;
  gap: 24px; height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; color: var(--white);
  flex-shrink: 0;
}
.nav-logo .mark {
  width: 36px; height: 36px; border-radius: 6px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; color: var(--navy);
}
.nav-links {
  display: flex; gap: 4px; margin-left: auto; align-items: center;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.75); font-size: 14px; font-weight: 600;
  padding: 8px 14px; border-radius: 4px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-links .nav-cta a {
  background: var(--gold); color: var(--navy);
  padding: 9px 18px; border-radius: var(--radius-sm);
}
.nav-links .nav-cta a:hover { background: var(--gold-light); }
.nav-phone { color: var(--gold); font-weight: 700; font-size: 14px; }

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

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; }
.hero-content { max-width: 580px; }
.hero-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.78); line-height: 1.6; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.65); font-size: 13px; }
.hero-trust-item svg { flex-shrink: 0; }
.hero-visual {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 32px;
  backdrop-filter: blur(4px);
}
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hero-stat { text-align: center; padding: 20px; background: rgba(255,255,255,.08); border-radius: var(--radius); }
.hero-stat-num { font-size: 36px; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.hero-stat-lbl { font-size: 12px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; }

/* ── Trust bar ── */
.trust-bar { background: var(--gray-light); padding: 20px 0; border-bottom: 1px solid var(--border); }
.trust-bar-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gray-dark); }

/* ── Section base ── */
section { padding: var(--section-py) 0; }
.section-intro { max-width: 620px; }
.section-intro p { font-size: 17px; margin-top: 12px; }

/* ── Services ── */
.services-section { background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 22px;
}
.service-card h3 { margin-bottom: 10px; font-size: 20px; }
.service-card p { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.service-link { font-size: 13px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 4px; }
.service-link:hover { color: var(--gold); }

/* ── How It Works ── */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 48px; }
.how-step { text-align: center; }
.how-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.how-step h4 { margin-bottom: 8px; }
.how-step p { font-size: 14px; }

/* ── Why Solafide ── */
.why-section { background: var(--navy); color: var(--white); }
.why-section h2 { color: var(--white); }
.why-section .section-intro p { color: rgba(255,255,255,.7); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 48px; }
.why-card {
  padding: 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  transition: background .2s;
}
.why-card:hover { background: rgba(255,255,255,.1); }
.why-card-icon { font-size: 28px; margin-bottom: 14px; }
.why-card h4 { color: var(--gold); margin-bottom: 8px; }
.why-card p  { font-size: 14px; color: rgba(255,255,255,.65); }

/* ── Industries ── */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 48px; }
.industry-item {
  padding: 24px 20px; border-radius: var(--radius);
  background: var(--gray-light); border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.industry-item:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.industry-icon { font-size: 26px; }
.industry-name { font-weight: 700; font-size: 14px; color: var(--navy); }

/* ── Testimonials ── */
.testimonials-section { background: var(--off-white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '"'; font-size: 72px; line-height: 1;
  color: var(--gold); opacity: .4;
  position: absolute; top: 12px; left: 24px;
  font-family: Georgia, serif;
}
.testimonial-text { font-size: 15px; line-height: 1.7; color: var(--gray-dark); margin-top: 20px; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--navy); }
.testimonial-role { font-size: 12px; color: var(--gray-mid); }

/* ── CTA banner ── */
.cta-section {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 14px; }
.cta-section p  { color: rgba(255,255,255,.72); font-size: 18px; max-width: 560px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Lead Form ── */
.contact-section { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow);
}
.form-card h3 { margin-bottom: 4px; }
.form-card > p { font-size: 14px; color: var(--gray-mid); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,30,74,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; padding: 14px; background: var(--navy); color: var(--white); border: none; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; cursor: pointer; transition: background .15s; }
.form-submit:hover { background: var(--navy-light); }
.form-disclaimer { font-size: 11px; color: var(--gray-mid); text-align: center; margin-top: 12px; }

.contact-info h3 { margin-bottom: 20px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-detail-icon {
  width: 42px; height: 42px; border-radius: var(--radius);
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-detail-body strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.contact-detail-body span  { font-size: 14px; color: var(--gray-dark); }

/* ── Footer ── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 260px; }
.footer-col h5 { color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: gap; gap: 12px; }
.footer-bottom p { font-size: 12px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.45); }
.footer-legal a:hover { color: var(--gold); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 0; text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,.72); font-size: 18px; max-width: 560px; margin: 0 auto; }
.breadcrumb { display: flex; gap: 8px; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 13px; color: rgba(255,255,255,.5); }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ── Blog / Cards ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-top: 48px; }
.blog-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--white);
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-img { height: 180px; background: var(--gray-light); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.blog-card-body { padding: 24px; }
.blog-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 8px; }
.blog-card-body h3 { font-size: 18px; margin-bottom: 8px; }
.blog-card-body p  { font-size: 13px; color: var(--gray-mid); margin-bottom: 16px; }
.blog-meta { font-size: 12px; color: var(--gray-mid); }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.pricing-card {
  border: 2px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 32px; position: relative; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.pricing-card.featured { border-color: var(--navy); box-shadow: var(--shadow-lg); }
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: var(--white); font-size: 11px; font-weight: 700;
  padding: 4px 16px; border-radius: 20px; white-space: nowrap; letter-spacing: .06em; text-transform: uppercase;
}
.pricing-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 8px; }
.pricing-price { font-size: 40px; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.pricing-price sup { font-size: 20px; vertical-align: top; margin-top: 8px; }
.pricing-desc { font-size: 13px; color: var(--gray-mid); margin-bottom: 28px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li { font-size: 14px; padding: 7px 0; border-bottom: 1px solid var(--gray-light); display: flex; gap: 8px; align-items: flex-start; }
.pricing-features li::before { content: '✓'; color: var(--gold); font-weight: 800; flex-shrink: 0; }
.pricing-cta { width: 100%; }

/* ── FAQ ── */
.faq-list { margin-top: 40px; max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  text-align: left; padding: 20px 0; font-size: 16px; font-weight: 600;
  color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .faq-icon { flex-shrink: 0; font-size: 20px; color: var(--gold); transition: transform .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { font-size: 14px; color: var(--gray-dark); padding-bottom: 20px; line-height: 1.7; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hamburger { display: block; margin-left: auto; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
