:root {
  --blue-900: #050c1d;
  --blue-800: #071632;
  --blue-700: #0b1e45;
  --yellow: #f5c044;
  --orange: #f08a24;
  --red: #f54721;
  --white: #f7f7ff;
  --gray: #9fb2d4;
  --gradient: linear-gradient(135deg, #f5c044, #f08a24 45%, #f54721);
}

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

html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--blue-900);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 5rem;
}

h1,
h2,
h3,
h4 {
  font-family: "Orbitron", "Inter", sans-serif;
  line-height: 1.2;
}

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

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

.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 5%;
  background: rgba(5, 12, 29, 0.9);
  border-bottom: 1px solid rgba(245, 192, 68, 0.2);
  backdrop-filter: blur(12px);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(245, 192, 68, 0.5);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--gray);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--yellow);
}

.btn {
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
  touch-action: manipulation;
}

.btn.primary {
  background: var(--gradient);
  color: #0a0d1a;
  box-shadow: 0 10px 30px rgba(245, 71, 33, 0.25);
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-2px);
}

main {
  padding: 4rem 5%;
  display: flex;
  flex-direction: column;
  gap: 5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
  padding: 4rem 3rem;
  border-radius: 32px;
  background: radial-gradient(circle at top right, rgba(245, 192, 68, 0.15), transparent 45%),
    radial-gradient(circle at bottom left, rgba(245, 71, 33, 0.2), transparent 40%),
    var(--blue-800);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-content {
  order: 1;
}

.hero-visual {
  order: 2;
}

.tagline {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--yellow);
}

.hero h1 {
  margin: 1rem 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero .subtitle {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-highlights {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  color: var(--gray);
}

.hero-highlights li::before {
  content: "•";
  color: var(--yellow);
  margin-right: 0.5rem;
}

.hero-visual {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(245, 192, 68, 0.2);
  background: rgba(5, 12, 29, 0.6);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.75rem;
  color: var(--orange);
}

.about p {
  color: var(--gray);
  max-width: 800px;
}

.about-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.about-grid article {
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--blue-800);
}

.about-grid h3 {
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.services .card-grid,
.benefits .benefit-grid,
.insights .insight-grid,
.testimonials .testimonial-grid,
.faq .faq-list {
  display: grid;
  gap: 1.5rem;
}

.services .card-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.service-card {
  padding: 1.8rem;
  border-radius: 24px;
  background: var(--blue-800);
  border: 1px solid rgba(245, 192, 68, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--yellow);
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--gray);
}

.service-card li::before {
  content: "▹";
  color: var(--orange);
  margin-right: 0.4rem;
}

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

.benefit-grid article {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--blue-800);
}

.benefit-grid .icon {
  font-size: 1.4rem;
  color: var(--yellow);
}

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

.insight-grid article {
  padding: 1.5rem;
  border-radius: 20px;
  background: var(--blue-800);
  border: 1px solid rgba(245, 192, 68, 0.1);
}

.insight-grid h3 {
  margin-bottom: 0.6rem;
  color: var(--yellow);
}

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

.testimonial-grid article {
  padding: 1.8rem;
  border-radius: 20px;
  background: rgba(7, 22, 50, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-style: italic;
}

.testimonial-grid h4 {
  margin-top: 1rem;
  font-style: normal;
  color: var(--orange);
}

.faq-list article {
  border-radius: 18px;
  background: var(--blue-800);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.faq-list button {
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  min-height: 44px;
  touch-action: manipulation;
  text-align: left;
}

.faq-list p {
  max-height: 0;
  padding: 0 1.5rem;
  color: var(--gray);
  transition: max-height 0.3s ease;
}

.faq-list article.open p {
  padding-bottom: 1.2rem;
  max-height: 200px;
}

.cta-final {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
  padding: 3rem;
  border-radius: 28px;
  background: var(--blue-700);
  border: 1px solid rgba(245, 71, 33, 0.25);
}

.cta-visual img {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.location {
  padding: 3rem;
  border-radius: 28px;
  background: var(--blue-800);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.location-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

.location-info ul {
  list-style: none;
  margin: 1.5rem 0;
  color: var(--gray);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.location-info li::before {
  content: "▹";
  color: var(--orange);
  margin-right: 0.4rem;
}

.map-embed {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(245, 192, 68, 0.2);
  min-height: 320px;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  max-width: 100%;
}

.site-footer {
  padding: 2.5rem 5%;
  background: #030712;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--gray);
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.footer-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.92rem;
}

.footer-info strong {
  color: var(--white);
  font-weight: 600;
}

.footer-links h4,
.footer-social h4 {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1rem;
}

.footer-links-grid a {
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand span {
  white-space: nowrap;
}

.footer-brand img {
  width: 70px;
  height: auto;
  filter: brightness(1.1);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Login page */
.login-page {
  min-height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
  background: var(--blue-900);
}

.login-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 10% 20%, rgba(245, 192, 68, 0.12), transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(245, 71, 33, 0.1), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(240, 138, 36, 0.06), transparent 60%),
    var(--blue-900);
}

.login-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    );
  opacity: 0.3;
}

.login-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.login-info-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 4rem;
  background: linear-gradient(135deg, rgba(7, 22, 50, 0.95) 0%, rgba(5, 12, 29, 0.98) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  animation: fadeInLeft 0.6s ease-out;
}

.login-info-content {
  max-width: 500px;
  width: 100%;
}

.login-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(245, 192, 68, 0.4);
  box-shadow: 0 8px 24px rgba(245, 192, 68, 0.25);
  background: var(--blue-800);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(245, 192, 68, 0.35);
}

.login-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-info-content h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.login-subtitle {
  font-size: 0.85rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
}

.login-info-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 2rem 0;
}

.login-info-text {
  margin-bottom: 2rem;
}

.login-info-text h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.login-info-text p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

.login-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.login-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--gray);
  font-size: 0.9rem;
}

.feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(245, 192, 68, 0.2);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.login-info-footer {
  margin-top: auto;
}

.login-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 4rem;
  animation: fadeInRight 0.6s ease-out;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  border-radius: 24px;
  background: rgba(7, 22, 50, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(5, 12, 29, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.login-card-header {
  text-align: center;
  margin-bottom: 0.3rem;
}

.login-card-header h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.login-card-header p {
  font-size: 0.85rem;
  color: var(--gray);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.label-icon {
  font-size: 0.9rem;
  opacity: 0.7;
}

.login-card input {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 12, 29, 0.6);
  color: var(--white);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}

.login-card input::placeholder {
  color: rgba(159, 178, 212, 0.4);
}

.login-card input:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(5, 12, 29, 0.7);
}

.login-card input:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(5, 12, 29, 0.8);
  box-shadow: 0 0 0 3px rgba(240, 138, 36, 0.15), 0 4px 12px rgba(240, 138, 36, 0.1);
  transform: translateY(-1px);
}

.login-submit {
  margin-top: 0.3rem;
  padding: 0.95rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245, 71, 33, 0.35);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.login-submit:hover .btn-arrow {
  transform: translateX(4px);
}

.alert {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  animation: shake 0.5s ease;
}

.alert.error {
  background: rgba(245, 71, 33, 0.15);
  border: 1px solid rgba(245, 71, 33, 0.4);
  color: #ff8a7a;
}

.alert-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.login-footer {
  margin-top: 0.3rem;
  text-align: center;
}

.back-link {
  color: var(--gray);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.back-link:hover {
  color: var(--yellow);
}

.login-security {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

/* Animações */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

/* Dashboard page */
.dashboard-page {
  min-height: 100vh;
  background: var(--blue-900);
  display: flex;
  flex-direction: column;
}

.dashboard-header {
  background: rgba(7, 22, 50, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.dashboard-header-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.dashboard-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.dashboard-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(245, 192, 68, 0.4);
  object-fit: cover;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-type {
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  background: rgba(245, 192, 68, 0.15);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.user-name {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-logout {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(245, 71, 33, 0.2);
  color: #ff8a7a;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(245, 71, 33, 0.3);
}

.btn-logout:hover {
  background: rgba(245, 71, 33, 0.3);
  transform: translateY(-1px);
}

.dashboard-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.dashboard-sidebar {
  width: 280px;
  background: rgba(7, 22, 50, 0.95);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  overflow-y: auto;
  flex-shrink: 0;
}

.sidebar-menu {
  padding: 1.5rem 0;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  margin-bottom: 0.3rem;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.5rem;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.menu-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-left-color: var(--yellow);
}

.menu-link.active {
  background: rgba(245, 192, 68, 0.1);
  color: var(--yellow);
  border-left-color: var(--yellow);
}

.menu-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.menu-text {
  flex: 1;
}

.menu-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.menu-item.active .menu-arrow {
  transform: rotate(180deg);
}

.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(5, 12, 29, 0.5);
}

.menu-item.active .submenu {
  max-height: 500px;
}

.submenu-item {
  margin: 0;
}

.submenu-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1.5rem 0.7rem 3.5rem;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.submenu-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-left-color: var(--orange);
}

.submenu-link.active {
  background: rgba(240, 138, 36, 0.1);
  color: var(--orange);
  border-left-color: var(--orange);
}

.submenu-icon {
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.dashboard-main {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
}

.dashboard-welcome {
  margin-bottom: 2rem;
}

.dashboard-welcome h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.dashboard-welcome p {
  color: var(--gray);
  font-size: 1rem;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--blue-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 12, 29, 0.6);
  border-color: rgba(245, 192, 68, 0.2);
}

.stat-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(245, 192, 68, 0.1);
  flex-shrink: 0;
}

.stat-content h3 {
  font-size: 0.85rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.stat-value {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.dashboard-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.dashboard-section {
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--blue-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-section h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(5, 12, 29, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.activity-content p {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.activity-time {
  color: var(--gray);
  font-size: 0.8rem;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.action-card {
  padding: 1.5rem;
  border-radius: 14px;
  background: rgba(5, 12, 29, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  text-align: center;
}

.action-card:hover {
  background: rgba(245, 192, 68, 0.1);
  border-color: rgba(245, 192, 68, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 192, 68, 0.2);
}

.action-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(245, 192, 68, 0.15);
}

.action-card span:last-child {
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 960px) {
  .dashboard-header-content {
    flex-wrap: wrap;
    padding: 1rem;
  }
  .dashboard-layout {
    flex-direction: column;
  }
  .dashboard-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 300px;
  }
  .sidebar-menu {
    padding: 1rem 0;
  }
  .dashboard-content {
    grid-template-columns: 1fr;
  }
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .dashboard-main {
    padding: 1rem;
  }
  .dashboard-stats {
    grid-template-columns: 1fr;
  }
  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-welcome h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 960px) {
  .top-nav {
    padding: 1rem 3%;
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .logo span {
    font-size: 0.9rem;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(5, 12, 29, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0;
    border-left: 1px solid rgba(245, 192, 68, 0.2);
    transition: right 0.3s ease;
    z-index: 99;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
  }

  .main-nav.active::before {
    opacity: 1;
    pointer-events: all;
  }

  .main-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    color: var(--white);
    transition: all 0.2s ease;
    display: block;
  }

  .main-nav a:hover,
  .main-nav a:active {
    color: var(--yellow);
    padding-left: 0.5rem;
  }

  .top-nav .btn.primary {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 2.5rem 2rem;
    gap: 2rem;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .cta-group .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: 3rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  main {
    padding: 2rem 1rem;
    gap: 3rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .top-nav {
    padding: 0.8rem 1rem;
  }

  .logo span {
    font-size: 0.85rem;
  }

  .logo img {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 2rem 1.5rem;
    border-radius: 20px;
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: 1.75rem;
    margin: 0.8rem 0;
  }

  .tagline {
    font-size: 0.7rem;
  }

  .hero .subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }

  .hero-highlights {
    font-size: 0.85rem;
    gap: 0.6rem;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .section-label {
    font-size: 0.7rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-grid article {
    padding: 1.2rem;
  }

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

  .service-card {
    padding: 1.5rem;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .insight-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cta-final {
    padding: 2rem 1.5rem;
    border-radius: 20px;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-final h2 {
    font-size: 1.5rem;
  }

  .location {
    padding: 2rem 1rem;
    border-radius: 20px;
    overflow: hidden;
  }

  .location-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
  }

  .location-info {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .map-embed {
    min-height: 250px;
    max-height: 400px;
    border-radius: 16px;
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    position: relative;
  }

  .map-embed iframe {
    min-height: 250px;
    max-height: 400px;
    width: 100% !important;
    max-width: 100% !important;
    border: 0;
    display: block;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .location {
    padding: 1.5rem 1rem;
    margin: 0 -1rem;
    border-radius: 0;
  }

  .location-content {
    gap: 1.2rem;
  }

  .map-embed {
    min-height: 220px;
    max-height: 350px;
    border-radius: 12px;
    margin: 0;
    width: calc(100% + 0px);
    max-width: 100%;
  }

  .map-embed iframe {
    min-height: 220px;
    max-height: 350px;
    width: 100% !important;
    max-width: 100% !important;
  }

  .location-info .cta-group {
    flex-direction: column;
    gap: 0.8rem;
  }

  .location-info .cta-group .btn {
    width: 100%;
  }
}

  .btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }

  .cta-group {
    flex-direction: column;
    gap: 0.8rem;
  }

  .cta-group .btn {
    width: 100%;
  }

  /* Login page mobile */
  .login-container {
    grid-template-columns: 1fr;
  }
  .login-info-panel {
    padding: 2rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .login-form-panel {
    padding: 2rem 1.5rem;
  }
  .login-card {
    padding: 2rem 1.5rem;
    max-width: 100%;
  }
  .login-info-content h1 {
    font-size: 1.8rem;
  }
  .login-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
  }
  .login-info-text h2 {
    font-size: 1.2rem;
  }
  .login-features {
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }
}

