/* Industrial minimalist theme overrides */

/* Typography */
html, body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background: #ffffff;
  color: #111111;
}

/* Palette */
:root{
  --bg: #ffffff;
  --ink: #111111;
  --muted: #666a73;
  /* --accent comes from accent.css */
  /* Anchor offset for sticky navbar */
  --nav-offset: 30px; /* más ajustado */
}

/* Square look: remove rounded corners everywhere */
.rounded, .rounded-1, .rounded-2, .rounded-3, .rounded-4, .rounded-5,
.btn, .card, .form-control, .navbar, .badge, .alert, .scroll-top,
.input-group-text, .list-group-item, .dropdown-menu, .modal-content,
.offcanvas, .toast, .accordion-item {
  border-radius: 0 !important;
}

/* Section spacing and titles */
/* Slightly increased breathing room */
section { padding-top: 5rem; padding-bottom: 5rem; }
.section-muted { background: #f6f7f9; }
.section-title, h2.section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-subtitle { color: var(--muted); margin-bottom: 2rem; }

/* Minimal cards (services/products/apps) */
.card-minimal {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 1.25rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-minimal:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.06); }
.card-minimal .icon { font-size: 1.8rem; color: var(--accent); line-height: 1; display:flex; align-items:center; }
/* Asegurar tamaño consistente si el ícono es SVG o imagen */
.card-minimal .icon img.svg-icon,
.card-minimal .icon svg {
  width: 2.0rem; height: 2.0rem; display: inline-block;
}
.card-minimal .icon svg path,
.card-minimal .icon svg circle,
.card-minimal .icon svg rect,
.card-minimal .icon svg line,
.card-minimal .icon svg polyline,
.card-minimal .icon svg polygon{
  stroke-width: 2; /* dar más grosor al trazo */
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-minimal .icon svg * { stroke: currentColor; }
.card-minimal .icon svg [fill]:not([fill='none']) { fill: currentColor; }
.card-minimal h3 { font-size: 1.05rem; font-weight: 800; margin: .5rem 0 .25rem; }
.card-minimal p { color: var(--muted); margin: 0; }

/* Links */
a { color: var(--accent); }
a:hover, a:focus { color: #0c3056; }

/* Forms */
.form-control, .form-select { border-color: #d1d5db; }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 .25rem rgba(10,37,64,.1); }

/* Scroll to top square fix */
.scroll-top { border-radius: 0 !important; }

/* Hero adjustments for clean look */
.hero-section { border-bottom: 1px solid #eee; }

/* Smooth scroll and anchor offset so titles aren’t hidden under navbar */
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-offset); }
section[id] { scroll-margin-top: var(--nav-offset); }

@media (max-width: 991.98px){
  :root{ --nav-offset: 52px; }
  /* Mobile navbar: add spacing above cart (Cotizador) button */
  #navCartItem { margin-top: .5rem; }
  /* Navbar toggler (hamburguesa) más compacto y sin bordes redondeados */
  .navbar .navbar-toggler{
    border-radius: 0 !important;
    padding: .25rem .5rem !important;
  }
  .navbar .navbar-toggler:focus{ box-shadow: none; }
}

/* Accent section (dark) for Aplicaciones */
.section-accent { background: var(--accent); color: #fff; }
.section-accent { padding-top: 6rem; padding-bottom: 6rem; }
@media (max-width: 991.98px){
  .section-accent { padding-top: 5rem; padding-bottom: 5rem; }
}

/* Quiénes somos: refine typography for readability */
#quienes .display-6{
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(1.75rem, 2.2vw + 0.5rem, 2.25rem);
}
#quienes .lead{
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 66ch;
  font-weight: 400; /* asegurar contraste con <strong> */
}
#quienes .lead p,#quienes .lead div{ margin: 0 0 1rem; }
#quienes .lead strong,
#quienes .lead b{ font-weight: 700; }
#quienes h3.h5{ margin-top: 1.25rem; margin-bottom: .25rem; }
#quienes ul{ margin-top: .5rem; }
#quienes li{ font-size: .98rem; line-height: 1.6; margin-bottom: .35rem; }
.section-accent .section-title { color: #fff; }
.section-accent .section-subtitle { color: rgba(255,255,255,.82); }
.section-accent .card-minimal { background: transparent; border-color: rgba(255,255,255,.28); }
.section-accent .card-minimal .icon { color: #fff; }
.section-accent .card-minimal h3 { color: #fff; }
.section-accent .card-minimal p { color: rgba(255,255,255,.88); }
.section-accent .card-minimal:hover { box-shadow: 0 10px 20px rgba(0,0,0,.18); }

/* Product detail */
.prod-gallery{ align-items:flex-start; }
.prod-thumbs{ width:92px; max-height:520px; overflow:auto; }
.prod-thumbs .thumb{ width:100%; border:1px solid #e5e7eb; }
.prod-thumbs .thumb img{ width:100%; aspect-ratio:1/1; object-fit:cover; }
.prod-thumbs .thumb.active{ /*outline:2px solid var(--accent);*/ }
.prod-main img{ width:100%; height:auto; border:1px solid #e5e7eb; background:#fff; }
.price-lg{ font-size:2rem; font-weight:800; letter-spacing:-.01em; }

/* Mobile container padding: a touch more breathing room */
@media (max-width: 575.98px) {
  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
