/* ============================================
   React Tech Solutions — Master Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-bg: #eff6ff;
  --accent: #06b6d4;
  --accent-dark: #0891b2;
  --text: #1e293b;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --header-height: 72px;
  --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; color: var(--text); font-weight: 700; }
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p + p { margin-top: 1rem; }

/* --- Layout --- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: #cbd5e1; }

/* --- Skip Link --- */
.skip-link {
  position: absolute; top: -100%; left: 1rem; padding: 0.75rem 1.5rem;
  background: var(--primary); color: #fff; border-radius: var(--radius);
  z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* --- Top Bar --- */
.top-bar {
  background: var(--bg-dark); color: #94a3b8; font-size: 0.85rem; padding: 0.5rem 0;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-contact { display: flex; gap: 1.5rem; }
.top-bar-contact a { color: #94a3b8; display: flex; align-items: center; gap: 0.35rem; }
.top-bar-contact a:hover { color: #fff; }
.top-bar-social { display: flex; align-items: center; gap: 0.75rem; }
.top-bar-social span { color: #64748b; }
.top-bar-social a { color: #94a3b8; font-weight: 500; }
.top-bar-social a:hover { color: var(--accent); }

/* --- Header --- */
.header {
  background: var(--bg); position: sticky; top: 0; z-index: 1000;
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-height);
}
.logo {
  font-size: 1.35rem; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 0.5rem; white-space: nowrap;
}
.logo:hover { color: var(--primary); }
.logo-icon { font-size: 1.5rem; }

/* --- Navigation --- */
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-list > li > a {
  padding: 0.5rem 0.85rem; color: var(--text); font-weight: 500;
  border-radius: var(--radius); transition: all var(--transition); font-size: 0.95rem;
}
.nav-list > li > a:hover,
.nav-list > li > a.active { color: var(--primary); background: var(--primary-bg); }
.nav-dropdown { position: relative; }
.dropdown-arrow { font-size: 0.7rem; margin-left: 0.15rem; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 0.5rem 0; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all 0.2s ease; z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 0.6rem 1.25rem; color: var(--text); font-size: 0.9rem;
}
.dropdown-menu a:hover { background: var(--bg-alt); color: var(--primary); }
.header-cta { margin-left: 1rem; white-space: nowrap; }
.nav-toggle { display: none; width: 32px; height: 24px; flex-direction: column; justify-content: space-between; }
.nav-toggle-bar {
  display: block; width: 100%; height: 3px; background: var(--text);
  border-radius: 2px; transition: all var(--transition);
}

/* --- Breadcrumbs --- */
.breadcrumbs { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 0.75rem 0; }
.breadcrumb-list { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; flex-wrap: wrap; }
.breadcrumb-list li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb-list li + li::before { content: "›"; color: var(--text-lighter); }
.breadcrumb-list a { color: var(--text-light); }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-list [aria-current] { color: var(--text); font-weight: 500; }

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e3a5f 50%, var(--primary-dark) 100%);
  color: #fff; padding: 5rem 0; position: relative; overflow: hidden;
}
.hero--small { padding: 3rem 0; }
.hero::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-full { display: flex; align-items: center; gap: 3rem; }
.hero-full .hero-content { flex: 1; }
.hero-full .hero-image { flex: 1; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }
.hero-title { font-size: 3rem; font-weight: 800; margin-bottom: 1.25rem; color: #fff; }
.hero-subtitle { font-size: 1.2rem; color: #cbd5e1; margin-bottom: 2rem; line-height: 1.8; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.15); color: var(--accent);
  padding: 0.35rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 1rem; border: 1px solid rgba(255,255,255,0.1);
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: var(--radius); font-weight: 600;
  font-size: 0.95rem; transition: all var(--transition); border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: #fff; color: var(--primary); border-color: #fff; }
.btn-secondary:hover { background: var(--primary-bg); border-color: var(--primary-bg); color: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

/* --- Section Headers --- */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-label {
  display: inline-block; color: var(--primary); font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { color: var(--text-light); font-size: 1.1rem; }

/* --- Grids --- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Cards --- */
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary-bg); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-content { padding: 1.75rem; }
.card-icon {
  width: 56px; height: 56px; background: var(--primary-bg); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem;
}
.card-title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--primary); }
.card-text { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1rem; }
.card-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.85rem; color: var(--text-lighter); }
.card-link { color: var(--primary); font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.card-link:hover { gap: 0.6rem; }

/* --- Stats Bar --- */
.stats-bar { background: var(--primary); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item { color: #fff; }
.stat-number { font-size: 2.75rem; font-weight: 800; display: block; line-height: 1.2; }
.stat-label { font-size: 0.95rem; opacity: 0.85; margin-top: 0.25rem; }

/* --- Process Steps --- */
.process-steps { counter-reset: step; }
.step {
  display: flex; gap: 1.5rem; padding: 1.75rem; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.step:hover { box-shadow: var(--shadow-md); border-color: var(--primary-bg); }
.step-number {
  counter-increment: step; flex-shrink: 0;
  width: 48px; height: 48px; background: var(--primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.step-number::before { content: counter(step); }
.step-content { flex: 1; }
.step-title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step-text { color: var(--text-light); font-size: 0.95rem; }

/* --- Timeline --- */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: ""; position: absolute; left: 0.75rem; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -2.5rem; top: 0.25rem;
  width: 14px; height: 14px; background: var(--primary); border-radius: 50%;
  border: 3px solid var(--primary-bg); transform: translateX(calc(0.75rem - 7px + 2.5rem - 2.5rem));
}
.timeline-date { color: var(--primary); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.25rem; }
.timeline-title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.timeline-text { color: var(--text-light); font-size: 0.95rem; }

/* --- Team --- */
.team-card { text-align: center; }
.team-img {
  width: 160px; height: 160px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 1.25rem; border: 4px solid var(--primary-bg);
}
.team-name { font-size: 1.15rem; margin-bottom: 0.15rem; }
.team-role { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; }
.team-bio { color: var(--text-light); font-size: 0.9rem; }
.team-credentials { font-size: 0.8rem; color: var(--text-lighter); margin-top: 0.35rem; }

/* --- Testimonials --- */
.testimonial-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; position: relative;
}
.testimonial-card::before {
  content: "\201C"; font-size: 4rem; color: var(--primary-bg); position: absolute;
  top: 0.5rem; left: 1.25rem; line-height: 1; font-family: Georgia, serif;
}
.testimonial-stars { color: var(--warning); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.testimonial-text { color: var(--text); font-size: 1rem; line-height: 1.75; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { font-weight: 700; color: var(--text); }
.testimonial-role { color: var(--text-light); font-size: 0.85rem; }

/* --- FAQ --- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; }
.faq-question {
  width: 100%; padding: 1.25rem 1.5rem; text-align: left; font-weight: 600;
  font-size: 1.05rem; color: var(--text); display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; background: var(--bg); cursor: pointer;
  transition: all var(--transition);
}
.faq-question:hover { color: var(--primary); background: var(--bg-alt); }
.faq-question::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--primary); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.active .faq-question { color: var(--primary); background: var(--primary-bg); }
.faq-item.active .faq-question::after { content: "−"; }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: all 0.4s ease; }
.faq-item.active .faq-answer { padding: 1rem 1.5rem 1.5rem; max-height: 800px; }
.faq-answer p { color: var(--text-light); font-size: 0.95rem; line-height: 1.75; }
.faq-answer p + p { margin-top: 0.75rem; }

/* --- Author Bio --- */
.author-bio {
  display: flex; gap: 1.5rem; padding: 2rem; background: var(--bg-alt);
  border-radius: var(--radius-lg); border: 1px solid var(--border); margin: 2.5rem 0;
}
.author-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.1rem; }
.author-title { color: var(--primary); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; }
.author-text { color: var(--text-light); font-size: 0.9rem; }

/* --- Blog --- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card .card-img { height: 200px; }
.blog-tag {
  display: inline-block; background: var(--primary-bg); color: var(--primary);
  padding: 0.2rem 0.75rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  margin-bottom: 0.75rem;
}
.blog-post-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; }
.blog-content h2 { font-size: 1.6rem; margin: 2rem 0 1rem; color: var(--text); }
.blog-content h3 { font-size: 1.3rem; margin: 1.75rem 0 0.75rem; }
.blog-content p { margin-bottom: 1rem; color: var(--text); font-size: 1.02rem; }
.blog-content ul, .blog-content ol { margin: 1rem 0 1rem 1.5rem; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: 0.5rem; color: var(--text); font-size: 1.02rem; }
.blog-content blockquote {
  border-left: 4px solid var(--primary); padding: 1rem 1.5rem; margin: 1.5rem 0;
  background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0;
}
.blog-content blockquote p { color: var(--text-light); font-style: italic; }
.blog-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.blog-featured-img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 2rem; }
.blog-post-meta { display: flex; align-items: center; gap: 1.5rem; color: var(--text-light); font-size: 0.9rem; margin-bottom: 2rem; flex-wrap: wrap; }
.blog-sidebar { position: sticky; top: calc(var(--header-height) + 2rem); }
.sidebar-widget { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-widget h3 { font-size: 1.1rem; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--primary); }
.sidebar-widget ul li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul a { color: var(--text); font-size: 0.9rem; }
.sidebar-widget ul a:hover { color: var(--primary); }
.read-time { display: flex; align-items: center; gap: 0.3rem; }

/* --- Contact Form --- */
.contact-layout { display: grid; grid-template-columns: 1fr 400px; gap: 3rem; }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.95rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.85rem 1rem; border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 1rem; transition: border-color var(--transition); background: var(--bg);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-bg);
}
.form-textarea { min-height: 150px; resize: vertical; }
.form-hint { font-size: 0.8rem; color: var(--text-lighter); margin-top: 0.25rem; }
.contact-card {
  background: var(--bg-dark); color: #fff; border-radius: var(--radius-lg); padding: 2.5rem;
}
.contact-card h3 { color: #fff; margin-bottom: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info-label { color: #94a3b8; font-size: 0.85rem; }
.contact-info-value { color: #fff; font-weight: 500; margin-top: 0.15rem; }
.contact-info-value a { color: #fff; }
.contact-info-value a:hover { color: var(--accent); }

/* --- Tools / Calculators --- */
.tool-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.tool-form {
  background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem;
}
.tool-form h3 { margin-bottom: 1.5rem; }
.tool-result {
  background: var(--bg-dark); color: #fff; border-radius: var(--radius-lg); padding: 2rem;
  position: sticky; top: calc(var(--header-height) + 2rem);
}
.tool-result h3 { color: #fff; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.15); }
.result-row { display: flex; justify-content: space-between; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.result-label { color: #94a3b8; }
.result-value { font-weight: 700; color: #fff; }
.result-total { font-size: 1.25rem; padding-top: 1rem; margin-top: 0.5rem; border-top: 2px solid var(--primary); }
.result-total .result-value { color: var(--accent); font-size: 1.4rem; }
.tool-note { font-size: 0.8rem; color: #64748b; margin-top: 1rem; font-style: italic; }
.range-value { font-weight: 700; color: var(--primary); margin-left: 0.5rem; }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: 4rem 0; text-align: center;
}
.cta-section h2 { color: #fff; font-size: 2.25rem; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 600px; margin: 0 auto 2rem; }

/* --- Trust Badges --- */
.trust-row { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; padding: 2rem 0; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; color: var(--text-light); font-weight: 500; }
.trust-icon { font-size: 1.5rem; }

/* --- Values --- */
.value-card { text-align: center; padding: 2rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-title { font-size: 1.15rem; margin-bottom: 0.75rem; }
.value-text { color: var(--text-light); font-size: 0.95rem; }

/* --- Service Detail --- */
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin: 3rem 0; }
.service-detail-grid img { border-radius: var(--radius-lg); }
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-list { list-style: none; }
.service-list li { padding: 0.6rem 0 0.6rem 1.75rem; position: relative; color: var(--text); }
.service-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.pricing-note { background: var(--primary-bg); border: 1px solid #bfdbfe; border-radius: var(--radius-lg); padding: 2rem; margin: 2rem 0; }
.pricing-note h3 { color: var(--primary-dark); margin-bottom: 0.75rem; }

/* --- Location Grid --- */
.location-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.location-item {
  padding: 1rem 1.25rem; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); text-align: center; transition: all var(--transition);
}
.location-item:hover { border-color: var(--primary); background: var(--primary-bg); }
.location-item a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.location-item:hover a { color: var(--primary); }

/* --- Checklist --- */
.checklist { list-style: none; }
.checklist li { padding: 0.5rem 0 0.5rem 2rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; font-size: 1.1rem; }

/* --- Tags --- */
.tag {
  display: inline-block; padding: 0.2rem 0.75rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
}
.tag-primary { background: var(--primary-bg); color: var(--primary); }
.tag-accent { background: #ecfeff; color: var(--accent-dark); }

/* --- Tables --- */
.styled-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.styled-table th, .styled-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.styled-table th { background: var(--bg-alt); font-weight: 700; font-size: 0.9rem; }
.styled-table td { font-size: 0.95rem; }
.styled-table tr:hover td { background: var(--bg-alt); }

/* --- Footer --- */
.footer { background: var(--bg-dark); color: #94a3b8; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-col h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { color: #94a3b8; font-size: 0.9rem; transition: all var(--transition); }
.footer-col ul a:hover { color: #fff; padding-left: 0.25rem; }
.footer-contact li { display: flex; gap: 0.5rem; margin-bottom: 0.85rem; font-size: 0.9rem; line-height: 1.5; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { color: #94a3b8; font-weight: 500; padding: 0.35rem 0.75rem; background: rgba(255,255,255,0.05); border-radius: var(--radius); font-size: 0.85rem; }
.footer-social a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.85rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: #64748b; font-size: 0.85rem; }
.footer-legal a:hover { color: #fff; }

/* --- Cookie Consent --- */
.cookie-consent {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0; display: none;
}
.cookie-consent.show { display: block; }
.cookie-consent-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; gap: 2rem; }
.cookie-consent-inner p { color: #94a3b8; font-size: 0.9rem; flex: 1; }
.cookie-consent-inner a { color: var(--accent); }
.cookie-consent-buttons { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-light { color: var(--text-light); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.pt-0 { padding-top: 0; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.inline-icon { width: 1.2em; height: 1.2em; vertical-align: middle; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.25rem; }
  .hero-title { font-size: 2.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .tool-layout { grid-template-columns: 1fr; }
  .tool-result { position: static; }
  .location-grid { grid-template-columns: repeat(3, 1fr); }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-grid.reverse { direction: ltr; }
  .hero-full { flex-direction: column; }
}

@media (max-width: 768px) {
  .top-bar-social { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav { position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; background: var(--bg); padding: 1.5rem; transform: translateX(100%); transition: transform var(--transition); overflow-y: auto; z-index: 999; }
  .nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li > a { display: block; padding: 0.85rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--border); }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 1rem; background: var(--bg-alt); border-radius: var(--radius); margin: 0.5rem 0; }
  .dropdown-menu a { padding: 0.5rem 1rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { padding: 3rem 0; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .section { padding: 3.5rem 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-number { font-size: 2rem; }
  .trust-row { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .cookie-consent-inner { flex-direction: column; text-align: center; }
  .author-bio { flex-direction: column; text-align: center; }
  .author-img { margin: 0 auto; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .container { padding: 0 1rem; }
  h1 { font-size: 1.75rem; }
  .hero-title { font-size: 1.75rem; }
  .hero-buttons { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .location-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column; text-align: center; }
}

/* --- Print --- */
@media print {
  .top-bar, .header, .cookie-consent, .footer, .breadcrumbs { display: none; }
  .hero { background: none !important; color: #000 !important; padding: 1rem 0; }
  .hero-title, .hero-subtitle { color: #000 !important; }
  .section { padding: 1.5rem 0; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
  .btn { border: 1px solid #999; }
}
