/* styles.css - Fuente estilo Huawei */

/* Importar HarmonyOS Sans desde CDN alternativa */
@import url('https://fonts.cdnfonts.com/css/harmonyos-sans');

:root {
  /* Prioridad: HarmonyOS Sans > Inter > System fonts */
  --font-sans: "HarmonyOS Sans", "Huawei Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Pesos de fuente estilo Huawei */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
}

/* Aplicar fuente global */
html, body {
  font-family: var(--font-sans);
  font-weight: var(--font-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Todos los elementos de formulario */
input, textarea, select, button {
  font-family: var(--font-sans);
  font-weight: var(--font-normal);
}

/* Títulos con el estilo característico de Huawei */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: var(--font-bold);
  letter-spacing: -0.02em; /* Ligero espaciado negativo como Huawei */
}

/* Peso específico para cada nivel */
h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3, h4 {
  font-weight: 600;
  letter-spacing: -0.015em;
}

h5, h6 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Párrafos y texto normal */
p, span, div {
  font-family: var(--font-sans);
  font-weight: var(--font-normal);
  letter-spacing: -0.005em;
}

/* Enlaces con peso medium como Huawei */
a {
  font-family: var(--font-sans);
  font-weight: var(--font-medium);
}

/* Botones con peso semibold */
button, .btn {
  font-family: var(--font-sans);
  font-weight: var(--font-semibold);
  letter-spacing: 0.01em;
}

/* === RESTO DE ESTILOS ORIGINALES === */

.bg-delta-dark {
  background-color: #0f0f13;
}

.group:hover ul {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

nav ul li a {
  transition: color 0.3s ease;
}

#mobileMenu {
  transition: all 0.3s ease;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes ping-slow {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.group-hover\:animate-ping-slow:hover svg {
  animation: ping-slow 1s infinite;
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-inner {
  display: inline-flex;
  animation: scroll 15s linear infinite;
  color: #f97316;
  font-size: 1.5rem;
  font-weight: 600;
}

.clip-path-trapezoid {
  clip-path: polygon(5% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.dropdown-dark {
  background-color: #141421 !important;
  color: white !important;
}

#mainHeader {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}

#mainHeader .menu-link {
  color: white;
  transition: color 0.3s ease;
}

#mainHeader .menu-link:hover {
  color: #f97316;
}

header.scrolled {
  background-color: #1A1A1A !important;
  color: rgb(255, 255, 255) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled .menu-link {
  color: rgb(255, 255, 255) !important;
}

header.scrolled .menu-link:hover {
  color: #f97316 !important;
}

.contact-form input,
.contact-form textarea {
  background: #f9f9f9;
  border: 1px solid #ccc;
  color: #333;
  padding: 0.75rem;
  border-radius: 0.5rem;
  width: 100%;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f97316;
  outline: none;
}

.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #333;
}

.contact-form .form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.btn-warning {
  background-color: #ff6a00;
  border: none;
  color: #000;
  padding: 0.75rem;
  border-radius: 0.5rem;
  width: 100%;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-warning:hover {
  background-color: #ff9950;
}

.contact-form .row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-form .col-md-6 {
  flex: 1 1 100%;
}

@media (min-width: 768px) {
  .contact-form .col-md-6 {
    flex: 1 1 48%;
  }
}

#modal .modal-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 768px) {
  #modal .modal-content {
    flex-direction: row;
    max-height: 90vh;
  }

  #modal .left-image {
    display: block;
    width: 50%;
  }

  #modal .right-form {
    width: 50%;
  }
}

@media (max-width: 767px) {
  #modal .left-image {
    display: none;
  }

  #modal .right-form {
    width: 100%;
  }
}

.menu-logo {
  padding-bottom: 4px;
}

.lema {
  margin-top: 0px;
}