:root{
  --bg:#071525;
  --panel:#0b2238;
  --card:#0f2b45;
  --line:rgba(255,255,255,.08);
  --text:#e8f1ff;
  --muted:rgba(232,241,255,.72);
  --brand:#3cb6ff;
  --brand2:#1b6cff;
  --ok:#22c55e;
  --warn:#f59e0b;
  --shadow: 0 18px 40px rgba(0,0,0,.25);
}

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

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(60,182,255,.18), transparent 55%),
    radial-gradient(900px 600px at 95% 10%, rgba(27,108,255,.18), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height:1.55;
}

a{color:var(--brand); text-decoration:none}
a:hover{opacity:.95; text-decoration:underline}

.container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

/* NAV */
.topnav{
  position:sticky; top:0; z-index:20;
  background: rgba(7,21,37,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topnav .inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:700; letter-spacing:.3px;
}
.brand img{height:34px; width:auto}
.navlinks{
  display:flex; gap:10px; flex-wrap:wrap;
}
.navlinks a{
  padding:9px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  color: var(--text);
  background: rgba(255,255,255,.04);
  transition: transform .15s ease, background .15s ease, border .15s ease;
  font-size:14px;
}
.navlinks a:hover{
  transform: translateY(-1px);
  background: rgba(60,182,255,.10);
  border-color: rgba(60,182,255,.25);
  text-decoration:none;
}

/* HERO */
.hero{
  position:relative;
  min-height: 340px;
  display:flex; align-items:flex-end;
  border-bottom: 1px solid var(--line);
  overflow:hidden;
}
.hero img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  /* Ajuste: sube el foco para que se vea ��mitad superior�� */
  object-position: 50% 25%;
  filter:saturate(1.1) contrast(1.05);
  transform: scale(1.02);
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  /* Overlay m��s fuerte para legibilidad garantizada */
  background:
    linear-gradient(
      180deg,
      rgba(7,21,37,.78) 0%,
      rgba(7,21,37,.88) 55%,
      rgba(7,21,37,.97) 100%
    ),
    radial-gradient(
      900px 500px at 20% 30%,
      rgba(60,182,255,.20),
      transparent 60%
    );
}
.hero .content{
  position:relative;
  width:100%;
  padding: 34px 0;
}
.hero h1{
  margin:0 0 6px;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing:.2px;
  text-shadow: 0 4px 18px rgba(0,0,0,.70);
}
.hero p{
  margin:0;
  color:rgba(232,241,255,.86);
  max-width:760px;
  text-shadow: 0 4px 18px rgba(0,0,0,.70);
}

/* Badges */
.badges{
  margin-top:14px;
  display:flex; gap:10px; flex-wrap:wrap;
}
.badge{
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  color: rgba(232,241,255,.78);
}

/* Secciones */
.section{
  padding: 34px 0;
}
.section h2{
  margin:0 0 10px;
  font-size: 20px;
  letter-spacing:.2px;
}
.section p{color:var(--muted)}

/* Grid / Cards */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
}
.card{
  grid-column: span 6;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  box-shadow: var(--shadow);
}
.card.full{grid-column: span 12}
.card h3{margin:0 0 6px; font-size:16px}
.card .meta{font-size:12px; color:var(--muted)}
.card ul{margin:10px 0 0; padding-left:18px; color:var(--muted)}

/* Imagen destacada (cami��n) */
.feature-img{
  width:100%;
  margin-top:14px;
  border-radius:16px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  /* Controla tama�0�9o para que no se coma la p��gina */
  max-height: 520px;
  object-fit: cover;
  /* Ajuste: muestra m��s ��mitad superior�� */
  object-position: 50% 22%;
  display:block;
}

/* Form cards */
.formcard{
  background: rgba(11,34,56,.75);
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  box-shadow: var(--shadow);
}
label{display:block; font-size:12px; color:var(--muted); margin:10px 0 6px}
input, textarea, select{
  width:100%;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  color: var(--text);
  border-radius:14px;
  padding:12px 12px;
  outline:none;
}
input:focus, textarea:focus, select:focus{
  border-color: rgba(60,182,255,.55);
  box-shadow: 0 0 0 3px rgba(60,182,255,.15);
}
button, .btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#06111f;
  border:0;
  border-radius:14px;
  padding:11px 14px;
  font-weight:700;
  cursor:pointer;
  transition: transform .15s ease, filter .15s ease;
}
button:hover, .btn:hover{transform: translateY(-1px); filter:brightness(1.05)}
.small{font-size:12px; padding:8px 10px; border-radius:12px}

/* Footer */
.footer{
  margin-top:26px;
  padding:16px 0 26px;
  border-top: 1px solid var(--line);
  color: rgba(232,241,255,.60);
  font-size:12px;
  text-align:center;
}

/* Responsive */
@media (max-width: 860px){
  .card{grid-column: span 12}
  .navlinks{gap:8px}
  .hero{min-height: 320px}
  .feature-img{max-height: 420px; object-position: 50% 18%;}
}
/* ============================
   AJUSTES FINOS OXXIMAN
   ============================ */

/* HERO: asegurar legibilidad del texto */
.hero h1,
.hero p {
  text-shadow: 0 4px 18px rgba(0,0,0,.75);
}

/* Imagen del camión: mostrar completo, solo cortar 1/4 inferior */
.card.full img,
.card img.camion {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top; /* CLAVE: muestra desde arriba */
  border-radius: 14px;
}

/* En móviles, un poco menos de altura */
@media (max-width: 860px){
  .card.full img,
  .card img.camion {
    height: 300px;
  }
}

/* Botones flotantes */
.flotantes{
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.flotante-btn{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(11,34,56,.9);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transition: transform .15s ease, filter .15s ease;
}

.flotante-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.flotante-btn img{
  width: 28px;
  height: 28px;
}

.flotante-btn.getnet{
  width: 120px;
  padding: 0 12px;
  justify-content: flex-start;
  gap: 8px;
}

.flotante-btn.getnet img{
  width: auto;
  height: 36px;
}

