/* ═══════════════════════════════════════════════════════
   Experience Solutions — Shared Stylesheet
   Design System: "Calm Confidence (with a wink)"
   ═══════════════════════════════════════════════════════ */

/* ─── VARIABLES ───────────────────────────────────────── */
:root {
  --ink:        #1a1a2e;
  --sky:        #2563EB;
  --sky-light:  #DBEAFE;
  --coral:      #F97316;
  --coral-lt:   #FFF7ED;
  --mint:       #10B981;
  --mint-lt:    #D1FAE5;
  --stone:      #F5F4F0;
  --white:      #FFFFFF;
  --muted:      #6B7280;
  --border:     #E5E7EB;
  --radius:     14px;
  --radius-sm:  8px;
  --shadow-sm:  0 2px 16px rgba(0,0,0,.05);
  --shadow-md:  0 8px 32px rgba(0,0,0,.1);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.12);
  --transition: .18s ease;
}

/* ─── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ─── TYPOGRAPHY ──────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'DM Serif Display', Georgia, serif; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; font-family: 'DM Sans', sans-serif; font-weight: 700; }
p  { line-height: 1.75; }

/* ─── LAYOUT ──────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 2rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

section { padding: 5.5rem 0; }

/* ─── BADGE ───────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--sky-light); color: var(--sky);
  font-size: .75rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: .3rem .85rem;
  border-radius: 999px; margin-bottom: 1rem;
}
.badge.coral  { background: var(--coral-lt);   color: var(--coral); }
.badge.mint   { background: var(--mint-lt);     color: var(--mint);  }
.badge.dark   { background: rgba(255,255,255,.12); color: #D1D5DB;   }
.badge.white  { background: rgba(255,255,255,.2);  color: var(--white); }

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem; border-radius: 999px;
  font-size: .95rem; font-weight: 600; line-height: 1;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-primary   { background: var(--coral);   color: var(--white); }
.btn-secondary { background: var(--ink);     color: var(--white); }
.btn-sky       { background: var(--sky);     color: var(--white); }
.btn-ghost     { background: transparent;    color: var(--sky);    border: 2px solid var(--sky); }
.btn-ghost-white { background: transparent;  color: var(--white);  border: 2px solid rgba(255,255,255,.4); }
.btn-white     { background: var(--white);   color: var(--sky); }

.btn-lg { padding: .95rem 2rem; font-size: 1.05rem; }

/* ─── NAV ─────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem; color: var(--ink);
  flex-shrink: 0;
}
.nav-logo span { color: var(--coral); }
.nav-links {
  display: flex; align-items: center; gap: 1.8rem;
}
.nav-links a {
  font-size: .92rem; font-weight: 500; color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; gap: .65rem; align-items: center; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: .4rem; border-radius: 6px;
}
.nav-hamburger span {
  width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: var(--transition);
  display: block;
}
.nav-mobile {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 300; padding: 1.5rem 2rem;
  flex-direction: column; gap: 1.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.nav-mobile-close {
  font-size: 1.6rem; line-height: 1; color: var(--muted); padding: .3rem;
}
.nav-mobile-links {
  display: flex; flex-direction: column; gap: 1.2rem; flex: 1;
}
.nav-mobile-links a {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem; color: var(--ink);
  transition: color var(--transition);
}
.nav-mobile-links a:hover { color: var(--coral); }
.nav-mobile-cta { padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ─── PAGE HERO (inner pages) ─────────────────────────── */
.page-hero {
  background: var(--stone); padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: .8rem; }
.page-hero p  { font-size: 1.1rem; color: var(--muted); max-width: 560px; line-height: 1.7; }
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: var(--muted); margin-bottom: 1.2rem;
}
.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb-sep { color: var(--border); }

/* ─── SECTION HEADER ──────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: .6rem; }
.section-header p  { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

/* ─── TRUST BAR ───────────────────────────────────────── */
.trust-bar {
  background: var(--ink); color: var(--white); padding: 2.2rem 0;
}
.trust-inner {
  display: flex; align-items: center; gap: 2rem;
  flex-wrap: wrap; justify-content: center;
}
.trust-stat strong {
  font-family: 'DM Serif Display', serif; font-size: 2rem;
  display: block;
}
.trust-stat p { font-size: .82rem; color: #9CA3AF; margin-top: .1rem; }
.trust-divider { width: 1px; height: 44px; background: #374151; flex-shrink: 0; }

/* ─── SERVICE CARDS ───────────────────────────────────── */
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.1rem;
}
.service-card h3 { margin-bottom: .55rem; }
.service-card p  { font-size: .93rem; color: var(--muted); }
.service-quip {
  font-size: .82rem; color: var(--coral); font-style: italic;
  margin-top: .8rem; font-weight: 500;
}

/* ─── WORK CARDS ──────────────────────────────────────── */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.work-card {
  border-radius: var(--radius); overflow: hidden;
  background: #1F2A44;
  transition: transform var(--transition);
  display: flex; flex-direction: column;
}
.work-card:hover { transform: translateY(-4px); }
.work-thumb {
  height: 175px; display: flex; align-items: center;
  justify-content: center; font-size: 3rem;
}
.work-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.work-body h3 { font-size: 1.05rem; color: var(--white); margin-bottom: .4rem; }
.work-body p  { font-size: .88rem; color: #9CA3AF; line-height: 1.6; flex: 1; }
.work-tags { margin-top: .8rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.work-tag {
  display: inline-block; background: rgba(255,255,255,.08); color: #D1D5DB;
  font-size: .73rem; padding: .22rem .65rem; border-radius: 999px;
}

/* ─── TESTIMONIAL CARDS ───────────────────────────────── */
.testi-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.testi-stars { color: var(--coral); font-size: .95rem; margin-bottom: .75rem; }
.testi-quote { font-size: .93rem; color: var(--muted); line-height: 1.78; }
.testi-author { margin-top: 1.2rem; display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sky-light); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: .88rem; }
.testi-role { font-size: .78rem; color: var(--muted); }

/* ─── PROCESS STEPS ───────────────────────────────────── */
.process-step { display: flex; gap: 1.4rem; align-items: flex-start; }
.step-num {
  min-width: 46px; height: 46px; border-radius: 50%;
  background: var(--sky-light); color: var(--sky);
  font-family: 'DM Serif Display', serif; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.step-body h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.step-body p  { font-size: .92rem; color: var(--muted); line-height: 1.65; }
.step-connector {
  width: 2px; height: 36px; background: var(--border);
  margin-left: 22px; margin-top: 6px; margin-bottom: 6px;
}

/* ─── BLOG POST CARDS ─────────────────────────────────── */
.post-card {
  background: var(--white); border-radius: var(--radius);
  padding: 0; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  overflow: hidden; transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-thumb {
  height: 150px; display: flex; align-items: center;
  justify-content: center; font-size: 2.5rem;
}
.post-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-meta {
  display: flex; align-items: center; gap: .8rem;
  font-size: .78rem; color: var(--muted); margin-bottom: .6rem;
}
.post-tag {
  background: var(--sky-light); color: var(--sky);
  padding: .18rem .6rem; border-radius: 999px; font-weight: 600; font-size: .73rem;
}
.post-body h3 { font-size: 1.05rem; margin-bottom: .5rem; line-height: 1.35; }
.post-body p  { font-size: .9rem; color: var(--muted); line-height: 1.65; flex: 1; }
.post-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--sky); font-size: .88rem; font-weight: 600;
  margin-top: 1rem; transition: gap var(--transition);
}
.post-link:hover { gap: .7rem; }

/* ─── CONTACT FORM ────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.2rem; }
.form-label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.form-label .optional { color: var(--muted); font-weight: 400; margin-left: .3rem; }
.form-input,
.form-textarea,
.form-select {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink);
  font-size: .95rem; line-height: 1.5;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-input.error,
.form-textarea.error { border-color: #EF4444; }
.form-error-msg { font-size: .8rem; color: #EF4444; margin-top: .3rem; display: none; }
.form-error-msg.visible { display: block; }
.form-textarea { resize: vertical; min-height: 130px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-submit-wrap { margin-top: .5rem; }
.form-status {
  margin-top: 1.2rem; padding: 1rem 1.2rem;
  border-radius: var(--radius-sm); font-size: .92rem; display: none;
}
.form-status.success {
  display: block; background: var(--mint-lt);
  border: 1px solid var(--mint); color: #065F46;
}
.form-status.error {
  display: block; background: #FEF2F2;
  border: 1px solid #FECACA; color: #991B1B;
}

/* ─── CMS / TECH FEATURE BOXES ────────────────────────── */
.cms-feature {
  display: flex; gap: .9rem; align-items: flex-start;
  background: rgba(255,255,255,.1); border-radius: 10px; padding: .9rem 1.1rem;
}
.cms-feature-icon { font-size: 1.4rem; flex-shrink: 0; }
.cms-feature h4 { font-family: 'DM Sans', sans-serif; font-size: .92rem; font-weight: 700; margin-bottom: .15rem; }
.cms-feature p  { font-size: .83rem; color: rgba(255,255,255,.68); line-height: 1.5; }

/* ─── QUIRK / HIGHLIGHT BOXES ─────────────────────────── */
.quirk-card {
  background: var(--stone); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; border-left: 4px solid var(--coral);
  font-size: .93rem; color: var(--muted); line-height: 1.7;
}
.quirk-card strong { display: block; color: var(--ink); margin-bottom: .3rem; }
.callout-box {
  background: var(--sky-light); border-radius: var(--radius);
  padding: 1.6rem 2rem;
}
.callout-box h4 { color: var(--sky); margin-bottom: .9rem; }
.callout-box li {
  font-size: .91rem; padding: .35rem 0;
  display: flex; align-items: flex-start; gap: .6rem;
}
.callout-box li::before { content: '✓'; color: var(--mint); font-weight: 700; flex-shrink: 0; }

/* ─── PULL QUOTE ──────────────────────────────────────── */
.pull-quote {
  background: var(--coral-lt); border-radius: var(--radius);
  padding: 2rem 2.5rem; text-align: center;
}
.pull-quote blockquote {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem; line-height: 1.5; color: var(--ink);
  margin-bottom: .6rem;
}
.pull-quote cite { font-size: .85rem; color: var(--muted); font-style: normal; }

/* ─── SECTOR PILLS ────────────────────────────────────── */
.sector-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.sector-pill {
  padding: .5rem 1.2rem; border-radius: 999px;
  border: 1.5px solid var(--border); font-size: .88rem; font-weight: 500;
  transition: border-color var(--transition), color var(--transition);
}
.sector-pill:hover { border-color: var(--sky); color: var(--sky); }

/* ─── CTA SECTION ─────────────────────────────────────── */
.cta-section {
  background: var(--stone); text-align: center; padding: 6rem 0;
}
.cta-section h2 { margin-bottom: .8rem; }
.cta-section h2 em { color: var(--coral); font-style: normal; }
.cta-section p { color: var(--muted); font-size: 1.05rem; margin-bottom: 2.2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.fine-print { font-size: .78rem; color: var(--muted); margin-top: .9rem; font-style: italic; }

/* ─── FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--ink); color: #9CA3AF; padding: 3.5rem 0 1.8rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 2.8rem;
}
.footer-brand .nav-logo { color: var(--white); font-size: 1.15rem; margin-bottom: .75rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--white); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: .9rem;
}
.footer-col li + li { margin-top: .45rem; }
.footer-col a { font-size: .88rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #1F2937; padding-top: 1.4rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; flex-wrap: wrap; gap: .5rem;
}
.footer-egg { color: var(--coral); }

/* ─── PANIC METER (home) ──────────────────────────────── */
.panic-meter {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem 1.8rem; box-shadow: var(--shadow-lg);
  max-width: 400px; margin-left: auto;
}
.panic-meter-label {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--muted); margin-bottom: .9rem;
}
.panic-bar-track {
  background: #F3F4F6; border-radius: 999px; height: 16px; overflow: hidden; margin-bottom: .5rem;
}
.panic-bar-fill {
  height: 100%; border-radius: 999px; width: 0;
  background: linear-gradient(90deg, var(--mint) 0%, var(--sky) 45%, var(--coral) 100%);
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}
.panic-emojis { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.panic-divider { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }
.panic-before { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.panic-verdict {
  font-family: 'DM Serif Display', serif; font-size: 1.05rem; line-height: 1.4;
}
.panic-verdict span { color: var(--coral); }
.panic-after {
  margin-top: 1rem; padding: .85rem 1rem;
  background: var(--sky-light); border-radius: 8px;
  font-size: .85rem; color: var(--sky); font-weight: 500;
}

/* ─── UTILITIES ───────────────────────────────────────── */
.text-coral  { color: var(--coral); }
.text-sky    { color: var(--sky);   }
.text-muted  { color: var(--muted); }
.text-center { text-align: center;  }
.mt-1  { margin-top: .5rem;  }
.mt-2  { margin-top: 1rem;   }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem;   }
.mb-1  { margin-bottom: .5rem;  }
.mb-2  { margin-bottom: 1rem;   }
.mb-3  { margin-bottom: 1.5rem; }
.bg-stone  { background: var(--stone); }
.bg-dark   { background: var(--ink); color: var(--white); }
.bg-dark .section-header p { color: #9CA3AF; }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .form-row  { grid-template-columns: 1fr; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .trust-inner { gap: 1.5rem; flex-direction: column; }
  .trust-divider { width: 50px; height: 1px; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .page-hero h1 { font-size: clamp(1.7rem, 8vw, 2.5rem); }
  .panic-meter { margin: 0 auto; }
  .cta-actions { flex-direction: column; align-items: center; }

  .pull-quote blockquote { font-size: 1.05rem; }

  h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .btn-lg { padding: .85rem 1.5rem; font-size: .95rem; }
}
