:root{
  --primary: #1f4ed8;
  --primary-dark: #163db0;
  --accent: #ff7a00;
  --accent-dark: #e86800;

  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-light: #f9fafb;

  --radius: 14px;
  --max: 1100px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a{ color: inherit; text-decoration: none; }
.wrap{ max-width: var(--max); margin: auto; padding: 0 20px; }

/* NAV */
.nav{
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  color: var(--primary);
}
.logo{
  height: 40px;
  width: auto;
  display: block;
}
.links{
  display:flex;
  gap: 18px;
  font-size: 14px;
}
.links a{
  color: var(--text);
  font-weight: 600;
}
.links a:hover{
  color: var(--primary);
}

/* BUTTONS */
.btn{
  display:inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: all .2s ease;
}
.btn:hover{
  transform: translateY(-1px);
  opacity: .98;
}
.btn.primary{
  background: var(--primary);
  color: white;
  border: none;
}
.btn.primary:hover{
  background: var(--primary-dark);
}
.btn.accent{
  background: var(--accent);
  color: white;
  border: none;
}
.btn.accent:hover{
  background: var(--accent-dark);
}

/* HERO */
.hero{
  padding: 80px 0 44px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
}
.kicker{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 78, 216, .10);
  color: var(--primary);
  font-weight: 800;
  font-size: 12.5px;
}
h1{
  margin: 12px 0 14px;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.2px;
}
h2{
  margin: 0 0 10px;
  font-size: 28px;
}
.lead{
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 62ch;
}
.badges{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.badge{
  background: rgba(255, 122, 0, .10);
  color: var(--accent-dark);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.ctaRow{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.small{
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* SECTIONS */
.section{
  padding: 56px 0;
}
.section.alt{
  background: var(--bg-light);
  border-top: 1px solid #f2f3f5;
  border-bottom: 1px solid #f2f3f5;
}

/* PANELS & CARDS */
.panel{
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.grid4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tile{
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.tile b{ display:block; margin-bottom: 8px; }
.tile p{ margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.twoCol{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

/* PRODUCTS GRID */
.gridProducts{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: white;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(31, 78, 216, .08);
}
.cardTitle{
  font-weight: 900;
  font-size: 18px;
}
.cardSub{
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}
.tagRow{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.tag{
  border: 1px solid var(--border);
  background: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 700;
}
.cardActions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* FORMS */
form{
  display:grid;
  gap: 12px;
  margin-top: 10px;
}
input, textarea, .select{
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  background: white;
}
textarea{
  min-height: 110px;
  resize: vertical;
}
.error{
  color: #b00020;
  font-size: 13px;
  margin-top: -8px;
}

/* CAPTURAS / GALERIA */
.shotsGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.shot{
  display:block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.shot:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(17, 24, 39, .08);
}
.shot img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  display:block;
}
.shotCap{
  padding: 12px 12px 14px;
  border-top: 1px solid var(--border);
}
.shotCap b{
  display:block;
  font-size: 14px;
  margin-bottom: 4px;
}
.shotCap span{
  color: var(--muted);
  font-size: 13px;
}

/* LIGHTBOX */
.lb{
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,.82);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 1000;
}
.lb.is-open{ display:flex; }
.lbInner{
  max-width: min(1100px, 96vw);
  max-height: 90vh;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}
.lbBar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.lbTitle{
  font-weight: 800;
  font-size: 13px;
}
.lbClose{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 800;
  cursor: pointer;
}
.lbImg{
  display:block;
  width: 100%;
  height: auto;
  max-height: calc(90vh - 44px);
  object-fit: contain;
  background: #fff;
}

/* FOOTER */
.footer{
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.brandIcon{
  height: 26px;
  width: auto;
  display: block;
}

.brandText{
  font-weight: 900;
  font-size: 19px;
  font-style: italic;
  letter-spacing: -0.3px;
  display:flex;
  align-items:center;
  transform: skewX(-6deg);
}

.brandText .web{
  color: #1f4ed8;   /* azul */
}

.brandText .cas{
  color: #ff7a00;   /* naranja */
}

.badgeDanger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  margin-left: 8px;
  line-height: 20px;
}

.dashGrid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.dashCard{
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}

.dashCard b{
  display:block;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 900;
}

.dashNum{
  font-size: 24px;
  font-weight: 900;
  margin-top: 6px;
  color: var(--text);
}

.dashBad{
  color: #b91c1c;
}

@media (max-width: 920px){
  .dashGrid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px){
  .dashGrid{ grid-template-columns: repeat(2, 1fr); }
}


/* RESPONSIVE */
@media (max-width: 920px){
  .heroGrid{ grid-template-columns: 1fr; }
  .grid4{ grid-template-columns: 1fr 1fr; }
  .gridProducts{ grid-template-columns: 1fr; }
  .shotsGrid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .links{ display:none; }
  .grid4{ grid-template-columns: 1fr; }
  .twoCol{ grid-template-columns: 1fr; }
  .shotsGrid{ grid-template-columns: 1fr; }
  h1{ font-size: 34px; }
}
