:root {
  --primary: #0f3d5e;
  --primary-dark: #071b2d;
  --secondary: #1d9bf0;
  --accent: #38d39f;
  --dark: #0b1220;
  --text: #334155;
  --muted: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 24px 70px rgba(15, 61, 94, 0.16);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.section-label::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 999px;
}

.light-label {
  color: rgba(255, 255, 255, 0.9);
}

.section-title {
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}

.section-text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 740px;
}

.section-heading {
  margin-bottom: 52px;
}

.section-heading.center {
  text-align: center;
}

.section-heading.center .section-text {
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  box-shadow: 0 18px 38px rgba(29, 155, 240, 0.28);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(29, 155, 240, 0.4);
}

.btn-outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(16px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
}

.btn-light {
  color: var(--primary);
  background: var(--white);
}

.btn-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 18px 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

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

.logo,
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.logo {
  color: var(--white);
}

.header.scrolled .logo {
  color: var(--dark);
}

.logo img,
.footer-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
}

.header.scrolled .nav-link {
  color: var(--text);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-modal-link {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.nav-button {
  padding: 11px 18px;
  color: var(--primary) !important;
  background: var(--white);
  border-radius: 999px;
}

.header.scrolled .nav-button {
  color: var(--white) !important;
  background: var(--primary);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.header.scrolled .menu-toggle {
  background: var(--light);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: var(--transition);
}

.header.scrolled .menu-toggle span {
  background: var(--dark);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(56, 211, 159, 0.26), transparent 30%),
    radial-gradient(circle at 18% 20%, rgba(29, 155, 240, 0.24), transparent 28%),
    linear-gradient(135deg, #061827 0%, #0f3d5e 55%, #071b2d 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  animation: float 7s ease-in-out infinite;
}

.hero-glow-one {
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -100px;
  background: rgba(56, 211, 159, 0.16);
}

.hero-glow-two {
  width: 260px;
  height: 260px;
  left: -110px;
  top: 160px;
  background: rgba(29, 155, 240, 0.15);
  animation-delay: 1.5s;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.eyebrow {
  display: inline-flex;
  padding: 9px 15px;
  margin-bottom: 24px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.08em;
  margin-bottom: 28px;
}

.hero-description {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.14rem;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 42px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 680px;
}

.hero-stats div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats strong {
  display: block;
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
}

.dashboard-card {
  padding: 26px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.26);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  padding: 24px;
  margin-bottom: 18px;
  border-radius: 24px;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.92);
}

.small-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.dashboard-header h3 {
  margin-top: 4px;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.status-pill {
  padding: 7px 11px;
  border-radius: 999px;
  color: #047857;
  background: #d1fae5;
  font-size: 0.76rem;
  font-weight: 900;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mini-card {
  padding: 18px;
  border-radius: 20px;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.92);
}

.mini-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.mini-card strong {
  display: block;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.progress-block {
  margin-top: 16px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 800;
}

.progress-bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.progress-fill {
  width: 92%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  animation: growBar 1.4s ease both 0.5s;
}

/* About */
.about-container,
.contact-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-card {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(29, 155, 240, 0.12), rgba(56, 211, 159, 0.1)),
    var(--light);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.axis-mark {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  font-weight: 900;
  font-size: 1.8rem;
  box-shadow: 0 20px 40px rgba(29, 155, 240, 0.24);
}

.about-card h2 {
  color: var(--dark);
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}

.about-card p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-item span {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-top: 3px;
  border-radius: 50%;
  color: #047857;
  background: #d1fae5;
  font-weight: 900;
}

.feature-item h3 {
  color: var(--dark);
  margin-bottom: 4px;
}

.feature-item p {
  color: var(--muted);
}

/* Services */
.services {
  background:
    radial-gradient(circle at 10% 20%, rgba(29, 155, 240, 0.08), transparent 28%),
    radial-gradient(circle at 90% 70%, rgba(56, 211, 159, 0.11), transparent 28%),
    var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 30px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: rgba(29, 155, 240, 0.24);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 18px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(29, 155, 240, 0.14), rgba(56, 211, 159, 0.16));
  font-weight: 900;
}

.service-card h3 {
  color: var(--dark);
  font-size: 1.18rem;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.service-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-step {
  padding: 34px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.process-step span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 16px;
  color: var(--white);
  background: var(--primary);
  font-weight: 900;
}

.process-step h3 {
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.process-step p {
  color: var(--muted);
}

/* CTA */
.cta-section {
  padding: 35px 0 105px;
  background: var(--light);
}

.cta-box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 58px;
  border-radius: 38px;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(56, 211, 159, 0.26), transparent 30%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 30px 80px rgba(15, 61, 94, 0.28);
}

.cta-box h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

/* Contact */
.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 22px;
  background: var(--light);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
}

.contact-item span {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  font-weight: 900;
}

.contact-item strong {
  color: var(--dark);
}

.contact-item p {
  color: var(--muted);
  word-break: break-word;
}

.contact-form {
  padding: 34px;
  border-radius: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.07);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  color: var(--dark);
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  outline: none;
  color: var(--dark);
  background: var(--light);
  font-size: 1rem;
  transition: var(--transition);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(29, 155, 240, 0.12);
}

.form-button {
  width: 100%;
}

.form-message {
  margin-top: 14px;
  color: #047857;
  font-weight: 800;
  text-align: center;
}

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

/* Footer */
.footer {
  padding: 70px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--dark);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  color: var(--white);
  margin-bottom: 18px;
}

.footer-container p {
  max-width: 430px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.footer-links a,
.footer-modal-link {
  color: rgba(255, 255, 255, 0.72);
  transition: var(--transition);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0;
}

.footer-links a:hover,
.footer-modal-link:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  font-size: 0.92rem;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  box-shadow: 0 18px 36px rgba(29, 155, 240, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 900;
  font-size: 1.25rem;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Legal Modals */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.legal-modal.active {
  display: flex;
}

.legal-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 32, 0.72);
  backdrop-filter: blur(10px);
  animation: modalFade 0.25s ease;
}

.legal-modal-content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
  animation: modalSlide 0.3s ease;
  isolation: isolate;
}

.legal-modal-header {
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
  padding: 34px 36px 26px;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(56, 211, 159, 0.26), transparent 30%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.legal-modal-header span {
  display: inline-flex;
  padding: 7px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.legal-modal-header h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin-bottom: 8px;
}

.legal-modal-header p {
  color: rgba(255, 255, 255, 0.72);
}

.legal-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
  transition: var(--transition);
}

.legal-modal-close:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: rotate(90deg);
}

.legal-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 34px 42px 72px 36px;
  scrollbar-gutter: stable;
}

.legal-modal-body h3 {
  color: var(--dark);
  font-size: 1.15rem;
  margin: 26px 0 10px;
  letter-spacing: -0.02em;
}

.legal-modal-body h3:first-child {
  margin-top: 0;
}

.legal-modal-body p {
  color: var(--text);
  margin-bottom: 14px;
}

.legal-modal-body ul {
  list-style: disc;
  padding-left: 22px;
  margin: 10px 0 18px;
}

.legal-modal-body li {
  margin-bottom: 9px;
  color: var(--text);
}

.legal-modal-body a {
  color: var(--secondary);
  font-weight: 800;
}

.legal-modal-body strong {
  color: var(--dark);
}

/* Legal contact card */
.legal-contact-card {
  margin-top: 18px;
  margin-bottom: 8px;
  padding: 24px;
  border-radius: 20px;
  background: var(--light);
  border: 1px solid var(--border);
}

.legal-contact-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--dark);
  font-size: 1rem;
}

.legal-contact-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  margin-top: 10px;
  color: var(--text);
}

.legal-contact-row span:first-child {
  color: var(--muted);
  font-weight: 800;
}

.legal-contact-row a {
  word-break: break-word;
}

/* Clean modal scrollbar */
.legal-modal-body::-webkit-scrollbar {
  width: 10px;
}

.legal-modal-body::-webkit-scrollbar-track {
  background: transparent;
  margin: 8px 0 18px;
}

.legal-modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--secondary), var(--accent));
  border-radius: 999px;
  border: 3px solid var(--white);
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--primary), var(--secondary));
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-24px);
  }
}

@keyframes growBar {
  from {
    width: 0;
  }

  to {
    width: 92%;
  }
}

@keyframes modalFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalSlide {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav-menu {
    gap: 16px;
  }

  .nav-link {
    font-size: 0.84rem;
  }
}

@media (max-width: 980px) {

  .hero-container,
  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 620px;
  }
}

@media (max-width: 840px) {
  .section {
    padding: 82px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    right: 4%;
    width: min(330px, 92%);
    display: grid;
    gap: 0;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    display: block;
    padding: 13px 14px;
    color: var(--text);
    width: 100%;
    text-align: left;
  }

  .nav-button {
    color: var(--white) !important;
    background: var(--primary);
    text-align: center;
    margin-top: 8px;
  }

  .hero {
    padding-top: 130px;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
  }

  .legal-modal {
    padding: 14px;
  }

  .legal-modal-content {
    max-height: 90vh;
    border-radius: 24px;
  }

  .legal-modal-header {
    padding: 28px 24px 22px;
  }

  .legal-modal-body {
    padding: 26px 30px 72px 24px;
  }

  .legal-contact-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 520px) {
  .logo span {
    font-size: 0.9rem;
  }

  .logo img,
  .footer-logo img {
    width: 38px;
    height: 38px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .about-card,
  .contact-form,
  .cta-box {
    padding: 28px;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-modal-close {
    top: 12px;
    right: 12px;
  }

  .legal-modal-body {
    padding: 24px 28px 72px 22px;
  }
}