/* Base Reset & Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a3a5c;
  --primary-light: #2d5a8a;
  --secondary: #e84545;
  --accent: #f39c12;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--primary);
}

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

p { margin-bottom: 1rem; color: var(--gray); }

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
}

.logo svg {
  width: 42px;
  height: 42px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
  }

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

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

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

/* Main Content */
main {
  padding-top: 70px;
}

/* Sections */
section {
  padding: 5rem 0;
}

section:nth-child(even) {
  background: var(--light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header p {
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  padding: 8rem 0 6rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

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

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

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

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

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

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

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

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

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

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

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

/* Service Cards */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.service-card {
  flex: 1 1 calc(33.333% - 1.5rem);
  min-width: 280px;
}

.service-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 1rem;
}

.service-card .price span {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 400;
}

/* Feature Blocks */
.features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.features-row.reverse {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1 1 500px;
}

.feature-visual {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-visual svg {
  max-width: 100%;
  height: auto;
}

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature-list li svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: var(--secondary);
}

/* Statistics Section */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.stat-item {
  flex: 1 1 200px;
  text-align: center;
  padding: 2rem;
}

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

.stat-label {
  color: var(--gray);
  font-size: 1rem;
}

.stat-bar {
  height: 4px;
  background: var(--gray-light);
  border-radius: 2px;
  margin-top: 1rem;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: var(--secondary);
  border-radius: 2px;
}

/* Testimonials */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.testimonial-card {
  flex: 1 1 350px;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

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

.testimonial-content {
  position: relative;
  z-index: 1;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

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

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

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 0.5rem;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question svg {
  width: 24px;
  height: 24px;
  fill: var(--gray);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  fill: var(--secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 0 1.5rem;
  color: var(--gray);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  flex: 1 1 250px;
  position: relative;
  padding-left: 4rem;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

/* Industries Grid */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.industry-item {
  flex: 1 1 180px;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.industry-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.industry-item svg {
  width: 48px;
  height: 48px;
  fill: var(--primary);
  margin-bottom: 1rem;
}

.industry-item span {
  font-weight: 600;
  color: var(--dark);
}

/* Values Grid */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.value-card {
  flex: 1 1 280px;
  text-align: center;
  padding: 2rem;
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--white);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background: var(--secondary);
  border-radius: 50%;
  border: 3px solid var(--white);
  transform: translateX(-6.5px);
}

.timeline-year {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-info {
  flex: 1 1 400px;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  fill: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-item h4 {
  margin-bottom: 0.25rem;
}

.contact-item p {
  margin-bottom: 0;
}

.contact-map {
  flex: 1 1 500px;
  background: var(--gray-light);
  border-radius: var(--radius);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  text-align: center;
  color: var(--white);
}

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

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

.footer-col li {
  margin-bottom: 0.75rem;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Legal Pages */
.legal-content {
  padding: 6rem 0;
}

.legal-content h1 {
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--dark);
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Thank You Page */
.thank-you-section {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content svg {
  width: 100px;
  height: 100px;
  fill: var(--secondary);
  margin-bottom: 2rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

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

.cookie-content p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  flex: 1 1 400px;
}

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

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.cookie-btn-accept:hover {
  background: #d43d3d;
}

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

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

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cookie-modal-header h3 {
  margin-bottom: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.cookie-modal-close svg {
  width: 24px;
  height: 24px;
  fill: var(--gray);
}

.cookie-option {
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-option-header h4 {
  margin-bottom: 0;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gray-light);
  border-radius: 26px;
  transition: var(--transition);
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--secondary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-footer {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}

.comparison-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: var(--light);
}

/* Highlighted Panel */
.highlight-panel {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  padding: 3rem;
  color: var(--white);
}

.highlight-panel h3 {
  color: var(--white);
}

.highlight-panel p {
  color: rgba(255, 255, 255, 0.9);
}

/* Quote Block */
.quote-block {
  background: var(--light);
  border-left: 4px solid var(--secondary);
  padding: 2rem;
  margin: 2rem 0;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--dark);
}

.quote-author {
  font-size: 1rem;
  font-style: normal;
  color: var(--gray);
  margin-top: 1rem;
}

/* Icon List */
.icon-list {
  list-style: none;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.icon-list li svg {
  width: 24px;
  height: 24px;
  fill: var(--secondary);
  flex-shrink: 0;
}

/* Benefits Grid */
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.benefit-item {
  flex: 1 1 280px;
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.benefit-content h4 {
  margin-bottom: 0.25rem;
}

.benefit-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Team Grid */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.team-member {
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar svg {
  width: 60px;
  height: 60px;
  fill: var(--white);
}

.team-member h4 {
  margin-bottom: 0.25rem;
}

.team-member .role {
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* Knowledge Section */
.knowledge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.knowledge-card {
  flex: 1 1 350px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.knowledge-header {
  background: var(--primary);
  padding: 1.5rem;
  color: var(--white);
}

.knowledge-header h4 {
  color: var(--white);
  margin-bottom: 0;
}

.knowledge-body {
  padding: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }

  .hero { padding: 6rem 0 4rem; }
  .hero h1 { font-size: 2.5rem; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }

  section { padding: 3rem 0; }

  .hero { padding: 5rem 0 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.1rem; }

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

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }
}
