/* ============================
   DITLAG - styles.css (Silver)
   Fondo claro tipo plata
   ============================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root{
  --bg: #f3f4f6;          /* plata */
  --bg2: #eef0f3;         /* plata suave */
  --panel: #ffffff;       /* blanco */
  --text: #111827;        /* negro suave */
  --muted: #4b5563;       /* gris */
  --muted2:#6b7280;       /* gris claro */
  --border: #e5e7eb;      /* borde */
  --shadow: 0 10px 24px rgba(17,24,39,.08);
  --shadow2: 0 6px 16px rgba(17,24,39,.06);
  --accent: #2563eb;      /* azul */
  --accent2:#1d4ed8;      /* azul oscuro */
  --ok: #16a34a;          /* verde */
  --radius: 16px;
}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(900px 420px at 10% 0%, #ffffff, transparent 60%),
              radial-gradient(900px 420px at 90% 0%, #ffffff, transparent 60%),
              linear-gradient(180deg, var(--bg2), var(--bg));
  color: var(--text);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
}

.section{ padding: 48px 0; }

.kicker{
  color: var(--muted2);
  font-weight: 700;
  letter-spacing: .2px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
}

h1,h2,h3{ margin: 0 0 10px; }
h1{ font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; }
h2{ font-size: clamp(16px, 2vw, 22px); color: var(--muted); font-weight: 600; }
h3{ font-size: 18px; }
p{ margin: 10px 0; color: var(--muted); }
small{ color: var(--muted2); }

/* ============================
   Header / Nav
   ============================ */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
}


.brand{
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.logo{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 0;              /* sin “marco” */
  border-radius: 0;        /* sin esquinas redondeadas */
  background: transparent; /* sin fondo */
  border: none;            /* sin borde */
  box-shadow: none;        /* sin sombra */
}

.logo img{
  height: 70px;     /* ajusta 70–80 */
  max-width: 240px; /* evita que el logo empuje el menú */
  width: auto;
}

.brand b{ display: block; letter-spacing: .2px; }
.brand small{ display: block; font-size: 12px; color: var(--muted2); }

.menu{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 10px;
}

.menu a{
  color: var(--muted);
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
}

.menu a:hover{
  color: var(--text);
  background: #f3f4f6;
  border-color: var(--border);
}

.menu .pill{
  background: rgba(37,99,235,.10);
  border-color: rgba(37,99,235,.25);
  color: var(--accent2);
}

.hamb{
  display: none;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 14px;
  box-shadow: var(--shadow2);
  font-weight: 700;
}

/* ============================
   Hero
   ============================ */
.hero{ padding: 64px 0 24px; }

.hero-card{
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, #fafafa);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-inner{ padding: 26px; }

.badges{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.badge{
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 7px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(17,24,39,.04);
}

/* ============================
   Buttons
   ============================ */
.btnrow{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  box-shadow: var(--shadow2);
  transition: transform .08s ease, box-shadow .08s ease;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn:active{
  transform: translateY(0px);
}

.btn.primary{
  border-color: rgba(37,99,235,.35);
  background: rgba(37,99,235,.10);
  color: var(--accent2);
}

.btn.ok{
  border-color: rgba(22,163,74,.35);
  background: rgba(22,163,74,.10);
  color: #0f5132;
}

/* ============================
   Cards / Grid
   ============================ */
.grid{ display: grid; gap: 14px; }
.cols-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card{
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
}

.card-inner{ padding: 16px; }
.card p{ margin: 0; color: var(--muted); }

.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li{ margin: 6px 0; }

/* ============================
   Forms
   ============================ */
.form{ display: grid; gap: 10px; margin-top: 10px; }

.input, textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  padding: 12px 12px;
  outline: none;
  box-shadow: 0 2px 10px rgba(17,24,39,.03);
}

.input:focus, textarea:focus{
  border-color: rgba(37,99,235,.45);
  box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}

textarea{
  min-height: 130px;
  resize: vertical;
}

/* ============================
   Footer
   ============================ */
.footer{
  border-top: 1px solid var(--border);
  padding: 20px 0;
  color: var(--muted2);
  background: rgba(255,255,255,.75);
  text-align: center;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 920px){
  .cols-3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px){
  .hamb{ display: inline-flex; }

  .menu{
    display: none;
    position: absolute;
    right: 18px;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px;
    width: min(92vw, 340px);
    box-shadow: var(--shadow);
  }

  .menu.show{ display: flex; }
  .menu a{ padding: 10px 12px; }

  .cols-2, .cols-3{ grid-template-columns: 1fr; }
}
/* FIX: que el menú se pegue al logo (sin hueco) */
.topbar .nav{
  justify-content: flex-start !important;
}

/* El botón de menú (móvil) no debe empujar en desktop */
.topbar .hamb{
  margin-left: auto; /* lo manda a la derecha */
}

/* El menú en desktop debe ir pegado al logo */
@media (min-width: 721px){
  .topbar .menu{
    margin-left: 0 !important;
    justify-content: flex-start !important;
  }
  /* Si el hamb está oculto, que no estorbe */
  .topbar .hamb{ display: none !important; }
}
.left-group{
  display:flex;
  align-items:center;
  gap:20px;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.menu{
  display:flex;
  gap:18px;
  flex-wrap:nowrap;
}