/* ═══════════════════════════════════════════════════════════
   TaskTweaky Theme — main.css v3.0
   Mobile-first · CSS custom properties · No dependencies
═══════════════════════════════════════════════════════════ */

/* ── Reset & Custom Properties ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:       #2ec4b6;
  --accent-dark:  #20a89d;
  --accent-soft:  #e6faf8;
  --coral:        #FF5B4A;
  --wp-blue:      #0073AA;
  --wix-purple:   #7C3AED;
  --amber:        #f59e0b;

  --dark-nav:     #0f1628;
  --dark-body:    #111827;
  --dark-card:    #1a2236;
  --dark-border:  #1e2d45;

  --text:         #111827;
  --text-muted:   #6b7280;
  --text-light:   #9ca3af;
  --text-inv:     #ffffff;

  --bg:           #ffffff;
  --bg-alt:       #f8fafc;
  --bg-dark:      #0f1628;

  --nav-h:        68px;
  --inner-max:    1160px;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 48px rgba(0,0,0,.12);

  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition:   0.22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, 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; }

/* ── Skip Link ── */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 9999; background: var(--accent); color: #fff; padding: .5rem 1rem; border-radius: 6px; }

/* ─────────────────────────────────────────────────────────
   LAYOUT HELPERS
───────────────────────────────────────────────────────── */
.section { padding: 80px 24px; }
.section-inner { max-width: var(--inner-max); margin: 0 auto; width: 100%; }
.section--dark { background: var(--bg-dark); color: var(--text-inv); }
.section--alt  { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: .35rem 1rem;
  border-radius: 999px; margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.2; margin-bottom: .75rem; }
.section-sub   { font-size: 1.1rem; color: var(--text-muted); max-width: 540px; margin: 0 auto; }

/* ─────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .625rem 1.375rem; border-radius: 8px; font-size: .9rem; font-weight: 600;
  transition: all var(--transition); white-space: nowrap; min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(46,196,182,.35); }
.btn-ghost   { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(255,255,255,.22); }
.btn-outline  { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--accent); color: #fff; }
.btn-sm  { padding: .45rem 1rem; font-size: .82rem; min-height: 36px; }
.btn-lg  { padding: .8rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-half {width:48%;}

/* ─────────────────────────────────────────────────────────
   HEADER / NAV
───────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); background: rgba(15,22,40,.9);
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--dark-border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 32px rgba(0,0,0,.35); }

.header-inner {
  max-width: var(--inner-max); margin: 0 auto; padding: 0 24px;
  height: var(--nav-h); display: flex; align-items: center; gap: 1rem;
}

/* Logo */
.header-logo { flex-shrink: 0; }
.site-logo-text { font-size: 1.35rem; font-weight: 800; color: #fff; }
.site-logo-text span { color: var(--accent); }
.custom-logo { height: 40px; width: auto; }

/* Desktop nav */
.header-nav { flex: 1; display: flex; justify-content: flex-end; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links li a {
  display: inline-flex; align-items: center;
  padding: .5rem .875rem; border-radius: 6px;
  color: #000; font-size: .9rem; font-weight: 500;
  transition: all var(--transition); min-height: 44px;
}
.nav-links li a:hover,
.nav-links li a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-links li a[aria-current="page"] { color: var(--accent); }
.nav-links li.nav-cta a, .nav-links li a.btn-primary {
  background: var(--accent); color: #fff; margin-left: .5rem;
}
.nav-links li.nav-cta a:hover { background: var(--accent-dark); }

/* Hamburger */
.nav-hamburger {
  display: none; width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: rgba(255,255,255,.85);
  border-radius: 2px; transition: all var(--transition); transform-origin: center;
}

/* Mobile drawer */
.mobile-nav {
  position: fixed; top: 0;left: 0; right: 0;
  background: rgba(15,22,40,.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  padding: 1rem 24px 1.5rem; z-index: 999;
  transform: translateY(-110%); transition: transform var(--transition); pointer-events: none;
}
.mobile-nav.open { transform: translateY(0); pointer-events: auto; top: 68px; }
.mobile-nav-links { display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav-links li a {
  display: block; padding: .75rem 1rem; color: rgba(255,255,255,.85);
  font-size: 1rem; font-weight: 500; border-radius: 8px;
  transition: all var(--transition); min-height: 44px;
}
.mobile-nav-links li a:hover { background: rgba(255,255,255,.08); color: #fff; }
.mobile-nav-links li a.btn-primary { background: var(--accent); color: #fff; margin-top: .5rem; }
.mobile-nav-contact { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--dark-border); }
.mobile-nav-contact a { color: var(--accent); font-size: .9rem; }

@media (max-width: 767px) {
  .header-nav   { display: none; }
  .nav-hamburger { display: flex; margin-left: auto; }
}

/* ─────────────────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────────────────── */
.hero {
  min-height: 100dvh; display: flex; align-items: center;
  background: var(--bg-dark); color: var(--text-inv);
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 20% 50%, rgba(46,196,182,.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(124,58,237,.12) 0%, transparent 40%),
                    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; position: relative; z-index: 1;
}
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1fr 1fr; } }

.hero-text .section-eyebrow { background: rgba(46,196,182,.15); color: var(--accent); }
.hero-headline { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.25rem; color: #fff; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.7); margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; gap: .2rem; }
.hero-stat-num   { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.hero-stat-label { font-size: .8rem; color: #000; text-transform: uppercase; letter-spacing: .08em; }

/* Hero card */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card {
  background: #fff; border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 1.5rem; width: 100%; max-width: 340px;
  backdrop-filter: blur(12px);
}
.hero-card-header { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; }
.hero-card-dot    { width: 12px; height: 12px; border-radius: 50%; }
.hero-card-label  { margin-left: auto; font-size: .75rem; color: #000; text-transform: uppercase; letter-spacing: .08em; }
.hero-card-task   { font-size: 1rem; font-weight: 700; color: #000; margin-bottom: .25rem; }
.hero-card-meta   { font-size: .85rem; color: #000; margin-bottom: 1.25rem; }
.hero-card-meta strong { color: var(--accent); }
.hero-card-progress-wrap { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.hero-card-progress-label { font-size: .75rem; color:#000; white-space: nowrap; }
.hero-card-progress-track { flex: 1; height: 6px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; }
.hero-card-progress { height: 100%; background: var(--accent); border-radius: 3px; transition: width 1.2s cubic-bezier(.25,.1,.25,1); }
.hero-card-progress-pct { font-size: .75rem; color: var(--accent); font-weight: 700; }
.hero-card-footer { display: flex; align-items: center; justify-content: space-between; }
.hero-card-avatars { display: flex; gap: -.25rem; }
.avatar-chip { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(255,255,255,.1); }
.hero-card-badge { font-size: .75rem; background: rgba(46,196,182,.2); color: var(--accent); border: 1px solid rgba(46,196,182,.4); padding: .25rem .75rem; border-radius: 999px; font-weight: 600; }

/* ─────────────────────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 48px) 24px 48px;
  background: var(--bg-white); color: var(--text-inv);
}
.page-hero--accented {
  background: linear-gradient(135deg, var(--bg-dark) 60%, rgba(var(--page-accent), .15));
}
.page-hero .section-inner { max-width: var(--inner-max); margin: 0 auto; }
.page-hero-icon   { font-size: 3rem; margin-bottom: 1rem; }
.page-hero-title  { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: #000; margin-bottom: .75rem; }
.page-hero-sub    { font-size: 1.1rem; color: rgba(255,255,255,.7); max-width: 600px; }
.page-hero-count  { margin-top: 1rem; font-size: .9rem; color: var(--accent); font-weight: 600; }
.breadcrumb       { font-size: .85rem; color: #000; margin-bottom: 1.5rem; }
.breadcrumb a     { color:#000 }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-hidden] { margin: 0 .4rem; }

/* ─────────────────────────────────────────────────────────
   SERVICE CARDS (homepage + archive grid)
───────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--card-accent, var(--accent));
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card-icon  { font-size: 2.2rem; line-height: 1; }
.service-card-title { font-size: 1.15rem; font-weight: 700; color: var(--text); }
.service-card-title a { color: inherit; }
.service-card-title a:hover { color: var(--card-accent, var(--accent)); }
.service-card-desc  { font-size: .9rem; color: var(--text-muted); flex: 1; line-height: 1.6; }
.service-card-tasks { margin-top: .25rem; display: flex; flex-direction: column; gap: .5rem; }
.service-card-tasks li {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  padding: .5rem 0; border-bottom: 1px solid #f3f4f6; font-size: .85rem;
}
.service-card-tasks li:last-child { border-bottom: none; }
.task-name  { flex: 1; font-weight: 500; color: var(--text); }
.task-badge {
  font-size: .7rem; font-weight: 700; background: var(--accent-soft); color: var(--accent);
  padding: .15rem .6rem; border-radius: 999px; white-space: nowrap;
}
.task-price { font-size: .9rem; font-weight: 700; color: var(--card-accent, var(--accent)); white-space: nowrap; }
.task-more  { font-size: .8rem; color: var(--text-light); padding-top: .5rem; }
.service-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .5rem; }
.service-from        { font-size: .85rem; color: var(--text-muted); }
.service-from strong { color: var(--card-accent, var(--accent)); font-size: 1rem; }

/* ─────────────────────────────────────────────────────────
   TASK CARDS (category page grid)
───────────────────────────────────────────────────────── */
.task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.task-grid--compact { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.task-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.task-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.task-card-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700;
  padding: .2rem .7rem; border-radius: 999px;
}
.task-card-thumb img { width: 100%; height: 180px; object-fit: cover; }
.task-card-body      { padding: 20px 20px 0; flex: 1; }
.task-card-title     { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; line-height: 1.35; }
.task-card-desc      { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }
.task-card-features  { margin-top: .75rem; display: flex; flex-direction: column; gap: .35rem; }
.task-card-features li { font-size: .8rem; color: var(--text-muted); padding-left: 1.2rem; position: relative; }
.task-card-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.task-card-footer    { padding: 16px 20px 20px; display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-top: 1px solid #f3f4f6; margin-top: 16px; }
.task-card-meta      { display: flex; flex-direction: column; gap: .2rem; }
.task-card-price     { font-size: 1.2rem; font-weight: 800; color: var(--page-accent, var(--accent)); }
.task-card-duration  { font-size: .78rem; color: var(--text-light); }

/* ─────────────────────────────────────────────────────────
   TASK DETAIL PAGE
───────────────────────────────────────────────────────── */
.task-detail-layout {
  display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 900px) {
  .task-detail-layout { grid-template-columns: 1fr 360px; align-items: start; }
}
.task-detail-category { margin-bottom: .75rem; }
.category-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .85rem; font-weight: 600; color: var(--page-accent, var(--accent));
  background: var(--accent-soft); padding: .35rem .9rem; border-radius: 999px;
}
.task-detail-title   { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: .75rem; }
.task-badge--lg      { font-size: .8rem; padding: .3rem .9rem; margin-bottom: 1.25rem; display: inline-block; }
.task-detail-thumb   { border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; }
.task-detail-thumb img { width: 100%; height: auto; object-fit: cover; }
.task-detail-excerpt { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.task-detail-features { margin-top: 2rem; }
.task-detail-features h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.task-detail-features ul { display: flex; flex-direction: column; gap: .6rem; }
.task-detail-features li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; }
.task-detail-features li::before { content: '✓'; color: var(--accent); font-weight: 800; flex-shrink: 0; margin-top: .05rem; }

/* Order sidebar card */
.task-order-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-lg);
  position: sticky; top: calc(var(--nav-h) + 24px);
}
.task-order-price {
  font-size: 2.5rem; font-weight: 900; color: var(--page-accent, var(--accent));
  line-height: 1; margin-bottom: .5rem;
}
.task-order-currency { font-size: 1.5rem; vertical-align: top; margin-top: .35rem; display: inline-block; }
.task-order-meta  { font-size: .85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.task-order-assurances { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.task-order-assurances li { font-size: .85rem; color: var(--text-muted); }

/* Related tasks section */
.related-tasks-section { background: var(--bg-alt); }

/* ─────────────────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────────────────── */
.how-it-works { background: var(--bg-dark); color: var(--text-inv); }
.how-it-works .section-eyebrow { background: rgba(46,196,182,.15); color: var(--accent); }
.how-it-works .section-sub     { color: rgba(255,255,255,.65); }
.steps-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 640px)  { .steps-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4,1fr); } }
.step-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg); padding: 28px; text-align: center;
  transition: background var(--transition);
}
.step-card:hover { background: rgba(255,255,255,.07); }
.step-num   { font-size: 2.5rem; font-weight: 900; color: var(--accent); opacity: .7; margin-bottom: .75rem; }
.step-title { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: .6rem; }
.step-desc  { font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.65; }

/* ─────────────────────────────────────────────────────────
   PRICING
───────────────────────────────────────────────────────── */
.pricing-section { background: var(--bg-alt); }
.pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3,1fr); } }
.pricing-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow); position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card--featured {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,196,182,.15), var(--shadow-lg);
}
.pricing-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800;
  padding: .25rem .9rem; border-radius: 0 0 8px 8px; white-space: nowrap;
  letter-spacing: .05em; text-transform: uppercase;
}
.pricing-eyebrow { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }
.pricing-price { font-size: 2.8rem; font-weight: 900; line-height: 1; }
.pricing-currency { font-size: 1.5rem; vertical-align: top; margin-top: .5rem; display: inline-block; }
.pricing-period { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-desc { font-size: .9rem; color: var(--text-muted); }
.pricing-features { flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.pricing-features li { font-size: .875rem; color: var(--text); padding-left: 1.4rem; position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ─────────────────────────────────────────────────────────
   WHY US
───────────────────────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 640px)  { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3,1fr); } }
.why-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.why-card-icon  { font-size: 2rem; margin-bottom: 1rem; }
.why-card-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.why-card-desc  { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* ─────────────────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────────────────── */
.contact-section { background: var(--bg-alt); }
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.contact-info .section-title { text-align: left; }
.contact-info .section-sub   { text-align: left; margin: 0; max-width: none; }
.contact-details { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-details li { display: flex; align-items: flex-start; gap: .75rem; font-size: .95rem; }
.contact-icon { font-size: 1.2rem; flex-shrink: 0; }
.contact-details a { color: var(--accent); }

/* Contact form */
.contact-form-wrap { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row--half { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 480px) { .form-row--half { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text); }
.form-group label span { color: var(--coral); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .75rem 1rem; border: 1.5px solid #d1d5db;
  border-radius: 8px; font: inherit; font-size: 1rem;
  color: var(--text); background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,196,182,.15); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success-msg { background: var(--accent-soft); border: 1.5px solid var(--accent); color: #166534; border-radius: 8px; padding: 1rem; font-size: .95rem; font-weight: 500; }
.form-error-msg   { background: #fef2f2; border: 1.5px solid #fca5a5; color: #991b1b; border-radius: 8px; padding: .75rem 1rem; font-size: .875rem; }

/* ─────────────────────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #0f1628 0%, #1a2040 100%);
  padding: 80px 24px; color: var(--text-inv); text-align: center;
}
.cta-banner-title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; color: #fff; margin-bottom: .75rem; }
.cta-banner-sub   { font-size: 1.1rem; color: rgba(255,255,255,.7); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ─────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────── */
.site-footer { background: #090e1a; color: rgba(255,255,255,.75); padding: 64px 24px 32px; }
.footer-inner { max-width: var(--inner-max); margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr repeat(3,1fr); } }
.footer-brand .site-logo-text { font-size: 1.3rem; color: #fff; }
.footer-tagline { font-size: .875rem; margin-top: .75rem; line-height: 1.65; opacity: .7; }
.social-links   { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social-links a {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7);
  transition: all var(--transition);
}
.social-links a:hover { background: var(--accent); color: #fff; }
.footer-col-title { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.4); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links li a { font-size: .875rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-links li a:hover { color: var(--accent); }
.footer-contact-list { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .875rem; }
.footer-contact-list a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-contact-list a:hover { color: var(--accent); }
.footer-icon { flex-shrink: 0; margin-top: .1rem; opacity: .6; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  justify-content: space-between; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.4);
}
.footer-bottom strong { color: rgba(255,255,255,.65); }
.footer-legal a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-legal a:hover { color: var(--accent); }

/* ─────────────────────────────────────────────────────────
   BLOG / POST CARDS
───────────────────────────────────────────────────────── */
.post-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 640px)  { .post-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3,1fr); } }
.post-card { background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card-thumb img { width: 100%; height: 200px; object-fit: cover; }
.post-card-body  { padding: 20px; }
.post-meta { font-size: .78rem; color: var(--text-light); margin-bottom: .6rem; }
.post-meta a { color: var(--accent); }
.post-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; line-height: 1.4; }
.post-card-title a:hover { color: var(--accent); }
.post-card-excerpt { font-size: .875rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.6; }
.post-featured-img { border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; }
.post-featured-img img { width: 100%; height: auto; }
.entry-content { font-size: 1rem; line-height: 1.8; color: var(--text); }
.entry-content p,
.entry-content ul,
.entry-content ol { margin-bottom: 1.25rem; }
.entry-content h2,
.entry-content h3 { margin: 2rem 0 .75rem; }
.entry-footer    { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e5e7eb; }
.post-tags a     { color: var(--accent); }

/* ─────────────────────────────────────────────────────────
   EMPTY STATE
───────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.empty-state h2, .empty-state h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.empty-state p    { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ─────────────────────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────────────────
   DROPDOWN NAV — desktop panel + mobile accordion
───────────────────────────────────────────────────────── */

/* Positioning anchor — needed for absolute dropdown */
.header-nav .nav-links > li {
  position: relative;
}

/* Chevron indicator */
.tt-dropdown-chevron {
  display: inline-block;
  font-size: 0.5rem;
  margin-left: 4px;
  vertical-align: middle;
  opacity: 0.65;
  transition: transform var(--transition);
  line-height: 1;
}
.header-nav .nav-links > li:hover > a .tt-dropdown-chevron,
.header-nav .nav-links > li.is-open > a .tt-dropdown-chevron {
  transform: rotate(180deg);
}

/* Bridge gap so the cursor can travel to the panel */
.header-nav .nav-links > li.menu-item-has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
  z-index: 9998;
}

/* Dropdown panel — hidden by default */
.header-nav .nav-links .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13), 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 9999;
  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}

/* Visible state — hover or .is-open (JS) */
.header-nav .nav-links > li:hover > .sub-menu,
.header-nav .nav-links > li.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
}

/* Dropdown item rows */
.header-nav .nav-links .sub-menu > li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-nav .nav-links .sub-menu > li > a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text);
  border-radius: 0;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}
.header-nav .nav-links .sub-menu > li > a:hover {
  background: rgba(46, 196, 182, 0.08);
  color: var(--accent);
  padding-left: 26px;
}
.header-nav .nav-links .sub-menu > li.current-menu-item > a {
  color: var(--accent);
  font-weight: 600;
  padding-left: 26px;
  background: rgba(46, 196, 182, 0.06);
}

/* Mobile accordion toggle — hidden on desktop */
.tt-mobile-toggle {
  display: none;
}

/* ── Mobile accordion (≤767px) ── */
@media (max-width: 767px) {
  .mobile-nav-links > li {
    position: relative;
  }

  /* Toggle button */
  .tt-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    min-height: 44px;
    width: 48px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    z-index: 2;
    transition: background 0.18s ease;
  }
  .tt-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
  }
  /* Chevron arrow inside toggle */
  .tt-mobile-toggle::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.25s ease, margin-top 0.25s ease;
  }
  .mobile-nav-links > li.is-open > .tt-mobile-toggle::before {
    transform: rotate(-135deg);
    margin-top: 4px;
  }

  /* Sub-menu accordion panel */
  .mobile-nav-links .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.15);
  }
  .mobile-nav-links > li.is-open > .sub-menu {
    max-height: 320px;
  }

  .mobile-nav-links .sub-menu > li > a {
    display: block;
    padding: 10px 20px 10px 36px;
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: color 0.18s ease, background 0.18s ease;
  }
  .mobile-nav-links .sub-menu > li:last-child > a {
    border-bottom: none;
  }
  .mobile-nav-links .sub-menu > li > a:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
  }
}

/* ─────────────────────────────────────────────────────────
   SHOPIFY DEVELOPMENT PACKAGES SECTION
   All new rules scoped to .pkg-* to avoid touching existing
   .pricing-card styles used elsewhere in the template.
───────────────────────────────────────────────────────── */

/* Section background — alternate to distinguish from
   the small-task pricing section directly above it */
.packages-section { background: var(--bg); }

/* Non-featured eyebrow pill (featured cards use .pricing-badge) */
.pkg-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: -.25rem;
}

/* Package name heading */
.pkg-name {
  font-size: 1.4rem; font-weight: 800; color: var(--text);
  line-height: 1.2; margin: 0;
}
.pricing-card--featured .pkg-name { color: var(--accent); }

/* Price + period inline row */
.pkg-price-row {
  display: flex; align-items: baseline; gap: .4rem;
  flex-wrap: wrap;
}
.pkg-price-row .pricing-price { color: var(--text); }
.pricing-card--featured .pkg-price-row .pricing-price { color: var(--accent); }

/* Estimated delivery badge */
.pkg-delivery {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: .28rem .75rem;
  border-radius: 999px;
}

/* Thin horizontal rule inside cards */
.pkg-divider {
  height: 1px; background: #e5e7eb; flex-shrink: 0;
}
/* Pushes the bottom divider + CTA button to the card bottom */
.pkg-divider--push { margin-top: auto; }

/* Always-visible feature list — inherits .pricing-features styles */
.pkg-features-preview { flex: 0 0 auto; }

/* Collapsible extra-features panel */
.pkg-features-full {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.pkg-card.is-expanded .pkg-features-full {
  max-height: 440px; /* tall enough for any list */
}
/* When revealed, give the inner list a little top breathing room */
.pkg-features-full .pricing-features { padding-top: .35rem; }
/* Sync aria-hidden with visibility */
.pkg-card.is-expanded .pkg-features-full { aria-hidden: false; }

/* "View Details" toggle button */
.pkg-toggle {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600; color: var(--accent);
  background: none; border: none; padding: .3rem 0;
  cursor: pointer; text-align: left;
  transition: color var(--transition);
  align-self: flex-start;
}
.pkg-toggle:hover,
.pkg-toggle:focus-visible { color: var(--accent-dark); outline: none; }
.pkg-toggle:focus-visible { box-shadow: 0 0 0 2px var(--accent); border-radius: 4px; }

/* Chevron rotates when expanded */
.pkg-toggle-icon {
  display: inline-block; font-size: .6rem;
  transition: transform var(--transition);
  line-height: 1;
}
.pkg-card.is-expanded .pkg-toggle-icon { transform: rotate(180deg); }

/* CTA buttons — pkg section reuses btn-coral-ghost / btn-coral-inv from page-style.css */

/* Footer note below the grid */
.pkg-footer-note {
  text-align: center; margin-top: 32px;
  font-size: .9rem; color: var(--text-muted);
}
.pkg-footer-note a { color: var(--accent); font-weight: 600; }
.pkg-footer-note a:hover { color: var(--accent-dark); }

/* Featured card — pull it up on desktop for visual pop */
@media (min-width: 768px) {
  .pkg-card.pricing-card--featured {
    margin-top: -12px;
    padding-top: 44px; /* extra room for the top badge */
  }
}

/* ─────────────────────────────────────────────────────────
   MOBILE RESPONSIVE OVERRIDES (≤640px)
───────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .section { padding: 56px 16px; }
  .section-header { margin-bottom: 36px; }
  .hero  { padding: calc(var(--nav-h) + 32px) 16px 56px; }
  .hero-actions { flex-direction: column; }
  .hero-stats   { gap: 1.25rem; }
  .hero-stat-num { font-size: 1.3rem; }
  .page-hero { padding: calc(var(--nav-h) + 32px) 16px 36px; }
  .contact-form-wrap { padding: 20px 16px; }
  .task-detail-layout { gap: 24px; }
  .task-order-card { position: static; }
  .pricing-card--featured { margin-top: 0; }
  .footer-inner { padding: 0; }
  .cta-banner { padding: 56px 16px; }
}
