/* Base Reset & Variables */
:root {
  --primary: #1a1a2e;
  --secondary: #c4a35a;
  --accent: #e8d5a3;
  --text: #2d2d2d;
  --text-light: #666;
  --bg: #fafafa;
  --bg-alt: #f0ede6;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

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

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

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

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

/* 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: sticky;
  top: 0;
  z-index: 1000;
}

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

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

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

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

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

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

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

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

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--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 Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
}

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

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-menu a {
  display: block;
  padding: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--bg-alt);
}

.mobile-menu a:hover {
  background: var(--bg-alt);
  color: var(--secondary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #16213e 100%);
  color: var(--white);
  padding: 4rem 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

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

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196, 163, 90, 0.2);
  border: 1px solid var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--accent);
}

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

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

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

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

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

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

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

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

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

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

.section-label {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  flex: 1 1 100%;
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

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

.card h3 {
  margin-bottom: 0.5rem;
}

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

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

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

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

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

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

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

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

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

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

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

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

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

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

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

.section-dark .stat-label {
  color: var(--accent);
}

/* Testimonials */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent);
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-content {
  padding-left: 2rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1rem;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
}

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

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

/* Quote Section */
.quote-section {
  background: var(--secondary);
  color: var(--primary);
  padding: 4rem 0;
  text-align: center;
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.quote-author {
  font-weight: 600;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

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

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

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

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

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

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

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

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

.value-card {
  flex: 1 1 100%;
  background: var(--white);
  border-left: 4px solid var(--secondary);
  padding: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

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

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

/* Trust Indicators */
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
}

.trust-item svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
}

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

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

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

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

.timeline-year {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

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

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

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

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

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

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

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

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

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

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.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(--bg-alt);
}

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

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

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

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

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

.footer-col a {
  color: rgba(255,255,255,0.7);
  display: block;
  padding: 0.3rem 0;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
}

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

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

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

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

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

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

.cookie-buttons .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.9rem;
}

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

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

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

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

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

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

.modal-body {
  padding: 1.5rem;
}

.cookie-option {
  margin-bottom: 1.5rem;
}

.cookie-option:last-child {
  margin-bottom: 0;
}

.cookie-option label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--secondary);
}

.cookie-option p {
  margin: 0.5rem 0 0 2rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--bg-alt);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

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

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

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

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

.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 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

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

.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.thank-you-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

/* Highlight Panel */
.highlight-panel {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}

.highlight-panel h3 {
  margin-bottom: 1rem;
}

/* Alternating Content */
.alt-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.alt-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.alt-visual {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.alt-visual svg {
  width: 100px;
  height: 100px;
  color: var(--secondary);
}

/* Industry Badges */
.industry-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.badge {
  background: var(--white);
  border: 1px solid var(--bg-alt);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text);
}

/* About Page Team */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.team-member {
  flex: 1 1 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

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

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

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

.team-member p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

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

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

  .team-member {
    flex: 1 1 calc(50% - 0.75rem);
  }

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

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

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

  .hero {
    padding: 6rem 0;
    min-height: 70vh;
  }

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

  .section {
    padding: 5rem 0;
  }

  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

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

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

  .alt-block:nth-child(even) {
    flex-direction: row-reverse;
  }

  .alt-visual,
  .alt-text {
    flex: 1;
  }

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

@media (min-width: 1024px) {
  .footer-col {
    flex: 1 1 calc(25% - 1.5rem);
  }

  .testimonial {
    flex: 1 1 calc(33.333% - 1rem);
  }

  .team-member {
    flex: 1 1 calc(25% - 1.125rem);
  }

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

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

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

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
