/* ===== ONYX SOLUTIONS – MAIN STYLESHEET ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --green: #16a34a;
  --green-light: #22c55e;
  --red: #dc2626;
  --text: #111827;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --bg-light: #f8fafc;
  --bg-gray: #f3f4f6;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.125rem; }
p { line-height: 1.7; }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

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

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section-sm { padding: 32px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header p { font-size: 1rem; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(29,78,216,0.3); }

.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--primary-50); }

.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #15803d; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(22,163,74,0.3); }

.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-lg { padding: 16px 36px; font-size: 1.125rem; border-radius: var(--radius-sm); }

@media (max-width: 768px) {
  .btn {
    min-height: 48px;
    padding: 12px 20px;
  }
}

/* === HEADER / NAV === */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: none;
  width: auto;
  height: auto;
  overflow: visible;
  border-radius: 0;
}

.logo-icon img {
  height: 64px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.logo-text {
  min-width: 0;
}

.logo-text .name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 2px;
}

.logo-text .tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  box-shadow: var(--shadow);
}

.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
  margin-bottom: 4px;
}

.nav-mobile a:hover {
  background: var(--primary-50);
  color: var(--primary);
}

.nav-mobile a.active {
  background: var(--primary-50);
  color: var(--primary);
}

.nav-mobile-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.nav-mobile-actions a {
  flex: 1;
  justify-content: center;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 72px;
    padding: 8px 0;
  }

  .nav-desktop,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .logo {
    gap: 10px;
  }

  .logo-icon img {
    height: 48px;
    max-width: 110px;
  }

  .logo-text .name {
    font-size: 1rem;
  }

  .logo-text .tagline {
    font-size: 0.64rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 64px;
  }

  .logo-icon img {
    height: 42px;
    max-width: 90px;
  }

  .logo-text .name {
    font-size: 0.96rem;
  }

  .logo-text .tagline {
    display: none;
  }

  .nav-mobile {
    padding: 14px 16px;
  }

  .nav-mobile-actions {
    flex-direction: column;
  }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--primary-dark);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; }

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,58,138,0.92) 0%, rgba(29,78,216,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  max-width: 760px;
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
}

.hero-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 56px 0;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-sub {
    font-size: 1rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 24px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }
}

/* === CARDS === */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-100);
  transform: translateY(-2px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon-blue { background: var(--primary-50); color: var(--primary); }
.card-icon-red { background: #fef2f2; color: var(--red); }
.card-icon-green { background: #f0fdf4; color: var(--green); }

.card h3 { margin-bottom: 10px; font-size: 1.125rem; }

.card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.feature-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-item svg {
  flex-shrink: 0;
  color: var(--green);
  margin-top: 2px;
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .card {
    padding: 24px;
  }
}

/* === HIGHLIGHT STRIP === */
.bg-primary { background: var(--primary); }
.bg-primary-dark { background: var(--primary-dark); }
.bg-light { background: var(--bg-light); }
.bg-gray { background: var(--bg-gray); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }

/* === PAGE HERO (sub pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 64px 0 48px;
  color: var(--white);
}

.page-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 24px;
  transition: color var(--transition);
}

.page-hero .back-link:hover { color: var(--white); }

.page-hero h1 { margin-bottom: 12px; }

.page-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 48px 0 40px;
    text-align: center;
  }

  .page-hero .back-link {
    margin-bottom: 18px;
  }

  .page-hero p {
    font-size: 1rem;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* === PRODUCT CARDS === */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
  transform: translateY(-3px);
}

.product-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.3s;
}

.product-card:hover .product-card-img img {
  transform: scale(1.04);
}

.product-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  margin-bottom: 8px;
  font-size: 1.0625rem;
}

.product-card-body p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 16px;
  flex: 1;
}

.product-tag {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-right: 6px;
  margin-bottom: 6px;
}

.product-tags { margin-bottom: 16px; }

@media (max-width: 768px) {
  .product-card-img {
    height: 180px;
  }

  .product-card-body {
    padding: 20px;
  }
}

/* === BADGE CHIPS === */
.chip {
  display: inline-block;
  background: var(--primary-100);
  color: var(--primary-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
}

.chip-green { background: #dcfce7; color: #15803d; }

/* === INFO BOX === */
.info-box {
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius);
  padding: 28px;
}

.info-box h4 {
  color: var(--primary-dark);
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .info-box {
    padding: 22px;
  }
}

/* === SPEC TABLE === */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.spec-table th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.spec-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
}

.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: var(--bg-light); }

.table-wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* === CONTACT STRIP === */
.contact-strip {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 72px 0;
  color: var(--white);
  text-align: center;
}

.contact-strip h2 { margin-bottom: 12px; }

.contact-strip p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 36px;
}

.contact-strip .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 24px;
}

.hours-note {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.hours-note strong {
  color: rgba(255,255,255,0.95);
}

@media (max-width: 768px) {
  .contact-strip {
    padding: 48px 0;
  }

  .contact-strip p {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .contact-strip .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-strip .actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* === FOOTER === */
#site-footer {
  background: #0f172a;
  color: rgba(255,255,255,0.85);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-brand .logo-text .name { color: var(--white); }
.footer-brand .logo-text .tagline { color: rgba(255,255,255,0.5); }

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  margin: 16px 0 20px;
  line-height: 1.7;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
}

.footer-contact a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact a:hover { color: var(--white); }

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* === FLOATING BUTTONS === */
.float-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  background: #25d366;
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
}

.float-whatsapp:hover {
  background: #1ebe5a;
  transform: scale(1.1);
}

.float-call {
  display: none;
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 200;
  background: var(--primary);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: 0 4px 20px rgba(29,78,216,0.35);
  transition: all var(--transition);
  align-items: center;
  gap: 8px;
}

.float-call:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .float-call { display: flex; }
  .float-whatsapp { bottom: 96px; }
}

@media (max-width: 768px) {
  .float-whatsapp {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }

  .float-call {
    bottom: 20px;
    left: 20px;
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* === PROCESS STEPS === */
.process-flow {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.process-step {
  text-align: center;
  padding: 20px;
  flex: 1;
  min-width: 120px;
}

.process-step .step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.process-step .step-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.process-step h4 {
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.process-arrow {
  font-size: 1.5rem;
  color: var(--border);
  padding: 0 4px;
}

@media (max-width: 640px) {
  .process-arrow { display: none; }
  .process-step { min-width: 45%; }
}

/* === ALERT BANNER === */
.hours-banner {
  background: var(--primary-50);
  border-bottom: 1px solid var(--primary-100);
  padding: 10px 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--primary-dark);
  font-weight: 500;
  display: none !important;
}

/* === UTILITY === */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.gap-2 { gap: 8px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.font-bold { font-weight: 700; }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* Page fade in */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.5s ease forwards; }

/* === ORG BRAND STRIP === */
.brand-strip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.brand-strip-logo-wrap {
  width: 138px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-strip-logo {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  display: block;
}

.brand-strip-copy {
  text-align: left;
  max-width: 760px;
}

.brand-strip-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
}

.brand-strip-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .brand-strip-row {
    flex-direction: column;
    gap: 14px;
  }

  .brand-strip-copy {
    text-align: center;
  }
}