:root {
  --primary: #1a3a5c;
  --primary-dark: #0f2540;
  --secondary: #c9a227;
  --accent: #e85a1e;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

.btn-primary:hover {
  background-color: #d14a10;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--white);
}

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

.btn-secondary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  color: var(--white);
}

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

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

.btn-lg {
  padding: 18px 40px;
  font-size: 1.125rem;
}

.btn-phone {
  background-color: var(--accent);
  color: var(--white);
  font-size: 1.25rem;
  padding: 16px 36px;
  animation: pulse 2s infinite;
}

.btn-phone:hover {
  background-color: #d14a10;
  color: var(--white);
  animation: none;
  transform: scale(1.05);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 90, 30, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(232, 90, 30, 0); }
}

header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  padding: 15px 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--dark);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  min-width: 220px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--dark);
}

.dropdown-menu a:hover {
  background-color: var(--light);
  color: var(--accent);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  transition: var(--transition);
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
  background-size: 100px;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.section-header p {
  color: var(--gray);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 20px auto 0;
}

.about-section {
  background-color: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h3 {
  color: var(--accent);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.about-feature-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--white);
  font-size: 2rem;
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 20px;
}

.process-section {
  background-color: var(--primary);
  color: var(--white);
}

.process-section .section-header h2,
.process-section .section-header p {
  color: var(--white);
}

.process-section .section-header h2::after {
  background-color: var(--secondary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -15px;
  width: 30px;
  height: 2px;
  background-color: var(--secondary);
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  width: 80px;
  height: 80px;
  background-color: var(--secondary);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.process-step h4 {
  color: var(--white);
  margin-bottom: 10px;
}

.process-step p {
  opacity: 0.85;
  font-size: 0.95rem;
}

.reviews-section {
  background-color: var(--light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.review-card {
  background: var(--white);
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-stars {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.review-text {
  font-style: italic;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 1.25rem;
}

.review-name {
  font-weight: 600;
  color: var(--dark);
}

.review-location {
  font-size: 0.9rem;
  color: var(--gray);
}

.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #c44a15 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-phone {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 20px;
}

.cta-phone:hover {
  color: var(--secondary);
}

footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about .logo {
  color: var(--white);
  margin-bottom: 15px;
  display: inline-block;
}

.footer-about p {
  opacity: 0.8;
  font-size: 0.95rem;
}

footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.125rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

.floating-cta {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
}

.floating-cta a {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent);
  color: var(--white);
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.125rem;
  box-shadow: var(--shadow-lg);
  animation: pulse 2s infinite;
}

.floating-cta a:hover {
  background-color: #d14a10;
  color: var(--white);
  animation: none;
  transform: scale(1.05);
}

.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.8);
}

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

.breadcrumb span {
  opacity: 0.6;
}

.service-detail {
  padding: 80px 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.service-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.service-content ul {
  margin-left: 25px;
  margin-bottom: 25px;
}

.service-content li {
  margin-bottom: 10px;
  color: var(--gray);
}

.service-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 35px;
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 30px;
}

.sidebar-cta h3 {
  color: var(--white);
  margin-bottom: 15px;
}

.sidebar-cta p {
  opacity: 0.9;
  margin-bottom: 20px;
}

.sidebar-cta .phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  display: block;
  margin-bottom: 20px;
}

.service-list-widget {
  background: var(--light);
  padding: 30px;
  border-radius: var(--radius);
}

.service-list-widget h4 {
  margin-bottom: 20px;
}

.service-list-widget ul {
  list-style: none;
}

.service-list-widget li {
  margin-bottom: 12px;
}

.service-list-widget a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  padding: 10px 15px;
  background: var(--white);
  border-radius: var(--radius);
  transition: var(--transition);
}

.service-list-widget a:hover,
.service-list-widget a.active {
  background: var(--accent);
  color: var(--white);
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .about-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .service-area-section > .container > div:last-child {
    grid-template-columns: 1fr !important;
  }

  section {
    padding: 60px 0;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-cta {
    flex-direction: column;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    bottom: 15px;
    right: 15px;
    left: 15px;
  }

  .floating-cta a {
    width: 100%;
    justify-content: center;
  }

  .cta-phone {
    font-size: 1.75rem;
  }

  .service-sidebar {
    position: static;
  }
}
