/* ============================================
   Used Cisco Dealer – Modern Professional Styles
   Color palette: Navy #0A2540 | Teal #00B4D8 | Gray #64748B
   ============================================ */

:root {
  --navy: #0A2540;
  --navy-dark: #061628;
  --teal: #00B4D8;
  --teal-dark: #0077B6;
  --teal-light: #90E0EF;
  --gray: #64748B;
  --gray-light: #94A3B8;
  --bg: #F8FAFC;
  --bg-alt: #F1F5F9;
  --white: #FFFFFF;
  --text: #0F172A;
  --text-muted: #475569;
  --success: #10B981;
  --border: #E2E8F0;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal); }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
p { color: var(--text-muted); margin-bottom: 1rem; }
.lead { font-size: 1.125rem; color: var(--text-muted); }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.8); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo img, .logo svg { height: 42px; width: auto; }
.logo-text {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.2;
}
.logo-text span { display: block; font-size: 0.7rem; font-weight: 500; color: var(--gray); letter-spacing: 0.05em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.9rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-dark);
  background: rgba(0,180,216,0.08);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}
.phone-link {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  white-space: nowrap;
}
.phone-link:hover { color: var(--teal); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,180,216,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy);
}
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .phone-link { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 0.5rem;
  }
  .nav-links.open a { width: 100%; padding: 0.75rem 1rem; }
  .nav-cta { margin-left: 0; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, #0A2540 0%, #0F3A5F 50%, #0A4A6E 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0,180,216,0.15) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(0,119,182,0.1) 0%, transparent 40%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero .lead {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat { text-align: left; }
.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 2rem;
  width: 100%;
  max-width: 380px;
}
.hero-card h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.15rem; }
.hero-card ul { display: flex; flex-direction: column; gap: 0.75rem; }
.hero-card li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}
.hero-card li svg { flex-shrink: 0; color: var(--teal-light); }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero { padding: 4rem 0 3.5rem; }
}

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-item svg { color: var(--teal); }

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-light);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,180,216,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--teal-dark);
}
.feature-card h3 { margin-bottom: 0.75rem; }
.feature-card p { margin-bottom: 0; font-size: 0.95rem; }

/* ===== Categories ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}
.category-img {
  height: 140px;
  background: linear-gradient(135deg, #0A2540, #0F3A5F);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  font-size: 2.5rem;
}
.category-body { padding: 1.5rem; flex: 1; }
.category-body h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.category-body p { font-size: 0.9rem; margin-bottom: 0; }

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0F3A5F 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 2rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ===== About / Content pages ===== */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto; }

.content-block {
  max-width: 800px;
  margin: 0 auto;
}
.content-block h2 { margin: 2.5rem 0 1rem; }
.content-block h3 { margin: 2rem 0 0.75rem; }
.content-block ul, .content-block ol {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}
.content-block li { margin-bottom: 0.5rem; color: var(--text-muted); }
.content-block ol { list-style: decimal; }

/* ===== Two-column ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ===== Process steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 1rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; margin: 0; }

/* ===== Form ===== */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 1rem;
  text-align: center;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.9rem; margin-top: 1rem; color: rgba(255,255,255,0.6); }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-text span { color: rgba(255,255,255,0.5); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: var(--teal-light); }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.max-w-lg { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0,180,216,0.12);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Table for warranty etc */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.simple-table th,
.simple-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.simple-table th {
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}
.simple-table td { font-size: 0.95rem; color: var(--text-muted); }

/* Resource cards */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}
.resource-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--teal-light);
}
.resource-card .meta {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
}
.resource-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.resource-card p { font-size: 0.9rem; margin-bottom: 1rem; }

/* Contact info cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}
.contact-card svg {
  width: 36px;
  height: 36px;
  color: var(--teal);
  margin: 0 auto 1rem;
}
.contact-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.contact-card p, .contact-card a { font-size: 0.95rem; color: var(--text-muted); }
.contact-card a:hover { color: var(--teal); }

/* Accessibility focus */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Print */
@media print {
  .site-header, .site-footer, .menu-toggle, .btn { display: none; }
}
