/* ============================================================
   ArcticAir / Smishehrani — Shared Stylesheet
   Converted from React/Tailwind/Framer Motion to static HTML5/CSS3/JS
   ============================================================ */

:root {
  --brand-primary: #0ea5e9;
  --brand-secondary: #2563eb;
  --brand-accent: #14b8a6;
  --ink: #0f172a;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  background: #ffffff;
  color: #0f172a;
  transition: background-color .3s ease, color .3s ease;
}

body.dark {
  background: #020617;
  color: #f1f5f9;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

::selection { background: #0ea5e9; color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#0ea5e9, #2563eb);
  border-radius: 999px;
}
body.dark ::-webkit-scrollbar-thumb {
  background: linear-gradient(#0ea5e9, #14b8a6);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 80rem; /* 1280px */
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) { .container { padding: 0 2rem; } }

.section { scroll-margin-top: 6rem; padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }

.section-alt { background: linear-gradient(to bottom, rgba(240,249,255,.6), #ffffff); }
body.dark .section-alt { background: linear-gradient(to bottom, #0f172a, #020617); }

/* ---------- Glass card ---------- */
.glass {
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.5);
}
body.dark .glass {
  background: rgba(30,41,59,.55);
  border: 1px solid rgba(255,255,255,.08);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 1rem;
  padding: .9rem 1.75rem;
  font-size: .875rem;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
  border: none;
}
.btn-primary {
  background: linear-gradient(to right, #0ea5e9, #2563eb);
  color: #fff;
  box-shadow: 0 10px 25px -5px rgba(14,165,233,.35);
}
.btn-primary:hover { transform: scale(1.04); }
.btn-outline {
  background: #fff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}
body.dark .btn-outline { background: rgba(255,255,255,.05); color: #f1f5f9; border-color: rgba(255,255,255,.1); }
.btn-outline:hover { border-color: #7dd3fc; color: #0284c7; }

/* ---------- Eyebrow / heading ---------- */
.eyebrow {
  display: inline-block;
  margin-bottom: .75rem;
  border-radius: 999px;
  background: #f0f9ff;
  padding: .4rem 1rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #0284c7;
}
body.dark .eyebrow { background: rgba(14,165,233,.1); color: #38bdf8; }

.section-heading { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.section-heading h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0f172a;
  margin: 0;
}
body.dark .section-heading h2 { color: #fff; }
@media (min-width: 640px) { .section-heading h2 { font-size: 2.25rem; } }
@media (min-width: 768px) { .section-heading h2 { font-size: 2.6rem; } }
.section-heading p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #6b7280;
}
body.dark .section-heading p { color: #9ca3af; }
@media (min-width: 768px) { .section-heading p { font-size: 1.125rem; } }

/* ---------- Reveal-on-scroll (replaces framer-motion whileInView) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-zoom { opacity: 0; transform: scale(.9); transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1); }
.reveal-zoom.in-view { opacity: 1; transform: scale(1); }

.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-zoom { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Float animations ---------- */
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-18px);} }
.animate-float { animation: float 6s ease-in-out infinite; }
@keyframes floatSlow { 0%,100% { transform: translateY(0) rotate(0deg);} 50% { transform: translateY(-24px) rotate(3deg);} }
.animate-float-slow { animation: floatSlow 8s ease-in-out infinite; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: all .3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.15);
}
body.dark .navbar.scrolled { background: rgba(15,23,42,.9); }

.navbar-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { height: 4.75rem; width: auto; }
.brand-text h2 { margin: 0; font-size: 1.15rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: #0f172a; }
body.dark .brand-text h2 { color: #fff; }
.brand-text p { margin: 0; font-size: .65rem; text-transform: uppercase; letter-spacing: .25em; color: #0ea5e9; }

.nav-links { display: none; align-items: center; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block;
  border-radius: .75rem;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: #374151;
  transition: background .2s, color .2s;
}
body.dark .nav-links a { color: #cbd5e1; }
.nav-links a:hover { background: #e0f2fe; color: #0284c7; }
body.dark .nav-links a:hover { background: #1e293b; }
.nav-links a.active { background: #0ea5e9; color: #fff; }
@media (min-width: 1180px) { .nav-links { display: flex; } }

.nav-right { display: flex; align-items: center; gap: .75rem; }
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  height: 2.75rem; width: 2.75rem;
  border-radius: .75rem;
  border: 1px solid #e5e7eb;
  background: transparent;
}
body.dark .theme-toggle { border-color: #334155; color: #f1f5f9; }

.nav-cta {
  display: none;
  align-items: center; gap: .5rem;
  border-radius: .75rem;
  background: linear-gradient(to right, #0ea5e9, #2563eb);
  padding: .75rem 1.25rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 10px 20px -5px rgba(14,165,233,.4);
}
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }

.nav-burger { background: none; border: none; color: #0f172a; }
body.dark .nav-burger { color: #f1f5f9; }
@media (min-width: 1180px) { .nav-burger { display: none; } }

.mobile-menu {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
body.dark .mobile-menu { background: #0f172a; border-color: #1e293b; }
.mobile-menu.open { max-height: 40rem; }
.mobile-menu-inner { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.mobile-menu a {
  display: block; border-radius: .75rem; padding: .75rem 1rem; font-weight: 500; color: #1f2937;
}
body.dark .mobile-menu a { color: #e2e8f0; }
.mobile-menu a:hover { background: #f1f5f9; }
body.dark .mobile-menu a:hover { background: #1e293b; }
.mobile-menu a.active { background: #0ea5e9; color: #fff; }
.mobile-menu .mobile-cta {
  margin-top: .5rem; text-align: center; border-radius: .75rem;
  background: linear-gradient(to right, #0ea5e9, #2563eb); padding: .75rem; font-weight: 700; color: #fff;
}
@media (min-width: 1180px) { .nav-burger, .mobile-menu { display: none; } }

/* ============================================================
   SCROLL PROGRESS + BACK TO TOP + FLOATING BUTTONS
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: 4px; transform-origin: left;
  background: linear-gradient(to right, #0ea5e9, #2563eb, #14b8a6);
  transform: scaleX(0);
}

.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40;
  height: 3rem; width: 3rem; border-radius: 999px; border: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to bottom right, #0ea5e9, #2563eb);
  color: #fff; box-shadow: 0 15px 30px -10px rgba(14,165,233,.5);
  opacity: 0; visibility: hidden; transform: scale(.5);
  transition: all .25s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: scale(1); }
.back-to-top:hover { transform: scale(1.1); }

.floating-buttons { position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 40; display: flex; flex-direction: column; gap: .75rem; }
.fab { position: relative; height: 3rem; width: 3rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #fff; }
.fab-whatsapp { background: #25D366; box-shadow: 0 15px 30px -10px rgba(37,211,102,.5); }
.fab-whatsapp .ping { position: absolute; inset: 0; border-radius: 999px; background: #25D366; opacity: .3; animation: ping 1.6s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%,100% { transform: scale(1.8); opacity: 0; } }
.fab-call { background: linear-gradient(to bottom right, #0ea5e9, #2563eb); box-shadow: 0 15px 30px -10px rgba(14,165,233,.5); }

/* ============================================================
   LOADING SCREEN
   ============================================================ */
.loading-screen {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff; transition: opacity .5s ease;
}
body.dark .loading-screen { background: #020617; }
.loading-screen.hide { opacity: 0; pointer-events: none; }
.loading-icon {
  height: 4rem; width: 4rem; border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to bottom right, #0ea5e9, #2563eb);
  color: #fff; box-shadow: 0 20px 30px -10px rgba(14,165,233,.4);
  animation: spin 2s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-title { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 800; color: #0f172a; }
body.dark .loading-title { color: #fff; }
.loading-bar-track { margin-top: .75rem; height: 4px; width: 10rem; overflow: hidden; border-radius: 999px; background: #f1f5f9; }
body.dark .loading-bar-track { background: #1e293b; }
.loading-bar { height: 100%; width: 50%; border-radius: 999px; background: linear-gradient(to right, #0ea5e9, #14b8a6); animation: loadbar 1.2s ease-in-out infinite; }
@keyframes loadbar { 0% { transform: translateX(-100%);} 100% { transform: translateX(200%);} }

/* ============================================================
   PAGE HERO (for interior pages)
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden;
  padding: 7rem 0 2rem;
  background: linear-gradient(to bottom, #f0f9ff, #ffffff);
}
.section-tight-top { padding-top: 1.5rem; }
@media (min-width: 768px) { .section-tight-top { padding-top: 2rem; } }
.section-slight-tight { padding-top: 3rem; }
@media (min-width: 768px) { .section-slight-tight { padding-top: 3.5rem; } }
body.dark .page-hero { background: linear-gradient(to bottom, #0f172a, #020617); }
.page-hero h1 { font-size: 2.25rem; font-weight: 800; color: #0f172a; margin: .5rem 0 0; }
body.dark .page-hero h1 { color: #fff; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }
.breadcrumb { font-size: .875rem; color: #64748b; margin-top: .75rem; }
.breadcrumb a { color: #0284c7; font-weight: 600; }

/* ============================================================
   GRID / CARD UTILITIES
   ============================================================ */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .grid-3, .grid-4 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

.card {
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: box-shadow .25s ease, transform .25s ease;
}
body.dark .card { border-color: rgba(255,255,255,.1); background: #0f172a; }
.card:hover { box-shadow: 0 25px 40px -15px rgba(14,165,233,.12); transform: translateY(-6px); }

.icon-badge {
  display: flex; align-items: center; justify-content: center;
  height: 3.5rem; width: 3.5rem; border-radius: 1rem;
  background: linear-gradient(to bottom right, #0ea5e9, #2563eb);
  color: #fff; box-shadow: 0 10px 20px -5px rgba(14,165,233,.3);
}
.icon-badge svg { height: 1.75rem; width: 1.75rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #020617; color: #cbd5e1; }
.footer-grid { display: grid; gap: 2.5rem; padding: 4rem 0; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr repeat(3,1fr); } }
.footer-grid h4 { color: #fff; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .65rem; font-size: .9rem; }
.footer-grid a:hover { color: #38bdf8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; text-align: center; font-size: .875rem; color: #64748b; }
.social-row { display: flex; gap: .75rem; margin-top: 1.5rem; }
.social-row a { height: 2.5rem; width: 2.5rem; border-radius: .75rem; background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; }
.social-row a:hover { background: #0ea5e9; color: #fff; }
.newsletter-form { display: flex; overflow: hidden; border-radius: .75rem; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); }
.newsletter-form input { flex: 1; background: transparent; border: none; padding: .65rem 1rem; color: #fff; outline: none; }
.newsletter-form button { background: linear-gradient(to right, #0ea5e9, #2563eb); border: none; padding: 0 1rem; color: #fff; display: flex; align-items: center; }

/* ============================================================
   PAGE-SPECIFIC (kept generic/reusable)
   ============================================================ */
.form-field { margin-bottom: 0; }
.form-field label { display: block; margin-bottom: .4rem; font-size: .875rem; font-weight: 500; color: #374151; }
body.dark .form-field label { color: #cbd5e1; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border-radius: .75rem; border: 1px solid #e5e7eb; background: #f9fafb;
  padding: .75rem 1rem; font-size: .875rem; color: #0f172a; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: #7dd3fc; box-shadow: 0 0 0 3px rgba(14,165,233,.2);
}
body.dark .form-field input, body.dark .form-field select, body.dark .form-field textarea {
  background: #1e293b; border-color: rgba(255,255,255,.1); color: #fff;
}

.faq-item { border-radius: 1rem; border: 1px solid #f3f4f6; background: #fff; overflow: hidden; }
body.dark .faq-item { border-color: rgba(255,255,255,.1); background: #0f172a; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; background: none; border: none; text-align: left; font-weight: 600; color: #0f172a; }
body.dark .faq-q { color: #fff; }
.faq-icon { display: flex; align-items: center; justify-content: center; height: 2rem; width: 2rem; border-radius: 999px; background: #f0f9ff; color: #0284c7; flex-shrink: 0; transition: transform .3s ease; }
body.dark .faq-icon { background: rgba(14,165,233,.1); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 20rem; }
.faq-a p { padding: 0 1.5rem 1.25rem; margin: 0; font-size: .9rem; line-height: 1.7; color: #6b7280; }
body.dark .faq-a p { color: #9ca3af; }

.testimonial-card { position: relative; border-radius: 2rem; padding: 2rem; box-shadow: 0 25px 50px -15px rgba(14,165,233,.15); }
@media (min-width: 768px) { .testimonial-card { padding: 3rem; } }
.dots { display: flex; gap: .5rem; justify-content: center; }
.dots button { height: .65rem; border-radius: 999px; border: none; background: #d1d5db; width: .65rem; transition: all .25s ease; }
.dots button.active { width: 1.75rem; background: #0ea5e9; }
.slider-arrow { height: 2.75rem; width: 2.75rem; border-radius: 999px; border: 1px solid #e5e7eb; background: #fff; display: flex; align-items: center; justify-content: center; }
body.dark .slider-arrow { border-color: rgba(255,255,255,.1); background: #1e293b; color: #e2e8f0; }

.stats-band {
  position: relative; overflow: hidden; border-radius: 2rem;
  background: linear-gradient(to right, #0ea5e9, #2563eb, #14b8a6);
  padding: 3.5rem 1.5rem; box-shadow: 0 25px 50px -15px rgba(14,165,233,.3);
}
@media (min-width: 768px) { .stats-band { padding: 3.5rem 3rem; } }
.stats-band .stat { text-align: center; }
.stats-band .stat-icon { margin: 0 auto; display: flex; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center; border-radius: 1rem; background: rgba(255,255,255,.15); color: #fff; }
.stats-band .stat-value { margin-top: 1rem; font-size: 2.25rem; font-weight: 800; color: #fff; }
@media (min-width: 768px) { .stats-band .stat-value { font-size: 2.75rem; } }
.stats-band .stat-label { margin-top: .25rem; font-size: .875rem; font-weight: 500; color: #e0f2fe; }

.portfolio-grid { display: grid; grid-template-columns: repeat(2,1fr); grid-auto-rows: 220px; gap: 1.25rem; }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3,1fr); } }
.portfolio-item { position: relative; overflow: hidden; border-radius: 1rem; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.portfolio-item.tall { grid-row: span 2; }
.portfolio-item img { height: 100%; width: 100%; object-fit: cover; transition: transform .7s ease; }
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem; opacity: 0; transition: opacity .3s ease;
  background: linear-gradient(to top, rgba(30,58,138,.85), rgba(30,58,138,.05), transparent);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay .cat { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #7dd3fc; }
.portfolio-overlay h3 { margin: .25rem 0 0; color: #fff; font-size: 1.1rem; font-weight: 700; }

.process-steps { position: relative; display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .process-steps { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .process-steps { grid-template-columns: repeat(4,1fr); } }
.process-line { position: absolute; top: 52px; left: 0; right: 0; height: 2px; background: linear-gradient(to right, #38bdf8, #2563eb, #2dd4bf); display: none; }
@media (min-width: 1024px) { .process-line { display: block; } }
.process-step { text-align: center; }
.process-circle-wrap { position: relative; margin: 0 auto; height: 104px; width: 104px; display: flex; align-items: center; justify-content: center; }
.process-circle { height: 5rem; width: 5rem; border-radius: 999px; border: 4px solid #fff; background: linear-gradient(to bottom right, #0ea5e9, #2563eb); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 15px 30px -10px rgba(14,165,233,.4); }
body.dark .process-circle { border-color: #0f172a; }
.process-num { position: absolute; right: -.25rem; top: -.25rem; height: 2rem; width: 2rem; border-radius: 999px; background: #14b8a6; color: #fff; font-size: .875rem; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,.15); }

.team-card { border-radius: 1rem; overflow: hidden; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
body.dark .team-card { background: #1e293b; }
.team-photo { aspect-ratio: 4/5; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.team-card:hover .team-photo img { transform: scale(1.1); }

.map-frame { border-radius: 2rem; overflow: hidden; border: 1px solid #f3f4f6; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
body.dark .map-frame { border-color: rgba(255,255,255,.1); }

/* Fix: any inline dark-ink text becomes invisible on dark card backgrounds in dark mode */
body.dark [style*="color:#0f172a"] { color: #f8fafc !important; }
body.dark .card, body.dark .team-card, body.dark .testimonial-card { color: #f8fafc; }

.hero-blob { position: absolute; border-radius: 999px; filter: blur(60px); pointer-events: none; }
.hero-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.contact-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; } }

/* Service info modal */
.service-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 1.25rem; }
.service-modal.open { display: flex; }
.service-modal-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.6); backdrop-filter: blur(4px); }
.service-modal-content {
  position: relative; background: #fff; border-radius: 1.5rem; max-width: 34rem; width: 100%;
  max-height: 85vh; overflow-y: auto; padding: 2.25rem 2rem 2rem; box-shadow: 0 30px 60px -15px rgba(0,0,0,.35);
  animation: modalPop .25s cubic-bezier(.22,1,.36,1);
}
body.dark .service-modal-content { background: #0f172a; color: #f1f5f9; }
@keyframes modalPop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.service-modal-close {
  position: absolute; top: 1rem; right: 1rem; height: 2.25rem; width: 2.25rem; border-radius: 999px;
  border: none; background: #f1f5f9; color: #0f172a; display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .2s ease;
}
.service-modal-close:hover { background: #e2e8f0; }
body.dark .service-modal-close { background: #1e293b; color: #f1f5f9; }
body.dark .service-modal-close:hover { background: #334155; }
.service-modal-icon { height: 3rem; width: 3rem; border-radius: 1rem; background: linear-gradient(135deg,#0ea5e9,#14b8a6); display: flex; align-items: center; justify-content: center; color: #fff; }
.service-modal-content h3 { margin: 1rem 0 0; font-size: 1.4rem; font-weight: 800; color: #0f172a; }
body.dark .service-modal-content h3 { color: #fff; }
.service-modal-content p { margin-top: .75rem; font-size: .95rem; line-height: 1.7; color: #475569; }
body.dark .service-modal-content p { color: #cbd5e1; }
.service-modal-content h4 { margin: 1.5rem 0 .5rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #0284c7; }
.service-modal-content ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.service-modal-content ul li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; line-height: 1.6; color: #374151; }
body.dark .service-modal-content ul li { color: #e2e8f0; }
.service-modal-content ul li svg { flex-shrink: 0; margin-top: .15rem; color: #14b8a6; }
.service-modal-content .btn { margin-top: 1.75rem; width: 100%; justify-content: center; }
