/* Base Reset & Variables */
:root {
  --color-primary: #1a5f7a;
  --color-secondary: #57837b;
  --color-accent: #c38e70;
  --color-dark: #0e2f44;
  --color-light: #f8f9fa;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #ffffff;
  --color-border: #e0e0e0;
  --color-success: #2d8a6e;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

ul {
  list-style: none;
}

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

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

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

p { margin-bottom: 1rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

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

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

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

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

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

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

/* Header & Navigation */
.header {
  background-color: 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: 15px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

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

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 30px;
}

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

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

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

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

.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  padding: 20px;
}

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

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nav-mobile a {
  display: block;
  padding: 10px 15px;
  color: var(--color-text);
  font-weight: 500;
  border-radius: 6px;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding: 60px 20px;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.hero h1 {
  color: var(--color-white);
  font-size: 2rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 600px;
}

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

/* Section Styles */
.section {
  padding: 60px 20px;
}

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

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

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

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

.section-header p {
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Cards */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex: 1 1 280px;
  max-width: 380px;
}

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

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

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

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Service Cards */
.service-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-accent);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-card h3 {
  color: var(--color-primary);
}

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

/* Feature Blocks */
.feature-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item.reverse {
  flex-direction: column;
}

.feature-content {
  flex: 1;
}

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

.feature-visual svg {
  max-width: 300px;
  width: 100%;
}

/* Statistics */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  text-align: center;
}

.stat-item {
  flex: 1 1 150px;
  max-width: 200px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 5px;
}

.section-dark .stat-number {
  color: var(--color-white);
}

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

.section-dark .stat-label {
  color: rgba(255,255,255,0.8);
}

/* Testimonials */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  flex: 1 1 300px;
  max-width: 400px;
  position: relative;
}

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

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 30px;
}

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

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

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

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 40px 20px 0;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-dark);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: '−';
}

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

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

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

.faq-answer p {
  padding: 0 0 20px 0;
  color: var(--color-text-light);
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

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

.step-content h4 {
  margin-bottom: 8px;
}

.step-content p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Values Grid */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.value-item {
  flex: 1 1 250px;
  max-width: 350px;
  text-align: center;
  padding: 30px;
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: var(--color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 35px;
  height: 35px;
}

/* Timeline/Milestones */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-border);
}

.timeline-item {
  padding-left: 60px;
  padding-bottom: 40px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 5px;
  width: 18px;
  height: 18px;
  background-color: var(--color-accent);
  border-radius: 50%;
  border: 3px solid var(--color-white);
}

.timeline-year {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

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

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

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

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

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

.contact-details h4 {
  margin-bottom: 4px;
}

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

/* Map Placeholder */
.map-placeholder {
  background-color: var(--color-light);
  border-radius: 12px;
  padding: 60px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.map-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.5;
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 50px 20px 30px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

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

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

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

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

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

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

.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.cookie-text p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 0;
}

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

.cookie-btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

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

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

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

.cookie-btn-settings {
  background-color: transparent;
  color: var(--color-accent);
  text-decoration: underline;
}

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

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

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

.cookie-modal-header {
  padding: 25px 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.cookie-modal-close:hover {
  color: var(--color-dark);
}

.cookie-modal-body {
  padding: 25px;
}

.cookie-option {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

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

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

.cookie-option 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-color: var(--color-border);
  border-radius: 26px;
  transition: var(--transition);
}

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

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

.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-option p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.cookie-modal-footer {
  padding: 0 25px 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.thank-you-content {
  max-width: 600px;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
}

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

/* Legal Pages */
.legal-page {
  padding: 60px 20px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-border);
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.legal-content h3 {
  margin-top: 25px;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-light);
}

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

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

.legal-update {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 30px;
}

/* Highlight Panel */
.highlight-panel {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

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

/* Quote Section */
.quote-section {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--color-light);
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-dark);
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.quote-author {
  color: var(--color-accent);
  font-weight: 600;
}

/* Comparison Section */
.comparison-table {
  width: 100%;
  overflow-x: auto;
}

.comparison-row {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  padding: 15px 0;
}

.comparison-row.header {
  font-weight: 600;
  background-color: var(--color-light);
  border-radius: 8px 8px 0 0;
  padding: 15px;
}

.comparison-cell {
  flex: 1;
  padding: 0 10px;
  min-width: 120px;
}

.comparison-cell:first-child {
  flex: 2;
}

.check-icon {
  color: var(--color-success);
  font-weight: bold;
}

/* Industries Grid */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.industry-item {
  background-color: var(--color-white);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  flex: 1 1 180px;
  max-width: 220px;
  box-shadow: var(--shadow-sm);
}

.industry-item svg {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

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

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

/* Media Queries */
@media (min-width: 768px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.6rem; }

  .hero {
    padding: 100px 20px;
    min-height: 500px;
  }

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

  .hero p {
    font-size: 1.2rem;
  }

  .section {
    padding: 80px 20px;
  }

  .nav-desktop {
    display: block;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .feature-item {
    flex-direction: row;
    align-items: center;
  }

  .feature-item.reverse {
    flex-direction: row-reverse;
  }

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

  .cookie-text {
    flex: 1;
  }

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

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

  .card {
    flex: 1 1 320px;
  }
}
