/* ═══════════════════════════════════════════════════
   ProCFO Business and Tax Services — Shared Stylesheet
   procfobts.com | Version 2.0 | 2026
   ═══════════════════════════════════════════════════ */

:root {
  --navy: #2D3436;
  --navy-mid: #3d4a4c;
  --navy-light: #4a5e60;
  --gold: #B2BEC3;
  --gold-light: #c8d2d8;
  --gold-pale: #eef1f4;
  --orange: #0984E3;
  --orange-light: #2a96f0;
  --orange-pale: #e8f4fd;
  --white: #ffffff;
  --cloud: #F5F6FA;
  --slate: #333333;
  --slate-light: #6b7280;
  --border: rgba(178,190,195,0.35);
  --border-light: rgba(45,52,54,0.09);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cloud);
  color: var(--slate);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* ─── LAYOUT ─── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: 1380px; margin: 0 auto; padding: 0 32px; }

/* ─── UTILITY ─── */
.label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange);
}
.label-on-dark { color: var(--gold); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 16px 32px; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 15px 32px; border: 1px solid rgba(255,255,255,0.45);
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }

.btn-navy {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 16px 32px; transition: background 0.2s;
}
.btn-navy:hover { background: var(--navy-light); }

.btn-cta-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 16px 32px; transition: background 0.2s;
}
.btn-cta-dark:hover { background: var(--orange-light); }

.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 15px 32px; border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}
.btn-outline-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

/* ─── TOPBAR ─── */
.topbar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 10px 0;
}
.topbar-inner {
  display: flex; justify-content: space-between;
  align-items: center; gap: 20px; flex-wrap: wrap;
}
.topbar-left { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.topbar-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: rgba(255,255,255,0.7);
  text-decoration: none; transition: color 0.2s;
}
.topbar-item:hover { color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55); text-decoration: none; font-size: 12px;
  transition: all 0.2s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.smartvault-link {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold); text-decoration: none;
  border: 1px solid rgba(178,190,195,0.35); padding: 5px 14px; transition: all 0.2s;
}
.smartvault-link:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* ─── NAV ─── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 12px rgba(45,52,54,0.07);
}
.nav-inner {
  display: flex; justify-content: space-between;
  align-items: center; height: 76px;
}
.logo { display: flex; flex-direction: column; text-decoration: none; gap: 2px; }
.logo-mark {
  font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 700;
  color: var(--navy); letter-spacing: -0.02em; line-height: 1;
}
.logo-mark span { color: var(--orange); }
.logo-sub {
  font-size: 9px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--slate-light);
}
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--navy); text-decoration: none;
  position: relative; padding-bottom: 3px; transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px; background: var(--orange); transition: width 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: 15px; font-weight: 600; color: var(--navy); transition: color 0.2s;
}
.nav-phone:hover { color: var(--orange); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: all 0.3s; }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: var(--navy); flex-direction: column; padding: 80px 32px 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer;
}
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 40px; }
.mobile-nav-links a {
  display: block; font-family: 'Cormorant Garamond', serif; font-size: 32px;
  font-weight: 600; color: var(--white); text-decoration: none;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.07); transition: color 0.2s;
}
.mobile-nav-links a:hover { color: var(--gold); }
.mobile-nav-contact { display: flex; flex-direction: column; gap: 12px; }
.mobile-nav-contact a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 15px; transition: color 0.2s; }
.mobile-nav-contact a:hover { color: var(--gold); }

/* ─── TRUST STRIP ─── */
.trust-strip { background: var(--orange); padding: 20px 0; }
.trust-strip-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--white); }

/* ─── PAGE HERO (interior pages) ─── */
.page-hero {
  background: var(--navy); padding: 72px 0;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(178,190,195,0.05) 0%, transparent 60%);
}
.page-hero-inner { position: relative; }
.page-hero .label { color: var(--gold); margin-bottom: 14px; display: block; }
.page-hero h1 {
  font-size: clamp(36px, 4vw, 54px); font-weight: 600; color: var(--white);
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p {
  font-size: 17px; color: rgba(255,255,255,0.68);
  max-width: 600px; line-height: 1.7;
}
.page-hero-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 24px; font-size: 12px; color: rgba(255,255,255,0.4);
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.page-hero-breadcrumb a:hover { color: var(--gold); }
.page-hero-breadcrumb span { color: rgba(255,255,255,0.25); }

/* ─── SECTION HEADER ─── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .label { margin-bottom: 14px; display: block; }
.section-header h2 { font-size: 46px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.section-header p { font-size: 17px; color: var(--slate); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ─── SERVICE CARDS ─── */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border-light); }
.service-card {
  background: var(--white); padding: 36px 32px;
  transition: background 0.25s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--orange); transform: scaleX(0); transition: transform 0.3s;
}
.service-card:hover { background: var(--cloud); }
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon { font-size: 26px; margin-bottom: 20px; display: block; }
.service-card h3 { font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 14.5px; line-height: 1.7; color: var(--slate); margin-bottom: 16px; }
.service-card-link {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--orange); text-decoration: none;
  display: flex; align-items: center; gap: 6px; transition: gap 0.2s;
}
.service-card-link:hover { gap: 10px; }
.service-card.dark {
  background: var(--navy);
  display: flex; flex-direction: column; justify-content: center;
}
.service-card.dark::before { display: none; }

/* ─── A2P FORM ELEMENTS ─── */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate-light); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; border: 1px solid var(--border-light);
  background: var(--cloud); padding: 12px 16px;
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  color: var(--navy); outline: none; transition: border-color 0.2s; resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--orange); background: var(--white);
}
.form-group select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23718096' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  background-color: var(--cloud); padding-right: 36px;
}
.form-group textarea { min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* A2P SMS Consent */
.sms-consent {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 18px;
  background: var(--orange-pale);
  border: 1px solid rgba(9,132,227,0.2);
  margin-bottom: 16px;
}
.sms-consent input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px; margin-top: 2px;
  cursor: pointer; accent-color: var(--orange);
}
.sms-consent-text {
  font-size: 12px; line-height: 1.6; color: var(--slate);
}
.sms-consent-text a { color: var(--orange); text-decoration: underline; }
.sms-consent-text strong { color: var(--navy); }
.form-disclaimer {
  font-size: 11px; color: var(--slate-light);
  margin-top: 12px; line-height: 1.6;
}
.form-disclaimer a { color: var(--orange); }
.form-submit {
  width: 100%; padding: 16px;
  background: var(--navy); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: none; cursor: pointer; margin-top: 4px; transition: background 0.2s;
}
.form-submit:hover { background: var(--navy-light); }

/* ─── CTA SECTION ─── */
.cta-section {
  padding: 100px 0; background: var(--navy);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 119px, rgba(255,255,255,0.025) 119px, rgba(255,255,255,0.025) 120px);
}
.cta-inner {
  position: relative; display: grid;
  grid-template-columns: 1fr auto; gap: 60px; align-items: center;
}
.cta-label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.cta-inner h2 { font-size: 44px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.cta-inner p { font-size: 17px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; white-space: nowrap; }

/* ─── FOOTER ─── */
footer { background: var(--navy); padding: 72px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo-mark {
  font-family: 'Cormorant Garamond', serif; font-size: 28px;
  font-weight: 700; color: var(--white); letter-spacing: -0.02em; margin-bottom: 4px;
}
.footer-logo-mark span { color: var(--orange); }
.footer-logo-sub {
  font-size: 9px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 20px;
}
.footer-desc { font-size: 13.5px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-col-title {
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 13.5px; color: rgba(255,255,255,0.5); text-decoration: none;
  transition: color 0.2s; display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-icon { color: var(--gold); font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-text { font-size: 13.5px; color: rgba(255,255,255,0.5); line-height: 1.5; }
.footer-contact-text a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-contact-text a:hover { color: var(--gold); }
.footer-bottom {
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.footer-bottom-text { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 12px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }
.footer-egp-badge {
  font-size: 11px; color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.footer-egp-badge span { color: rgba(255,255,255,0.55); }

/* ─── PROSE (policy pages) ─── */
.prose-section { padding: 80px 0; background: var(--white); }
.prose-container { max-width: 820px; margin: 0 auto; padding: 0 32px; }
.prose-section h2 {
  font-size: 30px; font-weight: 600; color: var(--navy);
  margin: 48px 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--orange-pale);
}
.prose-section h2:first-of-type { margin-top: 0; }
.prose-section h3 { font-size: 20px; font-weight: 600; color: var(--navy); margin: 28px 0 10px; }
.prose-section p { font-size: 15.5px; line-height: 1.8; color: var(--slate); margin-bottom: 16px; }
.prose-section ul, .prose-section ol {
  margin: 12px 0 20px 24px; display: flex; flex-direction: column; gap: 8px;
}
.prose-section li { font-size: 15px; line-height: 1.7; color: var(--slate); }
.prose-section a { color: var(--orange); }
.prose-highlight {
  background: var(--orange-pale); border-left: 3px solid var(--orange);
  padding: 18px 24px; margin: 24px 0; border-radius: 0;
}
.prose-highlight p { margin: 0; font-size: 14.5px; }
.prose-section .effective-date {
  font-size: 13px; color: var(--slate-light); margin-bottom: 32px;
  padding: 12px 0; border-bottom: 1px solid var(--border-light);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease-out both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.25s; }
.fade-up-3 { animation-delay: 0.4s; }
.fade-up-4 { animation-delay: 0.55s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .topbar-right { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 34px; }
  .cta-inner h2 { font-size: 32px; }
  .trust-strip-inner { gap: 20px; }
}
