html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

:root {
  --aguila-navy: #08111f;
  --aguila-navy-soft: #0f172a;
  --aguila-slate: #cbd5e1;
  --aguila-muted: #94a3b8;
  --aguila-surface: #0b1220;
  --aguila-surface-soft: #111827;
  --aguila-surface-card: rgba(15, 23, 42, 0.78);
  --aguila-surface-card-strong: rgba(8, 17, 31, 0.88);
  --aguila-white: #ffffff;
  --aguila-orange: #f97316;
  --aguila-orange-soft: rgba(249, 115, 22, 0.14);
  --aguila-cyan: #22d3ee;
  --aguila-cyan-soft: rgba(34, 211, 238, 0.14);
  --aguila-border: rgba(148, 163, 184, 0.16);
  --aguila-shadow: 0 24px 70px rgba(2, 6, 23, 0.45);
  --aguila-navbar-height: 92px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus, .form-select:focus {
  box-shadow: 0 0 0 0.1rem rgba(8, 17, 31, 0.9), 0 0 0 0.25rem rgba(34, 211, 238, 0.28);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.10), transparent 22%),
    radial-gradient(circle at bottom center, rgba(59, 130, 246, 0.08), transparent 28%),
    linear-gradient(180deg, #030712 0%, #08111f 35%, #0b1220 100%);
  color: var(--aguila-white);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.04), 0 1px 10px rgba(148, 163, 184, 0.04);
}

h1, h2, h3, h4, h5, h6,
.brand-title,
.panel-label,
.section-kicker,
.footer-title,
strong,
label,
.btn,
.nav-link,
.brand-subtitle,
.hero-description,
.panel-text,
.text-secondary,
p,
span,
a,
li {
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.05), 0 0 10px rgba(203, 213, 225, 0.03);
}

h1, h2, h3, h4, h5, h6,
.brand-title,
.footer-title,
.panel-label,
.section-kicker,
strong,
label {
  color: #f5f7fb;
}

.text-secondary,
.brand-subtitle,
.panel-text,
.hero-description,
.content-copy p,
.footer-links a,
.footer-links span,
.contact-form-note {
  color: #d8e0ea !important;
}

.aguila-page-shell {
  padding-top: calc(var(--aguila-navbar-height) + 2rem);
}

.aguila-navbar {
  min-height: var(--aguila-navbar-height);
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.10);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
}

.aguila-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-weight: 800;
  color: var(--aguila-white);
  font-size: 1.05rem;
}

.brand-subtitle {
  color: var(--aguila-muted);
  font-size: 0.82rem;
}

.aguila-nav-link {
  color: var(--aguila-slate);
  font-weight: 600;
  padding: 0.75rem 1rem !important;
  border-radius: 999px;
}

.aguila-nav-link:hover,
.aguila-nav-link:focus {
  color: var(--aguila-white);
  background: rgba(34, 211, 238, 0.10);
}

.aguila-toggler {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
}

.aguila-home,
.content-page {
  padding-top: 1rem;
}

.hero-section {
  padding: 4rem 3rem;
  background: linear-gradient(135deg, #08111f 0%, #0f172a 45%, #0f3d46 100%);
  border: 1px solid rgba(148, 163, 184, 0.10);
  box-shadow: var(--aguila-shadow);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.35;
}

.hero-glow-primary {
  width: 260px;
  height: 260px;
  background: rgba(249, 115, 22, 0.35);
  top: -60px;
  left: -40px;
}

.hero-glow-secondary {
  width: 280px;
  height: 280px;
  background: rgba(34, 211, 238, 0.22);
  bottom: -80px;
  right: -40px;
}

.hero-chip {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-chip-soft {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero-chip-soft span:last-child {
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
}

.hero-description,
.panel-text {
  color: rgba(226, 232, 240, 0.82);
  font-size: 1.05rem;
}

.btn-aguila-primary {
  background: linear-gradient(135deg, var(--aguila-orange), #fb923c);
  border: none;
  color: var(--aguila-white);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.22);
}

.btn-aguila-primary:hover {
  color: var(--aguila-white);
  transform: translateY(-1px);
}

.btn-aguila-outline {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--aguila-white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-aguila-outline:hover {
  color: var(--aguila-white);
  background: rgba(255, 255, 255, 0.10);
}

.hero-visual-card {
  position: relative;
  padding: 2rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
}

.hero-logo {
  max-height: 360px;
  width: 100%;
  object-fit: contain;
}

.hero-visual-panel {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: rgba(8, 17, 31, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-label,
.section-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--aguila-cyan);
  margin-bottom: 0.75rem;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.info-card h3,
.insight-panel h3,
.logistics-section h2,
.contact-card h2,
.contact-form-card h3,
.content-page-card h1,
.content-page-card h2,
.content-page-card h3 {
  color: var(--aguila-white);
}

.info-card,
.insight-panel,
.logistics-section,
.closing-banner,
.contact-card,
.contact-form-card,
.content-page-card {
  border-radius: 1.5rem;
  box-shadow: var(--aguila-shadow);
}

.info-card {
  height: 100%;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(8, 17, 31, 0.88));
  border: 1px solid var(--aguila-border);
  backdrop-filter: blur(12px);
}

.info-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 1rem;
}

.info-icon-orange {
  background: var(--aguila-orange-soft);
  color: #fdba74;
}

.info-icon-cyan {
  background: var(--aguila-cyan-soft);
  color: #67e8f9;
}

.info-icon-slate {
  background: rgba(148, 163, 184, 0.14);
  color: #e2e8f0;
}

.aguila-accordion .accordion-item {
  border: 1px solid var(--aguila-border);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(8, 17, 31, 0.88));
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.28);
}

.aguila-accordion .accordion-button {
  font-weight: 700;
  color: var(--aguila-white);
  background: transparent;
  padding: 1.2rem 1.25rem;
}

.aguila-accordion .accordion-button:not(.collapsed) {
  color: var(--aguila-white);
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.10), rgba(34, 211, 238, 0.10));
  box-shadow: none;
}

.aguila-accordion .accordion-button::after {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.aguila-accordion .accordion-button:focus {
  box-shadow: none;
}

.aguila-accordion .accordion-body {
  color: var(--aguila-slate);
  line-height: 1.7;
}

.insight-panel {
  padding: 2rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(8, 17, 31, 0.88));
  border: 1px solid var(--aguila-border);
}

.timeline-mini {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.timeline-vertical {
  position: relative;
}

.timeline-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 0.35rem;
  background: linear-gradient(135deg, var(--aguila-orange), var(--aguila-cyan));
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.08);
}

.logistics-section {
  padding: 2.5rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(8, 17, 31, 0.88));
  border: 1px solid var(--aguila-border);
}

.feature-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-pill {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(34, 211, 238, 0.16);
  color: #e2e8f0;
  font-weight: 600;
}

.image-showcase {
  padding: 1rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(148, 163, 184, 0.10);
}

.contact-section {
  padding: 0.25rem 0;
}

.contact-card,
.contact-form-card,
.content-page-card {
  padding: 2rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(8, 17, 31, 0.88));
  border: 1px solid var(--aguila-border);
}

.content-copy {
  display: grid;
  gap: 1rem;
}

.content-copy p {
  margin-bottom: 0;
  color: var(--aguila-slate);
  line-height: 1.85;
  font-size: 1.02rem;
}

.product-image {
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.03);
}

.product-image-app {
  max-height: 520px;
}

.product-image-meli {
  max-height: 320px;
}

.contact-form-note {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.14);
  color: #cfeff7;
  font-size: 0.95rem;
}

.contact-info-box {
  padding: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(148, 163, 184, 0.14);
  height: 100%;
}

.contact-info-box h3,
.contact-form-card label,
.content-page-card strong,
code {
  color: var(--aguila-white);
}

.aguila-input {
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--aguila-white);
}

.aguila-input:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(34, 211, 238, 0.35);
  color: var(--aguila-white);
}

.aguila-input option {
  background: #0f172a;
  color: var(--aguila-white);
}

.aguila-input.input-validation-error,
textarea.aguila-input.input-validation-error,
select.aguila-input.input-validation-error {
  border-color: #f87171;
  background: rgba(127, 29, 29, 0.18);
}

.field-validation-error {
  display: inline-block;
  margin-top: 0.35rem;
}

.validation-summary-errors ul {
  margin: 0;
  padding-left: 1rem;
}

.aguila-alert {
  border: 1px solid rgba(74, 222, 128, 0.18);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(16, 185, 129, 0.10));
  color: #bbf7d0;
}

.aguila-input::placeholder {
  color: #94a3b8;
}

.closing-banner {
  padding: 2.5rem;
  background: linear-gradient(135deg, #08111f 0%, #0f172a 55%, #0f3d46 100%);
  border: 1px solid rgba(148, 163, 184, 0.10);
}

.aguila-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(135deg, #020617 0%, #08111f 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.footer-title {
  color: var(--aguila-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--aguila-white);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.scroll-offset-section {
  scroll-margin-top: calc(var(--aguila-navbar-height) + 24px);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.client-logo-card {
  min-height: 140px;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(8, 17, 31, 0.88));
  border: 1px solid var(--aguila-border);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.client-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.24);
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.34);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(8, 17, 31, 0.96));
}

.client-logo-image {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
  opacity: 0.96;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.client-logo-card:hover .client-logo-image {
  opacity: 1;
  transform: scale(1.02);
}

.whatsapp-contact-wrap {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 1050;
  animation: whatsappEntrance 0.7s ease-out 0.2s both;
}

.whatsapp-label {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.88);
  border: 1px solid rgba(77, 255, 149, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(12px);
  transition: opacity 0.22s ease, transform 0.22s ease, max-width 0.22s ease, padding 0.22s ease, margin 0.22s ease;
  opacity: 1;
  transform: translateX(0);
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
}

.whatsapp-contact-wrap.is-scrolling .whatsapp-label {
  opacity: 0;
  transform: translateX(12px);
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  margin-right: -0.35rem;
  border-color: transparent;
}

@keyframes whatsappEntrance {
  from {
    opacity: 0;
    transform: translateY(18px) translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

.whatsapp-float {
  position: relative;
  right: auto;
  bottom: auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #4dff95 0%, #25d366 45%, #128c4a 100%);
  color: #ffffff;
  box-shadow:
    0 0 0 6px rgba(37, 211, 102, 0.10),
    0 18px 40px rgba(37, 211, 102, 0.38),
    0 0 24px rgba(77, 255, 149, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  z-index: 1050;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 255, 149, 0.22) 0%, rgba(37, 211, 102, 0.08) 45%, transparent 70%);
  z-index: -1;
}

.whatsapp-float:hover {
  color: #ffffff;
  transform: translateY(-5px) scale(1.04);
  box-shadow:
    0 0 0 8px rgba(37, 211, 102, 0.12),
    0 24px 52px rgba(37, 211, 102, 0.46),
    0 0 30px rgba(77, 255, 149, 0.34);
  filter: brightness(1.06);
}

.whatsapp-icon {
  width: 31px;
  height: 31px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}

@media (max-width: 991.98px) {
  .aguila-page-shell {
    padding-top: calc(var(--aguila-navbar-height) + 1rem);
  }

  .hero-section {
    padding: 2.5rem 1.5rem;
  }

  .logistics-section,
  .closing-banner,
  .info-card,
  .insight-panel,
  .contact-card,
  .contact-form-card,
  .content-page-card {
    padding: 1.5rem;
  }

  .aguila-navbar .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(8, 17, 31, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.12);
  }
}

@media (max-width: 767.98px) {
  .hero-logo {
    max-height: 260px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .whatsapp-contact-wrap {
    right: 1rem;
    bottom: 1rem;
  }

  .whatsapp-label {
    display: none;
  }

  .whatsapp-float {
    width: 60px;
    height: 60px;
  }

  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}