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

:root {
  --color-primary: #2c5f7c;
  --color-primary-dark: #1e4258;
  --color-secondary: #e8a44c;
  --color-accent: #5a9fb5;
  --color-light: #f7f9fa;
  --color-dark: #1a2d38;
  --color-text: #3d4f5f;
  --color-text-light: #6b7d8a;
  --color-white: #ffffff;
  --color-border: #d8e1e6;
  --color-success: #4a9d7c;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow-sm: 0 2px 8px rgba(44, 95, 124, 0.08);
  --shadow-md: 0 4px 20px rgba(44, 95, 124, 0.12);
  --shadow-lg: 0 8px 32px rgba(44, 95, 124, 0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
}

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

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

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

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

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

h1 { font-size: 2.2rem; margin-bottom: 1.2rem; }
h2 { font-size: 1.9rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; }

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

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

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

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

.nav-desktop {
  display: none;
}

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

.nav-desktop a {
  color: var(--color-text);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

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

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

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

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

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

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

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

/* Mobile Navigation */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 999;
  overflow-y: auto;
}

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

.nav-mobile ul {
  list-style: none;
  padding: 2rem;
}

.nav-mobile li {
  border-bottom: 1px solid var(--color-border);
}

.nav-mobile a {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  color: var(--color-text);
}

.nav-mobile a:hover {
  color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

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

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

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

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

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

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

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

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

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

.section-primary h2,
.section-primary h3 {
  color: var(--color-white);
}

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

.section-header p {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

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

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

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.4rem;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 2rem;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual svg {
  max-width: 320px;
  width: 100%;
}

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

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

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.2rem;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cards-grid .card {
  flex: 1 1 100%;
}

/* Service Cards */
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-secondary);
}

.service-card h3 {
  margin-bottom: 0.8rem;
}

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

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

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

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

.section-primary .stat-number {
  color: var(--color-secondary);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.section-primary .stat-label {
  color: rgba(255,255,255,0.85);
}

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

.testimonial {
  flex: 1 1 100%;
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--color-secondary);
  opacity: 0.3;
  line-height: 1;
}

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

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

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

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

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

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

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

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.2rem;
}

.faq-answer p {
  color: var(--color-text);
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

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

.step-content h3 {
  margin-bottom: 0.5rem;
}

/* Feature List */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

/* Alternating Content */
.content-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0;
}

.content-block-text {
  flex: 1;
}

.content-block-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-block-visual svg {
  max-width: 280px;
  width: 100%;
}

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

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

.highlight-panel .btn-secondary {
  margin-top: 1.5rem;
}

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

.contact-item {
  flex: 1 1 100%;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--color-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-details h3 {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.contact-details p {
  margin: 0;
  color: var(--color-text-light);
}

/* Industries */
.industries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.industry-tag {
  background: var(--color-light);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 500;
  color: var(--color-text);
}

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

.value-item {
  flex: 1 1 100%;
  text-align: center;
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.value-item svg {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
}

/* Milestones */
.milestones {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 30px;
}

.milestones::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-border);
}

.milestone {
  position: relative;
}

.milestone::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.milestone-year {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

/* Footer */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
}

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

.footer-col {
  flex: 1 1 100%;
}

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

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

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

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

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

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

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

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

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  flex: 1;
}

.cookie-text p {
  margin: 0;
  font-size: 0.95rem;
}

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

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

.cookie-btn {
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  font-weight: 600;
  transition: all var(--transition);
}

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

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

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

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

.cookie-btn-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
}

.cookie-btn-reject:hover {
  color: var(--color-white);
}

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

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

.cookie-modal-content {
  background: var(--color-white);
  border-radius: var(--radius-md);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-text-light);
  line-height: 1;
}

.cookie-modal-body {
  padding: 1.5rem;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

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

.cookie-option-info h4 {
  margin-bottom: 0.3rem;
}

.cookie-option-info p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 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(--color-border);
  border-radius: 26px;
  transition: var(--transition);
}

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

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

.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 {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

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

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

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

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

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

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

/* Thank You Page */
.thank-you {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.thank-you-content svg {
  width: 100px;
  height: 100px;
  margin-bottom: 2rem;
}

.thank-you-content h1 {
  margin-bottom: 1rem;
}

.thank-you-content p {
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

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

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

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

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.8rem 1.5rem;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

/* Responsive */
@media (min-width: 600px) {
  .cards-grid .card {
    flex: 1 1 calc(50% - 1rem);
  }

  .testimonials-grid .testimonial {
    flex: 1 1 calc(50% - 1rem);
  }

  .contact-item {
    flex: 1 1 calc(50% - 1rem);
  }

  .value-item {
    flex: 1 1 calc(50% - 1rem);
  }

  .footer-col {
    flex: 1 1 calc(50% - 1rem);
  }

  .cookie-content {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 768px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2.1rem; }

  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: block;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .content-block {
    flex-direction: row;
    align-items: center;
  }

  .content-block.reverse {
    flex-direction: row-reverse;
  }

  section {
    padding: 5rem 0;
  }
}

@media (min-width: 900px) {
  .cards-grid .card {
    flex: 1 1 calc(33.333% - 1rem);
  }

  .value-item {
    flex: 1 1 calc(25% - 1.5rem);
  }

  .footer-col {
    flex: 1 1 calc(25% - 1.5rem);
  }

  .stat-item {
    flex: 1 1 auto;
  }
}

@media (min-width: 1024px) {
  h1 { font-size: 3rem; }

  .hero-text h1 {
    font-size: 3.2rem;
  }
}
