/* ============================================
   Tree & Landscape Company - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
  /* Primary Colors - Green/Earth Tones */
  --color-primary: #2d5a27;
  --color-primary-dark: #1e3d1a;
  --color-primary-light: #4a7c43;
  --color-primary-hover: #3d6e35;
  
  /* Secondary Colors */
  --color-secondary: #8b6914;
  --color-secondary-dark: #6b5010;
  --color-secondary-light: #a8851c;
  
  /* Earth Tones */
  --color-earth: #5c4033;
  --color-earth-light: #8b7355;
  --color-sand: #d4c4a8;
  
  /* Neutrals */
  --color-white: #ffffff;
  --color-off-white: #f8f6f3;
  --color-light-gray: #e8e4de;
  --color-gray: #9a9590;
  --color-dark-gray: #4a4642;
  --color-black: #1a1816;
  
  /* Accent Colors */
  --color-success: #28a745;
  --color-error: #dc3545;
  --color-warning: #ffc107;
  --color-info: #17a2b8;
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  
  /* Font Sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50%;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  
  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-dark-gray);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-black);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--fs-4xl);
}

h2 {
  font-size: var(--fs-3xl);
}

h3 {
  font-size: var(--fs-2xl);
}

h4 {
  font-size: var(--fs-xl);
}

h5 {
  font-size: var(--fs-lg);
}

h6 {
  font-size: var(--fs-md);
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ============================================
   Layout & Container
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

.section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

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

.section-title p {
  margin-top: var(--space-lg);
  color: var(--color-gray);
  font-size: var(--fs-md);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--fs-base);
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background-color: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

.btn-white:hover {
  background-color: var(--color-off-white);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--fs-lg);
}

.btn-sm {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-sm);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  z-index: var(--z-sticky);
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  max-width: var(--container-xl);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-primary);
}

.logo-text span {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.nav-link {
  position: relative;
  font-weight: 500;
  color: var(--color-dark-gray);
  padding: var(--space-sm) 0;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

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

.nav-cta {
  margin-left: var(--space-md);
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-dark-gray);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

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

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: var(--color-white);
}

.hero-title {
  font-size: var(--fs-4xl);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: var(--fs-xl);
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-small {
  min-height: 50vh;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.hero-small h1 {
  color: var(--color-white);
  font-size: var(--fs-3xl);
}

.hero-small p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-lg);
  margin-top: var(--space-md);
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-content h2 {
  margin-bottom: var(--space-lg);
}

.about-content p {
  color: var(--color-gray);
  margin-bottom: var(--space-lg);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-dark-gray);
}

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

/* ============================================
   Services Section
   ============================================ */
.services {
  background-color: var(--color-off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: var(--space-lg);
}

.service-icon {
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-white);
  font-size: var(--fs-xl);
}

.service-content h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.service-content p {
  color: var(--color-gray);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-md);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 600;
  color: var(--color-primary);
  font-size: var(--fs-sm);
}

.service-link:hover {
  gap: var(--space-sm);
}

/* ============================================
   Contact Section & Forms
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info h3 {
  margin-bottom: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-xs);
}

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

.contact-form {
  background-color: var(--color-off-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
}

.contact-form h3 {
  margin-bottom: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-dark-gray);
}

.form-label.required::after {
  content: ' *';
  color: var(--color-error);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  font-size: var(--fs-base);
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-gray);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234a4642' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

/* Form Validation Styles */
.form-input.is-valid,
.form-textarea.is-valid,
.form-select.is-valid {
  border-color: var(--color-success);
}

.form-input.is-invalid,
.form-textarea.is-invalid,
.form-select.is-invalid {
  border-color: var(--color-error);
}

.form-error {
  color: var(--color-error);
  font-size: var(--fs-sm);
  margin-top: var(--space-xs);
}

.form-success {
  color: var(--color-success);
  font-size: var(--fs-sm);
  margin-top: var(--space-xs);
}

/* ============================================
   Map Container
   ============================================ */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-xl);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: var(--color-earth);
  color: var(--color-white);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin: var(--space-lg) 0;
}

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

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

.footer-social a:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-lg);
  color: var(--color-white);
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: var(--space-sm);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
  font-size: var(--fs-sm);
}

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

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-sm);
}

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

/* ============================================
   Cookie Consent Banner
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: var(--z-fixed);
  padding: var(--space-lg);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

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

.cookie-banner-content {
  max-width: var(--container-xl);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-text h4 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
}

.cookie-banner-text p {
  color: var(--color-gray);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

.cookie-banner-text a {
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: var(--space-md);
  flex-shrink: 0;
}

/* ============================================
   Cookie Settings Modal
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

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

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

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background-color: var(--color-light-gray);
  color: var(--color-dark-gray);
}

.modal-body {
  padding: var(--space-xl);
}

.modal-footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--color-light-gray);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md);
}

/* Cookie Settings Content */
.cookie-category {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-light-gray);
}

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

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.cookie-category-header h4 {
  margin-bottom: 0;
  font-size: var(--fs-base);
}

.cookie-category p {
  color: var(--color-gray);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

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

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

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

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

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

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

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

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

.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }
.pt-xl { padding-top: var(--space-xl); }

.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }
.pb-xl { padding-bottom: var(--space-xl); }

.bg-white { background-color: var(--color-white); }
.bg-off-white { background-color: var(--color-off-white); }
.bg-primary { background-color: var(--color-primary); }
.bg-dark { background-color: var(--color-earth); }

/* ============================================
   Responsive Styles
   ============================================ */

/* Tablet - 1024px */
@media (max-width: 1024px) {
  :root {
    --fs-4xl: 2.5rem;
    --fs-3xl: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet - 768px */
@media (max-width: 768px) {
  :root {
    --fs-4xl: 2rem;
    --fs-3xl: 1.75rem;
    --fs-2xl: 1.5rem;
  }
  
  .section {
    padding: var(--space-3xl) 0;
  }
  
  /* Navigation */
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-4xl) var(--space-xl);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    gap: var(--space-md);
  }
  
  .nav-list.open {
    right: 0;
  }
  
  .nav-link {
    font-size: var(--fs-lg);
    padding: var(--space-sm) 0;
  }
  
  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-md);
  }
  
  .hamburger {
    display: flex;
    z-index: var(--z-modal);
  }
  
  /* Hero */
  .hero {
    min-height: 70vh;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .about-image {
    order: -1;
  }
  
  .about-image::before {
    display: none;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
  
  /* Cookie Banner */
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-banner-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-banner-buttons .btn {
    width: 100%;
  }
  
  /* Grid overrides */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Mobile - 480px */
@media (max-width: 480px) {
  :root {
    --fs-4xl: 1.75rem;
    --fs-3xl: 1.5rem;
    --fs-2xl: 1.25rem;
    --fs-xl: 1.125rem;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .section-title {
    margin-bottom: var(--space-xl);
  }
  
  .btn {
    padding: var(--space-sm) var(--space-lg);
  }
  
  .btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--fs-base);
  }
  
  /* Header */
  .header-container {
    padding: var(--space-sm) var(--space-md);
  }
  
  .logo-text {
    font-size: var(--fs-lg);
  }
  
  /* Hero */
  .hero {
    min-height: 60vh;
    padding-top: 70px;
  }
  
  .hero-title {
    font-size: var(--fs-2xl);
  }
  
  .hero-subtitle {
    font-size: var(--fs-base);
  }
  
  /* Service Card */
  .service-image {
    height: 180px;
  }
  
  .service-content {
    padding: var(--space-md);
  }
  
  /* Contact Form */
  .contact-form {
    padding: var(--space-lg);
  }
  
  /* Map */
  .map-container {
    height: 300px;
  }
  
  /* Modal */
  .modal {
    width: 95%;
    max-height: 85vh;
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: var(--space-md);
  }
  
  .modal-footer {
    flex-direction: column;
  }
  
  .modal-footer .btn {
    width: 100%;
  }
  
  /* Cookie Category */
  .cookie-category-header {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
}

/* Print Styles */
@media print {
  .header,
  .cookie-banner,
  .modal-overlay,
  .modal {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: var(--space-xl) 0;
    background: none;
    color: var(--color-black);
  }
  
  .hero-title,
  .hero-subtitle {
    color: var(--color-black);
  }
  
  body {
    font-size: 12pt;
  }
}

/* ============================================
   Page Header (Inner Pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding: 120px 0 60px;
  text-align: center;
  color: var(--color-white);
}
.page-header h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}
.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-lg);
  margin-bottom: 0;
}

/* ============================================
   Lead Form Section
   ============================================ */
.lead-form-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding: var(--space-4xl) 0;
}
.lead-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.lead-form h3 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* ============================================
   Services Overview Section
   ============================================ */
.services-overview {
  padding: var(--space-4xl) 0;
}
.service-card-content {
  padding: var(--space-lg);
}

/* ============================================
   Why Choose Us / Features Grid
   ============================================ */
.why-choose-us {
  padding: var(--space-4xl) 0;
  background-color: var(--color-off-white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}
.feature-item {
  text-align: center;
  padding: var(--space-xl);
}
.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 24px;
  color: var(--color-white);
}
.feature-item h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}
.feature-item p {
  color: var(--color-gray);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

/* ============================================
   Service Detail (services.html)
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--color-light-gray);
}
.service-detail:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.service-detail img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.service-detail h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}
.service-detail p {
  color: var(--color-gray);
  margin-bottom: var(--space-md);
}
.service-detail p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
  padding: var(--space-4xl) 0;
}

/* ============================================
   Legal Content (privacy, terms, cookies)
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-2xl) 0;
}
.legal-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}
.legal-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-lg);
}
.legal-content ul {
  list-style: disc;
  margin-left: var(--space-xl);
  margin-bottom: var(--space-md);
}
.legal-content li {
  margin-bottom: var(--space-sm);
}
.legal-content p {
  margin-bottom: var(--space-md);
}

/* ============================================
   Checkbox Group
   ============================================ */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}
.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.checkbox-group label {
  font-size: var(--fs-sm);
  color: var(--color-gray);
  margin-bottom: 0;
}

/* ============================================
   Legal Links in Footer
   ============================================ */
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.legal-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
}
.legal-links a:hover {
  color: var(--color-white);
}

/* ============================================
   Logo Styling
   ============================================ */
.logo {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}
.logo span {
  color: var(--color-secondary);
}

/* ============================================
   Responsive Updates for Features Grid
   ============================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .service-detail img {
    height: 200px;
  }
}

/* ============================================
   About Page Styles
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
}
.about-content:last-child {
  margin-bottom: 0;
}
.about-text p:last-child {
  margin-bottom: 0;
}
.about-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}
.value-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.value-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.value-card p {
  color: var(--color-gray);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

/* Contact Grid Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}
.contact-info h2 {
  margin-bottom: var(--space-xl);
}

/* Body padding for fixed header */
body {
  padding-top: 80px;
}

/* Header styling */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md) 0;
}

/* Nav styling */
nav.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}
.nav-list a {
  color: var(--color-dark-gray);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.nav-list a:hover {
  color: var(--color-primary);
}

/* Responsive Updates */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}