/* Global CSS Variables */
/* Font Imports - handled in HTML via <link> tag for better performance */

:root {
  /* Color Palette */
  --primary-dark: #4A5258;
  /* Darkened further */
  --primary: #5E676E;
  /* Darkened from #798389 to pass WCAG AA */
  --primary-light: #A5ABB0;
  --accent: #D4AF37;
  /* This is a gold-like color, suitable for "Akutt Hjelp" */
  --secondary: #C77D57;
  --light: #F4F5F6;
  --dark: #4A4E52;
  --gray-100: #F4F5F6;
  --gray-200: #E9ECEF;
  --gray-300: #DDE1E4;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #868E96;
  --gray-700: #4A4E52;
  --gray-800: #383B3E;
  --gray-900: #212529;
  --success: #28A745;
  --warning: #FFC107;
  --danger: #DC3545;
  /* Keep for other error states if needed, but not for Akutt Hjelp button */

  /* Typography */
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;

  /* Spacing (8px grid system) */
  --space-xs: 0.5rem;
  /* 8px */
  --space-sm: 1rem;
  /* 16px */
  --space-md: 1.5rem;
  /* 24px */
  --space-lg: 2rem;
  /* 32px */
  --space-xl: 3rem;
  /* 48px */
  --space-xxl: 4rem;
  /* 64px */

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;

  /* Shadows */
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Container widths */
  --container-max-width: 1320px;
  --container-padding: 1rem;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray-800);
  background-color: var(--light);
  overflow-x: hidden;
}

main#main-content {
  padding-top: calc(76px + var(--space-md));
  /* Added padding back to account for header height */
}

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

/* Animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

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

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

a:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

button:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-sm);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
}

section {
  padding: var(--space-xl) 0;
}

.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.left-column,
.right-column {
  flex: 1;
  min-width: 300px;
}

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

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
}

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

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

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

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: #01253a;
  border-color: #01253a;
  color: white;
}

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

.btn-light:hover,
.btn-light:focus-visible {
  background-color: var(--gray-100);
  border-color: var(--gray-100);
  color: var(--primary-dark);
}

.btn-emergency {
  color: white;
  background-color: var(--accent);
  /* Changed from var(--danger) */
  border-color: var(--accent);
  /* Changed from var(--danger) */
}

.btn-emergency:hover,
.btn-emergency:focus-visible {
  background-color: #b38f2c;
  /* Darker shade of accent for hover/focus */
  border-color: #b38f2c;
  /* Darker shade of accent for hover/focus */
  color: white;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-sm);
}

.header.scrolled {
  padding: var(--space-xs) 0;
  background-color: white;
  background-image: none;
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
  display: flex;
  align-items: center;
  transition: all var(--transition-fast);
  position: relative;
  z-index: 1001;
}

.logo img {
  height: 100%;
  max-height: 50px;
  object-fit: contain;
}

/* No logo filter changes needed */

.header.scrolled .logo {
  height: 50px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links a {
  color: var(--gray-800);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--primary);
}

.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--primary);
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--primary);
  transition: all var(--transition-fast);
  position: relative;
  /* Added for tooltip positioning */
}

.phone-link::after {
  content: attr(data-hover-text);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-dark);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.phone-link:hover::after,
.phone-link:focus::after {
  opacity: 1;
  visibility: visible;
}

.phone-link:hover,
.phone-link:focus-visible {
  background-color: var(--light);
  color: black;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--gray-800);
  position: absolute;
  left: 0;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
  bottom: 0;
}

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

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

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

/* Hero Sections */
.hero,
.page-hero {
  background-color: var(--secondary);
  color: white;
  text-align: center;
  padding: 4rem 0 6rem;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  /* Ensure background picture doesn't overflow */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
  /* Replaces the CSS linear-gradient overlay */
}

.hero-content,
.hero .container,
.page-hero .container {
  position: relative;
  z-index: 1;
  /* Place above the background image */
}

.page-hero {
  padding: 4rem 0 var(--space-xl);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  padding-bottom: var(--space-xl);
}

.hero h1,
.page-hero h1 {
  color: white;
  margin-bottom: var(--space-md);
  font-size: 2.8rem;
}

.hero p,
.page-hero p {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--gray-200);
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-md);
}

/* Services */
.services-grid,
.additional-services .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  text-align: center;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-light);
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 40px;
  height: 40px;
}

.service-card h3 {
  margin-bottom: var(--space-sm);
}

.read-more {
  display: inline-block;
  margin-top: var(--space-sm);
  font-weight: 500;
  color: var(--primary);
}

.read-more:hover,
.read-more:focus-visible {
  color: var(--primary-dark);
}

.services-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* Why Choose Us */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.benefit-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.icon-certificate::before {
  content: "📜";
}

.icon-clock::before {
  content: "⏱️";
}

.icon-shield::before {
  content: "🛡️";
}

.icon-wallet::before {
  content: "💰";
}

.benefit-text h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.2rem;
}

.image-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.standard-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testimonials */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  display: none;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.testimonial-content {
  background-color: white;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.rating {
  color: var(--warning);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: var(--space-md);
  max-height: 200px;
  overflow-y: auto;
  padding: 0 var(--space-xs);
}

.author {
  font-weight: 600;
  color: var(--gray-700);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-md);
  gap: var(--space-md);
}

.prev-testimonial,
.next-testimonial {
  background: var(--primary);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.prev-testimonial:hover,
.next-testimonial:hover,
.prev-testimonial:focus-visible,
.next-testimonial:focus-visible {
  background: var(--primary-dark);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  /* For pseudo-element */
}

/* Increase touch target size to 56x56px (exceeds 48x48px requirement) */
.dot::after {
  content: '';
  position: absolute;
  top: -22px;
  left: -22px;
  right: -22px;
  bottom: -22px;
}

.dot.active,
.dot:hover,
.dot:focus-visible {
  background-color: var(--primary);
}

/* Mittanbud Link in Testimonials */
.more-reviews {
  margin-top: var(--space-md);
  text-align: center;
}

.mittanbud-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  transition: all var(--transition-fast);
}

.mittanbud-link:hover,
.mittanbud-link:focus-visible {
  color: var(--secondary);
  text-decoration: none;
}

.icon-arrow-right::before {
  content: "→";
  margin-left: 5px;
}

@media (max-width: 768px) {
  .more-reviews {
    margin-top: var(--space-sm);
  }
}

/* CTA Section */
.cta-section {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: var(--space-xl) 0;
}

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

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

.cta-section p {
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
  color: var(--gray-100);
}

/* Footer */
.footer {
  background-color: black;
  color: var(--light);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  margin-bottom: var(--space-sm);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.footer-logo img {
  width: 150px;
  height: auto;
  display: block;
}

.footer h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-xs);
}

.footer h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.contact-info li,
.hours li {
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: white;
}

.contact-info li a {
  color: var(--light);
  transition: color var(--transition-fast);
}

.contact-info li a:hover,
.contact-info li a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.hours li span {
  font-weight: 600;
  color: white;
  margin-right: var(--space-xs);
}

.emergency {
  margin-top: var(--space-sm);
  font-weight: 600;
  color: var(--accent);
  /* Changed from var(--danger) to use the new accent color */
}

.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all var(--transition-fast);
}

.social-links a:hover,
.social-links a:focus-visible {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  flex-wrap: wrap;
  gap: var(--space-sm);
  color: var(--gray-400);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  color: var(--gray-300);
  transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: white;
  text-decoration: underline;
}

/* Floating Contact Button */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
}

.phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.phone-btn:hover,
.phone-btn:focus-visible {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

/* Icons */
.icon-phone::before {
  content: "📞";
}

.icon-email::before {
  content: "✉️";
}

.icon-location::before {
  content: "📍";
}

.icon-facebook::before {
  content: "f";
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.icon-instagram::before {
  content: "📷";
}

.icon-linkedin::before {
  content: "in";
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.icon-phone-large::before {
  content: "📞";
  font-size: 2rem;
}

.icon-email-large::before {
  content: "✉️";
  font-size: 2rem;
}

.icon-location-large::before {
  content: "📍";
  font-size: 2rem;
}

/* Notifications */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 4px;
  background: white;
  color: var(--gray-800);
  box-shadow: var(--shadow-md);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1000;
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
}

.notification.success {
  background: var(--success);
  color: white;
}

.notification.error {
  background: var(--danger);
  color: white;
}

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

/* Form validation states */
.error-message {
  display: none;
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

input.touched:invalid+.error-message,
select.touched:invalid+.error-message,
textarea.touched:invalid+.error-message {
  display: block;
}

input.touched:invalid,
select.touched:invalid,
textarea.touched:invalid {
  border-color: var(--danger);
}

button[type="submit"].loading {
  position: relative;
  color: transparent;
}

button[type="submit"].loading::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile menu */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Accessibility helper classes */
.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;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 15px;
  background-color: var(--primary);
  color: white;
  z-index: 9999;
}

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

/* Responsive Styles - Consolidated */
@media (max-width: 991px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .page-hero {
    min-height: 50vh;
  }

  .service-content {
    flex-direction: column;
  }

  .service-content.reversed {
    flex-direction: column-reverse;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1.5rem;
  }

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -280px;
    width: 270px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    justify-content: flex-start;
    padding: 6rem var(--space-md) var(--space-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    gap: var(--space-md);
    align-items: flex-start;
    opacity: 0;
    transition: right 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.active {
    right: 0;
    opacity: 1;
  }

  .nav-links a.active::after,
  .nav-links a[aria-current="page"]::after {
    width: 100%;
    left: 0;
    transform: none;
  }

  .header {
    padding: var(--space-xs) 0;
  }

  .page-hero {
    min-height: 50vh;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2rem;
  }

  .hero p,
  .page-hero p {
    font-size: 1.3rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-content {
    padding: var(--space-md);
  }

  .quote {
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-content {
    padding-bottom: var(--space-md);
  }

  .page-hero {
    min-height: 40vh;
  }

  section {
    padding: var(--space-lg) 0;
  }

  .benefit-icon {
    width: 40px;
    height: 40px;
  }

  .phone-btn {
    width: 50px;
    height: 50px;
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero-content {
    padding: 0 var(--space-sm);
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

/* Print styles */
@media print {

  .header,
  .footer,
  .floating-contact,
  .testimonial-controls,
  .hero-buttons {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: black;
    background: white;
  }

  .container {
    width: 100%;
    max-width: 100%;
  }

  section {
    padding: 1cm 0;
    page-break-inside: avoid;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  .hero,
  .page-hero {
    background-image: none;
    background-color: white;
    color: black;
    padding: 1cm 0;
  }

  .hero h1,
  .page-hero h1 {
    color: black;
  }

  .hero p,
  .page-hero p {
    color: black;
  }
}