/* =============================================================================
   Zyncod — shared stylesheet
   Colors kept from the original brand (navy / electric blue / off-white).
   Fonts switched to Manrope (body) + IBM Plex Mono (labels, stats, prices) —
   the pairing used on the careers-page reference this was modeled on.
   ========================================================================== */

:root{
  --navy:#0F1F3D;
  --navy-dark:#0A1628;
  --blue:#2563EB;
  --blue-dark:#1D4ED8;
  --sky:#60A5FA;
  --charcoal:#1E293B;
  --slate:#64748B;
  --slate-light:#94A3B8;
  --border:#E2E8F0;
  --off-white:#F8FAFC;
  --white:#FFFFFF;
  --green:#22C55E;
  --green-dark:#059669;
  --green-tint:#ECFDF5;
  --amber:#FBBF24;
  --red:#EF4444;
  --purple:#7C3AED;
  --font-body:'Manrope', sans-serif;
  --font-mono:'IBM Plex Mono', monospace;
  --radius-card:14px;
  --shadow-card:0 2px 12px rgba(0,0,0,0.06);
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ font-family:var(--font-body); line-height:1.6; color:var(--charcoal); background:var(--white); -webkit-font-smoothing:antialiased; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.container{ max-width:1200px; margin:0 auto; padding:0 32px; }
.skip-link{ position:absolute; left:-999px; top:0; background:var(--blue); color:var(--white); padding:10px 18px; border-radius:0 0 8px 0; z-index:2000; }
.skip-link:focus{ left:0; }

/* ===== HEADER / NAV ===== */
header{ background:var(--navy); padding:0; position:sticky; top:0; z-index:1000; border-bottom:1px solid rgba(255,255,255,0.06); }
header .container{ max-width:1400px; padding:0 40px; }
.header-content{ display:flex; justify-content:flex-start; align-items:center; padding:24px 0; gap:0; }
.logo{ font-family:var(--font-mono); font-size:24px; font-weight:700; color:var(--white); letter-spacing:-0.01em; flex-shrink:0; }
.logo span{ color:var(--blue); }
.main-nav{ display:flex; align-items:center; gap:30px; margin-left:48px; }
.header-spacer{ flex:1; }
.main-nav a{ color:rgba(255,255,255,0.75); font-size:14.5px; font-weight:500; transition:color .15s; white-space:nowrap; }
.main-nav a:hover, .main-nav a.active{ color:var(--white); }
.header-actions{ display:flex; align-items:center; gap:16px; flex-shrink:0; }
.nav-btn{ background:var(--blue); color:var(--white); border:none; padding:12px 24px; border-radius:8px; font-family:var(--font-body); font-weight:600; font-size:14px; cursor:pointer; transition:all .2s ease; text-decoration:none; display:inline-block; white-space:nowrap; }
.nav-btn:hover{ background:var(--blue-dark); transform:translateY(-1px); }
.nav-btn-crm{ background:transparent; color:var(--white); border:1.5px solid rgba(255,255,255,0.25); padding:11px 22px; border-radius:8px; font-weight:600; font-size:14px; transition:all .2s ease; white-space:nowrap; }
.nav-btn-crm:hover{ border-color:var(--white); background:rgba(255,255,255,0.06); }
.mobile-toggle{ display:none; background:none; border:none; color:var(--white); font-size:26px; cursor:pointer; padding:4px 8px; flex-shrink:0; }
.main-nav-actions{ display:none; }

@media (max-width:1300px){
  header .container{ padding:0 32px; }
  .main-nav{ gap:22px; }
  .header-actions{ gap:10px; }
}

@media (max-width:1024px){
  .header-content{ justify-content:space-between; }
  .main-nav{ position:fixed; top:64px; left:0; right:0; bottom:0; background:var(--navy); flex-direction:column; justify-content:flex-start; align-items:stretch; padding:24px 32px; gap:4px; margin-left:0; transform:translateX(100%); transition:transform .25s ease; overflow-y:auto; }
  .header-spacer{ display:none; }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{ padding:14px 0; border-bottom:1px solid rgba(255,255,255,0.08); font-size:16px; }
  /* On mobile the header bar itself only ever holds the logo + hamburger;
     the CRM/portal/schedule links move into the drawer (.main-nav-actions)
     since packing them into the fixed-width bar overlaps the logo below ~480px. */
  .header-actions .nav-btn-crm, .header-actions .nav-btn{ display:none; }
  .mobile-toggle{ display:block; }
  .main-nav-actions{ display:flex; flex-direction:column; gap:12px; margin-top:24px; }
  .main-nav-actions .nav-btn-crm, .main-nav-actions .nav-btn{ text-align:center; padding:13px 20px; }
}

@media (max-width:480px){
  header .container{ padding:0 20px; }
  .logo{ font-size:20px; }
}

/* ===== BUTTONS (shared) ===== */
.btn-primary{ background:var(--blue); color:var(--white); border:none; padding:14px 28px; border-radius:8px; font-weight:700; font-size:15px; cursor:pointer; transition:all .2s ease; text-decoration:none; display:inline-flex; align-items:center; gap:8px; }
.btn-primary:hover{ background:var(--blue-dark); transform:translateY(-2px); box-shadow:0 8px 25px rgba(37,99,235,0.35); }
.btn-ghost{ background:transparent; color:var(--white); border:1.5px solid rgba(255,255,255,0.25); padding:14px 28px; border-radius:8px; font-weight:600; font-size:15px; cursor:pointer; transition:all .2s ease; text-decoration:none; display:inline-block; }
.btn-ghost:hover{ border-color:var(--white); background:rgba(255,255,255,0.06); }
.btn-ghost.dark{ color:var(--navy); border-color:#CBD5E1; }
.btn-white{ background:var(--white); color:var(--blue); border:none; padding:16px 36px; border-radius:8px; font-weight:700; font-size:16px; cursor:pointer; transition:all .2s ease; text-decoration:none; display:inline-block; box-shadow:0 4px 20px rgba(0,0,0,0.15); }
.btn-white:hover{ transform:translateY(-2px); box-shadow:0 8px 30px rgba(0,0,0,0.25); }
.btn-sm{ padding:9px 16px; font-size:13px; }

/* ===== HERO (home) ===== */
.hero{ background:linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, #0D1B35 100%); padding:100px 0 120px; color:var(--white); position:relative; overflow:hidden; }
.hero::before{ content:''; position:absolute; top:-200px; right:-100px; width:600px; height:600px; background:radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%); pointer-events:none; }
.hero-content{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:70px; align-items:center; }
.hero-tag{ font-size:11px; font-weight:600; color:var(--sky); text-transform:uppercase; letter-spacing:0.16em; margin-bottom:20px; display:flex; align-items:center; gap:8px; font-family:var(--font-mono); }
.hero-tag::before{ content:''; width:24px; height:2px; background:var(--sky); }
.hero h1{ font-size:60px; font-weight:800; line-height:1.15; margin-bottom:22px; color:var(--white); letter-spacing:-0.02em; }
.hero h1 span{ color:var(--sky); }
.hero-sub{ font-size:17px; line-height:1.75; color:var(--slate-light); max-width:500px; margin-bottom:36px; }
.hero-sub strong{ color:#E2E8F0; font-weight:600; }
.cta-row{ display:flex; gap:14px; margin-bottom:40px; flex-wrap:wrap; }
.hero-pills{ display:flex; gap:12px; flex-wrap:wrap; margin-top:8px; }
.hero-pill{ display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--slate-light); font-weight:500; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:999px; padding:8px 18px; transition:border-color .2s; }
.hero-pill:hover{ border-color:rgba(255,255,255,0.22); }
.hero-pill .dot{ width:7px; height:7px; border-radius:50%; background:var(--green); flex-shrink:0; }

.hero-visual{ position:relative; }
.mockup-wrap{ background:linear-gradient(145deg, #1a2744 0%, #162038 100%); border-radius:16px; padding:16px; box-shadow:0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06); }
.browser-bar{ background:#0d1829; height:32px; border-radius:8px 8px 0 0; display:flex; align-items:center; padding:0 14px; gap:7px; }
.bdot{ width:9px; height:9px; border-radius:50%; }
.bdot-r{ background:#EF4444; } .bdot-y{ background:#F59E0B; } .bdot-g{ background:#10B981; }
.browser-screen{ background:var(--off-white); border-radius:0 0 8px 8px; height:320px; overflow:hidden; display:flex; flex-direction:column; }
.screen-nav{ background:var(--navy); height:36px; display:flex; align-items:center; padding:0 16px; gap:16px; }
.screen-nav-dot{ width:40px; height:5px; border-radius:3px; background:rgba(255,255,255,0.15); }
.screen-nav-dot.active{ background:var(--blue); width:60px; }
.screen-hero-mock{ background:linear-gradient(135deg, var(--navy) 0%, #1e3a6e 100%); flex:1; display:flex; align-items:center; padding:20px; gap:16px; }
.screen-text-block{ flex:1; }
.screen-line{ height:8px; border-radius:4px; background:rgba(255,255,255,0.6); margin-bottom:8px; }
.screen-line.short{ width:60%; background:rgba(255,255,255,0.3); }
.screen-line.medium{ width:80%; }
.screen-line.btn-mock{ width:100px; height:24px; background:var(--blue); border-radius:6px; margin-top:14px; }
.screen-img-mock{ width:120px; height:90px; background:rgba(255,255,255,0.08); border-radius:8px; border:1px solid rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.3); font-size:11px; }
.floating-badge{ position:absolute; bottom:-16px; left:-16px; background:var(--white); border-radius:12px; padding:14px 18px; box-shadow:0 10px 40px rgba(0,0,0,0.15); display:flex; align-items:center; gap:12px; }
.badge-icon{ width:36px; height:36px; border-radius:8px; background:var(--green-tint); display:flex; align-items:center; justify-content:center; font-size:18px; }
.badge-text{ font-size:12px; color:var(--slate); }
.badge-text strong{ display:block; font-size:15px; font-weight:700; color:var(--navy); font-family:var(--font-mono); }

@media (max-width:1024px){
  .hero-content{ grid-template-columns:1fr; }
  .hero-visual{ display:block; max-width:420px; margin:40px auto 0; }
  .hero h1{ font-size:40px; }
}
@media (max-width:640px){
  .hero{ padding:60px 0 60px; }
  .hero h1{ font-size:32px; }
  .hero-sub{ font-size:15px; }
  .cta-row{ flex-direction:column; }
  .cta-row .btn-primary, .cta-row .btn-ghost{ width:100%; text-align:center; justify-content:center; }
}

/* ===== INDUSTRIES TICKER ===== */
.industries-ticker{ background:var(--navy-dark); border-top:1px solid rgba(255,255,255,0.08); border-bottom:1px solid rgba(255,255,255,0.08); padding:18px 0; display:flex; align-items:center; gap:28px; overflow:hidden; }
.industries-ticker-label{ flex-shrink:0; padding-left:32px; font-size:11px; font-weight:700; color:var(--sky); text-transform:uppercase; letter-spacing:0.1em; font-family:var(--font-mono); white-space:nowrap; }
.industries-ticker-track{ flex:1; overflow:hidden; -webkit-mask-image:linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image:linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.industries-ticker-track-inner{ display:flex; gap:0; width:max-content; animation:ticker-scroll 28s linear infinite; }
.industries-ticker-item{ flex-shrink:0; padding:0 28px; font-size:14px; font-weight:600; color:var(--slate-light); white-space:nowrap; position:relative; }
.industries-ticker-item::after{ content:'•'; position:absolute; right:0; color:var(--blue); opacity:0.6; }
@keyframes ticker-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .industries-ticker-track-inner{ animation:none; } }
@media (max-width:640px){ .industries-ticker-label{ padding-left:20px; font-size:10px; } .industries-ticker-item{ padding:0 20px; font-size:13px; } }

/* ===== GENERIC PAGE HERO (about/portfolio/contact/careers/blog/templates/book) ===== */
.page-hero{ background:linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, #0D1B35 100%); padding:100px 0 90px; color:var(--white); position:relative; overflow:hidden; text-align:center; }
.page-hero::before{ content:''; position:absolute; top:-200px; right:-100px; width:600px; height:600px; background:radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%); pointer-events:none; }
.page-hero::after{ content:''; position:absolute; bottom:-150px; left:-100px; width:500px; height:500px; background:radial-gradient(circle, rgba(96,165,250,0.07) 0%, transparent 70%); pointer-events:none; }
.page-hero-content{ max-width:820px; margin:0 auto; position:relative; z-index:1; }
.page-hero .hero-tag{ justify-content:center; }
.page-hero h1{ font-size:52px; font-weight:800; line-height:1.15; margin-bottom:20px; letter-spacing:-0.02em; color:var(--white); }
.page-hero h1 span{ color:var(--sky); }
.page-hero-sub{ font-size:18px; color:var(--slate-light); line-height:1.75; margin-bottom:44px; max-width:680px; margin-left:auto; margin-right:auto; }
.hero-stats{ display:flex; gap:50px; justify-content:center; flex-wrap:wrap; }
.h-stat{ text-align:center; }
.h-stat-num{ font-family:var(--font-mono); font-size:44px; font-weight:700; color:var(--white); line-height:1; display:block; }
.h-stat-label{ font-size:13px; color:var(--slate); margin-top:8px; text-transform:uppercase; letter-spacing:0.12em; font-weight:500; }
@media (max-width:640px){ .page-hero{ padding:70px 0 60px; } .page-hero h1{ font-size:32px; } }

/* ===== SECTION BASE ===== */
.section{ padding:110px 0; }
.section.bg-light{ background:var(--off-white); }
.section.bg-dark{ background:var(--navy); }
.section-label{ font-size:11px; font-weight:600; color:var(--blue); text-transform:uppercase; letter-spacing:0.16em; margin-bottom:14px; text-align:center; display:flex; align-items:center; justify-content:center; gap:10px; font-family:var(--font-mono); }
.section-label::before,.section-label::after{ content:''; flex:0 0 30px; height:1.5px; background:var(--blue); opacity:0.4; }
.section-h2{ font-size:44px; font-weight:800; color:var(--navy); line-height:1.2; text-align:center; margin-bottom:16px; letter-spacing:-0.02em; }
.section-sub{ font-size:17px; color:var(--slate); text-align:center; margin-bottom:60px; max-width:600px; margin-left:auto; margin-right:auto; line-height:1.7; }
.bg-dark .section-label{ color:var(--sky); }
.bg-dark .section-label::before,.bg-dark .section-label::after{ background:var(--sky); }
.bg-dark .section-h2{ color:var(--white); }
.bg-dark .section-sub{ color:var(--slate-light); }
@media (max-width:640px){ .section{ padding:70px 0; } .section-h2{ font-size:28px; } }

/* ===== OFFER (home) ===== */
.price-banner{ background:linear-gradient(135deg, var(--navy) 0%, #1e3a6e 100%); border-radius:16px; padding:36px 48px; margin-bottom:50px; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; box-shadow:0 20px 60px rgba(15,31,61,0.25); }
.price-left .p-label{ font-size:11px; font-weight:600; color:var(--sky); text-transform:uppercase; letter-spacing:0.14em; margin-bottom:8px; }
.price-left .p-main{ font-family:var(--font-mono); font-size:48px; font-weight:700; color:var(--white); line-height:1; letter-spacing:-0.02em; }
.price-left .p-sub{ font-size:14px; color:var(--slate-light); margin-top:6px; }
.price-meta{ display:flex; gap:30px; flex-wrap:wrap; }
.pm-item{ text-align:center; }
.pm-item .pm-val{ font-family:var(--font-mono); font-size:22px; font-weight:700; color:var(--white); }
.pm-item .pm-key{ font-size:12px; color:var(--slate-light); margin-top:2px; }

.deliverables-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin-bottom:50px; }
.del-card{ background:var(--white); border-radius:var(--radius-card); padding:36px; box-shadow:var(--shadow-card); border:1px solid var(--border); transition:all .2s ease; position:relative; overflow:hidden; }
.del-card::before{ content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg, var(--blue), var(--sky)); transform:scaleX(0); transform-origin:left; transition:transform .3s ease; }
.del-card:hover{ transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,0.1); border-color:#BFDBFE; }
.del-card:hover::before{ transform:scaleX(1); }
@media (max-width:1024px){ .deliverables-grid{ grid-template-columns:repeat(2,1fr); gap:24px; } }
@media (max-width:640px){ .deliverables-grid{ grid-template-columns:1fr; gap:18px; } .del-card{ padding:28px 24px; } }
.del-icon{ width:44px; height:44px; border-radius:10px; background:#EFF6FF; display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:16px; }
.del-title{ font-size:16px; font-weight:700; color:var(--navy); margin-bottom:14px; }
.del-list{ list-style:none; }
.del-list li{ font-size:13.5px; color:var(--slate); line-height:1.6; padding-left:20px; position:relative; margin-bottom:8px; }
.del-list li::before{ content:"✓"; position:absolute; left:0; color:var(--green); font-weight:700; font-size:13px; }

.payment-timeline{ background:var(--white); border-radius:16px; padding:40px; box-shadow:var(--shadow-card); border:1px solid var(--border); margin-bottom:50px; }
.pt-title{ font-size:18px; font-weight:700; color:var(--navy); margin-bottom:30px; text-align:center; }
.pt-steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
.pt-steps::before{ content:''; position:absolute; top:30px; left:16.66%; right:16.66%; height:2px; background:linear-gradient(90deg, var(--blue), var(--sky), var(--green)); z-index:0; }
.pt-step{ text-align:center; position:relative; z-index:1; padding:0 10px; }
.pt-circle{ width:60px; height:60px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 16px; font-weight:700; font-size:15px; color:var(--white); font-family:var(--font-mono); }
.pt-circle.c1{ background:var(--blue); } .pt-circle.c2{ background:var(--purple); } .pt-circle.c3{ background:var(--green); }
.pt-pct{ font-family:var(--font-mono); font-size:22px; font-weight:700; color:var(--navy); }
.pt-when{ font-size:13px; font-weight:600; color:var(--navy); margin:4px 0; }
.pt-desc{ font-size:12px; color:var(--slate-light); line-height:1.5; }
@media (max-width:1024px){ .pt-steps{ grid-template-columns:1fr; gap:20px; } .pt-steps::before{ display:none; } .price-banner{ flex-direction:column; text-align:center; } .price-meta{ justify-content:center; } }

.guarantee{ background:linear-gradient(135deg, var(--green-tint) 0%, #D1FAE5 100%); border:1.5px solid #6EE7B7; border-radius:14px; padding:32px 36px; display:flex; align-items:center; gap:20px; }
.guar-icon{ font-size:38px; flex-shrink:0; }
.guar-title{ font-size:18px; font-weight:700; color:#064E3B; margin-bottom:6px; }
.guar-text{ font-size:14px; color:#065F46; line-height:1.6; }
@media (max-width:640px){ .guarantee{ flex-direction:column; text-align:center; padding:28px 24px; } }

.seo-note{ background:#EFF6FF; border:1.5px solid #BFDBFE; border-radius:14px; padding:28px 32px; display:flex; align-items:center; gap:20px; flex-wrap:wrap; margin-top:24px; }
.seo-note-icon{ font-size:34px; flex-shrink:0; }
.seo-note-body{ flex:1; min-width:220px; }
.seo-note-title{ font-size:16px; font-weight:700; color:var(--navy); margin-bottom:4px; }
.seo-note-text{ font-size:13.5px; color:var(--slate); line-height:1.6; }
.seo-note-cta{ flex-shrink:0; white-space:nowrap; background:var(--blue); color:var(--white); border:none; padding:12px 22px; border-radius:8px; font-weight:600; font-size:14px; text-decoration:none; display:inline-block; transition:background .2s ease; }
.seo-note-cta:hover{ background:var(--blue-dark); }
@media (max-width:640px){ .seo-note{ flex-direction:column; text-align:center; padding:22px 20px; gap:14px; } .seo-note-icon{ font-size:28px; } .seo-note-cta{ width:100%; text-align:center; } }

/* ===== PROCESS (home 4-step + about 6-step) ===== */
.process{ background:var(--navy); padding:110px 0; }
.process .section-label{ color:var(--sky); } .process .section-label::before,.process .section-label::after{ background:var(--sky); }
.process .section-h2{ color:var(--white); } .process .section-sub{ color:var(--slate-light); }
.steps-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:32px; margin-top:50px; position:relative; }
.steps-row::before{ content:''; position:absolute; top:28px; left:12.5%; right:12.5%; height:1px; background:linear-gradient(90deg, var(--blue) 0%, var(--sky) 100%); opacity:0.4; }
.step-card{ background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); border-radius:14px; padding:36px 26px; text-align:center; position:relative; transition:all .2s ease; }
.step-card:hover{ background:rgba(37,99,235,0.08); border-color:rgba(37,99,235,0.3); }
.step-num{ width:52px; height:52px; border-radius:50%; background:var(--navy-dark); border:2px solid var(--blue); display:flex; align-items:center; justify-content:center; font-size:16px; font-weight:700; color:var(--blue); margin:0 auto 18px; position:relative; z-index:1; font-family:var(--font-mono); }
.step-title{ font-size:16px; font-weight:700; color:var(--white); margin-bottom:10px; }
.step-day{ font-size:11px; font-weight:600; color:var(--sky); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:8px; font-family:var(--font-mono); }
.step-desc{ font-size:13px; color:var(--slate-light); line-height:1.6; }
@media (max-width:1024px){ .steps-row{ grid-template-columns:repeat(2,1fr); } .steps-row::before{ display:none; } }
@media (max-width:640px){ .steps-row{ grid-template-columns:1fr; } }

.process-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.process-card{ background:var(--white); border-radius:16px; padding:34px 30px; border:1px solid var(--border); box-shadow:0 2px 12px rgba(0,0,0,0.05); transition:all .25s ease; position:relative; overflow:hidden; }
.process-card::before{ content:''; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg, var(--blue), var(--sky)); transform:scaleX(0); transform-origin:left; transition:transform .3s ease; }
.process-card:hover{ transform:translateY(-6px); box-shadow:0 20px 50px rgba(0,0,0,0.1); border-color:#BFDBFE; }
.process-card:hover::before{ transform:scaleX(1); }
.process-num{ width:56px; height:56px; border-radius:50%; background:linear-gradient(135deg, var(--blue), #3B82F6); color:var(--white); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:16px; margin-bottom:20px; box-shadow:0 6px 20px rgba(37,99,235,0.3); font-family:var(--font-mono); }
.process-day{ font-size:11px; font-weight:600; color:var(--sky); text-transform:uppercase; letter-spacing:0.12em; margin-bottom:10px; font-family:var(--font-mono); }
.process-title{ font-size:18px; font-weight:700; color:var(--navy); margin-bottom:12px; }
.process-desc{ font-size:14.5px; color:var(--slate); line-height:1.7; }
@media (max-width:1024px){ .process-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .process-grid{ grid-template-columns:1fr; } }

/* ===== PORTFOLIO GRID (home) ===== */
.portfolio{ background:var(--off-white); padding:110px 0; }
.portfolio-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin-bottom:40px; }
.p-card{ background:var(--white); border-radius:14px; overflow:hidden; box-shadow:var(--shadow-card); border:1px solid var(--border); transition:all .25s ease; }
.p-card:hover{ transform:translateY(-5px); box-shadow:0 16px 50px rgba(0,0,0,0.12); border-color:#BFDBFE; }
.p-thumb{ height:170px; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:15px; color:var(--white); position:relative; overflow:hidden; }
.p-thumb.g1{ background:linear-gradient(135deg, #1e3a6e, var(--blue)); }
.p-thumb.g2{ background:linear-gradient(135deg, #1e293b, #334155); }
.p-thumb.g3{ background:linear-gradient(135deg, #0d4f3c, #059669); }
.p-thumb.g4{ background:linear-gradient(135deg, #4c1d95, var(--purple)); }
.p-thumb.g5{ background:linear-gradient(135deg, #7f1d1d, #DC2626); }
.p-thumb.g6{ background:linear-gradient(135deg, #1c3461, var(--blue-dark)); }
.p-thumb.g7{ background:linear-gradient(135deg, #92400e, #F59E0B); }
.p-thumb img{ width:100%; height:100%; object-fit:cover; }
.p-thumb .p-logo{ font-family:var(--font-mono); font-size:17px; letter-spacing:-0.01em; text-shadow:0 2px 10px rgba(0,0,0,0.3); }
.p-thumb .p-location{ position:absolute; bottom:10px; right:12px; font-size:11px; font-weight:500; background:rgba(0,0,0,0.35); padding:3px 8px; border-radius:20px; }
.p-body{ padding:20px 22px; }
.p-niche{ font-size:11px; font-weight:600; color:var(--blue); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:6px; }
.p-name{ font-size:16px; font-weight:700; color:var(--navy); margin-bottom:14px; }
.p-row{ margin-bottom:8px; }
.p-row-label{ font-size:10px; font-weight:700; color:var(--slate-light); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:2px; }
.p-row-val{ font-size:13px; color:var(--slate); line-height:1.5; }
.p-row-val.outcome{ color:var(--green-dark); font-weight:600; }
.p-metric{ display:inline-block; background:var(--green-tint); color:var(--green-dark); font-size:13px; font-weight:700; padding:5px 12px; border-radius:6px; }
.p-link{ display:inline-flex; align-items:center; gap:5px; color:var(--blue); font-size:13px; font-weight:600; text-decoration:none; margin-top:12px; }
.p-link:hover{ text-decoration:underline; }
@media (max-width:1024px){ .portfolio-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .portfolio-grid{ grid-template-columns:1fr; } }

/* ===== COMPARISON ===== */
.compare{ background:var(--white); padding:110px 0; }
.compare-hint{ display:none; }
.compare-scroll{ overflow-x:auto; margin-top:50px; position:relative; -webkit-overflow-scrolling:touch; }
@media (max-width:680px){
  /* The table has a fixed min-width and scrolls horizontally on narrow
     screens; without a hint the "Zyncod" column (the actual point of the
     table) is hidden off-screen with no indication it's there. */
  .compare-hint{ display:block; text-align:center; font-size:12.5px; font-weight:600; color:var(--blue); margin-top:20px; text-transform:uppercase; letter-spacing:0.04em; }
  .compare-scroll{ margin-top:14px; }
  .compare-scroll::after{ content:''; position:absolute; top:0; right:0; bottom:0; width:28px; background:linear-gradient(90deg, transparent, rgba(15,31,61,0.12)); pointer-events:none; }
}
.compare-table{ width:100%; min-width:560px; border-collapse:collapse; border-radius:14px; overflow:hidden; box-shadow:var(--shadow-card); }
.compare-table th{ padding:18px 22px; font-size:14px; font-weight:700; text-align:left; }
.compare-table th:first-child{ background:#F1F5F9; color:var(--slate); width:35%; }
.compare-table th.col-other{ background:#FEE2E2; color:#991B1B; text-align:center; }
.compare-table th.col-zyncod{ background:var(--navy); color:var(--white); text-align:center; }
.compare-table td{ padding:15px 22px; font-size:14px; border-bottom:1px solid #F1F5F9; vertical-align:middle; }
.compare-table td:first-child{ font-weight:500; color:var(--charcoal); background:#FAFAFA; }
.compare-table td.c-other{ text-align:center; color:#DC2626; font-weight:600; background:#FFF5F5; }
.compare-table td.c-zyncod{ text-align:center; color:#16A34A; font-weight:700; background:#F0FDF4; }
.compare-table tr:last-child td{ border-bottom:none; }

/* ===== TESTIMONIALS ===== */
.testimonials{ background:var(--charcoal); padding:110px 0; }
.testimonials .section-label{ color:var(--sky); } .testimonials .section-label::before,.testimonials .section-label::after{ background:var(--sky); }
.testimonials .section-h2{ color:var(--white); }
.t-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:32px; margin-top:50px; }
.t-card{ background:var(--navy); border-radius:14px; padding:36px; border:1px solid rgba(255,255,255,0.06); transition:all .2s ease; flex-shrink:0; width:100%; box-sizing:border-box; }
.t-card:hover{ border-color:rgba(37,99,235,0.3); }
.t-stars{ color:var(--amber); font-size:15px; margin-bottom:14px; letter-spacing:2px; }
.t-quote{ font-size:15px; font-style:italic; color:#E2E8F0; line-height:1.75; margin-bottom:20px; }
.t-author-row{ display:flex; align-items:center; gap:12px; }
.t-avatar{ width:44px; height:44px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.t-author{ font-size:14px; font-weight:700; color:var(--white); }
.t-biz{ font-size:12px; color:var(--sky); margin-top:3px; }
@media (max-width:640px){ .t-grid{ grid-template-columns:1fr; } }

/* ===== TESTIMONIALS CAROUSEL ===== */
.t-carousel{ max-width:640px; margin:50px auto 0; }
.t-carousel-track{ display:flex; overflow:hidden; }
.t-carousel-track .t-card{ transition:transform .4s ease; }
.t-carousel-controls{ display:flex; align-items:center; justify-content:center; gap:20px; margin-top:24px; }
.t-carousel-btn{ width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1); color:var(--white); font-size:15px; cursor:pointer; transition:background .15s; flex-shrink:0; }
.t-carousel-btn:hover{ background:rgba(37,99,235,0.3); }
.t-carousel-dots{ display:flex; gap:8px; }
.t-carousel-dot{ width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,0.15); border:none; cursor:pointer; padding:0; transition:background .15s; }
.t-carousel-dot.active{ background:var(--blue); }

/* ===== FAQ ===== */
.faq{ background:var(--off-white); padding:110px 0; }
.faq-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; margin-top:50px; }
.faq-item{ background:var(--white); border-radius:12px; padding:24px 26px; border:1px solid var(--border); }
.faq-q{ font-size:15px; font-weight:700; color:var(--navy); margin-bottom:10px; display:flex; gap:10px; }
.faq-q::before{ content:"Q"; font-size:11px; font-weight:700; color:var(--blue); background:#EFF6FF; border-radius:4px; padding:2px 6px; flex-shrink:0; margin-top:2px; height:fit-content; font-family:var(--font-mono); }
.faq-a{ font-size:14px; color:var(--slate); line-height:1.7; }
@media (max-width:640px){ .faq-grid{ grid-template-columns:1fr; } }

/* ===== FINAL CTA ===== */
.final-cta{ background:linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, #3B82F6 100%); padding:110px 0; text-align:center; }
.final-cta h2, .cta-section .cta-h2{ font-size:42px; font-weight:800; color:var(--white); margin-bottom:16px; letter-spacing:-0.02em; }
.final-cta p, .cta-section .cta-p{ font-size:17px; color:rgba(255,255,255,0.85); margin-bottom:36px; max-width:520px; margin-left:auto; margin-right:auto; }
.cta-footnote{ margin-top:20px; font-size:13px; color:rgba(255,255,255,0.6); }
.cta-section{ background:linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, #3B82F6 100%); padding:110px 0; text-align:center; color:var(--white); }
@media (max-width:640px){ .final-cta h2, .cta-section .cta-h2{ font-size:30px; } }

/* ===== FOOTER ===== */
footer{ background:var(--navy-dark); padding:60px 0 28px; border-top:1px solid var(--charcoal); }
.footer-grid{ display:grid; grid-template-columns:1.8fr 1fr 1fr 1fr 1.1fr; gap:32px; margin-bottom:40px; }
.footer-brand .logo{ font-size:20px; display:block; margin-bottom:12px; }
.footer-tagline{ font-size:13.5px; color:var(--slate); line-height:1.65; margin-bottom:16px; max-width:240px; }
.footer-locs{ font-size:13px; color:var(--slate); margin-bottom:14px; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{ width:34px; height:34px; border-radius:8px; background:rgba(255,255,255,0.06); color:var(--slate-light); display:flex; align-items:center; justify-content:center; transition:background .2s, color .2s; }
.footer-social a:hover{ background:rgba(37,99,235,0.3); color:var(--white); }
.f-head{ font-size:12px; font-weight:700; color:#E2E8F0; text-transform:uppercase; letter-spacing:0.1em; margin-bottom:16px; }
.f-links{ list-style:none; }
.f-links li{ margin-bottom:10px; }
.f-links a{ color:var(--slate); text-decoration:none; font-size:14px; transition:color .2s; }
.f-links a:hover{ color:var(--sky); }
.footer-bottom{ text-align:center; padding-top:28px; border-top:1px solid var(--charcoal); font-size:12px; color:#475569; }
@media (max-width:1024px){ .footer-grid{ grid-template-columns:1fr 1fr 1fr; } }
@media (max-width:640px){ .footer-grid{ grid-template-columns:1fr; } }

/* ===== FOUNDER (about) ===== */
.founder-wrap{ max-width:840px; margin:0 auto; text-align:center; }
.founder-avatar{ width:150px; height:150px; border-radius:50%; background:linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 60%, var(--sky) 100%); margin:0 auto 40px; display:flex; align-items:center; justify-content:center; font-size:60px; box-shadow:0 24px 70px rgba(37,99,235,0.3); overflow:hidden; }
.founder-avatar img{ width:100%; height:100%; object-fit:cover; }
.founder-name{ font-family:var(--font-mono); font-size:34px; font-weight:700; color:var(--navy); margin-bottom:10px; letter-spacing:-0.01em; }
.founder-role{ font-size:13px; font-weight:600; color:var(--blue); text-transform:uppercase; letter-spacing:0.14em; margin-bottom:50px; }
.founder-quote-wrap{ position:relative; margin-bottom:36px; }
.founder-quote-mark{ font-size:100px; line-height:.6; color:#DBEAFE; position:absolute; top:0; left:0; font-family:Georgia, serif; }
.founder-quote{ font-size:20px; font-weight:400; color:var(--charcoal); line-height:1.7; font-style:italic; text-align:left; padding-left:56px; }
.founder-story{ font-size:16.5px; color:var(--slate); line-height:1.85; text-align:left; margin-bottom:64px; }
.founder-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:16px; overflow:hidden; }
.fst{ background:var(--white); padding:32px 20px; text-align:center; }
.fst-num{ font-family:var(--font-mono); font-size:38px; font-weight:700; color:var(--navy); line-height:1; }
.fst-label{ font-size:12.5px; color:var(--slate); margin-top:10px; text-transform:uppercase; letter-spacing:0.1em; font-weight:500; }
@media (max-width:640px){ .founder-name{ font-size:28px; } .founder-quote{ font-size:17px; padding-left:36px; } .founder-quote-mark{ font-size:70px; } .founder-stats{ grid-template-columns:1fr; } }

/* ===== CLIENT RESULTS GRID (about) ===== */
.p-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
@media (max-width:1024px){ .p-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .p-grid{ grid-template-columns:1fr; } }

/* ===== TEAM (about) ===== */
.team-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.team-card{ background:var(--white); border-radius:20px; padding:44px 32px; text-align:center; box-shadow:0 4px 20px rgba(0,0,0,0.07); border:1px solid var(--border); transition:all .25s ease; position:relative; overflow:hidden; }
.team-card::before{ content:''; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg, var(--blue), var(--sky)); transform:scaleX(0); transform-origin:left; transition:transform .3s ease; }
.team-card:hover{ transform:translateY(-8px); box-shadow:0 24px 60px rgba(0,0,0,0.12); border-color:#BFDBFE; }
.team-card:hover::before{ transform:scaleX(1); }
.team-avatar{ width:112px; height:112px; border-radius:50%; margin:0 auto 26px; display:flex; align-items:center; justify-content:center; font-size:46px; box-shadow:0 10px 30px rgba(37,99,235,0.15); overflow:hidden; }
.team-avatar img{ width:100%; height:100%; object-fit:cover; }
.team-card:nth-child(1) .team-avatar{ background:linear-gradient(135deg, #EFF6FF, #DBEAFE); }
.team-card:nth-child(2) .team-avatar{ background:linear-gradient(135deg, #F0FDF4, #DCFCE7); }
.team-card:nth-child(3) .team-avatar{ background:linear-gradient(135deg, #FFF7ED, #FED7AA); }
.team-name{ font-size:20px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.team-role{ font-size:12.5px; font-weight:600; color:var(--blue); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:18px; padding-bottom:18px; border-bottom:1px solid #F1F5F9; }
.team-bio{ font-size:14.5px; color:var(--slate); line-height:1.75; }
@media (max-width:1024px){ .team-grid{ grid-template-columns:1fr; max-width:480px; margin:0 auto; } }

/* ===== CASE STUDY CARDS (portfolio.php) ===== */
.case-studies{ padding:90px 0; }
.case-card{ background:var(--white); border-radius:24px; overflow:hidden; border:1px solid var(--border); box-shadow:0 4px 24px rgba(0,0,0,0.06); margin-bottom:56px; transition:all .25s ease; }
.case-card:hover{ box-shadow:0 20px 60px rgba(0,0,0,0.1); transform:translateY(-4px); }
.case-card:last-child{ margin-bottom:0; }
.case-inner{ display:grid; grid-template-columns:1fr 1fr; min-height:440px; }
.case-card.reverse .case-inner{ direction:rtl; }
.case-card.reverse .case-inner > *{ direction:ltr; }
.case-visual{ position:relative; overflow:hidden; min-height:440px; }
.case-visual.g1{ background:linear-gradient(135deg, #1e3a6e 0%, var(--blue) 60%, var(--sky) 100%); }
.case-visual.g2{ background:linear-gradient(135deg, #0f172a 0%, var(--charcoal) 60%, #334155 100%); }
.case-visual.g3{ background:linear-gradient(135deg, #052e16 0%, #059669 60%, #34D399 100%); }
.case-visual.g4{ background:linear-gradient(135deg, #2e1065 0%, var(--purple) 60%, #A78BFA 100%); }
.case-visual.g5{ background:linear-gradient(135deg, #450a0a 0%, #DC2626 60%, #FCA5A5 100%); }
.case-visual.g6{ background:linear-gradient(135deg, #0c1a3e 0%, var(--blue-dark) 60%, #93C5FD 100%); }
.case-visual.g7{ background:linear-gradient(135deg, #451a03 0%, #D97706 60%, #FCD34D 100%); }
.case-visual img{ width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.case-screen-mock{ position:absolute; bottom:-20px; left:50%; transform:translateX(-50%); width:88%; background:rgba(255,255,255,0.08); border-radius:12px 12px 0 0; border:1px solid rgba(255,255,255,0.15); border-bottom:none; overflow:hidden; }
.mock-bar{ background:rgba(0,0,0,0.25); padding:10px 16px; display:flex; align-items:center; gap:6px; }
.mock-dot{ width:8px; height:8px; border-radius:50%; }
.mock-dot.r{ background:rgba(255,100,100,0.7); } .mock-dot.y{ background:rgba(255,200,50,0.7); } .mock-dot.g{ background:rgba(50,200,100,0.7); }
.mock-url{ background:rgba(255,255,255,0.1); border-radius:4px; padding:4px 12px; font-size:11px; color:rgba(255,255,255,0.5); margin-left:8px; flex:1; font-family:var(--font-mono); }
.mock-body{ height:220px; background:rgba(255,255,255,0.05); display:flex; align-items:center; justify-content:center; }
.mock-body-text{ font-family:var(--font-mono); font-size:18px; font-weight:700; color:rgba(255,255,255,0.25); letter-spacing:-0.01em; text-align:center; padding:20px; }
.case-badge{ position:absolute; top:26px; left:26px; background:rgba(0,0,0,0.4); backdrop-filter:blur(10px); border:1px solid rgba(255,255,255,0.15); border-radius:999px; padding:7px 15px; font-size:12px; font-weight:600; color:var(--white); letter-spacing:0.06em; text-transform:uppercase; }
.case-index{ position:absolute; top:26px; right:26px; font-family:var(--font-mono); font-size:56px; font-weight:700; color:rgba(255,255,255,0.08); line-height:1; }
.case-content{ padding:48px 46px; display:flex; flex-direction:column; justify-content:center; }
.case-niche{ font-size:11px; font-weight:600; color:var(--blue); text-transform:uppercase; letter-spacing:0.14em; margin-bottom:12px; }
.case-title{ font-family:var(--font-mono); font-size:28px; font-weight:700; color:var(--navy); margin-bottom:28px; letter-spacing:-0.01em; line-height:1.2; }
.metrics-row{ display:flex; gap:20px; margin-bottom:32px; flex-wrap:wrap; }
.metric-box{ background:var(--off-white); border:1px solid var(--border); border-radius:12px; padding:14px 18px; text-align:center; flex:1; min-width:80px; }
.metric-val{ font-family:var(--font-mono); font-size:22px; font-weight:700; color:var(--navy); line-height:1; display:block; }
.metric-val.green{ color:var(--green-dark); } .metric-val.blue{ color:var(--blue); } .metric-val.purple{ color:var(--purple); }
.metric-lbl{ font-size:11px; color:var(--slate-light); margin-top:6px; text-transform:uppercase; letter-spacing:0.08em; font-weight:500; line-height:1.3; display:block; }
.pos-rows{ display:flex; flex-direction:column; margin-bottom:28px; }
.pos-row{ padding:14px 0; border-bottom:1px solid #F1F5F9; display:flex; gap:16px; align-items:flex-start; }
.pos-row:last-child{ border-bottom:none; }
.pos-tag{ font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.12em; padding:4px 10px; border-radius:6px; flex-shrink:0; margin-top:2px; }
.pos-tag.problem{ background:#FEF2F2; color:#DC2626; } .pos-tag.solution{ background:#EFF6FF; color:var(--blue); } .pos-tag.outcome{ background:var(--green-tint); color:var(--green-dark); }
.pos-text{ font-size:14.5px; color:var(--slate); line-height:1.65; }
.pos-text strong{ color:var(--charcoal); font-weight:600; }
.case-footer{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.case-tags{ display:flex; gap:8px; flex-wrap:wrap; }
.case-tag{ background:#F1F5F9; color:var(--slate); font-size:12px; font-weight:500; padding:5px 12px; border-radius:6px; }
.case-link{ display:inline-flex; align-items:center; gap:6px; color:var(--blue); font-size:14px; font-weight:600; }
.case-link:hover{ gap:10px; }
@media (max-width:1024px){ .case-inner{ grid-template-columns:1fr; } .case-card.reverse .case-inner{ direction:ltr; } .case-visual{ min-height:280px; } .case-content{ padding:36px 32px; } .case-title{ font-size:24px; } }
@media (max-width:640px){ .case-content{ padding:28px 22px; } .case-title{ font-size:20px; } }

.results-strip{ background:var(--navy); padding:70px 0; }
.results-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:rgba(255,255,255,0.06); border-radius:16px; overflow:hidden; }
.result-item{ background:rgba(255,255,255,0.03); padding:40px 28px; text-align:center; }
.result-num{ font-family:var(--font-mono); font-size:44px; font-weight:700; color:var(--white); line-height:1; margin-bottom:12px; }
.result-desc{ font-size:14px; color:var(--slate-light); line-height:1.6; }
@media (max-width:1024px){ .results-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .results-grid{ grid-template-columns:1fr 1fr; } .result-num{ font-size:34px; } }

/* ===== CONTACT PAGE ===== */
.contact-layout{ display:grid; grid-template-columns:1fr 1.6fr; gap:56px; align-items:start; }
.contact-info-panel{ display:flex; flex-direction:column; gap:24px; }
.info-card{ background:var(--white); border-radius:14px; padding:28px; border:1px solid var(--border); box-shadow:0 2px 12px rgba(0,0,0,0.05); transition:all .25s ease; display:flex; align-items:flex-start; gap:18px; }
.info-card:hover{ border-color:#BFDBFE; box-shadow:0 8px 30px rgba(37,99,235,0.1); transform:translateY(-3px); }
.info-icon{ width:48px; height:48px; border-radius:12px; background:linear-gradient(135deg, #EFF6FF, #DBEAFE); display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; }
.info-label{ font-size:11px; font-weight:600; color:var(--slate-light); text-transform:uppercase; letter-spacing:0.12em; margin-bottom:6px; }
.info-value{ font-size:15.5px; font-weight:600; color:var(--navy); margin-bottom:4px; }
.info-value a{ color:inherit; }
.info-value a:hover{ color:var(--blue); }
.info-sub{ font-size:13.5px; color:var(--slate); }

.availability-card{ background:linear-gradient(135deg, var(--navy), var(--charcoal)); border-radius:14px; padding:28px; border:1px solid rgba(255,255,255,0.08); }
.avail-title{ font-size:15px; font-weight:700; color:var(--white); margin-bottom:18px; display:flex; align-items:center; gap:10px; }
.avail-dot{ width:10px; height:10px; border-radius:50%; background:var(--green); box-shadow:0 0 8px rgba(34,197,94,0.6); animation:blink 2s ease-in-out infinite; }
@keyframes blink{ 0%,100%{opacity:1;} 50%{opacity:.4;} }
.avail-capacity{ font-family:var(--font-mono); font-size:24px; font-weight:700; color:var(--white); margin-bottom:6px; }
.avail-sub{ font-size:13.5px; color:var(--slate-light); }

.guarantee-card{ background:linear-gradient(135deg, var(--green-tint) 0%, #D1FAE5 100%); border:1.5px solid #6EE7B7; border-radius:14px; padding:28px; }

.form-card{ background:var(--white); border-radius:20px; padding:48px 44px; border:1px solid var(--border); box-shadow:0 8px 40px rgba(0,0,0,0.08); }
.form-title{ font-size:26px; font-weight:800; color:var(--navy); margin-bottom:8px; letter-spacing:-0.01em; }
.form-subtitle{ font-size:15px; color:var(--slate); margin-bottom:36px; line-height:1.6; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group{ display:flex; flex-direction:column; gap:8px; margin-bottom:18px; }
.form-group.last{ margin-bottom:0; }
.form-label{ font-size:13.5px; font-weight:600; color:#374151; }
.form-label span{ color:var(--red); margin-left:2px; }
.form-input,.form-select,.form-textarea{ width:100%; padding:13px 16px; border:1.5px solid var(--border); border-radius:10px; font-family:var(--font-body); font-size:14.5px; color:var(--charcoal); background:#FAFAFA; transition:all .2s ease; outline:none; }
.form-input:focus,.form-select:focus,.form-textarea:focus{ border-color:var(--blue); background:var(--white); box-shadow:0 0 0 4px rgba(37,99,235,0.08); }
.form-input::placeholder,.form-textarea::placeholder{ color:var(--slate-light); }
.form-select{ appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 16px center; background-size:12px; padding-right:44px; cursor:pointer; }
.form-textarea{ resize:vertical; min-height:130px; line-height:1.6; }
.form-submit{ width:100%; background:var(--blue); color:var(--white); border:none; padding:17px 30px; border-radius:10px; font-family:var(--font-body); font-weight:700; font-size:16px; cursor:pointer; transition:all .2s ease; margin-top:8px; display:flex; align-items:center; justify-content:center; gap:10px; }
.form-submit:hover{ background:var(--blue-dark); transform:translateY(-2px); box-shadow:0 8px 25px rgba(37,99,235,0.35); }
.form-submit:disabled{ opacity:.6; cursor:not-allowed; transform:none; }
.form-note{ font-size:13px; color:var(--slate-light); text-align:center; margin-top:16px; }
.form-error-box{ background:#FEF2F2; border:1px solid #FCA5A5; color:#991B1B; padding:14px 18px; border-radius:10px; font-size:13.5px; margin-bottom:22px; }
.form-success-box{ background:var(--green-tint); border:1px solid #6EE7B7; color:#065F46; padding:14px 18px; border-radius:10px; font-size:13.5px; margin-bottom:22px; }
.honeypot-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
@media (max-width:1024px){ .contact-layout{ grid-template-columns:1fr; gap:40px; } .contact-info-panel{ display:grid; grid-template-columns:1fr 1fr; gap:18px; } .availability-card{ grid-column:1/-1; } }
@media (max-width:640px){ .form-card{ padding:32px 22px; } .form-row{ grid-template-columns:1fr; } .contact-info-panel{ grid-template-columns:1fr; } }

.expect-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.expect-card{ background:var(--white); border-radius:16px; padding:36px 30px; border:1px solid var(--border); box-shadow:0 2px 12px rgba(0,0,0,0.05); text-align:center; transition:all .25s ease; position:relative; overflow:hidden; }
.expect-card::before{ content:''; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg, var(--blue), var(--sky)); transform:scaleX(0); transform-origin:left; transition:transform .3s ease; }
.expect-card:hover{ transform:translateY(-6px); box-shadow:0 16px 50px rgba(0,0,0,0.1); border-color:#BFDBFE; }
.expect-card:hover::before{ transform:scaleX(1); }
.expect-icon{ width:60px; height:60px; border-radius:16px; background:linear-gradient(135deg, #EFF6FF, #DBEAFE); display:flex; align-items:center; justify-content:center; font-size:28px; margin:0 auto 22px; }
.expect-title{ font-size:18px; font-weight:700; color:var(--navy); margin-bottom:12px; }
.expect-desc{ font-size:14.5px; color:var(--slate); line-height:1.7; }
@media (max-width:1024px){ .expect-grid{ grid-template-columns:1fr; } }

/* =============================================================================
   CAREERS — architecture borrowed from the Silicate Labs reference:
   list-style job rows (not cards) + a sectioned detail/apply page.
   Reskinned into Zyncod's own palette/fonts.
   ========================================================================== */
.careers-main{ max-width:900px; margin:0 auto; padding:80px 32px 120px; }
.careers-section-label{ font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--slate-light); margin-bottom:20px; display:flex; align-items:center; gap:10px; font-family:var(--font-mono); }
.job-list{ display:flex; flex-direction:column; gap:1px; background:var(--border); border:1px solid var(--border); border-radius:12px; overflow:hidden; margin-bottom:60px; }
.job-row{ background:var(--white); padding:24px 26px; display:flex; align-items:center; gap:20px; text-decoration:none; transition:background .15s; }
.job-row:hover{ background:var(--off-white); }
.job-main{ flex:1; min-width:0; }
.job-title{ font-size:16.5px; font-weight:700; color:var(--navy); margin-bottom:6px; }
.job-meta{ display:flex; flex-wrap:wrap; gap:10px; font-size:12.5px; color:var(--slate); }
.job-meta span::after{ content:'·'; margin-left:10px; color:var(--slate-light); }
.job-meta span:last-child::after{ content:''; }
.job-status{ font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:4px 11px; border-radius:20px; flex-shrink:0; }
.status-open{ background:var(--green-tint); color:var(--green-dark); border:1px solid #A7F3D0; }
.status-closed{ background:#F1F5F9; color:var(--slate); border:1px solid var(--border); }
.job-arrow{ font-size:13px; color:var(--slate-light); flex-shrink:0; }
.job-row:hover .job-arrow{ color:var(--blue); }
.mission-strip{ background:var(--off-white); border:1px solid var(--border); border-radius:16px; padding:56px 40px; text-align:center; }
.mission-strip p{ font-size:18px; font-weight:600; line-height:1.6; color:var(--slate); max-width:560px; margin:0 auto 22px; }
@media (max-width:640px){
  /* .job-main was staying at its natural (partial) width while its .job-meta
     wrapped to 2-3 lines internally; .job-status/.job-arrow then rendered
     vertically centered against that now-tall block, floating awkwardly
     mid-row instead of sitting with the title. Forcing job-main to full
     width pushes status+arrow onto their own row below it instead. */
  .job-row{ flex-wrap:wrap; row-gap:12px; }
  .job-main{ flex:1 1 100%; }
  .job-meta{ width:100%; }
  .careers-main{ padding:60px 20px 80px; }
}

/* Apply / detail page */
.apply-wrap{ max-width:820px; margin:0 auto; padding:60px 32px 120px; }
.apply-back{ font-size:13.5px; color:var(--slate-light); text-decoration:none; display:inline-block; margin-bottom:22px; }
.apply-back:hover{ color:var(--slate); }
.job-detail-card{ background:var(--off-white); border:1px solid var(--border); border-radius:16px; padding:32px; margin-bottom:36px; }
.job-detail-card h1{ font-size:28px; font-weight:800; color:var(--navy); letter-spacing:-.5px; margin-bottom:14px; }
.job-meta-row{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:22px; }
.job-meta-chip{ font-size:12px; font-weight:600; color:var(--slate); background:var(--white); border:1px solid var(--border); padding:5px 12px; border-radius:20px; }
.job-desc{ font-size:14.5px; color:var(--slate); line-height:1.8; white-space:pre-wrap; }
.job-desc h4{ font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--slate-light); margin:20px 0 8px; }
.job-desc h4:first-child{ margin-top:0; }
.closed-notice{ background:#FEF2F2; border:1px solid #FCA5A5; border-radius:12px; padding:24px; text-align:center; color:var(--slate); }
.closed-notice strong{ color:#DC2626; display:block; margin-bottom:6px; }

.apply-form-section{ margin-bottom:34px; }
.apply-section-title{ font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--slate-light); margin-bottom:16px; font-family:var(--font-mono); }
.question-card{ background:var(--off-white); border:1px solid var(--border); border-radius:12px; padding:24px; }
.question-card p{ font-size:15px; color:var(--navy); line-height:1.75; font-style:italic; margin-bottom:12px; }
.question-card .q-note{ font-size:13px; color:var(--slate-light); font-style:normal; line-height:1.7; }

.response-type-toggle{ display:flex; gap:8px; margin-bottom:16px; }
.response-type-btn{ padding:8px 18px; border-radius:20px; font-size:12.5px; font-weight:600; border:1px solid var(--border); background:var(--white); color:var(--slate); cursor:pointer; font-family:var(--font-body); transition:all .15s; }
.response-type-btn.active{ background:var(--navy); color:var(--white); border-color:var(--navy); }

.recorder-box{ background:var(--off-white); border:1px solid var(--border); border-radius:12px; padding:20px; text-align:center; }
.recorder-video{ width:100%; max-width:460px; border-radius:8px; background:#000; margin:0 auto 16px; display:block; }
.recorder-audio-viz{ height:70px; display:flex; align-items:center; justify-content:center; gap:3px; margin-bottom:16px; }
.audio-bar{ width:4px; background:var(--slate-light); border-radius:2px; transition:height .1s; }
.recorder-timer{ font-family:var(--font-mono); font-size:13px; color:var(--slate); margin-bottom:14px; }
.recorder-controls{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.recorder-status{ font-size:12.5px; color:var(--slate-light); margin-top:12px; }
.rec-dot{ display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--red); margin-right:6px; animation:pulse 1.2s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{opacity:1;} 50%{opacity:.3;} }
.fallback-link{ font-size:12.5px; color:var(--slate-light); text-decoration:underline; cursor:pointer; margin-top:14px; display:inline-block; background:none; border:none; }
.fallback-link:hover{ color:var(--slate); }

.cv-drop{ border:1px dashed var(--border); border-radius:12px; padding:24px; text-align:center; cursor:pointer; transition:border-color .15s; }
.cv-drop:hover{ border-color:var(--sky); }
.cv-drop.has-file{ border-style:solid; border-color:var(--green); }
.cv-drop-label{ font-size:13.5px; color:var(--slate); }
.cv-drop-sub{ font-size:12px; color:var(--slate-light); margin-top:4px; }

.apply-btn-row{ display:flex; align-items:center; gap:16px; margin-top:30px; }
.apply-consent-note{ font-size:12px; color:var(--slate-light); line-height:1.7; margin-top:22px; padding-top:18px; border-top:1px solid var(--border); }
.apply-success{ text-align:center; padding:60px 24px; }
.apply-success-icon{ font-size:44px; margin-bottom:20px; }
.apply-success h2{ font-size:24px; font-weight:800; margin-bottom:12px; color:var(--navy); }
.apply-success p{ color:var(--slate); font-size:15px; line-height:1.7; max-width:440px; margin:0 auto; }
@media (max-width:640px){ .apply-wrap{ padding:40px 20px 80px; } .job-detail-card{ padding:24px; } }

/* ===== BLOG ===== */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.blog-card{ background:var(--white); border-radius:14px; overflow:hidden; border:1px solid var(--border); box-shadow:var(--shadow-card); transition:all .2s ease; }
.blog-card:hover{ transform:translateY(-4px); box-shadow:0 16px 40px rgba(0,0,0,0.1); }
.blog-card-img{ height:170px; background:linear-gradient(135deg, var(--navy), var(--blue)); display:flex; align-items:center; justify-content:center; }
.blog-card-img img{ width:100%; height:100%; object-fit:cover; }
.blog-card-body{ padding:24px; }
.blog-card-date{ font-size:12px; color:var(--slate-light); font-family:var(--font-mono); margin-bottom:10px; }
.blog-card-title{ font-size:18px; font-weight:700; color:var(--navy); margin-bottom:10px; line-height:1.35; }
.blog-card-excerpt{ font-size:14px; color:var(--slate); line-height:1.65; margin-bottom:14px; }
.blog-card-link{ font-size:13.5px; font-weight:600; color:var(--blue); }
@media (max-width:1024px){ .blog-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .blog-grid{ grid-template-columns:1fr; } }

.blog-post{ max-width:760px; margin:0 auto; padding:80px 32px 100px; }
.blog-post-meta{ font-size:13px; color:var(--slate-light); font-family:var(--font-mono); margin-bottom:16px; }
.blog-post h1{ font-size:38px; font-weight:800; color:var(--navy); line-height:1.25; margin-bottom:28px; letter-spacing:-0.01em; }
.blog-post-cover{ border-radius:14px; overflow:hidden; margin-bottom:36px; }
.blog-post-body{ font-size:17px; color:var(--charcoal); line-height:1.85; }
.blog-post-body p{ margin-bottom:22px; }
.blog-post-body h2{ font-size:26px; font-weight:700; color:var(--navy); margin:36px 0 16px; }
.blog-post-body h3{ font-size:20px; font-weight:700; color:var(--navy); margin:28px 0 12px; }
.blog-post-body ul,.blog-post-body ol{ margin:0 0 22px 24px; }
.blog-post-body img{ border-radius:10px; margin:24px 0; }
.blog-post-body a{ color:var(--blue); text-decoration:underline; }
@media (max-width:640px){ .blog-post{ padding:50px 20px 70px; } .blog-post h1{ font-size:28px; } }

/* ===== TEMPLATES MARKETPLACE ===== */
.templates-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.template-card{ background:var(--white); border-radius:14px; overflow:hidden; border:1px solid var(--border); box-shadow:var(--shadow-card); transition:all .2s ease; }
.template-card:hover{ transform:translateY(-4px); box-shadow:0 16px 40px rgba(0,0,0,0.1); }
.template-preview{ height:190px; background:linear-gradient(135deg, var(--navy), var(--blue)); position:relative; }
.template-preview img{ width:100%; height:100%; object-fit:cover; }
.template-category{ position:absolute; top:14px; left:14px; background:rgba(0,0,0,0.4); color:var(--white); font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:0.06em; padding:5px 12px; border-radius:20px; }
.template-body{ padding:24px; }
.template-name{ font-size:17px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.template-desc{ font-size:14px; color:var(--slate); line-height:1.6; margin-bottom:16px; }
.template-price{ font-family:var(--font-mono); font-size:14px; font-weight:600; color:var(--blue); margin-bottom:16px; }
.template-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.template-actions .btn-primary,.template-actions .btn-outline{ font-size:13px; padding:10px 16px; }
.btn-outline{ background:transparent; color:var(--blue); border:1.5px solid #BFDBFE; padding:10px 16px; border-radius:8px; font-weight:600; font-size:13px; transition:all .15s; }
.btn-outline:hover{ background:#EFF6FF; }
@media (max-width:1024px){ .templates-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .templates-grid{ grid-template-columns:1fr; } }

.order-modal-backdrop{ position:fixed; inset:0; background:rgba(10,22,40,0.6); display:none; align-items:center; justify-content:center; z-index:2000; padding:20px; }
.order-modal-backdrop.open{ display:flex; }
.order-modal{ background:var(--white); border-radius:16px; padding:36px; max-width:480px; width:100%; max-height:90vh; overflow-y:auto; }
.order-modal-title{ font-size:20px; font-weight:700; color:var(--navy); margin-bottom:6px; }
.order-modal-sub{ font-size:13.5px; color:var(--slate); margin-bottom:24px; }
.order-modal-close{ float:right; background:none; border:none; font-size:20px; color:var(--slate-light); cursor:pointer; }

/* ===== BOOKING PAGE ===== */
.booking-layout{ display:grid; grid-template-columns:1fr 1.3fr; gap:44px; align-items:start; }
.booking-calendar{ background:var(--white); border-radius:16px; border:1px solid var(--border); box-shadow:var(--shadow-card); padding:28px; }
.cal-header{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.cal-title{ font-size:16px; font-weight:700; color:var(--navy); }
.cal-nav-btn{ background:var(--off-white); border:1px solid var(--border); border-radius:8px; width:32px; height:32px; cursor:pointer; font-size:14px; color:var(--slate); }
.cal-nav-btn:hover{ background:#EFF6FF; }
.cal-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
.cal-dow{ text-align:center; font-size:11px; font-weight:600; color:var(--slate-light); text-transform:uppercase; padding-bottom:8px; }
.cal-day{ aspect-ratio:1; display:flex; align-items:center; justify-content:center; border-radius:8px; font-size:13.5px; cursor:pointer; border:1px solid transparent; color:var(--charcoal); }
.cal-day.disabled{ color:var(--border); cursor:not-allowed; }
.cal-day.available:hover{ background:#EFF6FF; border-color:#BFDBFE; }
.cal-day.selected{ background:var(--blue); color:var(--white); font-weight:700; }
.cal-day.empty{ visibility:hidden; }

.slots-panel{ background:var(--white); border-radius:16px; border:1px solid var(--border); box-shadow:var(--shadow-card); padding:28px; }
.slots-title{ font-size:15px; font-weight:700; color:var(--navy); margin-bottom:16px; }
.slots-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:28px; }
.slot-btn{ padding:11px; border-radius:8px; border:1.5px solid var(--border); background:var(--white); font-size:13.5px; font-weight:600; color:var(--charcoal); cursor:pointer; transition:all .15s; font-family:var(--font-mono); }
.slot-btn:hover{ border-color:var(--blue); color:var(--blue); }
.slot-btn.selected{ background:var(--blue); border-color:var(--blue); color:var(--white); }
.slots-empty{ color:var(--slate-light); font-size:14px; text-align:center; padding:20px 0; grid-column:1/-1; }
@media (max-width:1024px){ .booking-layout{ grid-template-columns:1fr; } }
@media (max-width:640px){
  .slots-grid{ grid-template-columns:repeat(2,1fr); }
  /* 7-column calendar has hard width limits on phones — every px of padding/gap
     shaved off directly grows the tappable cell (was ~23px, below the ~44px
     minimum touch target, before this). */
  .booking-calendar, .slots-panel{ padding:16px; }
  .cal-grid{ gap:3px; }
  .cal-day{ font-size:13px; }
}
@media (max-width:400px){ .container{ padding:0 16px; } }

/* ===== LEGAL PAGES ===== */
.legal-page{ max-width:800px; margin:0 auto; padding:80px 32px 100px; }
.legal-page h1{ font-size:36px; font-weight:800; color:var(--navy); margin-bottom:12px; }
.legal-page .updated{ font-size:13px; color:var(--slate-light); margin-bottom:40px; }
.legal-page h2{ font-size:22px; font-weight:700; color:var(--navy); margin:32px 0 12px; }
.legal-page p,.legal-page li{ font-size:15px; color:var(--slate); line-height:1.75; margin-bottom:14px; }
.legal-page ul{ padding-left:22px; }
@media (max-width:640px){ .legal-page{ padding:50px 20px 70px; } .legal-page h1{ font-size:28px; } }

/* ===== PORTAL SPLIT LOGIN ===== */
.portal-split{ min-height:100vh; display:flex; }
.portal-split-left{ flex:1; min-width:0; background:#0A0A0A; color:var(--white); display:flex; flex-direction:column; padding:48px; }
.portal-split-right{ flex:1; min-width:0; background:linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 100%); color:var(--white); display:none; align-items:center; justify-content:center; flex-direction:column; text-align:center; padding:60px; }
.portal-mini-header{ display:flex; align-items:center; gap:12px; }
.portal-mini-logo{ width:44px; height:44px; border-radius:10px; background:var(--blue); color:var(--white); font-family:var(--font-mono); font-weight:700; font-size:20px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.portal-mini-name{ font-family:var(--font-mono); font-size:17px; font-weight:700; color:var(--white); }
.portal-mini-name span{ color:var(--sky); }
.portal-mini-tagline{ font-size:12.5px; color:rgba(255,255,255,0.4); margin-top:1px; }
.portal-split-form-wrap{ flex:1; display:flex; flex-direction:column; justify-content:center; max-width:400px; width:100%; margin:0 auto; padding:40px 0; }
.portal-split-form-wrap h1{ font-size:30px; font-weight:800; color:var(--white); margin-bottom:14px; letter-spacing:-0.01em; }
.portal-split-desc{ font-size:14.5px; color:rgba(255,255,255,0.55); line-height:1.7; margin-bottom:32px; }
.portal-split-form-wrap .admin-form-group label{ color:rgba(255,255,255,0.55); font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:8px; }
.portal-split-form-wrap .admin-form-group input{ background:#15151a; border:1px solid rgba(255,255,255,0.12); color:var(--white); padding:13px 14px; }
.portal-split-form-wrap .admin-form-group input:focus{ border-color:var(--blue); outline:none; }
.portal-mini-footer{ margin-top:28px; }
.portal-mini-footer p{ font-size:13px; color:rgba(255,255,255,0.4); margin-bottom:8px; }
.portal-mini-footer a{ color:rgba(255,255,255,0.75); text-decoration:underline; }
.portal-split-icon{ width:90px; height:90px; border-radius:20px; background:rgba(255,255,255,0.15); color:var(--white); font-family:var(--font-mono); font-size:40px; font-weight:700; display:flex; align-items:center; justify-content:center; margin-bottom:32px; }
.portal-split-right h2{ font-size:28px; font-weight:800; margin-bottom:16px; max-width:440px; letter-spacing:-0.01em; }
.portal-split-right p{ font-size:15px; color:rgba(255,255,255,0.8); line-height:1.7; max-width:420px; }
@media (min-width:900px){ .portal-split-right{ display:flex; } }
@media (max-width:640px){ .portal-split-left{ padding:32px 24px; } }

/* ===== ADMIN ===== */
.admin-body{ background:var(--off-white); min-height:100vh; }
.admin-shell{ display:flex; min-height:100vh; }
.admin-sidebar{ width:240px; background:var(--navy-dark); color:var(--white); flex-shrink:0; padding:24px 0; }
.admin-logo{ font-family:var(--font-mono); font-size:20px; font-weight:700; padding:0 24px 24px; border-bottom:1px solid rgba(255,255,255,0.08); margin-bottom:16px; }
.admin-logo span{ color:var(--sky); }
.admin-nav a{ display:block; padding:12px 24px; color:rgba(255,255,255,0.7); font-size:14px; font-weight:500; transition:all .15s; border-left:3px solid transparent; }
.admin-nav a:hover{ background:rgba(255,255,255,0.05); color:var(--white); }
.admin-nav a.active{ background:rgba(37,99,235,0.15); color:var(--white); border-left-color:var(--blue); }
.admin-main{ flex:1; padding:36px 40px; min-width:0; }
.admin-topbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:32px; gap:16px; }
.admin-title{ font-size:24px; font-weight:800; color:var(--navy); }
.admin-user{ font-size:13.5px; color:var(--slate); display:flex; align-items:center; gap:14px; flex-shrink:0; }
.admin-user a{ color:var(--blue); font-weight:600; }
.admin-menu-toggle{ display:none; background:none; border:none; color:var(--navy); font-size:24px; cursor:pointer; padding:4px 8px; flex-shrink:0; }
.admin-sidebar-backdrop{ display:none; }
.admin-card{ background:var(--white); border-radius:14px; border:1px solid var(--border); box-shadow:var(--shadow-card); padding:28px; margin-bottom:24px; }
.admin-stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-bottom:28px; }
.admin-stat{ background:var(--white); border-radius:12px; border:1px solid var(--border); padding:22px; }
.admin-stat-num{ font-family:var(--font-mono); font-size:30px; font-weight:700; color:var(--navy); }
.admin-stat-label{ font-size:12.5px; color:var(--slate); margin-top:6px; }
.admin-table{ width:100%; border-collapse:collapse; }
.admin-table th{ text-align:left; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; color:var(--slate-light); padding:10px 14px; border-bottom:2px solid var(--border); }
.admin-table td{ padding:14px; font-size:14px; border-bottom:1px solid #F1F5F9; vertical-align:middle; }
.admin-table tr:hover td{ background:var(--off-white); }
.admin-badge{ font-size:11px; font-weight:700; padding:3px 10px; border-radius:20px; text-transform:uppercase; letter-spacing:0.04em; }
.admin-badge.new{ background:#DBEAFE; color:var(--blue-dark); }
.admin-badge.open{ background:var(--green-tint); color:var(--green-dark); }
.admin-badge.closed{ background:#F1F5F9; color:var(--slate); }
.admin-badge.confirmed{ background:var(--green-tint); color:var(--green-dark); }
.admin-badge.cancelled{ background:#FEF2F2; color:#DC2626; }
.admin-form-group{ margin-bottom:20px; }
.admin-form-group label{ display:block; font-size:13.5px; font-weight:600; color:#374151; margin-bottom:8px; }
.admin-form-group input,.admin-form-group select,.admin-form-group textarea{ width:100%; padding:11px 14px; border:1.5px solid var(--border); border-radius:8px; font-family:var(--font-body); font-size:14px; }
.admin-form-group textarea{ min-height:120px; resize:vertical; }
.admin-btn{ background:var(--blue); color:var(--white); border:none; padding:11px 22px; border-radius:8px; font-weight:600; font-size:14px; cursor:pointer; }
.admin-btn:hover{ background:var(--blue-dark); }
.admin-btn.danger{ background:#DC2626; }
.admin-btn.danger:hover{ background:#B91C1C; }
.admin-btn.secondary{ background:#F1F5F9; color:var(--charcoal); }
.admin-login-wrap{ min-height:100vh; display:flex; align-items:center; justify-content:center; background:var(--navy-dark); padding:20px; }
.admin-login-card{ background:var(--white); border-radius:16px; padding:44px; max-width:380px; width:100%; }
@media (max-width:900px){
  /* Sidebar becomes an off-canvas drawer instead of stacking the full nav
     above every page's content — a permanently-visible vertical nav list
     (13 links in admin, 3 in portal) pushed above the content is not how
     mobile navigation should work; users would scroll past it every time. */
  .admin-shell{ display:block; }
  .admin-sidebar{ position:fixed; top:0; left:0; bottom:0; width:270px; max-width:82vw; z-index:1100; transform:translateX(-100%); transition:transform .25s ease; overflow-y:auto; }
  .admin-sidebar.open{ transform:translateX(0); }
  .admin-sidebar-backdrop{ display:block; position:fixed; inset:0; background:rgba(10,22,40,0.5); z-index:1050; opacity:0; pointer-events:none; transition:opacity .2s ease; }
  .admin-sidebar-backdrop.open{ opacity:1; pointer-events:auto; }
  .admin-main{ padding:24px 20px 60px; width:100%; }
  .admin-menu-toggle{ display:block; }
  .admin-topbar{ flex-wrap:wrap; row-gap:10px; margin-bottom:24px; }
  .admin-title{ font-size:19px; }
  .admin-user{ font-size:13px; flex:1 1 100%; justify-content:flex-end; }
  .admin-stats-grid{ grid-template-columns:repeat(2,1fr); }
  .admin-card{ padding:20px 16px; }
  /* Every admin/portal listing page (14 files) uses a plain <table
     class="admin-table"> with no scroll wrapper — its natural content width
     (e.g. a 4-column file/note/from/date table) was forcing the ENTIRE PAGE
     wider than the viewport instead of just scrolling internally. Switching
     the table itself to a block-level scroll container fixes it in one
     place; thead/tbody/tr/td keep their default table display roles so
     columns still line up correctly, only the table's outer box scrolls. */
  .admin-table{ display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; }
}
@media (max-width:480px){ .admin-stats-grid{ grid-template-columns:1fr; } }
