/* ==========================================================================
   Hardik AutoWorks — stylesheet
   Design direction: dark automotive workshop, condensed technical headline
  type against calm body text, logo red used as a working accent
   (buttons, numerals, active states) rather than a decorative wash.
   ========================================================================== */

:root {
  /* Brand palette */
  --bg-primary: #0b0d0f;
  --bg-secondary: #15181c;
  --bg-card: #1d2228;
  --accent: #ed111b;
  --accent-hover: #ff3038;
  --text-main: #f5f5f5;
  --text-muted: #a7adb5;
  --border: #30353b;
  --success: #55b889;
  --danger: #d97a6f;
  --surface-overlay: rgba(11, 13, 15, 0.78);
  --lightbox-overlay: rgba(6, 7, 8, 0.94);

  /* Type */
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --gap-section: clamp(64px, 9vw, 128px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Light theme override ---------- */
[data-theme="light"] {
  --bg-primary: #f4f4f4;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --text-main: #16181b;
  --text-muted: #565c64;
  --border: #d7d7d7;
  --accent: #d90d17;
  --accent-hover: #b50912;
  --surface-overlay: rgba(255, 255, 255, 0.88);
  --lightbox-overlay: rgba(22, 24, 27, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.12;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--gap-section) 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--accent);
  color: #0b0d0f;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top 0.2s var(--ease);
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* ---------- Section headings ---------- */
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 14px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 52ch;
}
.section-head.center p {
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.section-label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #14100a;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text-main);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--accent);
  padding: 14px 6px;
}
.btn-ghost:hover {
  color: var(--accent-hover);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}
.btn-block {
  width: 100%;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 22px 0;
  transition:
    background 0.35s var(--ease),
    padding 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(11, 13, 15, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  border-color: var(--border);
}
[data-theme="light"] .navbar.scrolled {
  background: rgba(244, 244, 244, 0.92);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-icon {
  width: 90px;
  height: 40px;
  margin-right: 8px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-head);
}
.logo .logo-main {
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.logo .logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}
.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition:
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.theme-toggle svg {
  width: 17px;
  height: 17px;
}
[data-theme="light"] .icon-moon {
  display: none;
}
[data-theme="dark"] .icon-sun {
  display: none;
}

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    font-size: 1.1rem;
  }
  .hamburger {
    display: flex;
  }
  .nav-book {
    display: none;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 60px;
}
@media (max-width: 700px) {
  .hero {
    min-height: auto;
    padding-top: 140px;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(11, 13, 15, 0.55) 0%,
      rgba(11, 13, 15, 0.78) 55%,
      rgba(11, 13, 15, 0.96) 100%
    ),
    linear-gradient(
      90deg,
      rgba(11, 13, 15, 0.9) 0%,
      rgba(11, 13, 15, 0.35) 55%,
      rgba(11, 13, 15, 0.75) 100%
    );
}

.hero-shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    600px 400px at 78% 30%,
    rgba(237, 17, 27, 0.16),
    transparent 70%
  );
  animation: shine-drift 14s ease-in-out infinite alternate;
}
@keyframes shine-drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-30px, 20px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-shine {
    animation: none;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-tag {
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  margin-bottom: 24px;
}

.hero-content p.hero-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.hero-trust .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.hero-trust svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.scroll-indicator .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--accent), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(0.5);
    opacity: 0.5;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-indicator .line {
    animation: none;
  }
}
@media (max-width: 700px) {
  .scroll-indicator {
    display: none;
  }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-media .frame-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: var(--surface-overlay);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 10px 16px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  letter-spacing: 0.04em;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  max-width: 58ch;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.feature-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.feature-item .num {
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 1rem;
  min-width: 28px;
}
.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.feature-item p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0;
}

/* ==========================================================================
   Services
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
}
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--text-main);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #14100a;
  font-weight: 600;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.service-card.hidden-card {
  display: none;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(237, 17, 27, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.service-card p.desc {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.service-price {
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 1.05rem;
}
.service-price.contact {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

/* ==========================================================================
   Protection timeline
   ========================================================================== */
.protection-note {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 22px 26px;
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 56px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  max-width: 720px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
@media (max-width: 860px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .timeline::before {
    top: 0;
    bottom: 0;
    left: 34px;
    right: auto;
    width: 1px;
    height: auto;
  }
}

.timeline-step {
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
  padding: 0 14px 0 0;
}
@media (max-width: 860px) {
  .timeline-step {
    display: flex;
    gap: 20px;
    padding: 0 0 40px;
  }
}

.timeline-num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
  transition:
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.timeline-step:hover .timeline-num {
  border-color: var(--accent);
  transform: scale(1.06);
}

.timeline-step h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.timeline-step .tag {
  color: var(--accent);
  font-size: 0.82rem;
  margin-bottom: 10px;
  display: block;
}
.timeline-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 30ch;
}

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.why-card {
  background: var(--bg-secondary);
  padding: 34px 28px;
  transition: background 0.25s var(--ease);
}
.why-card:hover {
  background: var(--bg-card);
}
.why-card svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
  margin-bottom: 18px;
}
.why-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.why-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.pricing-table th,
.pricing-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.pricing-table th {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table td.price {
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 1.05rem;
}
.pricing-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 20px;
  max-width: 60ch;
}
.pricing-actions {
  margin-top: 28px;
}

@media (max-width: 620px) {
  .pricing-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  columns: 4 220px;
  column-gap: 14px;
}
@media (max-width: 900px) {
  .gallery-grid {
    columns: 2 200px;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    columns: 1;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 13, 15, 0.85));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.gallery-item:hover::after {
  opacity: 1;
}
.gallery-caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  color: var(--text-main);
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
  z-index: 1;
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: var(--lightbox-overlay);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease);
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 88vw;
  max-height: 82vh;
  border-radius: var(--radius-sm);
}
.lightbox-caption {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.lightbox-close {
  top: 26px;
  right: 26px;
}
.lightbox-prev {
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 620px) {
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox-close {
    top: 14px;
    right: 14px;
  }
}

/* ==========================================================================
   Security insights
   ========================================================================== */
.insight-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}
.summary-card .label {
  display: block;
  color: var(--text-muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.summary-card .value {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2vw, 2.3rem);
  color: var(--accent);
  line-height: 1;
}

.insight-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.insight-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}
.insight-item.low {
  border-left-color: #63b5f6;
}
.insight-item.moderate {
  border-left-color: #f5b85c;
}
.insight-item.high,
.insight-item.critical {
  border-left-color: #ef6a5a;
}
.insight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.insight-severity {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-main);
  background: rgba(237, 17, 27, 0.18);
}
.insight-item.low .insight-severity {
  background: rgba(99, 181, 246, 0.18);
}
.insight-item.moderate .insight-severity {
  background: rgba(245, 184, 92, 0.18);
}
.insight-item.high .insight-severity,
.insight-item.critical .insight-severity {
  background: rgba(239, 106, 90, 0.18);
}
.insight-subject {
  font-size: 0.77rem;
  color: var(--text-muted);
  text-align: right;
}
.insight-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.insight-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.insight-item .insight-action {
  margin-top: 12px;
  color: var(--text-main);
}
.insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.insight-meta span {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.insight-empty {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  padding: 28px 20px;
}

/* ==========================================================================
   Facebook CTA
   ========================================================================== */
.fb-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.fb-cta-text h2 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}
.fb-cta-text p {
  color: var(--text-muted);
  max-width: 46ch;
}
.fb-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.contact-block {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 16px;
}
.contact-block:last-of-type {
  border-bottom: 1px solid var(--border);
}
.contact-block svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-block h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.contact-block p,
.contact-block address {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-style: normal;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.map-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  padding: 8px;
}
.map-frame {
  position: relative;
  width: 100%;
  padding-top: 75%;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.facebook-feed {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
}
.facebook-feed-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.facebook-feed-head .section-label {
  margin-bottom: 8px;
}
.facebook-feed-head h3 {
  font-size: 1.35rem;
}
.facebook-feed .fb-page,
.facebook-feed .fb-page > span,
.facebook-feed iframe {
  display: block;
  width: 100% !important;
  max-width: 500px;
}
.facebook-feed .fb-page > span {
  min-height: 520px;
}

@media (max-width: 480px) {
  .facebook-feed {
    padding: 18px;
  }
  .facebook-feed-head {
    align-items: stretch;
    flex-direction: column;
  }
  .facebook-feed-head .btn {
    width: 100%;
  }
}

/* ---------- Form ---------- */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  margin-top: 40px;
}
.form-demo-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(237, 17, 27, 0.08);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 26px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.field label .req {
  color: var(--accent);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-main);
  transition: border-color 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.field textarea {
  resize: vertical;
  min-height: 100px;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
}
.field-error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}
.field.invalid .field-error {
  display: block;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(85, 184, 137, 0.12);
  border: 1px solid var(--success);
  color: var(--success);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 0.92rem;
}
.form-success.show {
  display: flex;
}
.form-success svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 16px 0;
  max-width: 34ch;
}
.footer-tag {
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 4px;
}
.footer-col h4 {
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}
.footer-col ul li a:hover {
  color: var(--accent);
}
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--text-muted);
}
.footer-social:hover {
  color: var(--accent);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.footer-concept-note {
  color: var(--text-muted);
  font-size: 0.78rem;
  max-width: 60ch;
  margin-top: 6px;
}

/* ==========================================================================
   Floating actions
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s var(--ease),
    opacity 0.25s var(--ease);
}
.fab:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--accent);
}
.fab svg {
  width: 21px;
  height: 21px;
}
.fab-call {
  background: var(--accent);
  color: #14100a;
  border-color: var(--accent);
}
.fab-call:hover {
  color: #14100a;
  background: var(--accent-hover);
}
.fab-top {
  opacity: 0;
  pointer-events: none;
}
.fab-top.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 480px) {
  .floating-actions {
    bottom: 16px;
    right: 16px;
  }
  .fab {
    width: 46px;
    height: 46px;
  }
}

/* ==========================================================================
   Utility animations
   ========================================================================== */
.stagger > * {
  transition-delay: calc(var(--i, 0) * 70ms);
}
