/* ============================================================
   Linn IT Solutions — Modern Dark Theme
   ============================================================ */
:root {
  --bg: #070b14;
  --bg-2: #0c1322;
  --bg-3: #101a30;
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --accent: #3b82f6;
  --accent-2: #06b6d4;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --text: #e8edf5;
  --muted: #9aa7bd;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --nav-h: 72px;
  --navbar-bg: rgba(7, 11, 20, 0.78);
  --topbar-bg: rgba(255, 255, 255, 0.03);
  --mobile-menu-bg: rgba(9, 14, 26, 0.98);
  --prose-text: #c3cddd;
  --success-text: #4ade80;
  --fail-text: #f87171;
}

:root[data-theme="light"] {
  --bg: #f6f8fc;
  --bg-2: #ffffff;
  --bg-3: #eef2f9;
  --card: rgba(15, 23, 42, 0.035);
  --card-hover: rgba(15, 23, 42, 0.06);
  --border: rgba(15, 23, 42, 0.10);
  --text: #10151f;
  --muted: #5a6478;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.10);
  --navbar-bg: rgba(255, 255, 255, 0.78);
  --topbar-bg: rgba(15, 23, 42, 0.035);
  --mobile-menu-bg: rgba(255, 255, 255, 0.98);
  --prose-text: #3c4658;
  --success-text: #16a34a;
  --fail-text: #dc2626;
}

body, .navbar, .topbar, .card, .card-icon, .img-card, .feature, .form-card,
.form-group input, .form-group textarea, .stat, .article-body, .cta-band,
footer, .socials a, .share a, .btn-ghost, .nav-links a {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  font-family: 'Inter', 'Padauk', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Padauk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin-inline: auto; }

section { padding: 90px 0; position: relative; }

/* ---------- decorative glow ---------- */
.glow {
  position: absolute; border-radius: 50%; filter: blur(120px);
  opacity: 0.16; pointer-events: none; z-index: 0;
}
.glow-blue { background: #3b82f6; width: 480px; height: 480px; }
.glow-cyan { background: #06b6d4; width: 380px; height: 380px; }

/* ---------- section headings ---------- */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--accent-2);
  margin-bottom: 14px;
}
.section-tag::before {
  content: ""; width: 28px; height: 2px; background: var(--gradient);
  border-radius: 2px;
}
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-bottom: 16px; }
.section-sub { color: var(--muted); max-width: 640px; }

/* ============================================================
   Top bar
   ============================================================ */
.topbar {
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem; color: var(--muted);
  padding: 8px 0;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.topbar-group { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.topbar a:hover { color: var(--accent-2); }
.topbar svg { width: 14px; height: 14px; flex-shrink: 0; }
@media (max-width: 900px) { .topbar { display: none; } }

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-h);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--navbar-bg);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  height: 100%; display: flex; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { height: 44px; width: auto; }
.brand-name { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.15rem; }
.brand-name span {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 16px; border-radius: 10px; font-size: 0.92rem;
  font-weight: 500; color: var(--muted); transition: 0.25s;
}
.nav-links a:hover { color: var(--text); background: var(--card-hover); }
.nav-links a.active { color: var(--text); background: var(--card-hover); }
.nav-links a.nav-cta {
  background: var(--gradient); color: #fff; font-weight: 600;
  padding: 8px 14px; font-size: 0.86rem;
  margin-left: 8px; box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}
.nav-links a.nav-cta:hover { transform: translateY(-2px); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer;
  align-items: center; justify-content: center; color: var(--text);
}
.nav-toggle svg { width: 22px; height: 22px; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: none; border: 1px solid var(--border); color: var(--text);
  cursor: pointer;
}
.theme-toggle:hover { background: var(--card-hover); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: inline-flex; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: calc(100% + 4px); right: 4%; left: auto;
    width: max-content; min-width: 200px; max-width: calc(100vw - 8%);
    flex-direction: column; align-items: stretch;
    background: var(--mobile-menu-bg);
    border: 1px solid var(--border); border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 10px; gap: 2px;
    max-height: calc(100vh - var(--nav-h) - 20px);
    overflow-y: auto;
    visibility: hidden; opacity: 0;
    transform: translateY(-10px);
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s linear 0.25s;
  }
  .nav-links.open {
    visibility: visible; opacity: 1; transform: translateY(0);
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s linear 0s;
  }
  .nav-links a { padding: 12px 16px; }
  .nav-links a.nav-cta { margin-left: 0; text-align: center; }
}

/* ============================================================
   Hero slider
   ============================================================ */
.hero { padding: 0; }
.slider { position: relative; height: min(78vh, 680px); min-height: 480px; overflow: hidden; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  background-size: cover; background-position: center;
}
.slide.active { opacity: 1; }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 23, 37, 0.7) 0%, rgba(21, 26, 40, 0.4) 55%, rgba(27, 32, 43, 0.1) 100%);
}
.slide-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 640px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 8px 18px; border-radius: 999px; font-size: 0.82rem;
  border: 1px solid var(--border); background: rgba(255,255,255,0.05);
  color: var(--accent-2); font-weight: 600; margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 18px;
  color: #f4f7fb; letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.hero-title span {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.hero-sub { color: #c3cddd; font-size: 1.1rem; margin-bottom: 34px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 12px 24px; border-radius: 12px; font-weight: 600;
  font-size: 0.88rem; white-space: nowrap; transition: 0.25s; cursor: pointer; border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(59, 130, 246, 0.5); }
.btn-ghost {
  background: rgba(255,255,255,0.06); color: var(--text);
  border: 1px solid var(--border); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }

.slider-nav {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
   display: flex; gap: 10px; z-index: 5;
}
.slider-dot {
  width: 34px; height: 5px; border-radius: 4px; border: none; cursor: pointer;
  background: rgba(255,255,255,0.25); transition: 0.3s; padding: 0;
}
.slider-dot.active { background: var(--gradient); width: 52px; }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(9,14,26,0.55);
  color: var(--text); cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: 0.25s;
  backdrop-filter: blur(6px);
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }
.slider-arrow svg { width: 20px; height: 20px; }
.slider-arrow.prev { left: 22px; }
.slider-arrow.next { right: 22px; }
@media (max-width: 640px) { .slider-arrow { display: none; } }

/* ============================================================
   Stats strip
   ============================================================ */
.stats { padding: 0; margin-top: 56px; z-index: 10; position: relative; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.stat {
  background: var(--bg-2); padding: 30px 20px; text-align: center;
}
.stat-num {
  font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--muted); font-size: 0.88rem; margin-top: 4px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Cards / grids
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 28px;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
  position: relative; overflow: hidden;
}
.card:hover {
  transform: translateY(-6px); background: var(--card-hover);
  border-color: rgba(59, 130, 246, 0.4);
}
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59, 130, 246, 0.12); color: var(--accent-2);
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3, .card h4 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { color: var(--muted); font-size: 0.94rem; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; color: var(--accent-2); font-weight: 600; font-size: 0.9rem;
}
.card .card-link svg { width: 16px; height: 16px; transition: transform 0.25s; }
.card:hover .card-link svg { transform: translateX(4px); }

/* image cards (services / products / shops) */
.img-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s, border-color 0.3s; display: flex; flex-direction: column;
}
.img-card:hover { transform: translateY(-6px); border-color: rgba(59, 130, 246, 0.45); }
.img-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.img-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.img-card:hover .thumb img { transform: scale(1.06); }
.img-card .body { padding: 20px 22px 24px; flex: 1; }
.img-card .body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.img-card .body p { color: var(--muted); font-size: 0.88rem; }

/* ============================================================
   Split (why choose us / about intro)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-img {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.feature-list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border);
  padding: 18px 20px; border-radius: 14px; transition: 0.3s;
}
.feature:hover { border-color: rgba(6, 182, 212, 0.4); transform: translateX(6px); }
.feature-check {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  background: var(--gradient); display: flex; align-items: center;
  justify-content: center; color: #fff;
}
.feature-check svg { width: 18px; height: 18px; }
.feature p { color: var(--text); font-weight: 500; font-size: 0.96rem; }

/* ============================================================
   Timeline (history)
   ============================================================ */
.timeline { position: relative; margin-top: 40px; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(180deg, #3b82f6, #06b6d4);
  border-radius: 2px;
}
.timeline-item { position: relative; padding: 0 0 34px 26px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -30px; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent);
  box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.18);
}
.timeline-year {
  display: inline-block; font-family: 'Outfit', sans-serif; font-weight: 700;
  color: var(--accent-2); font-size: 1.05rem; margin-bottom: 6px;
}
.timeline-item p { color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   Forms
   ============================================================ */
.form-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.form-group input, .form-group textarea {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px; color: var(--text);
  font-family: inherit; font-size: 0.95rem; transition: border-color 0.25s, box-shadow 0.25s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input.error, .form-group textarea.error { border-color: #ef4444; }
.form-msg { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-size: 0.92rem; display: none; }
.form-msg.show { display: block; }
.form-msg.success { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34,197,94,0.4); color: var(--success-text); }
.form-msg.fail { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239,68,68,0.4); color: var(--fail-text); }

/* ============================================================
   Partners marquee
   ============================================================ */
.partners { overflow: hidden; }
.marquee { display: flex; gap: 60px; width: max-content; animation: scroll 28s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee img {
  height: 64px; width: auto; object-fit: contain;
  transition: 0.3s;
  background: rgba(255,255,255,0.85); border-radius: 12px; padding: 8px 16px;
}
.marquee img:hover { transform: scale(1.06); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.page-hero {
  padding: 90px 0 70px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 50% -10%, rgba(59,130,246,0.18), transparent),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 12px; }
.breadcrumb { color: var(--muted); font-size: 0.9rem; display: inline-flex; gap: 10px; align-items: center; }
.breadcrumb a { color: var(--accent-2); }
.breadcrumb a:hover { text-decoration: underline; }

/* ============================================================
   Article (service detail)
   ============================================================ */
.article { max-width: 820px; margin-inline: auto; }
.article .date {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.88rem; margin-bottom: 24px;
}
.article .date svg { width: 15px; height: 15px; }
.article-body {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
}
.article-body p { color: var(--prose-text); margin-bottom: 18px; font-size: 1.02rem; }
.article-body p:last-child { margin-bottom: 0; }
.article-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; border: 1px solid var(--border); }
.share { display: flex; align-items: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.share span { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.share a {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--card);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: 0.25s;
}
.share a:hover { background: var(--gradient); color: #fff; border-color: transparent; transform: translateY(-3px); }
.share a svg { width: 19px; height: 19px; }

/* ============================================================
   Maps / video embeds
   ============================================================ */
.embed {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 16 / 9; background: var(--bg-2);
}
.embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-card .embed { border-radius: 0; border: none; aspect-ratio: 4 / 3; }

/* Contact info tiles */
.contact-tile { text-align: center; }
.contact-tile .card-icon { margin-inline: auto; }
.contact-tile a { color: var(--accent-2); font-weight: 600; }

/* ============================================================
   Legal / prose pages
   ============================================================ */
.prose { max-width: 860px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose h2::after {
  content: ""; display: block; width: 44px; height: 3px;
  background: var(--gradient); border-radius: 3px; margin-top: 10px;
}
.prose p { color: var(--prose-text); margin-bottom: 14px; }
.prose ul { padding-left: 4px; margin-bottom: 16px; }
.prose ul li {
  position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--prose-text);
}
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gradient);
}
.prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose ol li { margin-bottom: 14px; color: var(--prose-text); padding-left: 8px; }
.prose ol li::marker { color: var(--accent-2); font-weight: 700; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background:
    radial-gradient(ellipse 70% 120% at 50% 130%, rgba(6,182,212,0.25), transparent),
    var(--bg-3);
  border: 1px solid var(--border); border-radius: 24px;
  padding: 60px 40px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 14px; }
.cta-band p { color: var(--muted); margin-bottom: 30px; max-width: 560px; margin-inline: auto; }

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--bg-2); border-top: 1px solid var(--border);
  padding: 70px 0 0; margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px;
  padding-bottom: 50px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 {
  font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text); margin-bottom: 22px; position: relative; padding-bottom: 12px;
}
.footer-col h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 36px; height: 3px; background: var(--gradient); border-radius: 3px;
}
.footer-col ul li { margin-bottom: 13px; }
.footer-col a, .footer-col li {
  color: var(--muted); font-size: 0.92rem;
  display: flex; align-items: flex-start; gap: 10px;
}
.footer-col a:hover { color: var(--accent-2); }
.footer-col svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--accent-2); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--card);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: 0.25s;
}
.socials a:hover { background: var(--gradient); color: #fff; border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; margin: 0; color: inherit; }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 22px 0;
  text-align: center; color: var(--muted); font-size: 0.86rem;
}

/* ============================================================
   Back to top
   ============================================================ */
#toTop {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 48px; height: 48px; border-radius: 14px; border: none;
  background: var(--gradient); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(59,130,246,0.45);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: 0.3s;
}
#toTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#toTop svg { width: 20px; height: 20px; }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide { transition: none; }
}
