/* Chicago Property Tax Group - Main Stylesheet */

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

:root {
  --black: #0A0A0A;
  --charcoal: #1A1A1A;
  --charcoal-light: #252525;
  --charcoal-mid: #2A2A2A;
  --slate: #333333;
  --brass: #B8952A;
  --brass-light: #D4AD3C;
  --brass-dark: #96780E;
  --brass-pale: #F5ECD4;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --cream: #F5F3EE;
  --gray-100: #F0EFEB;
  --gray-200: #E0DED8;
  --gray-300: #C4C1B8;
  --gray-400: #9B978C;
  --gray-500: #706C62;
  --gray-600: #575349;
  --gray-700: #3D3A33;
  --gray-800: #2A2823;
  --text: #1A1916;
  --text-secondary: #5A574E;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 32px; }

/* Typography */
.serif { font-family: 'Cormorant Garamond', 'Georgia', serif; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184,149,42,0.08);
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(10,10,10,0.99);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 32px; height: 76px;
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--white);
  flex-shrink: 0; white-space: nowrap;
}
.nav-logo-mark {
  width: 36px; height: 36px; position: relative;
  border: 1.5px solid var(--brass);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-mark span {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700; font-size: 15px; color: var(--brass);
  letter-spacing: 0.05em;
}
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 18px; letter-spacing: 0.02em;
  color: var(--white);
  white-space: nowrap; flex-shrink: 0;
}
.nav-logo-text span { color: var(--brass); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.65); text-decoration: none; font-size: 13px;
  font-weight: 400; padding: 8px 14px; letter-spacing: 0.03em;
  text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-divider {
  width: 1px; height: 20px; background: rgba(255,255,255,0.1);
  margin: 0 8px;
}
.nav-phone-link {
  color: var(--brass) !important; font-weight: 500 !important;
  letter-spacing: 0.06em !important;
}
.nav-cta-btn {
  background: transparent !important; color: var(--brass) !important;
  border: 1px solid var(--brass) !important; padding: 8px 20px !important;
  font-weight: 500 !important; transition: all 0.3s !important;
}
.nav-cta-btn:hover {
  background: var(--brass) !important; color: var(--black) !important;
}
.nav-portal-btn {
  background: transparent !important;
  color: rgba(255,255,255,0.85) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  padding: 8px 20px !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  transition: all 0.3s !important;
}
.nav-portal-btn:hover {
  background: rgba(255,255,255,0.1) !important;
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.6) !important;
}

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

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--black); flex-direction: column; padding: 20px 32px;
    border-top: 1px solid rgba(184,149,42,0.08);
  }
  .nav-links.active { display: flex; }
  .nav-links a { width: 100%; padding: 12px 0; }
  .nav-divider { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--black); overflow: hidden; padding-top: 76px;
}
/* Architectural grid pattern overlay */
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(rgba(184,149,42,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,149,42,1) 1px, transparent 1px);
  background-size: 80px 80px;
}
/* Gradient overlay */
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.7) 50%, var(--black) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brass);
  margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before {
  content: ''; width: 40px; height: 1px; background: var(--brass);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 600; line-height: 1.08;
  color: var(--white); margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic; color: var(--brass);
}
.hero-text {
  font-size: 17px; color: rgba(255,255,255,0.55); line-height: 1.75;
  margin-bottom: 44px; max-width: 520px; font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 56px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; font-size: 13px; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: all 0.3s ease;
}
.btn-brass {
  background: var(--brass); color: var(--black);
  border: 1px solid var(--brass);
}
.btn-brass:hover { background: var(--brass-light); border-color: var(--brass-light); }
.btn-outline-light {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline-light:hover { border-color: rgba(255,255,255,0.5); }
.btn-dark {
  background: var(--charcoal); color: var(--white);
  border: 1px solid var(--slate);
}
.btn-dark:hover { background: var(--slate); }
.btn-outline-brass {
  background: transparent; color: var(--brass);
  border: 1px solid var(--brass);
}
.btn-outline-brass:hover { background: var(--brass); color: var(--black); }

/* Hero stats */
.hero-metrics {
  display: flex; gap: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-metric-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 600; color: var(--brass);
  line-height: 1;
}
.hero-metric-label {
  font-size: 11px; color: rgba(255,255,255,0.35);
  margin-top: 6px; text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 500;
}

/* Hero form */
.hero-form {
  background: var(--white); padding: 44px 40px;
  box-shadow: var(--shadow-xl);
}
.hero-form h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 600; color: var(--text);
  margin-bottom: 4px;
}
.hero-form > p {
  font-size: 14px; color: var(--text-secondary); margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 11px; font-weight: 600;
  color: var(--gray-600); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.form-group input, .form-group select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--gray-200);
  font-size: 14px; font-family: inherit;
  transition: border-color 0.2s; background: var(--white);
  color: var(--text);
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--brass);
}
.form-group input::placeholder { color: var(--gray-400); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%; padding: 15px; background: var(--charcoal);
  color: var(--white); border: none; font-size: 12px;
  font-weight: 600; cursor: pointer; text-transform: uppercase;
  letter-spacing: 0.1em; transition: all 0.3s; margin-top: 8px;
}
.form-submit:hover { background: var(--slate); }
.form-fine-print {
  text-align: center; font-size: 11px; color: var(--gray-400);
  margin-top: 14px; line-height: 1.5;
}

/* ===== Clio Grow Form Overrides ===== */
.hero-form form {
  width: 100%;
}
.hero-form label {
  display: block; font-size: 11px; font-weight: 600;
  color: var(--gray-600); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hero-form input[type="text"],
.hero-form input[type="email"],
.hero-form input[type="tel"],
.hero-form input[type="number"],
.hero-form input[type="url"],
.hero-form select,
.hero-form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--gray-200);
  font-size: 14px; font-family: 'Inter', sans-serif;
  transition: border-color 0.2s; background: var(--white);
  color: var(--text); box-sizing: border-box;
  border-radius: 0; -webkit-appearance: none;
  margin-bottom: 14px;
}
.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
  outline: none; border-color: var(--brass);
}
.hero-form input::placeholder,
.hero-form textarea::placeholder { color: var(--gray-400); }
.hero-form textarea {
  min-height: 90px; resize: vertical;
}
.hero-form input[type="submit"],
.hero-form button[type="submit"],
.hero-form button:not([type]) {
  width: 100%; padding: 15px; background: var(--charcoal);
  color: var(--white); border: none; font-size: 12px;
  font-weight: 600; cursor: pointer; text-transform: uppercase;
  letter-spacing: 0.1em; transition: all 0.3s; margin-top: 8px;
  font-family: 'Inter', sans-serif; border-radius: 0;
  -webkit-appearance: none;
}
.hero-form input[type="submit"]:hover,
.hero-form button[type="submit"]:hover,
.hero-form button:not([type]):hover {
  background: var(--slate);
}
/* Hide Clio Grow branding if present */
.hero-form .grow-powered-by,
.hero-form [class*="powered-by"],
.hero-form [class*="branding"] {
  display: none;
}
/* Ensure proper spacing for Clio Grow field wrappers */
.hero-form div[class*="field"],
.hero-form div[class*="form-group"],
.hero-form .form-group {
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 110px 0 60px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-metrics { gap: 32px; flex-wrap: wrap; }
}

/* ===== CREDIBILITY BAR ===== */
.cred-bar {
  background: var(--charcoal); border-bottom: 1px solid rgba(184,149,42,0.08);
  padding: 20px 0;
}
.cred-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 56px; flex-wrap: wrap;
}
.cred-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: rgba(255,255,255,0.45);
  font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em;
}
.cred-item svg { width: 16px; height: 16px; stroke: var(--brass); flex-shrink: 0; }

/* ===== SECTION DEFAULTS ===== */
section { padding: 100px 0; }
.section-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brass);
  margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--brass);
}
.section-eyebrow.center { justify-content: center; }
.section-eyebrow.center::before { display: none; }
.section-eyebrow.center::after {
  content: ''; width: 32px; height: 1px; background: var(--brass);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600; line-height: 1.12;
  color: var(--text); margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.75; max-width: 620px; font-weight: 300;
}
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }
.dark-section { background: var(--charcoal); color: var(--white); }
.dark-section .section-title { color: var(--white); }
.dark-section .section-subtitle { color: rgba(255,255,255,0.5); }
.cream-section { background: var(--cream); }
.white-section { background: var(--white); }

/* ===== SERVICES (Commercial Only) ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--gray-200);
}
.service-card {
  background: var(--white); padding: 48px 36px;
  transition: all 0.4s ease; position: relative;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 36px; right: 36px;
  height: 2px; background: var(--brass); transform: scaleX(0);
  transition: transform 0.4s ease; transform-origin: left;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover { background: var(--off-white); }
.service-card-icon {
  width: 48px; height: 48px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
}
.service-card-icon svg { width: 32px; height: 32px; stroke: var(--brass); }
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600; color: var(--text);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
}

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

/* ===== HOW IT WORKS ===== */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.process-step { position: relative; }
.process-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px; font-weight: 500; color: var(--brass);
  line-height: 1; margin-bottom: 16px; opacity: 0.4;
}
.process-step h3 {
  font-size: 15px; font-weight: 600; color: var(--text);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
}
.process-line {
  position: absolute; top: 28px; left: 60px; right: -40px;
  height: 1px; background: var(--gray-200);
}
.process-step:last-child .process-line { display: none; }

@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-line { display: none; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ===== RESULTS / METRICS ===== */
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  position: relative; z-index: 2;
}
.metric-card {
  text-align: center; padding: 40px 20px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.metric-card::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 1px; background: var(--brass);
}
.metric-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 600; color: var(--brass);
  line-height: 1;
}
.metric-label {
  font-size: 12px; color: rgba(255,255,255,0.4);
  margin-top: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 500;
}

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

/* ===== EDUCATIONAL SECTION ===== */
.edu-section { padding: 100px 0; }
.edu-grid {
  display: grid; grid-template-columns: 300px 1fr; gap: 64px;
}
.edu-nav { position: sticky; top: 100px; align-self: start; }
.edu-nav-list { list-style: none; }
.edu-nav-list li { margin-bottom: 2px; }
.edu-nav-list a {
  display: block; padding: 10px 16px; font-size: 13px;
  color: var(--text-secondary); text-decoration: none;
  border-left: 2px solid transparent; transition: all 0.2s;
  font-weight: 400;
}
.edu-nav-list a:hover,
.edu-nav-list a.active {
  color: var(--brass); border-left-color: var(--brass);
  background: rgba(184,149,42,0.04);
}
.edu-content { }
.edu-topic { margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--gray-200); }
.edu-topic:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.edu-topic h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 600; color: var(--text);
  margin-bottom: 20px;
}
.edu-topic h4 {
  font-size: 15px; font-weight: 600; color: var(--text);
  margin: 28px 0 12px; text-transform: uppercase;
  letter-spacing: 0.04em;
}
.edu-topic p {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 16px;
}
.edu-topic ul {
  list-style: none; margin: 16px 0;
}
.edu-topic ul li {
  padding: 8px 0 8px 24px; font-size: 14px;
  color: var(--text-secondary); line-height: 1.6;
  position: relative;
}
.edu-topic ul li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 8px; height: 1px; background: var(--brass);
}
.edu-highlight {
  background: var(--cream); border-left: 3px solid var(--brass);
  padding: 24px 28px; margin: 24px 0;
}
.edu-highlight p { margin-bottom: 0; font-size: 14px; }
.edu-formula {
  background: var(--charcoal); color: var(--white);
  padding: 24px 28px; margin: 24px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 500;
  text-align: center; letter-spacing: 0.02em;
}
.incentive-table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
}
.incentive-table th {
  text-align: left; padding: 14px 16px; font-size: 11px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gray-600); border-bottom: 2px solid var(--charcoal);
  background: var(--cream);
}
.incentive-table td {
  padding: 14px 16px; font-size: 14px; color: var(--text-secondary);
  border-bottom: 1px solid var(--gray-200); line-height: 1.5;
}
.incentive-table tr:hover td { background: rgba(184,149,42,0.03); }

@media (max-width: 900px) {
  .edu-grid { grid-template-columns: 1fr; gap: 32px; }
  .edu-nav { position: static; }
}

/* ===== GOOGLE REVIEWS ===== */
.reviews-section { background: var(--white); padding: 100px 0; }
.reviews-header-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px;
}
.google-badge {
  display: flex; align-items: center; gap: 16px;
  background: var(--off-white); border: 1px solid var(--gray-200);
  padding: 16px 24px;
}
.google-badge svg { width: 32px; height: 32px; flex-shrink: 0; }
.google-badge-rating {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 600; color: var(--text);
  line-height: 1;
}
.google-badge-stars { color: #F4B400; font-size: 16px; letter-spacing: 2px; }
.google-badge-count { font-size: 12px; color: var(--text-secondary); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.review-card {
  background: var(--off-white); padding: 32px;
  border: 1px solid var(--gray-200);
}
.review-stars { color: #F4B400; font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.review-text {
  font-size: 14px; color: var(--text-secondary); line-height: 1.75;
  margin-bottom: 20px; font-style: italic;
}
.review-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--gray-200);
}
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--charcoal); color: var(--brass);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 16px;
}
.review-name { font-size: 13px; font-weight: 600; color: var(--text); }
.review-source { font-size: 11px; color: var(--gray-400); }

@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-header-row { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* ===== CLIENT PORTAL ===== */
.portal-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.portal-features { list-style: none; }
.portal-features li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--gray-200);
}
.portal-features li:last-child { border-bottom: none; }
.portal-check {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
}
.portal-check svg { width: 20px; height: 20px; stroke: var(--brass); }
.portal-features h4 { font-size: 14px; font-weight: 600; color: var(--text); }
.portal-features p { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.portal-login-card {
  background: var(--charcoal); padding: 56px 44px; text-align: center;
}
.portal-lock-icon {
  width: 56px; height: 56px; margin: 0 auto 24px;
  border: 1px solid rgba(184,149,42,0.3); display: flex;
  align-items: center; justify-content: center;
}
.portal-lock-icon svg { width: 24px; height: 24px; stroke: var(--brass); }
.portal-login-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 600; color: var(--white);
  margin-bottom: 12px;
}
.portal-login-card p {
  font-size: 14px; color: rgba(255,255,255,0.45); margin-bottom: 32px;
}
.portal-login-btn {
  display: block; width: 100%; padding: 15px;
  background: var(--brass); color: var(--black); border: none;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; cursor: pointer; text-decoration: none;
  text-align: center; transition: all 0.3s;
}
.portal-login-btn:hover { background: var(--brass-light); }
.portal-new-client {
  margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.35);
}
.portal-new-client a { color: var(--brass); text-decoration: none; }

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

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200); overflow: hidden;
}
.faq-question {
  width: 100%; padding: 24px 0; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-size: 16px; font-weight: 500;
  color: var(--text); text-align: left; font-family: inherit;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--brass); }
.faq-toggle {
  width: 20px; height: 20px; flex-shrink: 0; margin-left: 20px;
  position: relative;
}
.faq-toggle::before, .faq-toggle::after {
  content: ''; position: absolute; background: var(--brass);
  transition: transform 0.3s;
}
.faq-toggle::before { width: 14px; height: 1px; top: 50%; left: 3px; }
.faq-toggle::after { width: 1px; height: 14px; left: 50%; top: 3px; }
.faq-item.active .faq-toggle::after { transform: rotate(90deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner {
  padding: 0 0 24px; font-size: 14px;
  color: var(--text-secondary); line-height: 1.8;
}
.faq-item.active .faq-answer { max-height: 400px; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--charcoal); padding: 80px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(rgba(184,149,42,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,149,42,1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600; color: var(--white);
  margin-bottom: 16px; position: relative; z-index: 2;
}
.cta-section p {
  font-size: 16px; color: rgba(255,255,255,0.45);
  margin-bottom: 36px; position: relative; z-index: 2;
}
.cta-section .btn { position: relative; z-index: 2; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black); color: rgba(255,255,255,0.4);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p {
  font-size: 14px; line-height: 1.7; margin-top: 20px;
  color: rgba(255,255,255,0.35);
}
.footer-contact { margin-top: 24px; }
.footer-contact a {
  display: flex; align-items: center; gap: 8px;
  color: var(--brass); text-decoration: none; font-size: 13px;
  font-weight: 500; margin-bottom: 8px; letter-spacing: 0.02em;
}
.footer h4 {
  color: var(--white); font-size: 11px; font-weight: 600;
  margin-bottom: 20px; text-transform: uppercase;
  letter-spacing: 0.12em;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: rgba(255,255,255,0.35); text-decoration: none;
  font-size: 13px; transition: color 0.2s;
}
.footer ul a:hover { color: var(--brass); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.25);
}
.footer-bottom a { color: rgba(255,255,255,0.25); text-decoration: none; }
.footer-bottom a:hover { color: var(--brass); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ===== CASE STUDIES SECTION ===== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.case-card {
  background: #fff;
  border: 1px solid #e0d6c2;
  border-radius: 4px;
  padding: 2rem;
  transition: box-shadow 0.3s ease;
}
.case-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.case-card-type {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0A0A0A;
  margin-bottom: 0.25rem;
}
.case-card-location {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.case-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid #e0d6c2;
  border-bottom: 1px solid #e0d6c2;
  margin-bottom: 1.25rem;
}
.case-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  margin-bottom: 0.35rem;
}
.case-stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0A0A0A;
}
.case-stat-value.highlight {
  color: #B8952A;
}
.case-card-detail {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1rem;
}
.case-card-detail strong {
  color: #0A0A0A;
}
.case-card-savings {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #0A0A0A;
  background: #f8f5ef;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  text-align: center;
}
.case-card-savings strong {
  color: #B8952A;
  font-size: 1.1rem;
}
.case-studies-cta {
  text-align: center;
  margin-top: 2.5rem;
}
.case-studies-cta p {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 1rem;
  font-style: italic;
}

/* ===== FEE TRANSPARENCY BANNER ===== */
.fee-banner {
  background: #1A1A1A;
  padding: 1rem 0;
  border-top: 1px solid #B8952A;
}
.fee-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #ccc;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}
.fee-banner-inner svg {
  color: #B8952A;
  flex-shrink: 0;
}
.fee-banner-inner strong {
  color: #B8952A;
}

/* ===== FORM TRUST NOTE ===== */
.form-trust-note {
  font-size: 0.75rem;
  color: #888;
  text-align: center;
  margin-top: 0.75rem;
}
.form-trust-note a {
  color: #B8952A;
  text-decoration: underline;
}

/* ===== PROCESS INFOGRAPHIC ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: #B8952A;
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}
.process-step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #B8952A;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.process-step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #0A0A0A;
  margin-bottom: 0.5rem;
}
.process-step-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}
.process-step-time {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #B8952A;
  font-weight: 600;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== RESPONSIVE ADDITIONS ===== */
@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  .case-card-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .process-steps::before {
    display: none;
  }
  .fee-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== TRUST BUILDERS SECTION (Task 7) ===== */
.trust-section {
  background: #F8F5EF;
  padding: 5rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.trust-card {
  background: #fff;
  border: 1px solid #e0d6c2;
  border-radius: 4px;
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.3s ease;
}
.trust-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.trust-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: #B8952A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-card-icon svg {
  color: #fff;
  width: 28px;
  height: 28px;
}
.trust-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0A0A0A;
  margin-bottom: 0.5rem;
}
.trust-card-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
}
.trust-card-stat {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #B8952A;
  margin-bottom: 0.25rem;
}
/* Before/After comparison */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.ba-card {
  background: #fff;
  border: 1px solid #e0d6c2;
  border-radius: 4px;
  padding: 2rem;
  text-align: center;
}
.ba-card.after {
  border-color: #B8952A;
  box-shadow: 0 4px 20px rgba(184,149,42,0.15);
}
.ba-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 0.5rem;
}
.ba-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #0A0A0A;
}
.ba-card.after .ba-value {
  color: #B8952A;
}
.ba-detail {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.25rem;
}
.ba-arrow {
  font-size: 2rem;
  color: #B8952A;
}
.ba-savings {
  text-align: center;
  margin-top: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #0A0A0A;
}
.ba-savings strong {
  color: #B8952A;
  font-size: 1.15rem;
}
@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .ba-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .ba-arrow {
    transform: rotate(90deg);
  }
}

/* ===== MOBILE OPTIMIZATION (Task 11) ===== */
@media (max-width: 768px) {
  /* Fix small font sizes */
  .hero-metric-label,
  .section-eyebrow {
    font-size: 12px;
  }
  .form-trust-note {
    font-size: 12px;
  }
  /* Fix nav tap targets */
  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
  }
  /* Fix CTA buttons tap size */
  .btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  /* FAQ button tap targets */
  .faq-question {
    min-height: 48px;
    padding: 16px;
    font-size: 1rem;
  }
  /* Hero section mobile spacing */
  .hero {
    padding: 2rem 0;
  }
  .hero h1 {
    font-size: 2rem;
    line-height: 1.15;
  }
  .hero-text {
    font-size: 0.95rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  /* Form mobile */
  .hero-form {
    margin-top: 2rem;
    padding: 1.5rem;
  }
  /* Cred bar mobile */
  .cred-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 0;
  }
  /* Stats section mobile */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  /* Section padding mobile */
  .cream-section,
  .white-section,
  .dark-section,
  .trust-section {
    padding: 3rem 0;
  }
  .section-title {
    font-size: 1.5rem;
  }
  /* Card grids mobile */
  .service-cards,
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  /* Container padding */
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  /* Before/After mobile */
  .ba-value {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.65rem;
  }
  .section-title {
    font-size: 1.35rem;
  }
  .case-card {
    padding: 1.25rem;
  }
  .trust-card-stat {
    font-size: 1.75rem;
  }
}