/* ═══════════════════════════════════════════════════════════
   RUTAPEO - CSS COMPLETO CON TEMAS
   Diseño Moderno, Alto Contraste, Dia/Noche
═══════════════════════════════════════════════════════════ */

/* VARIABLES - TEMA CLARO */
:root {
  --primary: #f0a500;
  --primary-dark: #cc8c00;
  --primary-light: #ffc233;
  --secondary: #2EC4B6;
  --accent: #FFD166;

  /* TEMA OSCURO PERMANENTE */
  --bg-main: #0a0a0a;
  --bg-card: #141414;
  --bg-dark: #1a1a1ae2;
  --bg-dark-light: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-on-dark: #f1f5f9;
  --border-color: #334155;

  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-main);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  transition: background var(--transition), color var(--transition);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 1rem 0;
  color: var(--text-primary);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* CONTENEDOR */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {

  flex-wrap: wrap;
  margin: -0.5rem;
}

.col {
  flex: 1;
  padding: 0.5rem;
}

/* NAVBAR */
.navbar {
  margin-top: -10rem;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  transition: background var(--transition);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.navbar-brand img {
  height: 50px;
  width: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

.navbar-menu {
  margin-left: 30px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar-menu select {
  color: var(--text-secondary);
  background: var(--bg-card);
  border: none;
}

/* Selects del menu (movil): evitar que hereden display:flex de .nav-link
   (en iOS/Android puede impedir abrir el desplegable) */
.nav-select {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: none;
  cursor: pointer;
  -webkit-appearance: menulist;
  appearance: menulist;
  pointer-events: auto;
}

@media (max-width: 991px) {
  .nav-select {
    width: 100%;
  }
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.1);
}

/* TOGGLE TEMA */
.theme-toggle {
  background: var(--bg-main);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  margin-left: 0.5rem;
}

.app-name {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
}

.theme-toggle:hover {
  border-color: var(--primary);
  background: rgba(255, 107, 53, 0.1);
}

@media (max-width: 960px) {
  .navbar-toggle {
    display: block;
  }

  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 2px solid var(--border-color);
  }

  .navbar-menu.active {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-link:last-child {
    border-bottom: none;
  }
}

/* AUTENTICACION */
.contenidoPrincipalLogin {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem;
}

#pantallaAuth {
  margin: auto;
  width: 100%;
  max-width: 1000px;
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-xl);
  text-align: center;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
}

#pantallaAuth .app-logo {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

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

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

#pantallaAuth h1,
#pantallaAuth h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

#pantallaAuth .app-slogan {
  color: rgba(74, 74, 74, 0.937);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.auth-tabs {
  justify-items: anchor-center;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  justify-content: center;
  gap: 0.5rem;
}

.auth-tabs .nav-link {
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: rgba(110, 110, 110, 0.6);
  border-radius: var(--radius-full);
}

.auth-tabs .nav-link.active {
  background: var(--primary);
  color: white;
}

.tab-content {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* ------------------------------
   Panel Bar: Tabs
--------------------------------*/
.bar-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 14px;
}

.bar-tab {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
}

.bar-tab.active {
  background: rgba(255, 107, 53, 0.18);
  border-color: rgba(255, 107, 53, 0.5);
}

.bar-pane {
  display: none;
}

.bar-pane.active {
  display: block;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 auto;
}

.auth-form input,
.auth-form select {
  padding: 0.875rem 1rem;
  background: #1e1e1e;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  width: 100%;
  transition: all var(--transition);
}

.auth-form input::placeholder {
  color: var(--text-muted);
}

.auth-form input:focus,
.auth-form select:focus {
  outline: none;
  border-color: var(--primary);
  background: #252525;
}

.auth-form select option {
  background: #1a1a1a;
  color: var(--text-primary);
}

/* BOTONES */
.btn,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary,
button[type="submit"] {
  margin-left: 15px;
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-primary:hover,
button[type="submit"]:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-success {
  background: var(--success);
  color: white;
  border-color: var(--success);
}

.btn-danger {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}

/* BOTONES OUTLINE - Para fondo oscuro */
.btn-outline-light {
  background: var(--bg-dark);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: rgba(106, 105, 105, 0.229);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-outline-primary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--primary);
}

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

.btn-lg {
  width: 60%;
  margin-bottom: 10px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
}

.btn-sm {
  margin: 10px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* FORMULARIOS */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-control,
input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: all var(--transition);
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

/* CARDS */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 1rem;
  transition: all var(--transition);
  justify-items: center;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-header {
  background: var(--primary);
  color: white;
  padding: 1rem 1.25rem;
  font-weight: 600;
}

.card-body {
  padding: 1.25rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.card-text {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* CONTENIDO PRINCIPAL */
#contenidoPrincipal {
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}


@media (min-width: 768px) {
  #contenidoPrincipal {
    padding: 2rem;
  }
}

/* MAPA */
#mapaRuta,
.mapa-container {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}

/* ALERTAS */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-weight: 500;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #DC2626;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #D97706;
}

.alert-info {
  background: rgba(59, 130, 246, 0.15);
  color: #2563EB;
}

/* BADGES */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

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

.badge-success {
  background: var(--success);
  color: white;
}

.badge-danger {
  background: var(--danger);
  color: white;
}

.badge-card {
  opacity: 0.4;
  filter: grayscale(100%);
  transition: all var(--transition);
}

.badge-card.unlocked {
  opacity: 1;
  filter: none;
  transform: scale(1.05);
}

/* POPUP LOGRO */
.popup-logro {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: #1a1a1a;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  font-weight: 600;
  display: none;
  z-index: 1100;
}

/* IMAGENES */
.foto-preview,
.img-thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 3px solid var(--bg-card);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.foto-preview:hover {
  transform: scale(1.1);
}

/* MODALES */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  background: var(--primary);
  color: white;

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

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1rem 1.5rem;
  background: var(--bg-main);
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* LISTAS */
.list-group {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.list-group-item {
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition);
}

.list-group-item:last-child {
  border-bottom: none;
}

.list-group-item:hover {
  background: var(--bg-main);
}

/* FOOTER */
.link-contact {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem;
  flex-wrap: wrap;
}

.link-contact a {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.link-contact a:hover {
  color: white;
}

/* UTILIDADES */
.text-center {
  text-align: center;
}

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

.text-primary {
  color: var(--primary);
}

.text-success {
  color: var(--success);
}

.text-danger {
  color: var(--danger);
}

.text-white {
  color: white;
}

.bg-primary {
  background: var(--primary);
}

.bg-light {
  background: var(--bg-main);
}

.bg-white {
  background: var(--bg-card);
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.m-0 {
  margin: 0;
}

.m-2 {
  margin: 1rem;
}

.m-3 {
  margin: 1.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mx-5 {
  margin-left: 3rem;
  margin-right: 3rem;
}

.my-2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-3 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.p-0 {
  padding: 0;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

.w-100 {
  width: 100%;
}

.rounded {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
  border: solid 1px;
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

/* SPINNER */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* PROGRESS */
.progress {
  height: 8px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
}

/* MOBILE LOADER */
.mobile-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

/* MOBILE SEARCH */
.mobile-search {
  margin-bottom: 1rem;
}

.mobile-search input {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  color: var(--text-primary);
}

/* FILTER SELECT */
.filter-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
}

/* RESPONSIVE */
@media (max-width: 576px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .btn {
    padding: 0.625rem 1rem;
  }

  .card-body {
    padding: 1rem;
  }

  #pantallaAuth {
    padding: 1rem;
  }

  #pantallaAuth .app-logo {
    width: 80px;
    height: 80px;
  }

  .popup-logro {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .mx-5 {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

/* PWA Safe Areas */
@supports (padding: max(0px)) {
  body {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .navbar {
    padding-top: max(0.75rem, env(safe-area-inset-top));
  }
}

/* ═══════════════════════════════════════════════════════════
   PARALLAX PAGE STYLES
═══════════════════════════════════════════════════════════ */

/* HEADER PARALLAX */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container .app-logo {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.brand-info .app-name {
  font-size: 1.5rem;
  margin: 0;
  color: var(--primary);
}

.brand-info .app-slogan {
  font-size: 0.8rem;
  margin: 0;
  color: var(--text-muted);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.main-nav a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-weight: 500;
}

.main-nav a:hover {
  background: var(--primary);
  color: white;
}

/* PARALLAX CONTAINERS */
.parallax-container {
  position: relative;
  height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

#bg-image1 {
  background-image: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&q=80&w=2070');
}

#bg-image2 {
  background-image: url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?auto=format&fit=crop&q=80&w=1974');
}

#bg-image3 {
  background-image: url('https://images.unsplash.com/photo-1565299624946-b28f40a0ae38?auto=format&fit=crop&q=80&w=1981');
}

#bg-image4 {
  background-image: url('https://images.unsplash.com/photo-1498837167922-ddd27525d352?auto=format&fit=crop&q=80&w=2070');
}

.caption {
  text-align: center;
}

.text-box {
  display: inline-block;
  padding: 1.5rem 3rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

/* STATIC SECTIONS */
.static-section {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.static-section h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.static-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.section-dark {
  background: var(--bg-dark);
  max-width: 100%;
  padding: 5rem 2rem;
}

.section-dark h2 {
  color: var(--primary);
}

.section-dark p {
  color: var(--text-muted);
}

.section-intro {
  margin-bottom: 3rem;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-box {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-box h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-box p {
  color: var(--text-secondary);
  margin: 0;
}

/* CONTACT SECTION */
.link-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.link-contact svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.link-contact a {
  color: var(--text-primary);
  font-weight: 500;
  margin-left: 0.5rem;
}

.link-contact a:hover {
  color: var(--primary);
}

/* PARALLAX RESPONSIVE */
@media (max-width: 768px) {
  .main-header {
    padding: 1rem;
  }

  .brand-info .app-slogan {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem;
  }

  .main-nav.nav-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav a {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .text-box {
    font-size: 1.5rem;
    padding: 1rem 2rem;
  }

  .static-section {
    padding: 3rem 1.5rem;
  }

  .parallax-container {
    background-attachment: scroll;
    height: 60vh;
  }
}

/* Fix for iOS parallax */
@supports (-webkit-touch-callout: none) {
  .parallax-container {
    background-attachment: scroll;
  }
}