/* ==========================================================================
   TalentHuntz - Global Stylesheet (hand-written, no framework)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --navy: #0f172a;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --blue-50: #eff6ff;
  --blue-100: #dbeafe;

  --white: #ffffff;
  --red-500: #ef4444;

  --container: 1280px;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, .1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, .15);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 96px 0; }
.bg-white { background: var(--white); }
.bg-slate-50 { background: var(--slate-50); }
.bg-navy { background: var(--slate-900); }
.border-y { border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.border-t { border-top: 1px solid var(--slate-200); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Section headings ---------- */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head.tight { margin-bottom: 40px; }
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--slate-600);
  max-width: 42rem;
  margin: 0 auto;
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-subtitle { color: var(--slate-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 600;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 12px; }
.btn-xl { padding: 16px 40px; font-size: 1.125rem; border-radius: 12px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); }

.btn-white { background: var(--white); color: var(--primary); box-shadow: var(--shadow-md); }
.btn-white:hover { background: var(--blue-50); }

.btn-ghost-light {
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .2); }

.btn-outline {
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  background: var(--white);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--primary);
}
.logo span { color: var(--slate-900); }

.main-nav { display: none; align-items: center; gap: 32px; }
.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color .15s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.hamburger { display: inline-flex; padding: 8px; border-radius: 8px; color: var(--slate-700); }
.hamburger:hover { background: var(--slate-100); }
.header-cta { display: none; }

.mobile-menu { display: none; border-top: 1px solid var(--slate-100); padding: 16px 0; }
.mobile-menu.open { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  padding: 10px 16px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: 8px;
}
.mobile-menu a:hover { background: var(--slate-50); }
.mobile-menu .mobile-cta { padding: 8px 16px 0; }

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--slate-900);
  padding: 112px 0;
}
.hero.hero-tall { padding: 112px 0 144px; }
.hero.hero-mid { padding: 96px 0; }
.hero.hero-short { padding: 64px 0; }
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 50%, #1a2e4a 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-blob-1 {
  top: -80px; right: -80px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, .25) 0%, transparent 70%);
}
.hero-blob-2 {
  bottom: -100px; left: -60px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, .15) 0%, transparent 70%);
}
.hero-inner { position: relative; }
.hero-narrow { max-width: 48rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, .2);
  border: 1px solid rgba(96, 165, 250, .3);
  color: #93c5fd;
  font-size: .75rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title .accent { color: #60a5fa; }
.hero-text {
  font-size: 1.125rem;
  color: var(--slate-300);
  max-width: 42rem;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-stats { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 40px; }
.hero-stats .stat-num { font-size: 1.875rem; font-weight: 700; color: var(--white); }
.hero-stats .stat-label { color: var(--slate-400); font-size: .875rem; margin-top: 4px; }
.hero-page-title { font-size: 2.25rem; font-weight: 700; margin-bottom: 16px; }
.hero-page-text { color: var(--slate-300); max-width: 42rem; margin: 0 auto; }

@media (min-width: 768px) {
  .hero-title { font-size: 3rem; }
  .hero-page-title { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 3.75rem; }
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.hover-card { transition: box-shadow .2s, transform .2s; }
.hover-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-title { font-size: 1.125rem; font-weight: 600; color: var(--slate-900); margin-bottom: 8px; }
.card-text { color: var(--slate-600); font-size: .875rem; line-height: 1.6; }

/* ---------- Intro block ---------- */
.intro { max-width: 48rem; margin: 0 auto; text-align: center; }
.intro p { font-size: 1.125rem; color: var(--slate-600); line-height: 1.7; }
.intro-tags {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-600);
}
.intro-tags span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

/* ---------- Service badges ---------- */
.badges { display: flex; flex-wrap: wrap; justify-content: center; }
.service-badge {
  display: inline-block;
  padding: 8px 20px;
  margin: 4px;
  background: var(--slate-100);
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
}

/* ---------- Process steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px 48px;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
.process-step { position: relative; padding-left: 56px; }
.process-num {
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, .06);
  user-select: none;
}
.process-step h3 { font-size: 1.125rem; font-weight: 600; color: var(--slate-100); margin-bottom: 8px; }
.process-step p { color: var(--slate-400); font-size: .875rem; line-height: 1.6; }

/* ---------- Testimonials ---------- */
.testimonial {
  display: flex;
  flex-direction: column;
  padding: 32px;
}
.quote-mark {
  font-size: 64px;
  line-height: 1;
  color: var(--blue-100);
  font-family: Georgia, serif;
  margin-bottom: -20px;
}
.testimonial p { color: var(--slate-700); font-style: italic; line-height: 1.7; margin-bottom: 24px; flex-grow: 1; }
.testimonial-author { border-top: 1px solid var(--slate-100); padding-top: 16px; }
.testimonial-author .name { font-weight: 600; color: var(--slate-900); }
.testimonial-author .role { font-size: .875rem; color: var(--slate-500); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 60%, #3b82f6 100%);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
}
.cta-band h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 24px; }
.cta-band p { font-size: 1.125rem; color: var(--blue-100); max-width: 48rem; margin: 0 auto 40px; line-height: 1.7; }
@media (min-width: 768px) { .cta-band h2 { font-size: 2.25rem; } .cta-band p { font-size: 1.25rem; } }

/* ---------- About page ---------- */
.prose-narrow { max-width: 56rem; margin: 0 auto; }
.about-blocks { display: flex; flex-direction: column; gap: 64px; }
.about-blocks h2 { font-size: 1.875rem; font-weight: 700; color: var(--slate-900); margin-bottom: 24px; }
.about-blocks p { color: var(--slate-600); line-height: 1.7; }
.stack > * + * { margin-top: 16px; }
.mission-box {
  background: var(--blue-50);
  border-left: 4px solid var(--primary);
  padding: 24px;
  border-radius: 0 12px 12px 0;
}
.mission-box p { color: var(--slate-700); }
.approach-list { display: flex; flex-direction: column; gap: 16px; }
.approach-item { display: flex; gap: 16px; }
.approach-num {
  width: 32px; height: 32px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--primary);
  font-weight: 700;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.approach-item strong { color: var(--slate-900); }
.approach-item span { color: var(--slate-600); }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-card { background: var(--slate-50); border-radius: 12px; padding: 24px; }
.trust-card h3 { font-size: 1.25rem; font-weight: 600; color: var(--slate-900); margin-bottom: 12px; }
.trust-card p { color: var(--slate-600); }

/* ---------- Founder ---------- */
.founder-card {
  max-width: 64rem;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
.founder-photo {
  min-height: 256px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.founder-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: #bfdbfe;
  color: var(--primary);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-photo .caption { color: var(--slate-400); font-size: .875rem; font-weight: 500; }
.founder-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.founder-eyebrow { font-size: .875rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.founder-body h2 { font-size: 1.5rem; font-weight: 700; color: var(--slate-900); margin-bottom: 4px; }
.founder-body .sub { color: var(--slate-500); font-size: .875rem; margin-bottom: 24px; }
.founder-body .bio > * + * { margin-top: 16px; }
.founder-body .bio p { color: var(--slate-600); line-height: 1.7; }
@media (min-width: 768px) {
  .founder-card { grid-template-columns: 2fr 3fr; }
  .founder-body { padding: 48px; }
}

/* ---------- Services page ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 72rem; margin: 0 auto; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card-body { padding: 32px; flex-grow: 1; }
.service-card-body h3 { font-size: 1.5rem; font-weight: 700; color: var(--slate-900); margin-bottom: 12px; }
.service-card-body > p { color: var(--slate-600); margin-bottom: 24px; line-height: 1.7; }
.service-points { display: flex; flex-direction: column; gap: 12px; }
.service-points .point { display: flex; align-items: center; gap: 12px; }
.service-points .point svg { color: var(--primary); flex-shrink: 0; }
.service-points .point span { font-size: .875rem; color: var(--slate-700); }
.service-card-foot { padding: 0 32px 32px; }

/* ---------- Jobs page ---------- */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 16px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.filter-search { position: relative; flex-grow: 1; width: 100%; }
.filter-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
}
.filter-selects { display: flex; gap: 16px; width: 100%; }
@media (min-width: 768px) {
  .filter-bar { flex-direction: row; }
  .filter-selects { width: auto; }
  .filter-selects .form-input { width: 160px; }
}
.jobs-list { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s;
}
.job-card:hover { border-color: #93c5fd; }
.job-card-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.job-info { flex-grow: 1; display: flex; flex-direction: column; gap: 12px; }
.job-info h2 { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .875rem; color: var(--slate-600); }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta svg { color: var(--slate-400); }
.job-info > p { font-size: .875rem; color: var(--slate-600); line-height: 1.6; }
.tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 600;
}
.tag-it { background: var(--blue-50); color: var(--primary); }
.tag-nonit { background: var(--slate-100); color: var(--slate-600); }
@media (min-width: 768px) {
  .job-card-inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px; }
}
.muted-note { margin-top: 48px; text-align: center; color: var(--slate-500); font-size: .875rem; }
.empty-msg { text-align: center; color: var(--slate-500); padding: 48px 0; }

/* ---------- Blog ---------- */
.blog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
  align-items: center;
  justify-content: space-between;
}
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-cat-btn {
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  background: var(--white);
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
}
.blog-cat-btn:hover { background: var(--slate-100); }
.blog-cat-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.blog-search { position: relative; width: 100%; }
.blog-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--slate-400); }
@media (min-width: 768px) {
  .blog-toolbar { flex-direction: row; }
  .blog-search { width: 288px; }
}
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}
.blog-img-1 { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.blog-img-2 { background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%); }
.blog-img-3 { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); }
.blog-img-4 { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.blog-img-5 { background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%); }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-meta { display: flex; align-items: center; font-size: .875rem; color: var(--slate-500); margin-bottom: 12px; }
.pill {
  background: var(--blue-50);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 9999px;
  margin-right: 12px;
}
.blog-card-body h2 { font-size: 1.125rem; font-weight: 700; color: var(--slate-900); margin-bottom: 12px; }
.blog-card-body > p { color: var(--slate-600); font-size: .875rem; line-height: 1.6; margin-bottom: 16px; flex-grow: 1; }

/* ---------- Blog detail ---------- */
.blog-back { display: inline-flex; align-items: center; gap: 8px; color: var(--slate-300); margin-bottom: 24px; font-size: .875rem; font-weight: 500; }
.blog-back:hover { color: var(--white); }
.blog-detail-cat {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  background: rgba(59, 130, 246, .2);
  border: 1px solid rgba(96, 165, 250, .3);
  color: #93c5fd;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}
.blog-detail-layout { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1024px) { .blog-detail-layout { grid-template-columns: 2fr 1fr; } }
.blog-hero-img { height: 260px; border-radius: 12px; overflow: hidden; margin-bottom: 40px; }
.blog-content p { margin-bottom: 1.25rem; line-height: 1.8; color: var(--slate-600); }
.blog-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--slate-900); margin: 2rem 0 1rem; }
.blog-content ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.blog-content ul li { list-style: disc; margin-bottom: .5rem; color: var(--slate-600); line-height: 1.7; }
.blog-cta-box {
  margin-top: 48px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}
.blog-cta-box h3 { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); margin-bottom: 12px; }
.blog-cta-box p { color: var(--slate-600); margin-bottom: 24px; }
.related-title { font-size: 1.125rem; font-weight: 700; color: var(--slate-900); margin-bottom: 24px; }
.related-list { display: flex; flex-direction: column; gap: 16px; }
.related-item { background: var(--white); border: 1px solid var(--slate-200); border-radius: 12px; padding: 16px; }
.related-item .cat { font-size: .75rem; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.related-item h4 { font-size: .875rem; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.related-item .btn-link { font-size: .75rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: repeat(2, 1fr); gap: 80px; } }
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 32px;
}
.contact-form-card h2 { font-size: 1.5rem; font-weight: 700; color: var(--slate-900); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-info h2 { font-size: 1.5rem; font-weight: 700; color: var(--slate-900); margin-bottom: 24px; }
.info-list { display: flex; flex-direction: column; gap: 24px; }
.info-item { display: flex; align-items: flex-start; gap: 16px; }
.info-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-item h4 { font-weight: 600; color: var(--slate-900); }
.info-item a, .info-item p { color: var(--slate-600); margin-top: 4px; display: block; line-height: 1.6; }
.info-item a:hover { color: var(--primary); }
.map-box {
  height: 240px;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  background: var(--slate-100);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    repeating-linear-gradient(0deg, rgba(100,116,139,.1) 0, rgba(100,116,139,.1) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(100,116,139,.1) 0, rgba(100,116,139,.1) 1px, transparent 1px, transparent 40px);
}
.map-pin {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(4px);
  padding: 20px 32px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.map-pin .place { font-weight: 700; color: var(--slate-900); }
.map-pin .area { font-size: .875rem; color: var(--slate-500); }
.map-pin a { margin-top: 8px; font-size: .75rem; color: var(--primary); }
.map-pin a:hover { text-decoration: underline; }

/* ---------- FAQ Accordion ---------- */
.faq {
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  overflow: hidden;
}
.accordion-item + .accordion-item { border-top: 1px solid var(--slate-200); }
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-weight: 600;
  color: var(--slate-900);
  transition: background-color .15s;
}
.accordion-btn:hover { background: var(--slate-50); }
.accordion-icon { color: var(--slate-500); flex-shrink: 0; transition: transform .3s; }
.accordion-icon.open { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion-content.open { max-height: 400px; }
.accordion-content p { padding: 0 24px 16px; color: var(--slate-600); line-height: 1.7; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 24px; }
.field label { display: block; font-size: .875rem; font-weight: 500; color: var(--slate-700); margin-bottom: 6px; }
.req { color: var(--red-500); }
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  font-size: .875rem;
  background: var(--white);
  color: var(--slate-800);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-input.on-slate { background: var(--slate-50); }
.form-input.with-icon { padding-left: 36px; }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-900); color: var(--slate-300); }
.footer-inner { padding: 64px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-logo { font-size: 1.25rem; font-weight: 900; color: var(--white); letter-spacing: -.02em; display: inline-block; margin-bottom: 16px; }
.footer-logo span { color: #60a5fa; }
.footer-about { color: var(--slate-400); font-size: .875rem; line-height: 1.6; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s;
}
.footer-socials a:hover { background: var(--primary); }
.footer-col h4 { color: var(--white); font-weight: 600; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: .875rem; }
.footer-col a, .footer-col span { color: var(--slate-400); transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid var(--slate-800);
  margin-top: 48px;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: .875rem;
  color: var(--slate-500);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* ---------- Toast ---------- */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: .875rem;
  font-weight: 500;
  max-width: 320px;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px);
  opacity: 0;
  transition: all .3s ease;
}
#toast.show { transform: translateY(0); opacity: 1; }
#toast.success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
#toast.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, .5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-head h2 { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); }
.modal-close { color: var(--slate-400); padding: 4px; }
.modal-close:hover { color: var(--slate-600); }

/* ---------- Spinner ---------- */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Utilities ---------- */
.hidden { display: none !important; }
.mt-10 { margin-top: 40px; }
.page-fade { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
