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

:root {
  --color-primary: #1a1a2e;
  --color-secondary: #c9a959;
  --color-accent: #16213e;
  --color-light: #f8f6f3;
  --color-text: #2d2d2d;
  --color-text-light: #5a5a5a;
  --color-white: #ffffff;
  --color-border: #e0dcd4;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-medium: 0 8px 30px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

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

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

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

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

p { margin-bottom: 1rem; }

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

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

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

/* Header */
.header {
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-primary);
  text-decoration: none;
}

.logo-icon {
  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-size: 0.95rem;
  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: var(--transition);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

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

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

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

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

/* Mobile Navigation */
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

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

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

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

.nav-mobile li:last-child {
  border-bottom: none;
}

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

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

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

.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
}

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

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

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

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

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

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

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

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

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

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

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

.card {
  flex: 1 1 100%;
  background: var(--color-white);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

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

.card-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

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

/* Service Cards */
.service-card {
  flex: 1 1 100%;
  background: var(--color-white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

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

.service-card-header h3 {
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.service-card-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-body p {
  margin-bottom: 1rem;
}

/* Feature Blocks */
.feature-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-content {
  flex: 1;
}

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

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

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

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

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

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

/* Testimonials */
.testimonials-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

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

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar svg {
  width: 30px;
  height: 30px;
}

.testimonial-info strong {
  display: block;
  color: var(--color-primary);
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* FAQ */
.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.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
}

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

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

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

.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
  color: var(--color-text-light);
}

.faq-item.active .faq-answer {
  display: block;
}

/* 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-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
}

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

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

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

.value-item {
  flex: 1 1 100%;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--color-light);
  border-radius: 6px;
}

.value-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
}

.value-content h4 {
  margin-bottom: 0.5rem;
}

.value-content p {
  color: var(--color-text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

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

.contact-main {
  flex: 1 1 100%;
}

.contact-sidebar {
  flex: 1 1 100%;
}

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

.contact-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: var(--color-secondary);
}

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

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

/* Info Box */
.info-box {
  background: var(--color-light);
  padding: 2rem;
  border-radius: 6px;
  border-left: 4px solid var(--color-secondary);
}

.info-box h3 {
  margin-bottom: 1rem;
}

/* Quote Block */
.quote-block {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 3rem 2rem;
  border-radius: 6px;
  text-align: center;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.quote-author {
  color: var(--color-secondary);
}

/* List Styles */
.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 600;
}

/* Comparison Table */
.comparison-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

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

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

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

/* Highlighted Panel */
.highlight-panel {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #d4b86a 100%);
  color: var(--color-primary);
  padding: 3rem 2rem;
  border-radius: 6px;
  text-align: center;
}

.highlight-panel h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* 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;
  border-radius: 50%;
  background: var(--color-light);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--color-secondary);
}

.team-avatar svg {
  width: 60px;
  height: 60px;
}

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

.team-role {
  color: var(--color-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.team-member p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

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

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-secondary);
  transform: translateX(-5px);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.timeline-item h4 {
  margin-bottom: 0.5rem;
}

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

/* Footer */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
  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-secondary);
  margin-bottom: 1rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
}

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

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

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

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

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

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

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

.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-bottom: 0;
  font-size: 0.9rem;
}

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

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

.cookie-buttons .btn {
  padding: 0.7rem 1.25rem;
  font-size: 0.85rem;
}

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

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

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

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

.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;
}

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

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

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

.cookie-option-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.cookie-option-info p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}

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

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

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

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

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

.toggle-switch input:disabled + .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;
}

/* Thank You Page */
.thank-you-content {
  text-align: center;
  padding: 4rem 0;
}

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

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2.5rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

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

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

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

.industry-tag {
  background: var(--color-light);
  padding: 0.75rem 1.25rem;
  border-radius: 30px;
  font-size: 0.9rem;
  border: 1px solid var(--color-border);
}

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

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

.cta-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

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

.icon-item {
  flex: 1 1 140px;
  text-align: center;
}

.icon-item svg {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.icon-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

  .service-card {
    flex: 1 1 calc(50% - 1.5rem);
  }

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

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

  .hero {
    padding: 6rem 0;
  }

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

  .hero-icon {
    width: 100px;
    height: 100px;
  }

  .section {
    padding: 5rem 0;
  }

  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: block;
  }

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

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

  .testimonials-wrapper {
    flex-direction: row;
  }

  .testimonial {
    flex: 1;
  }

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

  .cookie-buttons {
    flex-wrap: nowrap;
  }

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

  .contact-main {
    flex: 2 1 400px;
  }

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

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

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

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

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

*:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1rem 2rem;
  z-index: 9999;
  border-radius: 0 0 6px 6px;
}

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