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

:root {
  --color-primary: #2c4a3e;
  --color-secondary: #8b6914;
  --color-accent: #c9a227;
  --color-light: #f8f6f0;
  --color-dark: #1a1a1a;
  --color-muted: #6b7280;
  --color-border: #e5e2d9;
  --color-card: #ffffff;
  --color-bg-alt: #f0ede4;
  --font-main: 'Georgia', 'Times New Roman', serif;
  --font-heading: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
}

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

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

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

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

/* Header */
.header {
  background: var(--color-card);
  box-shadow: var(--shadow);
  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: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  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-dark);
  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-accent);
  transition: width var(--transition);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::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 {
  display: block;
  width: 28px;
  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: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-card);
  box-shadow: var(--shadow-lg);
  padding: 1rem 0;
}

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

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

.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 1.5rem;
  color: var(--color-dark);
}

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

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

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

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

.hero p {
  font-size: 1.125rem;
  opacity: 0.95;
}

.hero-graphic {
  display: flex;
  justify-content: center;
}

.hero-graphic svg {
  width: 100%;
  max-width: 300px;
  height: auto;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Cards */
.card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  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;
  margin-bottom: 1.5rem;
}

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

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

/* Service Cards */
.service-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.service-price {
  background: var(--color-bg-alt);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--color-secondary);
  white-space: nowrap;
}

/* Feature Blocks */
.features {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

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

.feature-content {
  order: 2;
}

.feature-image {
  order: 1;
  display: flex;
  justify-content: center;
}

.feature-image svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}

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

.stat-item {
  flex: 1;
  min-width: 140px;
}

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

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

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

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

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

.testimonial {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

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

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

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

.testimonial-role {
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--color-card);
  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(--color-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-main);
}

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

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

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

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

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-muted);
}

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

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

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

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

/* Quote Block */
.quote-block {
  background: var(--color-primary);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--color-light);
}

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

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

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

.contact-card {
  background: var(--color-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-label {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.contact-value {
  color: var(--color-muted);
}

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

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

.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-light);
  font-weight: 600;
}

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

.comparison-table tr:hover td {
  background: var(--color-bg-alt);
}

/* Milestones */
.milestones {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

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

.milestone {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.milestone-marker {
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.milestone-marker svg {
  width: 16px;
  height: 16px;
}

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

.milestone-text {
  color: var(--color-muted);
}

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

.value-card {
  background: var(--color-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--color-accent);
}

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

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

/* Team */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-member {
  background: var(--color-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}

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

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

.team-name {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

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

.team-bio {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

.industry-tag {
  background: var(--color-card);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 500;
  color: var(--color-primary);
}

/* 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(--color-muted);
}

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

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

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

.footer-brand .logo {
  color: var(--color-light);
  margin-bottom: 1rem;
}

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

.footer-nav h4 {
  color: var(--color-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

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

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

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

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-dark);
  color: var(--color-light);
  padding: 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
}

.cookie-banner.active {
  transform: translateY(0);
}

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

.cookie-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-text a {
  color: var(--color-accent);
  text-decoration: underline;
}

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

.cookie-btn {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.cookie-btn-accept {
  background: var(--color-accent);
  color: var(--color-dark);
}

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

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

.cookie-btn-settings:hover {
  border-color: var(--color-light);
}

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

.cookie-btn-decline:hover {
  color: var(--color-light);
}

/* 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: 1rem;
}

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

.cookie-modal-content {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  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;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-muted);
  line-height: 1;
}

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

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

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

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

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

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

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 50px;
  height: 28px;
  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: 28px;
  transition: var(--transition);
}

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

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

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

.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;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Legal Pages */
.legal-content {
  background: var(--color-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

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

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

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

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

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

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

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

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

.highlight-panel p {
  margin-bottom: 1.5rem;
}

/* Alternating Blocks */
.alt-blocks {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

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

.alt-block-visual {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alt-block-visual svg {
  width: 100%;
  max-width: 200px;
  height: auto;
}

/* CTA Section */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--color-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: var(--color-muted);
}

.breadcrumb span {
  color: var(--color-muted);
  margin: 0 0.5rem;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-light);
  padding: 0.5rem 1rem;
  z-index: 10001;
  transition: top var(--transition);
}

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

/* Icon List */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

/* Media Queries */
@media (min-width: 640px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }

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

  .cards-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

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

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

  .team-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .values-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .contact-grid {
    flex-direction: row;
  }

  .contact-grid > * {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

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

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }

  .hero {
    padding: 5rem 0;
  }

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

  .hero-content > * {
    flex: 1;
  }

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

  .feature-content {
    order: 1;
    flex: 1;
  }

  .feature-image {
    order: 2;
    flex: 1;
  }

  .feature-block:nth-child(even) .feature-content {
    order: 2;
  }

  .feature-block:nth-child(even) .feature-image {
    order: 1;
  }

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

  .alt-block > * {
    flex: 1;
  }

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

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

  .cookie-text {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: block;
  }

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

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

  .team-member {
    flex: 1 1 calc(33.333% - 1.33rem);
  }

  .footer-brand {
    flex: 2;
  }

  .footer-nav {
    flex: 1;
  }
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
.faq-question:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .cookie-banner,
  .cookie-modal {
    display: none;
  }

  .section {
    padding: 2rem 0;
  }

  body {
    font-size: 12pt;
  }
}
