:root {
  --bg: #f8fafc;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-soft: #f3f6fa;
  --text: #121926;
  --muted: #364152;
  --line: rgba(227, 232, 239, 0.9);
  --primary: #29314f;
  --primary-strong: #1f2740;
  --accent: #27a5d6;
  --accent-soft: rgba(39, 165, 214, 0.12);
  --success: #019863;
  --success-soft: rgba(1, 152, 99, 0.12);
  --warning: #27a5d6;
  --warning-soft: rgba(39, 165, 214, 0.16);
  --danger: #d70202;
  --danger-soft: rgba(215, 2, 2, 0.12);
  --shadow: 0 30px 80px rgba(41, 49, 79, 0.12);
  --shadow-soft: 0 16px 38px rgba(41, 49, 79, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: min(1440px, calc(100vw - 2rem));
  --nav-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at top left,
      rgba(39, 165, 214, 0.18),
      transparent 30%
    ),
    radial-gradient(circle at 85% 15%, rgba(41, 49, 79, 0.1), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #f3f6fa 100%);
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary-strong);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(39, 165, 214, 0.14);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head h2,
.hero-copy h1,
.cta-panel h2 {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  letter-spacing: -0.04em;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.section-head p,
.hero-copy p,
.cta-panel p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0;
  transition:
    padding 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  padding: 0.6rem 0;
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 30px rgba(41, 49, 79, 0.06);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(41, 49, 79, 0.08);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-text strong {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
  background: rgba(39, 165, 214, 0.08);
}

.nav-links a[aria-current="page"] {
  color: var(--primary-strong);
  background: linear-gradient(
    135deg,
    rgba(39, 165, 214, 0.18),
    rgba(39, 165, 214, 0.08)
  );
  box-shadow: inset 0 0 0 1px rgba(39, 165, 214, 0.16);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-0.35rem);
}

.menu-toggle span::after {
  transform: translateY(0.25rem);
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(-2px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-strong) 100%
  );
  box-shadow: 0 14px 28px rgba(41, 49, 79, 0.24);
}

.button-secondary {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(41, 49, 79, 0.16);
}

.button-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(227, 232, 239, 1);
}

.hero {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  min-height: calc(100vh - var(--nav-height) - 2rem);
}   

.hero-copy h1 {
  font-size: clamp(2.7rem, 5.5vw, 5.2rem);
  line-height: 1.05;
  margin-top: 1.2rem;
  max-width: 100%;
}

.hero-copy {
  padding-inline: 0.75rem;
}

.hero-copy .highlight {
  color: var(--primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.metric {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.metric strong {
  display: block;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.metric span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.hero-glow {
  position: absolute;
  inset: 3rem 2rem auto auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(39, 165, 214, 0.36),
    rgba(39, 165, 214, 0)
  );
  filter: blur(14px);
  pointer-events: none;
}

.dashboard-shell {
  position: relative;
  z-index: 1;
  border-radius: 2rem;
  padding: 1rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 250, 252, 0.94)
  );
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.8rem 1rem;
}

.traffic {
  display: flex;
  gap: 0.45rem;
}

.traffic span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
}

.traffic span:nth-child(1) {
  background: #f26b6b;
}
.traffic span:nth-child(2) {
  background: #f0b44c;
}
.traffic span:nth-child(3) {
  background: var(--success);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(243, 246, 250, 0.95);
  font-size: 0.82rem;
  font-weight: 600;
}

.status-pill::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.2rem;
}

.panel h3,
.feature-card h3,
.step-card h3,
.testimonial-card h3,
.plan-card h3 {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  letter-spacing: -0.03em;
}

.permit-card {
  background: linear-gradient(180deg, #f8fbff 0%, #f2f8fc 100%);
}

.permit-head,
.list-row,
.stat-row,
.worker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.permit-head strong {
  font-size: 1.15rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.chip-warning {
  color: #1e5e7a;
  background: var(--warning-soft);
}

.chip-danger {
  color: #d70202;
  background: var(--danger-soft);
}

.chip-success {
  color: var(--success);
  background: var(--success-soft);
}

.progress {
  width: 100%;
  height: 0.75rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(227, 232, 239, 0.9);
  margin: 1rem 0;
}

.progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.muted {
  color: var(--muted);
}

.panel-stack {
  display: grid;
  gap: 1rem;
}

.mini-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 0.6rem;
  height: 8rem;
  margin-top: 1.4rem;
}

.mini-chart span {
  border-radius: 999px 999px 0 0;
  background: linear-gradient(
    180deg,
    rgba(41, 49, 79, 0.95),
    rgba(39, 165, 214, 0.72)
  );
}

.floating-card {
  position: absolute;
  z-index: 2;
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  animation: float 5s ease-in-out infinite;
}

.floating-card strong {
  display: block;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.65rem;
  letter-spacing: -0.05em;
}

.floating-card.top {
  top: 4rem;
  right: -1.2rem;
}

.floating-card.bottom {
  bottom: 2rem;
  left: -1.4rem;
  animation-delay: 1.1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.logo-strip {
  padding: 1.4rem 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.logo-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  text-align: center;
  color: rgba(54, 65, 82, 0.65);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.features-grid,
.steps-grid,
.testimonials-grid,
.pricing-grid,
.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.step-card,
.testimonial-card,
.plan-card,
.preview-board,
.cta-panel {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  padding: 1.5rem;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(39, 165, 214, 0.24);
  box-shadow: 0 24px 44px rgba(41, 49, 79, 0.12);
}

.feature-icon {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: linear-gradient(
    145deg,
    rgba(39, 165, 214, 0.16),
    rgba(1, 152, 99, 0.12)
  );
  font-size: 1.5rem;
}

.feature-card p,
.step-card p,
.testimonial-card p,
.plan-card p,
.footer-column a,
.footer-column p {
  color: var(--muted);
  line-height: 1.7;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  padding: 1.75rem;
  background:
    radial-gradient(
      circle at top right,
      rgba(39, 165, 214, 0.16),
      transparent 35%
    ),
    rgba(255, 255, 255, 0.82);
}

.step-number {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.preview-wrap {
  position: relative;
}

.preview-board {
  padding: 1.5rem;
  overflow: hidden;
}

.dashboard-showcase {
  position: relative;
  min-height: 430px;
  padding: 1rem;
  border-radius: 1.75rem;
  background:
    radial-gradient(
      circle at top right,
      rgba(39, 165, 214, 0.16),
      transparent 24%
    ),
    linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
  border: 1px solid var(--line);
}

.dashboard-aura {
  position: absolute;
  inset: auto auto 2rem 2rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(39, 165, 214, 0.24),
    rgba(39, 165, 214, 0)
  );
  filter: blur(10px);
  pointer-events: none;
}

.dashboard-frame {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 1.4rem;
  border: 1px solid rgba(41, 49, 79, 0.1);
  background:
    linear-gradient(135deg, rgba(41, 49, 79, 0.06), rgba(39, 165, 214, 0.06)),
    #ffffff;
  box-shadow: 0 24px 60px rgba(41, 49, 79, 0.14);
}

.dashboard-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}

.dashboard-image {
  width: 100%;
  display: block;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
  background: linear-gradient(135deg, #eef4fb 0%, #f8fafc 100%);
}

.dashboard-badge {
  position: absolute;
  z-index: 2;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.dashboard-badge-top {
  top: 2rem;
  left: 45%;
}

.dashboard-badge-bottom {
  right: 35%;
  bottom: -1.5rem;
}

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  padding: 1.6rem;
}

.person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.avatar {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-weight: 700;
  background: linear-gradient(145deg, var(--primary), var(--accent));
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.plan-card {
  padding: 1.7rem;
}

.plan-card.featured {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(242, 248, 252, 0.95)
  );
  border-color: rgba(39, 165, 214, 0.24);
  transform: translateY(-0.5rem);
}

.plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary-strong);
  font-size: 0.75rem;
  font-weight: 700;
}

.price {
  margin: 1rem 0 1.25rem;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.plan-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--muted);
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.cta-panel {
  padding: 3rem;
  text-align: center;
  color: #f4f9f3;
  background:
    radial-gradient(
      circle at top left,
      rgba(39, 165, 214, 0.18),
      transparent 24%
    ),
    linear-gradient(135deg, #29314f 0%, #1f2740 55%, #2d426f 100%);
}

.cta-panel p {
  color: rgba(244, 249, 243, 0.8);
  max-width: 620px;
  margin: 1rem auto 0;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-panel .button-secondary {
  color: #f4f9f3;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.site-footer {
  padding: 4rem 0 2rem;
  background: #121926;
  color: #d8e0d7;
}

.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.footer-column h4 {
  margin: 0 0 1rem;
  font-family: "Manrope", system-ui, sans-serif;
  color: #ffffff;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-width: 0;
}

.site-footer .brand-text strong,
.site-footer .footer-column a,
.site-footer .footer-column p {
  color: rgba(227, 232, 239, 0.88);
}

.site-footer .brand-text span {
  color: rgba(227, 232, 239, 0.68);
}

.site-footer .brand {
  align-items: flex-start;
  flex-wrap: wrap;
}

.site-footer .brand-text {
  min-width: 0;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: white;
}

.footer-company-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
}

.footer-address-card {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-address-card h4 {
  margin: 0;
  color: #ffffff;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.98rem;
}

.footer-address-card p,
.footer-address-card a {
  margin: 0;
  color: rgba(227, 232, 239, 0.78);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-address-card a:hover,
.footer-address-card a:focus-visible {
  color: #ffffff;
}

.footer-cin {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: #2e62ad;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(227, 232, 239, 0.72);
  font-size: 0.95rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 100ms;
}
.delay-2 {
  transition-delay: 180ms;
}
.delay-3 {
  transition-delay: 260ms;
}

@media (max-width: 1024px) {
  .hero-grid,
  .dashboard-grid,
  .features-grid,
  .steps-grid,
  .testimonials-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .floating-card.top {
    right: 0;
  }

  .floating-card.bottom {
    left: 0;
  }

  .logo-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-badge-top,
  .dashboard-badge-bottom {
    position: static;
    display: inline-flex;
    margin: 0 0 1rem;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 0.75rem 0;
  }

  .nav-shell {
    position: relative;
    border-radius: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .nav-links,
  .nav-actions {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.5rem;
  }

  .nav-links.open,
  .nav-actions.open {
    display: flex;
  }

  .nav-links a,
  .nav-actions .button {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-metrics,
  .dashboard-badge {
    font-size: 0.78rem;
  }

  .dashboard-image {
    min-height: 260px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .dashboard-topbar,
  .permit-head,
  .list-row,
  .stat-row,
  .worker-row,
  .person {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-board,
  .panel,
  .dashboard-shell {
    padding: 1rem;
  }

  .dashboard-showcase {
    min-height: auto;
    padding: 0.75rem;
  }

  .dashboard-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .cta-panel {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .container {
    width: min(100% - 1.25rem, 1440px);
  }

  .nav-shell {
    padding: 0.85rem 1rem;
    border-radius: 1.25rem;
  }

  .brand-text span {
    font-size: 0.75rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .mini-chart {
    gap: 0.35rem;
  }

  .floating-card {
    position: static;
    margin-bottom: 1rem;
    animation: none;
  }

  .logo-track,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-company-details {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    text-align: center;
  }

  .footer-address-card {
    justify-items: center;
  }

  .footer-cin {
    border-radius: 1rem;
    line-height: 1.5;
  }

  .site-footer {
    padding: 3rem 0 2rem;
  }

  .site-footer .brand,
  .footer-column,
  .footer-bottom {
    text-align: center;
    justify-items: center;
  }

  .site-footer .brand {
    justify-content: center;
  }

  .feature-card,
  .step-card,
  .testimonial-card,
  .plan-card,
  .cta-panel {
    padding-inline: 1.25rem;
  }

  .dashboard-image {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
