/* ============================================================
   GET EQUITY BACK — Master Stylesheet
   Design: Warm, trustworthy, family-founded small business.
   Think: caring attorney's office meets family business.
   NOT corporate. NOT salesy. Approachable + legitimate.
   ============================================================ */

/* --- CSS Variables --- */
:root {
  /* Brand colors */
  --navy: #1B2A4A;
  --navy-light: #2C3E6B;
  --navy-dark: #111D35;
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --gold-soft: #F0E6C8;

  /* Warm neutrals */
  --cream: #FFFAF3;
  --cream-dark: #FFF5E9;
  --white: #FFFFFF;
  --warm-gray-50: #FAF8F5;
  --warm-gray-100: #F3F0EB;
  --warm-gray-200: #E8E3DB;
  --warm-gray-300: #D1C9BC;
  --warm-gray-400: #A89F91;
  --warm-gray-500: #7D7567;
  --warm-gray-600: #5C554A;
  --warm-gray-700: #3D3832;
  --warm-gray-800: #2A2520;
  --warm-gray-900: #1A1613;

  /* Accents */
  --sage: #5C8A6F;
  --sage-light: #E8F2EC;
  --sage-dark: #3D6B52;
  --rust: #B85C38;
  --sky: #4A90B8;

  /* Functional */
  --success: #2D8A5E;
  --success-bg: #E8F5EE;
  --error: #C0392B;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 22, 19, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 22, 19, 0.08);
  --shadow-lg: 0 8px 24px rgba(26, 22, 19, 0.1);
  --shadow-xl: 0 12px 36px rgba(26, 22, 19, 0.12);

  /* Layout */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1120px;
  --transition: 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', 'Palatino', serif;
  background: var(--cream);
  color: var(--warm-gray-800);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.sans {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
}

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--navy); color: var(--white); }
.section-sage { background: var(--sage-light); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-dark .section-header h2 { color: var(--white); }
.section-header p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.05rem;
  color: var(--warm-gray-500);
  line-height: 1.6;
}
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

.badge {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.badge-gold { background: var(--gold-soft); color: var(--navy); }
.badge-sage { background: var(--sage-light); color: var(--sage-dark); }

/* ============================================================
   NAVIGATION — Clean, warm, professional
   ============================================================ */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--warm-gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.3px;
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-logo:hover { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}
.nav-links a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--warm-gray-600);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}
.nav-links a:hover { color: var(--navy); background: var(--warm-gray-50); }
.nav-links a.active { color: var(--navy); font-weight: 600; }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--navy-light) !important;
  color: var(--white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--warm-gray-200);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }
  .nav-cta { text-align: center; margin-top: 8px; }
}

/* ============================================================
   BUTTONS — Warm, inviting CTAs
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-sm { font-size: 0.88rem; padding: 10px 22px; }
.btn-lg { font-size: 1.1rem; padding: 18px 40px; }

/* ============================================================
   HERO — Warm, confident, welcoming
   ============================================================ */
.hero {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 80px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content { max-width: 540px; }

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white);
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero .hero-subtitle {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-placeholder {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  width: 100%;
  max-width: 420px;
}
.hero-stat {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin-bottom: 24px;
}
.hero-stat:last-child { margin-bottom: 0; }
.hero-stat-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* ============================================================
   TRUST BAR — Key differentiators
   ============================================================ */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--warm-gray-200);
  padding: 28px 0;
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-bar-item {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.trust-bar-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.trust-bar-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.3px;
}
.trust-bar-sub {
  font-size: 0.75rem;
  color: var(--warm-gray-500);
  margin-top: 2px;
}

@media (max-width: 600px) {
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ============================================================
   PROCESS STEPS — How It Works
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step-counter;
}
.step-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--warm-gray-100);
  transition: all var(--transition);
  counter-increment: step-counter;
  position: relative;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--gold);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 18px;
}
.step-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.step-card p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.88rem;
  color: var(--warm-gray-500);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .steps-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

/* ============================================================
   ABOUT / STORY TEASER
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.story-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}
.story-content p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.95rem;
  color: var(--warm-gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}
.story-content .btn { margin-top: 12px; }

.story-image {
  background: var(--warm-gray-100);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  text-align: center;
  border: 1px solid var(--warm-gray-200);
}
.story-image-icon { font-size: 3rem; margin-bottom: 16px; }
.story-image-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.85rem;
  color: var(--warm-gray-400);
}

@media (max-width: 768px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-image { min-height: 240px; padding: 32px; }
}

/* ============================================================
   TRUST CARDS — Why Choose Us
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-card {
  background: var(--white);
  border: 1px solid var(--warm-gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.trust-card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.trust-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.trust-card p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.88rem;
  color: var(--warm-gray-500);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--warm-gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 3.5rem;
  color: var(--gold-soft);
  line-height: 1;
  position: absolute;
  top: 16px;
  left: 24px;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--warm-gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  padding-top: 24px;
}
.testimonial-author {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}
.testimonial-detail {
  font-size: 0.78rem;
  color: var(--warm-gray-400);
}

@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 740px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--warm-gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-q {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  line-height: 1.5;
}
.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-q::after {
  content: '\2212';
}
.faq-a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.9rem;
  color: var(--warm-gray-600);
  padding: 0 24px 20px;
  display: none;
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ============================================================
   CTA BANNER — Final conversion section
   ============================================================ */
.cta-banner {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
  position: relative;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 16px;
  color: var(--white);
}
.cta-banner p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn { margin: 0 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--warm-gray-900);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 32px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--gold); }
.footer-brand p {
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition);
  font-size: 0.85rem;
}
.footer ul a:hover { color: var(--gold-light); }

.footer-contact p { margin-bottom: 6px; }
.footer-contact a {
  color: var(--gold-light);
  text-decoration: none;
}
.footer-contact a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { margin-bottom: 6px; }
.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  max-width: 640px;
  margin: 8px auto 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand p { max-width: 100%; margin: 0 auto; }
}

/* ============================================================
   PAGE HEADERS — Inner page heroes
   ============================================================ */
.page-hero {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 12px;
  color: var(--white);
}
.page-hero p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   CONTENT BLOCKS — For inner pages
   ============================================================ */
.content-block { max-width: 740px; margin: 0 auto; }
.content-block h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin: 40px 0 16px;
}
.content-block h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 28px 0 12px;
}
.content-block p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.95rem;
  color: var(--warm-gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}
.content-block ul, .content-block ol {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.95rem;
  color: var(--warm-gray-600);
  line-height: 1.8;
  margin: 0 0 16px 24px;
}
.content-block li { margin-bottom: 8px; }

/* Info cards (for How It Works detail) */
.info-card {
  background: var(--white);
  border: 1px solid var(--warm-gray-100);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 20px;
}
.info-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 8px 0;
}
.info-card p {
  margin-bottom: 0;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form { max-width: 100%; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.95rem;
  border: 1px solid var(--warm-gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--warm-gray-800);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.contact-info-card {
  background: var(--warm-gray-50);
  border: 1px solid var(--warm-gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 20px;
}
.contact-info-item {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin-bottom: 20px;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--warm-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 0.95rem;
  color: var(--navy);
}
.contact-info-value a { color: var(--navy); }
.contact-info-value a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   ANIMATIONS — Subtle entrance effects
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   ABOUT PAGE — Values grid
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--warm-gray-100);
}
.value-icon { font-size: 2.2rem; margin-bottom: 14px; }
.value-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.value-card p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.88rem;
  color: var(--warm-gray-500);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ============================================================
   HOW IT WORKS PAGE — Timeline
   ============================================================ */
.timeline { max-width: 700px; margin: 0 auto; }
.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  margin-bottom: 36px;
  position: relative;
}
.timeline-item::after {
  content: '';
  position: absolute;
  left: 29px;
  top: 56px;
  bottom: -36px;
  width: 2px;
  background: var(--warm-gray-200);
}
.timeline-item:last-child::after { display: none; }

.timeline-number {
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline-content {
  padding-top: 8px;
}
.timeline-content h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.timeline-content p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.9rem;
  color: var(--warm-gray-500);
  line-height: 1.7;
}
.timeline-note {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.82rem;
  color: var(--sage-dark);
  background: var(--sage-light);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
  display: inline-block;
}
