/* ===========================================================
   CORES CORP – SITE.CSS COMPLETO Y DEFINITIVO
   =========================================================== */

:root {
  --bg-navy: #0b2b59;
  --bg-header: #071d3d; /* Azul profundo para el menú */
  --text-white: #ffffff;
  --text-dark: #0b2b59;
  --muted: #cbd5e1;
  --mint: #10b981;
  --border: rgba(255, 255, 255, 0.1);
}

/* 1. RESET Y BASE */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, var(--bg-navy), #092248);
  color: var(--text-white);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1120px, 95%); margin: auto; }

/* 2. HEADER (BARRA OSCURA - TEXTOS CLAROS) */
header#siteHeader {
  position: sticky; top: 0; z-index: 100;
  background-color: var(--bg-header) !important;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }

/* Bloqueo de tamaño del logo */
.brand img { 
  height: 42px !important; 
  width: auto; 
}

.nav-right { display: flex; align-items: center; gap: 20px; }

/* Idiomas y Contacto en blanco/claro */
.lang-selector { color: rgba(255,255,255,0.3); font-size: 14px; }
.lang-selector a { 
  color: var(--text-white) !important; 
  text-decoration: none; 
  opacity: 0.7; 
  transition: 0.3s;
}
.lang-selector a.active, .lang-selector a:hover { 
  opacity: 1; 
  color: var(--mint) !important; 
  font-weight: bold; 
}

.btn-primary {
  background-color: var(--mint) !important;
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
}

/* 3. HERO */
.hero { padding: 60px 0; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-graphic { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.hero-graphic img { width: 100%; height: 450px; object-fit: cover; }

.trustbar {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.trustbar > div {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  padding: 10px 5px;
  border-radius: 14px;
  font-size: 10px;
  text-align: center;
  font-weight: 600;
}

.hero-text h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero-text p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 10px; }

/* 4. GRID DE MARCAS (Tarjetas) */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; }
.card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }

.stripe { height: 8px; }
.stripe-green { background: #10b981; }
.stripe-blue { background: #3b82f6; }
.stripe-gold { background: linear-gradient(90deg, #c5a059, #f1e4c1); }

.card-body { padding: 25px; color: var(--text-dark); }
.brand-logo { height: 50px; margin-bottom: 15px; display: flex; align-items: center; }
.brand-logo img { max-height: 100%; width: auto; }
.card-body h3 { margin-bottom: 10px; font-size: 1.4rem; }
.card-body p { font-size: 0.95rem; line-height: 1.4; opacity: 0.8; }

/* 5. CONTACTO */
.contact { padding: 60px 0; }
.contact h2 { text-align: center; margin-bottom: 30px; font-size: 2rem; }
.contact form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact input, .contact textarea {
  padding: 16px; border-radius: 12px; border: 1px solid #ddd; width: 100%;
  font-family: inherit; font-size: 15px;
}
.contact textarea { grid-column: span 2; min-height: 120px; }
.btn-submit {
  background: var(--mint); color: #fff; border: none;
  padding: 16px; border-radius: 50px; font-weight: bold; cursor: pointer;
  grid-column: span 2; font-size: 16px; transition: 0.3s;
}
.btn-submit:hover { background: #059669; }

/* 6. FOOTER Y LEGALES */
footer { background: #05162e; padding: 60px 0 20px; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 20px; }
.footer-inner h4 { margin-bottom: 15px; color: var(--mint); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.6;
}
.footer-bottom a { color: #fff; text-decoration: none; margin-left: 15px; }
.footer-bottom a:hover { text-decoration: underline; }

/* 7. RESPONSIVE (MÓVIL) */
@media (max-width: 900px) {
  .hero-inner, .grid, .footer-inner { grid-template-columns: 1fr; }
  .contact form { grid-template-columns: 1fr; }
  .contact textarea, .btn-submit { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
  .hero-graphic img { height: 300px; }
}