@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #2A5C82;
  --primary-dark: #1a4261;
  --secondary: #5A9B8C;
  --accent: #F5B041;
  --accent-hover: #e09b29;
  --alert: #C44536;
  --bg-primary: #E8F1F2;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --text-primary: #1a4261;
  --text-secondary: #4a5568;
  --border-color: #a0aec0;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --content-max-width: 1200px;
  --shadow-light: 0 2px 12px rgba(42, 92, 130, 0.1);
  --shadow-medium: 0 8px 32px rgba(42, 92, 130, 0.15);
  --transition: all 0.3s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

.zm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(232, 241, 242, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 92, 130, 0.1);
  transition: var(--transition);
  padding: 0.5rem 0;
}

.zm-header.scrolled {
  background: rgba(232, 241, 242, 1);
  box-shadow: var(--shadow-light);
}

.zm-nav {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.zm-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.zm-logo:hover {
  color: var(--primary-dark);
  transform: scale(1.02);
}

.zm-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.zm-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.95rem;
}

.zm-menu a:hover {
  color: var(--primary);
}

.zm-cta-phone {
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  font-size: 0.9rem;
}

.zm-cta-phone:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

.zm-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.zm-hamburger span {
  width: 24px;
  height: 3px;
  background: var(--primary);
  margin: 2px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.zm-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.zm-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.zm-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.zm-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-medium);
}

.zm-mobile-menu.active {
  display: block;
}

.zm-mobile-menu ul {
  list-style: none;
  padding: 1rem;
}

.zm-mobile-menu li {
  margin: 0.5rem 0;
}

.zm-mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 0.5rem;
  border-radius: 6px;
  transition: var(--transition);
}

.zm-mobile-menu a:hover {
  background: var(--bg-primary);
  color: var(--primary);
}

main {
  padding-top: 90px;
}

.rp-hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)), url('../images/hero1-modern-office-technology_orig.jpg') center/cover;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rp-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  z-index: 2;
}

.rp-hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 1s ease;
}

.rp-hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  font-weight: 400;
  animation: fadeInUp 1s ease 0.2s both;
}

.rp-hero-cta {
  background: var(--accent);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
  display: inline-block;
  animation: fadeInUp 1s ease 0.4s both;
}

.rp-hero-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(249, 176, 65, 0.3);
}

.bq-section {
  padding: 5rem 2rem;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.bq-section.alt {
  background: var(--bg-secondary);
}

.bq-section h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.3;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.mv-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  border: 1px solid rgba(90, 155, 140, 0.1);
}

.mv-card:hover {
  transform: perspective(1000px) rotateY(2deg) translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.mv-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
}

.mv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.mv-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.kf-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin: 4rem 0;
  text-align: center;
}

.kf-stat {
  padding: 2rem;
}

.kf-stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.kf-stat-label {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1.1rem;
}

.tn-testimonial {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-light);
  margin: 2rem 0;
  border-left: 4px solid var(--secondary);
}

.tn-testimonial blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.tn-testimonial cite {
  font-weight: 600;
  color: var(--primary);
  font-style: normal;
}

.zp-cta-section {
  background: linear-gradient(rgba(42, 92, 130, 0.9), rgba(42, 92, 130, 0.8)), url('../images/banner4-modern-office-technology_orig.jpg') center/cover;
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  margin-top: 4rem;
}

.zp-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.zp-cta-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.zp-cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.zp-cta-button {
  background: var(--accent);
  color: white;
  padding: 1.2rem 3rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
  display: inline-block;
}

.zp-cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(249, 176, 65, 0.4);
}

.lw-footer {
  background: var(--primary);
  color: white;
  padding: 4rem 2rem 2rem;
}

.lw-footer-content {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.lw-footer h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
}

.lw-footer p, .lw-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  line-height: 1.8;
  transition: var(--transition);
}

.lw-footer a:hover {
  color: var(--accent);
}

.lw-footer ul {
  list-style: none;
}

.lw-footer li {
  margin: 0.5rem 0;
}

.lw-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.qx-form {
  max-width: 600px;
  margin: 2rem auto;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-light);
}

.qx-form-group {
  margin-bottom: 2rem;
}

.qx-form label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.qx-form input,
.qx-form select,
.qx-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
  background: white;
}

.qx-form input:focus,
.qx-form select:focus,
.qx-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42, 92, 130, 0.1);
}

.qx-form textarea {
  resize: vertical;
  min-height: 120px;
}

.qx-form button {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.qx-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.yb-map-container {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  margin: 3rem 0;
  text-align: center;
}

.yb-map {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.yb-county {
  cursor: pointer;
  transition: var(--transition);
  fill: var(--secondary);
  stroke: white;
  stroke-width: 2;
}

.yb-county:hover {
  fill: var(--primary);
  transform: scale(1.02);
}

.hx-glossary-term {
  border-bottom: 1px dotted var(--secondary);
  cursor: help;
  position: relative;
}

.hx-glossary-popup {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  box-shadow: var(--shadow-medium);
}

.hx-glossary-term:hover .hx-glossary-popup {
  opacity: 1;
  visibility: visible;
}

.dx-checklist {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  margin: 2rem 0;
}

.dx-checklist h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.dx-checklist-item {
  display: flex;
  align-items: flex-start;
  margin: 1rem 0;
  padding: 0.8rem;
  background: var(--bg-primary);
  border-radius: 8px;
}

.dx-checklist-item input[type="checkbox"] {
  margin-right: 1rem;
  margin-top: 0.2rem;
  transform: scale(1.2);
  accent-color: var(--primary);
}

.dx-checklist-item label {
  flex: 1;
  font-weight: 400;
  color: var(--text-primary);
}

.sj-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: white;
  padding: 1.5rem 2rem;
  z-index: 9998;
  transform: translateY(100%);
  transition: var(--transition);
}

.sj-cookie-banner.show {
  transform: translateY(0);
}

.sj-cookie-content {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.sj-cookie-text {
  flex: 1;
  font-size: 0.95rem;
}

.sj-cookie-buttons {
  display: flex;
  gap: 1rem;
}

.sj-cookie-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.sj-cookie-accept {
  background: var(--accent);
  color: white;
}

.sj-cookie-accept:hover {
  background: var(--accent-hover);
}

.sj-cookie-decline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.sj-cookie-decline:hover {
  background: white;
  color: var(--primary);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .zm-menu {
    display: none;
  }
  
  .zm-hamburger {
    display: flex;
  }
  
  .zm-cta-phone {
    display: none;
  }
  
  .rp-hero h1 {
    font-size: 2.2rem;
  }
  
  .rp-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .bq-section h2 {
    font-size: 2.2rem;
  }
  
  .mv-grid {
    grid-template-columns: 1fr;
  }
  
  .kf-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lw-footer-content {
    grid-template-columns: 1fr;
  }
  
  .sj-cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .sj-cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  main {
    padding-top: 80px;
  }
  
  .bq-section {
    padding: 3rem 1rem;
  }
}

@media (max-width: 480px) {
  .zm-nav {
    padding: 0 1rem;
  }
  
  .rp-hero-content {
    padding: 3rem 1rem;
  }
  
  .rp-hero h1 {
    font-size: 1.8rem;
  }
  
  .kf-stats {
    grid-template-columns: 1fr;
  }
  
  .mv-card {
    padding: 1.5rem;
  }
  
  .qx-form {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
}