/* ============================================================
   Pragmatic Business Solutions — Design System
   Font: Inter · Brand: #F26354 coral · #0A0A0A ink
   ============================================================ */

:root {
  --coral:       #F26354;
  --coral-dk:    #D94F3F;
  --coral-lt:    #F9A79C;
  --coral-bg:    #FEF2F0;
  --ink:         #0A0A0A;
  --ink-2:       #141414;
  --ink-3:       #1E1E1E;
  --ink-4:       #2A2A2A;
  --text:        #E8E8E8;
  --text-2:      rgba(255,255,255,.6);
  --text-3:      rgba(255,255,255,.35);
  --muted:       #71717A;
  --muted-lt:    #A1A1AA;
  --border:      #E4E4E7;
  --border-dk:   rgba(255,255,255,.08);
  --surface:     #F9FAFB;
  --white:       #FFFFFF;
  --green:       #16A34A;
  --green-bg:    #F0FDF4;
  --amber:       #D97706;
  --amber-bg:    #FFFBEB;
  --red:         #DC2626;
  --red-bg:      #FEF2F2;
  --purple:      #7C3AED;
  --purple-bg:   #F5F3FF;
  --blue:        #2563EB;
  --blue-bg:     #EFF6FF;
  --radius:      8px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --shadow:      0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12);
  --ease:        cubic-bezier(.4,0,.2,1);
  --ease-out:    cubic-bezier(0,0,.2,1);
  --w:           1200px;
  --nav-h:       72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; line-height: 1.6; color: #333; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* ── Container ── */
.container { max-width: var(--w); margin: 0 auto; padding: 0 24px; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.25rem; }
.text-center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 100px; font-weight: 600; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: all .2s var(--ease);
  background: var(--coral); color: var(--white); text-decoration: none;
}
.btn:hover { background: var(--coral-dk); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(242,99,84,.3); }
.btn-ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.2); box-shadow: none; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--coral); color: var(--coral); background: var(--coral-bg); box-shadow: none; }
.btn-success { background: var(--green); color: var(--white); }
.btn-success:hover { background: #15803d; box-shadow: 0 4px 20px rgba(22,163,74,.3); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent; transition: all .35s var(--ease);
  height: var(--nav-h);
}
.nav.scrolled {
  background: rgba(10,10,10,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; }
.nav-logo-full { height: 44px; }
.nav-logo-symbol { height: 38px; display: none; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7);
  transition: color .2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--coral); border-radius: 2px;
}
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* Burger */
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative; z-index: 1001;
}
.nav-burger span {
  display: block; width: 100%; height: 2px; background: var(--white);
  position: absolute; left: 0; transition: all .3s var(--ease);
}
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 9px; }
.nav-burger span:nth-child(3) { bottom: 0; }
.nav-burger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { bottom: 9px; transform: rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999;
  background: var(--ink); padding: 100px 32px 40px;
  display: flex; flex-direction: column; gap: 12px;
  transform: translateX(100%); transition: transform .4s var(--ease);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a { font-size: 20px; font-weight: 600; color: var(--white); padding: 8px 0; }

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: block; }
  .nav-logo-full { display: none; }
  .nav-logo-symbol { display: block; }
}

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--ink); color: var(--white); overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; overflow: hidden;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .4;
  transition: transform .3s ease-out;
}
.hero-orb-1 { width: 600px; height: 600px; background: var(--coral); top: -20%; right: -10%; }
.hero-orb-2 { width: 400px; height: 400px; background: #7C3AED; bottom: -10%; left: -5%; }
.hero-orb-3 { width: 300px; height: 300px; background: #2563EB; top: 40%; left: 40%; opacity: .2; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 100px;
  background: rgba(242,99,84,.12); border: 1px solid rgba(242,99,84,.25);
  color: var(--coral-lt); font-size: 14px; font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 { margin-bottom: 20px; }
.hero-typed { color: var(--coral); }
.typing-cursor {
  color: var(--coral); animation: blink 1s step-end infinite; font-weight: 300;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { font-size: 19px; color: var(--text-2); max-width: 600px; line-height: 1.7; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-proof { display: flex; gap: 48px; flex-wrap: wrap; }
.hero-stat span { display: block; font-size: 2.2rem; font-weight: 800; color: var(--white); }
.hero-stat small { font-size: 13px; color: var(--text-2); font-weight: 500; margin-top: 4px; display: block; }

/* ── Ticker ── */
.ticker {
  background: var(--ink-2); border-top: 1px solid var(--border-dk);
  border-bottom: 1px solid var(--border-dk); overflow: hidden; padding: 16px 0;
}
.ticker-track {
  display: flex; gap: 48px; animation: tickerScroll 30s linear infinite; white-space: nowrap;
}
.ticker-item {
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.3);
  text-transform: uppercase; letter-spacing: 1px; flex-shrink: 0;
}
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Sections ── */
.section { padding: 100px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--text-2); }
.section-alt { background: var(--surface); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header p { font-size: 17px; color: var(--muted); margin-top: 12px; line-height: 1.7; }
.section-tag {
  display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--coral); margin-bottom: 12px;
}
.cta-section {
  background: linear-gradient(135deg, var(--coral) 0%, #D94F3F 100%);
  color: var(--white); padding: 80px 0;
}
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,.85); }

/* ── Service Cards (homepage) ── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px;
}
.service-card {
  display: block; padding: 32px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: all .25s var(--ease); position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--coral); transform: scaleX(0); transition: transform .3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--coral-bg); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--coral);
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.service-link { font-size: 14px; font-weight: 600; color: var(--coral); }

/* ── Pricing Grid ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.pricing-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 36px 32px; text-align: center; position: relative; transition: all .25s var(--ease);
}
.section-dark .pricing-card { background: var(--ink-3); border-color: var(--border-dk); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral), var(--shadow-lg);
  transform: scale(1.03);
}
.section-dark .pricing-card.featured { border-color: var(--coral); }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: var(--white); font-size: 12px; font-weight: 700;
  padding: 5px 18px; border-radius: 100px; text-transform: uppercase; letter-spacing: .5px;
}
.pricing-tier { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 12px; }
.section-dark .pricing-tier { color: var(--text-2); }
.pricing-price { font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 8px; }
.section-dark .pricing-price { color: var(--white); }
.pricing-currency { font-size: 1.5rem; vertical-align: super; font-weight: 600; }
.pricing-period { font-size: 1rem; font-weight: 400; color: var(--muted); }
.pricing-plus { font-size: 1.5rem; color: var(--muted); }
.pricing-desc { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li {
  padding: 8px 0 8px 24px; font-size: 14px; color: #555;
  border-bottom: 1px solid rgba(0,0,0,.04); position: relative;
}
.section-dark .pricing-features li { color: var(--text-2); border-bottom-color: rgba(255,255,255,.04); }
.pricing-features li::before {
  content: '✓'; position: absolute; left: 0; color: var(--coral); font-weight: 700;
}

/* Pricing Tabs */
.pricing-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px;
}
.pricing-tab-btn {
  padding: 10px 24px; border-radius: 100px; font-size: 14px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border); color: #555; cursor: pointer;
  transition: all .2s var(--ease);
}
.pricing-tab-btn:hover { border-color: var(--coral); color: var(--coral); }
.pricing-tab-btn.active { background: var(--coral); color: var(--white); border-color: var(--coral); }
.pricing-tab-panel { display: none; }
.pricing-tab-panel.active { display: block; }

/* ── Timeline ── */
.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--coral), var(--coral-lt));
}
.timeline-item {
  display: flex; gap: 32px; position: relative; padding-bottom: 48px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-number {
  width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
  background: var(--coral); color: var(--white); font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
}
.timeline-content h3 { margin-bottom: 8px; }
.timeline-content p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.timeline-details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.timeline-details h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--coral); margin-bottom: 10px; }
.timeline-details ul { list-style: none; }
.timeline-details li { padding: 4px 0 4px 16px; position: relative; font-size: 14px; color: #555; }
.timeline-details li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral-lt); }
.timeline-duration { font-size: 13px; color: var(--coral); font-weight: 600; margin-top: 16px; }

/* ── Values Grid ── */
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px;
}
.value-card {
  padding: 28px; border-radius: var(--radius-lg); transition: all .25s var(--ease);
}
.section-dark .value-card { background: rgba(255,255,255,.03); border: 1px solid var(--border-dk); }
.value-card:hover { transform: translateY(-2px); }
.section-dark .value-card:hover { background: rgba(255,255,255,.06); }
.value-icon { margin-bottom: 16px; }
.value-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.value-card p { font-size: 14px; line-height: 1.7; }
.section-dark .value-card h3 { color: var(--white); }
.section-dark .value-card p { color: var(--text-2); }

/* ── About ── */
.about-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-content .section-tag { margin-bottom: 8px; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 14px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--coral); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }
@media (max-width: 768px) { .about-split { grid-template-columns: 1fr; gap: 40px; } }

/* Mission */
.mission-block { max-width: 800px; margin: 0 auto; text-align: center; }
.mission-block h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1.5; font-weight: 600; color: var(--white); margin-bottom: 20px; }
.mission-block p { font-size: 16px; color: var(--text-2); line-height: 1.8; }

/* ── Page Hero (inner pages) ── */
.page-hero { padding: 140px 0 60px; background: var(--ink); color: var(--white); text-align: center; }
.page-hero h1 { margin: .5rem 0; }
.page-hero p { font-size: 18px; color: var(--text-2); max-width: 640px; margin: .75rem auto 0; line-height: 1.7; }
.page-hero-sm { padding: 130px 0 40px; }
.page-hero-sm h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }

/* ── Service Detail (services page) ── */
.service-detail { max-width: 880px; margin: 0 auto; }
.service-detail-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.service-icon-lg {
  width: 72px; height: 72px; background: var(--coral-bg); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.service-detail h2 { font-size: 1.8rem; margin: 0; }
.service-location { font-size: 14px; color: var(--muted); margin-top: 4px; }
.service-detail > p { font-size: 16px; color: #444; line-height: 1.8; margin-bottom: 24px; }
.service-features { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 32px 0; }
.service-feature-col h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--coral); margin-bottom: 12px; }
.service-feature-col ul { list-style: none; }
.service-feature-col li { padding: 6px 0 6px 20px; position: relative; font-size: 15px; color: #555; }
.service-feature-col li::before { content: ''; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral-lt); }
.service-cta { display: flex; gap: 12px; margin-top: 32px; }
@media (max-width: 768px) {
  .service-features { grid-template-columns: 1fr; }
  .service-detail-header { flex-direction: column; align-items: flex-start; }
}

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.contact-info-card h3 { font-size: 16px; margin: 0 0 12px; }
.contact-map iframe { border-radius: var(--radius); margin-top: 12px; }
.hours-list { display: flex; flex-direction: column; gap: 8px; }
.hours-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.hours-row span:last-child { font-weight: 600; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Forms ── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 15px; color: var(--ink); background: var(--white); transition: border-color .2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--coral); box-shadow: 0 0 0 3px rgba(242,99,84,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.required { color: var(--red); }

/* ── Alerts ── */
.alert { padding: 14px 20px; border-radius: var(--radius); font-size: 14px; margin-bottom: 16px; }
.alert-success { background: var(--green-bg); color: #166534; border: 1px solid #BBF7D0; }
.alert-error { background: var(--red-bg); color: #991B1B; border: 1px solid #FECACA; }
.alert-warning { background: var(--amber-bg); color: #92400E; border: 1px solid #FDE68A; }
.alert-info { background: var(--blue-bg); color: #1E40AF; border: 1px solid #BFDBFE; }

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 100px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px;
}
.badge-coral { background: var(--coral-bg); color: var(--coral); }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-amber { background: var(--amber-bg); color: var(--amber); }
.badge-red { background: var(--red-bg); color: var(--red); }
.badge-blue { background: var(--blue-bg); color: var(--blue); }
.badge-purple { background: var(--purple-bg); color: var(--purple); }
.badge-gray { background: #F4F4F5; color: var(--muted); }

/* ── Legal Content ── */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin: 32px 0 12px; }
.legal-content h3 { font-size: 1.1rem; margin: 20px 0 8px; color: #333; }
.legal-content p, .legal-content li { font-size: 15px; line-height: 1.8; color: #444; }
.legal-content ul { padding-left: 20px; margin: 8px 0 16px; list-style: disc; }
.legal-content a { color: var(--coral); }

/* ── Add-on Grid ── */
.addon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.addon-card {
  background: var(--ink-3); border: 1px solid var(--border-dk); border-radius: var(--radius-lg);
  padding: 24px; transition: transform .2s var(--ease), box-shadow .2s;
}
.addon-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.addon-card h4 { color: var(--white); font-size: 16px; margin: 8px 0 6px; }
.addon-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin: 0; }
.addon-price { font-size: 24px; font-weight: 800; color: var(--coral); }
.addon-price small { font-size: 14px; font-weight: 400; color: var(--text-2); }

/* ── Check / X Lists ── */
.check-list, .x-list { list-style: none; }
.check-list li, .x-list li { padding: 8px 0 8px 28px; position: relative; font-size: 15px; color: #444; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.x-list li::before { content: '✕'; position: absolute; left: 0; color: #ccc; font-weight: 700; }

/* ── Footer ── */
.footer { background: var(--ink); color: var(--text-2); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: var(--text-2); padding: 4px 0; transition: color .15s; }
.footer-col a:hover { color: var(--coral); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid var(--border-dk); font-size: 13px; color: var(--text-3);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Scroll to Top ── */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px;
  border-radius: 50%; background: var(--ink); color: var(--white); border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all .3s var(--ease); z-index: 99;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--coral); }

/* ── Reveal Animations ── */
/* Default: content is visible (no-JS fallback) */
.reveal { opacity: 1; transform: translateY(0); }
.stagger-children > * { opacity: 1; transform: translateY(0); }
/* When JS adds .js-ready to <html>, hide for animation */
.js-ready .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.js-ready .reveal.visible { opacity: 1; transform: translateY(0); }
.js-ready .stagger-children > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.js-ready .stagger-children > .visible { opacity: 1; transform: translateY(0); }

/* ── Spinner ── */
.spinner {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3); border-top-color: #fff;
  border-radius: 50%; animation: spin .6s linear infinite;
  vertical-align: middle; margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════
   DASHBOARD
   ═══════════════════════════════════════════════════════════ */

/* ── Auth (Login/Register) ── */
.auth-body { background: var(--surface); min-height: 100vh; }
.auth-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-brand {
  background: var(--ink); color: var(--white); padding: 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.auth-brand h2 { font-size: 2rem; margin: 32px 0 12px; }
.auth-brand p { font-size: 16px; color: var(--text-2); line-height: 1.7; }
.auth-form-wrap {
  display: flex; align-items: center; justify-content: center; padding: 40px;
}
.auth-form-inner { width: 100%; max-width: 420px; }
.auth-form-inner h1 { font-size: 1.8rem; margin-bottom: 8px; }
.auth-form-inner > p { color: var(--muted); margin-bottom: 24px; }
@media (max-width: 768px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-brand { padding: 40px 24px; min-height: auto; }
}

/* ── Dashboard Layout ── */
.dash-body { background: var(--surface); min-height: 100vh; }
.dash-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: 260px; z-index: 100;
  background: var(--ink); display: flex; flex-direction: column;
  transition: transform .3s var(--ease);
}
.dash-sidebar-logo { padding: 20px 24px; border-bottom: 1px solid var(--border-dk); }
.dash-sidebar-user { padding: 20px 24px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border-dk); }
.avatar-circle {
  width: 38px; height: 38px; border-radius: 50%; background: var(--coral);
  color: var(--white); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dash-sidebar-name { font-size: 14px; font-weight: 600; color: var(--white); }
.dash-sidebar-email { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; }
.dash-sidebar-nav { flex: 1; padding: 12px 12px; overflow-y: auto; }
.dash-sidebar-nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; color: var(--text-2); transition: all .15s;
  margin-bottom: 2px;
}
.dash-sidebar-nav a:hover { background: rgba(255,255,255,.06); color: var(--white); }
.dash-sidebar-nav a.active { background: rgba(242,99,84,.15); color: var(--coral); }
.sidebar-badge {
  background: var(--coral); color: var(--white); font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 100px; display: inline-flex;
  align-items: center; justify-content: center; padding: 0 5px; margin-left: auto;
}
.dash-sidebar-footer { padding: 16px 24px; border-top: 1px solid var(--border-dk); }
.dash-sidebar-footer a { display: block; font-size: 13px; color: var(--text-3); padding: 4px 0; transition: color .15s; }
.dash-sidebar-footer a:hover { color: var(--coral); }

.dash-main { margin-left: 260px; min-height: 100vh; }
.dash-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 32px; background: var(--white); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.dash-page-title { font-size: 1.3rem; font-weight: 700; margin: 0; }
.dash-topbar-actions { display: flex; align-items: center; gap: 12px; }
.dash-content { padding: 32px; }

.sidebar-toggle {
  display: none; position: fixed; top: 16px; left: 16px; z-index: 101;
  width: 40px; height: 40px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--border); cursor: pointer; align-items: center; justify-content: center;
}

@media (max-width: 900px) {
  .dash-sidebar { transform: translateX(-100%); }
  .dash-sidebar.open { transform: translateX(0); }
  .dash-main { margin-left: 0; }
  .sidebar-toggle { display: flex; }
  .dash-topbar { padding-left: 64px; }
  .dash-content { padding: 20px; }
}

/* ── Stat Grid (dashboard overview) ── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px;
}
.stat-card-label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; margin-bottom: 4px; }
.stat-card-value { font-size: 1.8rem; font-weight: 800; color: var(--ink); }

/* ── Progress Bar ── */
.progress-bar { background: #E5E5E5; border-radius: 100px; height: 8px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--coral); border-radius: 100px; transition: width .5s var(--ease); }
.progress-label { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── Quick Actions ── */
.quick-actions { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.quick-action-btn {
  display: flex; align-items: center; gap: 8px; padding: 10px 20px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; transition: all .15s;
}
.quick-action-btn:hover { border-color: var(--coral); color: var(--coral); }

/* ── Dash Section ── */
.dash-section { margin-bottom: 32px; }
.dash-section h3 { font-size: 16px; margin: 0 0 16px; }
.dash-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dash-section-header h2 { font-size: 18px; margin: 0; }
.dash-section-link { font-size: 14px; color: var(--coral); font-weight: 600; text-decoration: none; }

/* ── Project Cards (dashboard) ── */
.project-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.project-card {
  display: block; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; text-decoration: none;
  color: inherit; transition: box-shadow .2s, transform .2s;
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.project-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.project-card-number { font-size: 12px; font-weight: 600; color: var(--muted); }
.project-card h3 { font-size: 16px; margin: 0 0 4px; color: var(--ink); }
.project-card-service { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.project-card-due { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ── Project Detail ── */
.project-detail-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.project-detail-number { font-size: 13px; font-weight: 600; color: var(--muted); }
.project-detail-header h2 { margin: 4px 0; font-size: 1.6rem; }
.project-detail-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 4px; }
.project-detail-progress { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.project-description { background: var(--surface); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; color: #444; line-height: 1.7; }

/* ── Milestones ── */
.milestone-tracker { display: flex; flex-direction: column; gap: 0; }
.milestone-item { display: flex; gap: 16px; padding: 16px 0; border-left: 2px solid var(--border); margin-left: 11px; padding-left: 24px; position: relative; }
.milestone-item:last-child { border-left-color: transparent; }
.milestone-marker {
  position: absolute; left: -12px; top: 16px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--surface); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.milestone-complete .milestone-marker { background: var(--green); border-color: var(--green); color: var(--white); }
.milestone-in_progress .milestone-marker { background: var(--coral); border-color: var(--coral); }
.milestone-title { font-size: 15px; font-weight: 600; }
.milestone-desc { font-size: 13px; color: var(--muted); margin-top: 2px; }
.milestone-date { font-size: 12px; color: var(--muted-lt); margin-top: 4px; display: inline-block; }

/* ── Chat / Messages ── */
.chat-messages { max-height: 500px; overflow-y: auto; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 12px; display: flex; flex-direction: column; gap: 16px; }
.chat-msg { display: flex; gap: 10px; }
.chat-msg-admin { flex-direction: row; }
.chat-msg-client { flex-direction: row-reverse; }
.chat-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink);
  color: var(--white); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-msg-client .chat-avatar { background: var(--coral); }
.chat-bubble { max-width: 70%; padding: 12px 16px; border-radius: var(--radius-lg); font-size: 14px; line-height: 1.6; }
.chat-msg-admin .chat-bubble { background: var(--white); border: 1px solid var(--border); }
.chat-msg-client .chat-bubble { background: var(--coral); color: var(--white); }
.chat-time { font-size: 11px; color: var(--muted-lt); margin-top: 4px; display: block; }
.chat-msg-client .chat-time { color: rgba(255,255,255,.6); }
.chat-form { display: flex; gap: 10px; }
.chat-form textarea { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); resize: none; font-size: 14px; outline: none; }
.chat-form textarea:focus { border-color: var(--coral); }

/* ── Filter Bar ── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-btn {
  padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 600;
  background: var(--white); border: 1px solid var(--border); color: #555;
  text-decoration: none; transition: all .15s;
}
.filter-btn:hover { border-color: var(--coral); color: var(--coral); }
.filter-btn.active { background: var(--coral); color: var(--white); border-color: var(--coral); }

/* ── Empty State ── */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state h3 { margin: 16px 0 8px; color: #555; }
.empty-state p { color: var(--muted); font-size: 14px; }

/* ── Invoice List & Detail ── */
.invoice-list { display: flex; flex-direction: column; gap: 8px; }
.invoice-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); text-decoration: none; color: inherit;
  transition: border-color .15s; flex-wrap: wrap; gap: 8px;
}
.invoice-row:hover { border-color: var(--coral); }
.invoice-amount { font-size: 16px; font-weight: 700; margin-right: 12px; }
.invoice-due { font-size: 13px; color: var(--muted); }
.invoice-project { font-size: 13px; color: var(--muted); margin-left: 8px; }

.invoice-detail { max-width: 800px; }
.invoice-detail-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; flex-wrap: wrap; gap: 20px; }
.invoice-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; font-size: 14px; color: #444; line-height: 1.8; }
.invoice-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.invoice-table th { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--border); font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.invoice-table td { padding: 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.invoice-table tfoot td { border-bottom: none; padding: 6px 12px; font-size: 14px; }
.invoice-total-row td { font-size: 18px !important; padding-top: 12px !important; border-top: 2px solid var(--ink); }
.invoice-notes { background: var(--surface); border-radius: var(--radius); padding: 16px 20px; margin-top: 20px; font-size: 14px; color: #444; }
.invoice-pay-section { text-align: center; padding: 32px 0; }

/* ── Ticket List & Detail ── */
.ticket-list { display: flex; flex-direction: column; gap: 8px; }
.ticket-item {
  display: block; padding: 16px 20px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; color: inherit; transition: border-color .15s;
}
.ticket-item:hover { border-color: var(--coral); }
.ticket-item-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.ticket-item-number { font-size: 12px; font-weight: 700; color: var(--coral); }
.ticket-item-subject { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.ticket-item-meta { font-size: 13px; color: var(--muted); }

.ticket-detail-header { margin-bottom: 24px; }
.ticket-detail-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 8px; }
.ticket-thread { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.ticket-reply { border-radius: var(--radius-lg); padding: 16px 20px; }
.ticket-reply-client { background: var(--surface); border: 1px solid var(--border); }
.ticket-reply-admin { background: var(--blue-bg); border: 1px solid #BFDBFE; }
.ticket-reply-system { background: #F5F5F5; border: 1px solid var(--border); font-style: italic; }
.ticket-reply-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ticket-reply-author { font-size: 14px; font-weight: 700; color: var(--ink); }
.ticket-reply-time { font-size: 12px; color: var(--muted); }
.ticket-reply-body { font-size: 14px; color: #444; line-height: 1.7; }
.ticket-reply-form { background: var(--surface); border-radius: var(--radius-lg); padding: 20px; margin-top: 8px; }
.ticket-reply-form h3 { margin: 0 0 12px; font-size: 16px; }

/* ── Message List (dashboard) ── */
.message-list { display: flex; flex-direction: column; gap: 8px; }
.message-item {
  display: block; padding: 16px 20px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; color: inherit; transition: border-color .15s; position: relative;
}
.message-item:hover { border-color: var(--coral); }
.message-item.unread { border-left: 3px solid var(--coral); }
.message-item-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
.message-item-project { font-weight: 600; font-size: 14px; color: var(--ink); }
.message-item-time { font-size: 12px; color: var(--muted); }
.message-item-preview { font-size: 14px; color: var(--muted); line-height: 1.5; }
.message-item-badge {
  position: absolute; top: 12px; right: 12px; background: var(--coral);
  color: var(--white); font-size: 11px; font-weight: 700; padding: 2px 8px;
  border-radius: 100px;
}

/* ── File List ── */
.file-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.file-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.file-icon { color: var(--muted); flex-shrink: 0; }
.file-info { flex: 1; min-width: 0; }
.file-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-meta { font-size: 12px; color: var(--muted); }

/* ── Dropzone ── */
.dropzone {
  border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: 32px;
  text-align: center; cursor: pointer; transition: all .2s;
}
.dropzone:hover, .dropzone.drag-over { border-color: var(--coral); background: var(--coral-bg); }
.dropzone p { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ── Activity Feed ── */
.activity-feed { position: relative; padding-left: 20px; }
.activity-item { position: relative; padding-bottom: 20px; padding-left: 16px; }
.activity-dot {
  position: absolute; left: -6px; top: 4px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--coral-lt); border: 2px solid var(--white);
}
.activity-item::before { content: ''; position: absolute; left: -1px; top: 14px; bottom: 0; width: 1px; background: var(--border); }
.activity-item:last-child::before { display: none; }
.activity-content p { font-size: 14px; color: #444; margin: 0; }
.activity-time { font-size: 12px; color: var(--muted); }

/* ── Notification Bell ── */
.notif-wrap { position: relative; }
.notif-bell {
  background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--muted); transition: color .15s; position: relative;
}
.notif-bell:hover { color: var(--ink); }
.notif-dot {
  position: absolute; top: 6px; right: 6px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--coral);
}
.notif-dropdown {
  position: absolute; top: 100%; right: 0; width: 340px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); z-index: 200;
  display: none; max-height: 400px; overflow-y: auto;
}
.notif-dropdown.open { display: block; }
.notif-dropdown-header { padding: 14px 16px; font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--border); }
.notif-empty { padding: 32px; text-align: center; font-size: 14px; color: var(--muted); }
.notif-item { display: block; padding: 12px 16px; border-bottom: 1px solid rgba(0,0,0,.04); text-decoration: none; color: inherit; transition: background .1s; }
.notif-item:hover { background: var(--surface); }
.notif-item.unread { background: var(--coral-bg); }
.notif-item-title { font-size: 13px; font-weight: 600; }
.notif-item-body { font-size: 13px; color: var(--muted); margin-top: 2px; }
.notif-item-time { font-size: 11px; color: var(--muted-lt); margin-top: 4px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-proof { gap: 24px; }
  .hero-stat span { font-size: 1.6rem; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .timeline::before { left: 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  h1 { font-size: 2rem; }
}

/* ── Print ── */
@media print {
  .nav, .dash-sidebar, .dash-topbar, .btn, .chat-form, .nav-burger, .nav-mobile, footer, .scroll-top { display: none !important; }
  .dash-body .dash-main { margin-left: 0 !important; }
  .dash-content { padding: 0 !important; background: #fff !important; }
  body { background: #fff !important; color: #000 !important; }
}
