:root {
  --primary: #1a3a5c;
  --secondary: #2d5a87;
  --accent: #d4a853;
  --light: #f8f9fa;
  --dark: #1c2833;
  --text: #333;
  --text-light: #6c757d;
  --white: #fff;
  --border: #dee2e6;
  --success: #28a745;
  --shadow: 0 4px 15px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: var(--primary);
  padding: 8px 0;
  font-size: 0.85rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ad-disclosure {
  color: var(--accent);
  font-weight: 500;
}

.header-contact {
  color: var(--white);
}

.header-main {
  padding: 15px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

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

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--dark);
  font-weight: 500;
  padding: 10px 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-color: var(--primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
  padding: 60px 0;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: #c49a42;
  color: var(--dark);
}

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

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

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

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

/* Sections */
.section {
  padding: 80px 0;
}

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

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

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

.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.8);
}

/* Features Grid */
.features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.feature-card {
  flex: 1;
  min-width: 280px;
  background: var(--white);
  padding: 35px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary);
}

/* Services */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.service-item {
  display: flex;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}

.service-item:hover {
  box-shadow: var(--shadow-lg);
}

.service-item:nth-child(even) {
  flex-direction: row-reverse;
}

.service-image {
  flex: 0 0 300px;
  min-height: 250px;
  background-color: var(--secondary);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  flex: 1;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-content h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin: 15px 0;
}

.service-features {
  list-style: none;
  margin: 15px 0;
}

.service-features li {
  padding: 5px 0;
  padding-left: 25px;
  position: relative;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* About Section */
.about-grid {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
  min-width: 300px;
  background-color: var(--secondary);
  border-radius: 10px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  display: block;
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
}

/* Stats */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.stat-label {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

/* Testimonials */
.testimonials-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  flex: 1;
  min-width: 300px;
  background: var(--white);
  padding: 35px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  color: var(--light);
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  position: relative;
  z-index: 1;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Form */
.form-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.form-wrapper {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.form-info {
  flex: 1;
  min-width: 300px;
  color: var(--white);
}

.form-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.form-info p {
  opacity: 0.9;
  margin-bottom: 30px;
}

.form-container {
  flex: 1;
  min-width: 350px;
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

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

.form-submit {
  width: 100%;
}

/* Contact Page */
.contact-grid {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 25px;
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-icon {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-map {
  flex: 1;
  min-width: 300px;
  min-height: 400px;
  background-color: var(--secondary);
  border-radius: 10px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h4 {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

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

.footer-col a {
  color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Disclaimer */
.disclaimer {
  background: var(--light);
  padding: 25px;
  border-radius: 8px;
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--text-light);
  border-left: 4px solid var(--accent);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text a {
  color: var(--accent);
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.cookie-accept:hover {
  background: #c49a42;
}

.cookie-reject {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
}

.cookie-reject:hover {
  background: rgba(255,255,255,0.1);
}

.cookie-banner.hidden {
  display: none;
}

/* Legal Pages */
.legal-content {
  padding: 60px 0;
}

.legal-content h1 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 30px;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 35px 0 15px;
}

.legal-content h3 {
  font-size: 1.2rem;
  color: var(--secondary);
  margin: 25px 0 12px;
}

.legal-content p {
  margin-bottom: 15px;
}

.legal-content ul {
  margin: 15px 0;
  padding-left: 25px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Thanks Page */
.thanks-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.thanks-content {
  max-width: 600px;
}

.thanks-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 30px;
}

.thanks-content h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.thanks-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

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

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.page-hero p {
  opacity: 0.9;
  font-size: 1.1rem;
}

/* References */
.references {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.references h4 {
  color: var(--primary);
  margin-bottom: 15px;
}

.references ol {
  padding-left: 25px;
}

.references li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.citation {
  color: var(--secondary);
  font-weight: 500;
  cursor: pointer;
}

/* CTA Section */
.cta-section {
  background: var(--accent);
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 15px;
}

.cta-section p {
  color: var(--dark);
  opacity: 0.9;
  margin-bottom: 25px;
}

.cta-section .btn {
  background: var(--dark);
  color: var(--white);
}

.cta-section .btn:hover {
  background: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    padding-top: 20px;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-top: 1px solid var(--border);
  }

  .main-nav a {
    display: block;
    padding: 15px 0;
  }

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

  .service-item,
  .service-item:nth-child(even) {
    flex-direction: column;
  }

  .service-image {
    flex: 0 0 200px;
    width: 100%;
  }

  .about-grid {
    flex-direction: column;
  }

  .form-wrapper {
    flex-direction: column;
  }

  .stats-row {
    gap: 30px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .footer-grid {
    flex-direction: column;
  }

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