/* Sitio web público AcuGestion */
:root {
  --web-bg: #0f1216;
  --web-bg-2: #171c22;
  --web-surface: #1d242d;
  --web-text: #f3f5f7;
  --web-muted: #9aa3ad;
  --web-line: rgba(255,255,255,.1);
  --web-accent: #C8102E;
  --web-accent-rgb: 200,16,46;
  --web-font: "Outfit", system-ui, sans-serif;
  --web-display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.web-body {
  margin: 0;
  font-family: var(--web-font);
  color: var(--web-text);
  background: var(--web-bg);
  line-height: 1.5;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

.web-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.web-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15,18,22,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.web-header.is-scrolled { border-bottom-color: var(--web-line); background: rgba(15,18,22,.94); }
.web-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.web-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.web-brand-logo {
  height: 48px;
  width: auto;
  max-width: min(220px, 55vw);
  object-fit: contain;
}
.web-brand-mark {
  width: 14px;
  height: 36px;
  background: var(--web-accent);
  border-radius: 2px;
}
.web-brand-name {
  font-family: var(--web-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.web-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.web-nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--web-muted);
  transition: color .2s;
}
.web-nav a:hover { color: var(--web-text); }
.web-nav-wa { color: #25d366 !important; font-weight: 600; }
.web-nav-login {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--web-line);
  border-radius: 8px;
  color: var(--web-muted) !important;
}
.web-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--web-line);
  color: var(--web-text);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
}

/* Hero */
.web-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
}
.web-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,18,22,.25) 0%, rgba(15,18,22,.55) 45%, rgba(15,18,22,.96) 100%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(var(--web-accent-rgb), .35), transparent 55%),
    linear-gradient(135deg, #1a222c 0%, #0c0f13 55%, #151a20 100%);
  animation: webHeroIn 1.1s ease both;
}
.web-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .35;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
}
.web-hero-content {
  position: relative;
  padding: 120px 0 72px;
  animation: webRise .8s .15s ease both;
}
.web-hero-brand {
  margin: 0 0 14px;
  font-family: var(--web-display);
  font-size: clamp(2.2rem, 6.5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: .95;
  max-width: 16ch;
}
.web-hero-sub {
  margin: 0 0 28px;
  color: var(--web-muted);
  max-width: 42ch;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}
.web-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

@keyframes webHeroIn {
  from { opacity: .4; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes webRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Buttons */
.web-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.web-btn:hover { transform: translateY(-1px); }
.web-btn-sm { padding: 10px 16px; font-size: .92rem; }
.web-btn-primary {
  background: var(--web-accent);
  color: #fff;
}
.web-btn-primary:hover { filter: brightness(1.08); }
.web-btn-ghost {
  background: transparent;
  border-color: var(--web-line);
  color: var(--web-text);
}
.web-btn-ghost:hover { border-color: rgba(255,255,255,.28); }
.web-btn-wa {
  background: #1f9e4b;
  color: #fff;
}

/* Sections */
.web-section { padding: 72px 0; }
.web-section-head { margin-bottom: 28px; }
.web-section-head h2 {
  margin: 0 0 8px;
  font-family: var(--web-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.web-section-head p { margin: 0; color: var(--web-muted); }

.web-filters {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 10px;
  margin-bottom: 28px;
}
.web-filters input,
.web-filters select {
  background: var(--web-surface);
  border: 1px solid var(--web-line);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
}
.web-filters input:focus,
.web-filters select:focus {
  border-color: rgba(var(--web-accent-rgb), .7);
}

.web-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.web-card {
  background: var(--web-bg-2);
  border: 1px solid var(--web-line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  animation: webRise .6s ease both;
}
.web-card:nth-child(2) { animation-delay: .06s; }
.web-card:nth-child(3) { animation-delay: .12s; }
.web-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--web-accent-rgb), .45);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.web-card-media {
  position: relative;
  aspect-ratio: 16/10;
  background: #10151b;
  overflow: hidden;
}
.web-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.web-card:hover .web-card-media img { transform: scale(1.04); }
.web-card-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--web-muted);
  font-size: 2rem;
}
.web-card-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--web-accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.web-card-body { padding: 16px 18px 18px; }
.web-card-year {
  color: var(--web-accent);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
}
.web-card-title {
  margin: 4px 0 2px;
  font-size: 1.15rem;
  font-weight: 700;
}
.web-card-version {
  margin: 0 0 10px;
  color: var(--web-muted);
  font-size: .9rem;
}
.web-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--web-muted);
  font-size: .82rem;
  margin-bottom: 12px;
}
.web-card-price {
  font-family: var(--web-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.web-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--web-muted);
  border: 1px dashed var(--web-line);
  border-radius: 14px;
}
.web-empty i { font-size: 2rem; margin-bottom: 10px; display: block; }

.web-pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.web-pager a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--web-line);
  color: var(--web-muted);
}
.web-pager a.active {
  background: var(--web-accent);
  border-color: var(--web-accent);
  color: #fff;
}

/* Contact */
.web-contact {
  background:
    radial-gradient(ellipse 50% 60% at 10% 0%, rgba(var(--web-accent-rgb), .18), transparent 55%),
    var(--web-bg-2);
  border-top: 1px solid var(--web-line);
}
.web-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.web-contact-info h2 {
  margin: 0 0 10px;
  font-family: var(--web-display);
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.web-contact-info > p { color: var(--web-muted); margin: 0 0 20px; }
.web-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.web-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  color: rgba(243,245,247,.9);
}
.web-contact-list i { color: var(--web-accent); margin-top: 4px; width: 16px; }

.web-form {
  background: var(--web-surface);
  border: 1px solid var(--web-line);
  border-radius: 16px;
  padding: 24px;
}
.web-form-row { margin-bottom: 14px; }
.web-form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: .85rem;
  color: var(--web-muted);
}
.web-form-row input,
.web-form-row textarea {
  width: 100%;
  background: var(--web-bg);
  border: 1px solid var(--web-line);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
}
.web-form-row input:focus,
.web-form-row textarea:focus {
  border-color: rgba(var(--web-accent-rgb), .7);
}
.web-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.web-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
}
.web-form-msg {
  margin: 12px 0 0;
  font-size: .92rem;
}
.web-form-msg.ok { color: #4ade80; }
.web-form-msg.err { color: #f87171; }

/* Detail */
.web-detail { padding: 40px 0 72px; }
.web-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--web-muted);
  margin-bottom: 24px;
}
.web-back:hover { color: var(--web-text); }
.web-detail-grid {
  display: grid;
  grid-template-columns: 1.25fr .95fr;
  gap: 32px;
  margin-bottom: 48px;
}
.web-gallery-main {
  border-radius: 16px;
  overflow: hidden;
  background: #10151b;
  aspect-ratio: 16/10;
}
.web-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.web-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}
.web-thumb {
  flex: 0 0 84px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #10151b;
  cursor: pointer;
}
.web-thumb.active { border-color: var(--web-accent); }
.web-thumb img { width: 100%; height: 100%; object-fit: cover; }
.web-gallery-empty {
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  background: var(--web-surface);
  border-radius: 16px;
  color: var(--web-muted);
  font-size: 3rem;
}
.web-detail-brand {
  margin: 0;
  font-family: var(--web-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--web-accent);
  font-weight: 700;
}
.web-detail-info h1 {
  margin: 6px 0 4px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
}
.web-detail-version { color: var(--web-muted); margin: 0 0 16px; }
.web-detail-price {
  font-family: var(--web-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.web-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.web-specs > div {
  background: var(--web-surface);
  border: 1px solid var(--web-line);
  border-radius: 10px;
  padding: 12px;
}
.web-specs span {
  display: block;
  font-size: .75rem;
  color: var(--web-muted);
  margin-bottom: 4px;
}
.web-detail-desc {
  color: rgba(243,245,247,.86);
  margin: 0 0 22px;
}
.web-detail-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.web-detail-form {
  max-width: 640px;
  margin-top: 8px;
}
.web-detail-form h2 {
  font-family: var(--web-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 0 0 16px;
}

/* Footer */
.web-footer {
  border-top: 1px solid var(--web-line);
  padding: 48px 0 28px;
  background: #0b0e12;
}
.web-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.web-footer-brand {
  font-family: var(--web-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.web-footer-text { color: var(--web-muted); margin: 0; }
.web-footer-label {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--web-muted);
  margin-bottom: 12px;
}
.web-footer p { margin: 0 0 8px; color: rgba(243,245,247,.85); font-size: .95rem; }
.web-footer i { color: var(--web-accent); width: 18px; }
.web-social { display: flex; gap: 12px; margin-bottom: 16px; }
.web-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--web-line);
  font-size: 1.1rem;
  transition: border-color .2s, color .2s;
}
.web-social a:hover { border-color: var(--web-accent); color: var(--web-accent); }
.web-footer-login {
  font-size: .85rem;
  color: var(--web-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.web-footer-copy {
  border-top: 1px solid var(--web-line);
  padding-top: 18px;
  color: var(--web-muted);
  font-size: .85rem;
}

@media (max-width: 960px) {
  .web-filters { grid-template-columns: 1fr 1fr; }
  .web-grid { grid-template-columns: 1fr 1fr; }
  .web-contact-grid,
  .web-detail-grid,
  .web-footer-grid { grid-template-columns: 1fr; }
  .web-specs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .web-nav-toggle { display: grid; place-items: center; }
  .web-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(15,18,22,.98);
    border-bottom: 1px solid var(--web-line);
    padding: 8px 20px 16px;
  }
  .web-nav.open { display: flex; }
  .web-nav a { padding: 12px 0; border-bottom: 1px solid var(--web-line); }
  .web-filters { grid-template-columns: 1fr; }
  .web-grid { grid-template-columns: 1fr; }
  .web-form-row-2 { grid-template-columns: 1fr; }
  .web-hero-content { padding-top: 96px; }
}
