/* =========================================================
   Mask Consultants Private Limited — Main Stylesheet
   ========================================================= */

/* -------------------- Theme Tokens -------------------- */
:root {
  --font-heading: 'Inter', Arial, Helvetica, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --color-primary: #1c6fe6;
  --color-primary-rgb: 10, 88, 202;
  --color-primary-light: #1c6fe6;
  --color-accent: #ee742a;
  --color-accent-rgb: 238, 116, 42;
  --color-accent-dark: #d15f1a;

  --bg-body: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f5f7fa;
  --bg-surface-strong: #eaeff6;
  --bg-dark-section: #0a1a30;

  --text-heading: #0f1c2e;
  --text-body: #454f5c;
  --text-muted: #74808e;
  --text-on-dark: #f2f5f9;
  --text-on-dark-muted: #b9c3d1;

  --border-color: #e2e6ed;
  --border-color-strong: #d1d7e0;

  --shadow-sm: 0 2px 10px rgba(15, 28, 46, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 28, 46, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 28, 46, 0.14);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --transition-base: 0.25s ease;

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg-body: #0b1420;
  --bg-surface: #101b2a;
  --bg-surface-alt: #142236;
  --bg-surface-strong: #16283e76;
  --bg-dark-section: #08101c;

  --text-heading: #f2f5f9;
  --text-body: #c3cbd6;
  --text-muted: #8b96a5;
  --text-on-dark: #f2f5f9;
  --text-on-dark-muted: #a9b4c2;

  --border-color: #223043;
  --border-color-strong: #2c3c52;

  --color-primary: #4d8dee;
  --color-primary-light: #6ea3f2;
  --color-accent: #f3963f;
  --color-accent-dark: #e0862c;

  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);

  color-scheme: dark;
}

/* -------------------- Base -------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.7;
  transition: background-color var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
}

a { color: var(--color-primary-light); text-decoration: none; transition: color var(--transition-base); }
a:hover { color: var(--color-accent); }

p { color: var(--text-body); }

::selection { background: var(--color-accent); color: #fff; }

img { max-width: 100%; display: block; }

.section { padding: 6rem 0; }
.section-sm { padding: 3.5rem 0; }

@media (max-width: 767.98px) {
  .section { padding: 3.5rem 0; }
  .section-sm { padding: 2.5rem 0; }
}

.bg-alt { background-color: var(--bg-surface-alt); }
.bg-strong { background-color: var(--bg-surface-strong); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #ee742a;
  display: inline-block;
}

.section-title { font-size: clamp(1.9rem, 3vw, 2.7rem); margin-bottom: 1rem; }
.section-lead { color: var(--text-muted); font-size: 1.1rem; max-width: 680px; }

/* -------------------- Buttons -------------------- */
.btn { border-radius: 50px; font-weight: 600; padding: 0.7rem 1.6rem; transition: all var(--transition-base); border: 2px solid transparent; }

.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light-custom {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline-light-custom:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #1a1a1a;
}
.btn-accent:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary-custom {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
html[data-theme="dark"] .btn-outline-primary-custom { color: var(--text-heading); border-color: var(--border-color-strong); }
.btn-outline-primary-custom:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }

/* -------------------- Top Bar -------------------- */
.top-bar {
  background-color: var(--bg-dark-section);
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.top-bar-contact { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.top-bar-contact a { color: var(--text-on-dark-muted); display: inline-flex; align-items: center; gap: 0.4rem; }
.top-bar-contact a:hover { color: var(--color-accent); }
.top-bar-tagline { font-style: italic; opacity: 0.9; }

/* -------------------- Header / Navbar -------------------- */
.site-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  z-index: 1030;
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

.navbar { padding: 0.85rem 0; }

.navbar-brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--text-heading); }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

.navbar-nav .nav-link {
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  position: relative;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: var(--color-primary-light); }
html[data-theme="dark"] .navbar-nav .nav-link.active,
html[data-theme="dark"] .navbar-nav .nav-link:hover { color: var(--color-accent); }

.btn-cta { padding: 0.55rem 1.4rem; font-size: 0.9rem; white-space: nowrap; }

.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color-strong);
  background: var(--bg-surface-alt);
  color: var(--text-heading);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}
.theme-toggle:hover { border-color: var(--color-accent); color: var(--color-accent); }
.theme-icon-light { display: none; }
html[data-theme="dark"] .theme-icon-dark { display: none; }
html[data-theme="dark"] .theme-icon-light { display: inline-block; }

.navbar-toggler { border: none; font-size: 1.6rem; color: var(--text-heading); background: transparent; }
.navbar-toggler:focus { box-shadow: none; }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 7.5rem 0 6rem;
  background: var(--color-primary);
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(8,16,28,0.94) 0%, #07080bd1 45%, #3f5a8280 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}
.hero-badge i { color: #fff; }
.hero-title { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 1.3rem; color: #fff; }
.hero-title .accent { color: #ee742a; }
.hero-text { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 620px; margin-bottom: 2.2rem; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-heading); font-size: 2.1rem; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.06em; }

.page-hero {
  position: relative;
  color: #fff;
  padding: 5.5rem 0 4.5rem;
  background: var(--color-primary);
  overflow: hidden;
}
.page-hero .hero-overlay { background: linear-gradient(120deg, rgba(8,16,28,0.94) 0%, #07080bd1 45%, #3f5a8280 100%); }
.page-hero .breadcrumb-custom { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.page-hero .breadcrumb-custom a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb-custom a:hover { color: var(--color-accent); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.8rem; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 640px; }

/* -------------------- Cards -------------------- */
.card-custom {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}
.card-custom:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}
.service-grid-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.service-grid-card:hover { color: inherit; }
.service-grid-card:hover h3 { color: var(--color-primary-light); }
html[data-theme="dark"] .service-grid-card:hover h3 { color: var(--color-accent); }
.card-icon {
  width: 58px; height: 58px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb),0.12), rgba(var(--color-accent-rgb),0.16));
  color: var(--color-primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
}
html[data-theme="dark"] .card-icon { color: var(--color-accent); }
.card-custom h3, .card-custom h4 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.card-custom ul { padding-left: 0; list-style: none; margin-bottom: 0; }
.card-custom ul li {
  padding: 0.35rem 0 0.35rem 1.6rem;
  position: relative;
  color: var(--text-body);
  font-size: 0.95rem;
}
.card-custom ul li::before {
  content: "\F633";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0; top: 0.35rem;
  color: var(--color-accent-dark);
  font-size: 0.85rem;
}

/* Why choose us feature list */
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-color);
}
.feature-item:last-child { border-bottom: none; }
.feature-check {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(var(--color-accent-rgb), 0.15);
  color: var(--color-accent-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.feature-item h6 { margin-bottom: 0.2rem; font-family: var(--font-body); font-weight: 700; color: var(--text-heading); }
.feature-item p { margin-bottom: 0; font-size: 0.92rem; color: var(--text-muted); }

/* Image with frame / floating card */
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  height: 100%;
  min-height: 380px;
}
.about-media-float {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.6rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 280px;
}
@media (max-width: 991.98px) { .about-media-float { position: static; margin-top: -3rem; margin-left: 1rem; } }
.about-media-float .stat-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.about-media-float strong { display: block; font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-heading); }
.about-media-float span { font-size: 0.82rem; color: var(--text-muted); }

/* -------------------- Mission / Vision -------------------- */
.mv-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
.mv-card::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(var(--color-accent-rgb), 0.08);
}
.mv-card .card-icon { position: relative; z-index: 1; }
.mv-card h3 { position: relative; z-index: 1; }
.mv-card p { position: relative; z-index: 1; }

/* -------------------- Stats band -------------------- */
.stats-band {
  background: var(--color-primary);
  color: #fff;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute; inset: 0;
  background: url('https://images.pexels.com/photos/8353802/pexels-photo-8353802.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover;
  opacity: 0.08;
}
.stats-band .stat-num { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 800; color: #fff; position: relative; z-index: 1; }
.stats-band .stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.05em; position: relative; z-index: 1; }

/* -------------------- Process / steps -------------------- */
.process-step { text-align: center; padding: 0 1rem; position: relative; }
.process-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  color: var(--color-accent-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  background: var(--bg-surface);
}

/* -------------------- FAQ Accordion -------------------- */
.faq-accordion .accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-accordion .accordion-item:last-child { margin-bottom: 0; }
.faq-accordion .accordion-button {
  background: var(--bg-surface);
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 1.3rem 1.5rem;
  box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--bg-surface);
  color: var(--color-primary-light);
}
.faq-accordion .accordion-button::after {
  filter: none;
  background-size: 1.1rem;
}
html[data-theme="dark"] .faq-accordion .accordion-button::after {
  filter: invert(1) grayscale(1) brightness(2);
}
.faq-accordion .accordion-body {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-body);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* -------------------- Testimonial / quote -------------------- */
.quote-block {
  background: var(--bg-dark-section);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  position: relative;
}
.quote-block i.bi-quote { font-size: 3rem; color: var(--color-accent); }
.quote-block p { color: rgba(255,255,255,0.9); font-size: 1.3rem; font-family: var(--font-heading); font-style: italic; margin: 1rem 0; }

/* -------------------- Services page -------------------- */
.anchor-offset { scroll-margin-top: 110px; }
.service-block {
  border-bottom: 1px solid var(--border-color);
  padding: 4.5rem 0;
}
.service-block:last-child { border-bottom: none; }
.service-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.service-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(var(--color-accent-rgb), 0.28);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.service-sublist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
  padding-left: 0;
  list-style: none;
  margin-top: 1.5rem;
}
@media (max-width: 575.98px) { .service-sublist { grid-template-columns: 1fr; } }
.service-sublist li {
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
  font-size: 0.94rem;
  color: var(--text-body);
}
.service-sublist li::before {
  content: "\F26B";
  font-family: "bootstrap-icons";
  position: absolute; left: 0; top: 0.4rem;
  color: var(--color-primary-light);
  font-size: 0.8rem;
}
.service-sub-heading {
  font-weight: 700;
  color: var(--text-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 1.5rem;
  margin-bottom: 0.3rem;
}

/* -------------------- Clients page -------------------- */
.client-tag-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.client-tag {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 0.6rem 1.3rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-heading);
  transition: all var(--transition-base);
}
.client-tag:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

.industry-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.3rem;
  text-align: center;
  height: 100%;
  transition: all var(--transition-base);
}
.industry-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--color-accent); }
.industry-card i { font-size: 1.8rem; color: var(--color-primary-light); margin-bottom: 0.8rem; display: block; }
html[data-theme="dark"] .industry-card i { color: var(--color-accent); }
.industry-card span { font-weight: 600; font-size: 0.92rem; color: var(--text-heading); }

.confidential-banner {
  background: var(--bg-surface-alt);
  border: 1px dashed var(--border-color-strong);
  border-radius: var(--radius-md);
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.confidential-banner i { font-size: 2rem; color: var(--color-accent-dark); flex-shrink: 0; }

/* -------------------- Contact page -------------------- */
.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  height: 100%;
  transition: all var(--transition-base);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-info-card .card-icon { margin-bottom: 1rem; }

.contact-form-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-label { font-weight: 600; color: var(--text-heading); font-size: 0.9rem; }
.form-control, .form-select {
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-color-strong);
  color: var(--text-heading);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
  background-color: var(--bg-surface-alt);
  color: var(--text-heading);
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb), 0.15);
}
.form-control::placeholder { color: var(--text-muted); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  filter: grayscale(0.15);
}
html[data-theme="dark"] .map-wrap { filter: grayscale(0.4) invert(0.9) contrast(0.9); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* -------------------- CTA band -------------------- */
.cta-band {
  background: #0f0e0dd1;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: url('https://images.pexels.com/photos/3184292/pexels-photo-3184292.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover;
  opacity: 0.1;
}
.cta-band * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }

/* -------------------- Legal pages -------------------- */
.legal-content h2 { font-size: 1.5rem; margin-top: 2.2rem; margin-bottom: 0.9rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-body); }
.legal-content ul { padding-left: 1.3rem; }
.legal-content ul li { margin-bottom: 0.4rem; }
.legal-updated { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 2.5rem; }

.legal-toc {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  position: sticky;
  top: 110px;
}
.legal-toc h6 { text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.9rem; }
.legal-toc ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.legal-toc li { margin-bottom: 0.55rem; }
.legal-toc a { color: var(--text-body); font-size: 0.9rem; font-weight: 500; }
.legal-toc a:hover { color: var(--color-accent-dark); }

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--bg-dark-section);
  color: var(--text-on-dark-muted);
  padding: 5rem 0 0;
}
.footer-brand { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: var(--text-on-dark-muted); }
.footer-about { font-size: 0.92rem; color: var(--text-on-dark-muted); max-width: 340px; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-on-dark-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-base);
}
.footer-social a:hover { background: var(--color-accent); border-color: var(--color-accent); color: #1a1a1a; }

.footer-heading { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.3rem; }
.footer-links, .footer-contact { list-style: none; padding-left: 0; }
.footer-links li, .footer-contact li { margin-bottom: 0.7rem; font-size: 0.92rem; }
.footer-links a { color: var(--text-on-dark-muted); }
.footer-links a:hover { color: var(--color-accent); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--text-on-dark-muted); }
.footer-contact a { color: var(--text-on-dark-muted); }
.footer-contact a:hover { color: var(--color-accent); }
.footer-contact i { color: #fff; margin-top: 0.2rem; }

.footer-strip {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3.5rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.01em;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-legal { list-style: none; display: flex; gap: 1.5rem; padding-left: 0; margin-bottom: 0; }
.footer-legal a { color: var(--text-on-dark-muted); }
.footer-legal a:hover { color: var(--color-accent); }

/* -------------------- Back to top -------------------- */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 1040;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-accent); color: #1a1a1a; }

/* -------------------- Scroll / load animation -------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hero content: gentle entrance on page load, independent of scroll */
.hero-content {
  opacity: 0;
  transform: translateY(16px);
  animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-content {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  html { scroll-behavior: auto; }
}

/* -------------------- Cookie Consent -------------------- */
.cookie-consent {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.3rem 1.6rem;
  z-index: 1050;
  transform: translateY(150%);
  opacity: 0;
  transition: all 0.5s ease;
}
.cookie-consent.show { transform: translateY(0); opacity: 1; }
.cookie-consent-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.cookie-consent-inner p { font-size: 0.9rem; color: var(--text-body); flex: 1 1 300px; }
.cookie-consent-actions { display: flex; gap: 0.7rem; flex-shrink: 0; }

/* -------------------- Utility -------------------- */
.text-accent { color: var(--color-accent-dark) !important; }
html[data-theme="dark"] .text-accent { color: var(--color-accent) !important; }
.text-primary-custom { color: var(--color-primary) !important; }
html[data-theme="dark"] .text-primary-custom { color: var(--color-primary-light) !important; }
.divider-accent { width: 60px; height: 3px; background: var(--color-accent); border-radius: 2px; }
