/* =============================================
   AGIL Dienstleistungen – Hauptstylesheet
   ============================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --primary: #1e4d2b;
  --primary-dark: #163a20;
  --primary-light: #2d6e3e;
  --accent: #e8a020;
  --accent-dark: #c98a18;
  --accent-light: #f5b940;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #718096;
  --gray-800: #2d3748;
  --gray-900: #1a202c;
  --text: #2d3748;
  --text-light: #718096;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.10), 0 4px 10px rgba(0,0,0,0.07);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.08);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 7rem 0;
}

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

.section-title h2 {
  margin-bottom: 0.75rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-title .subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.bg-light { background: var(--gray-50); }
.bg-primary { background: var(--primary); color: var(--white); }
.bg-primary h2, .bg-primary h3, .bg-primary h4 { color: var(--white); }
.bg-primary p { color: rgba(255,255,255,0.85); }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(232, 160, 32, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 160, 32, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

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

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

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

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.875rem;
}

/* --- Navigation --- */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 1.25rem 0;
}

#main-nav.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.nav-logo-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

.nav-logo-text {
  line-height: 1.1;
}

.nav-logo-text .brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.5px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
  transition: color 0.3s, text-shadow 0.3s;
}

.nav-logo-text .tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.3px;
  transition: color 0.3s;
  display: block;
}

#main-nav.scrolled .nav-logo-icon { border-color: transparent; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
#main-nav.scrolled .nav-logo-text .brand { color: var(--primary); text-shadow: none; }
#main-nav.scrolled .nav-logo-text .tagline { color: var(--text-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links a {
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

#main-nav.scrolled .nav-links a {
  color: var(--text);
}

#main-nav.scrolled .nav-links a:hover,
#main-nav.scrolled .nav-links a.active {
  color: var(--primary);
  background: var(--gray-100);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.82rem;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.nav-phone:hover { color: var(--accent); }
#main-nav.scrolled .nav-phone { color: var(--text); }
#main-nav.scrolled .nav-phone:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.6rem 1rem !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(232,160,32,0.4);
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,160,32,0.5) !important;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

#main-nav.scrolled .hamburger span { background: var(--gray-800); }

.hamburger.open { opacity: 0; pointer-events: none; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-dark);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  padding: 0.75rem 2rem;
  text-align: center;
  transition: color 0.2s;
}

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

.mobile-menu-phone {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent) !important;
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: contrast(1.15) saturate(1.1) brightness(1.05);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,77,43,0.65) 0%, rgba(30,77,43,0.45) 50%, rgba(30,77,43,0.22) 100%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--accent-light);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero .hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}


.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
}

.hero-phone:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.hero-phone .phone-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-phone .phone-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.hero-phone .phone-label {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 500;
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,0.6);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Subpage Hero (shorter) */
.hero-sub-page {
  min-height: 55vh;
  padding-top: 100px;
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
  overflow: hidden;
  min-width: 0;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.service-card h3 {
  margin-bottom: 0.5rem;
  transition: color 0.2s;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.service-card:hover h3 { color: var(--primary); }

.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  transition: gap 0.2s;
}

.service-card:hover .service-card-link { gap: 0.6rem; }

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-badge-icon svg { width: 22px; height: 22px; fill: white; }

.about-badge-text .number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about-badge-text .label {
  font-size: 0.75rem;
  color: var(--text-light);
}

.trust-list {
  margin-top: 1.5rem;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
  font-weight: 500;
}

.trust-list li:last-child { border-bottom: none; }

.trust-list .check-icon {
  width: 22px;
  height: 22px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.trust-list .check-icon svg {
  width: 12px;
  height: 12px;
  stroke: white;
  stroke-width: 2.5;
  fill: none;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  position: relative;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.star {
  width: 18px;
  height: 18px;
  fill: #fbbf24;
}

.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-author-info .name {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author-info .location {
  font-size: 0.8rem;
  color: var(--text-light);
}

.google-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  max-width: 350px;
  margin: 3rem auto 0;
  box-shadow: var(--shadow-sm);
}

.google-badge .google-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}

.google-badge .google-logo span:nth-child(1) { color: #4285F4; }
.google-badge .google-logo span:nth-child(2) { color: #EA4335; }
.google-badge .google-logo span:nth-child(3) { color: #FBBC04; }
.google-badge .google-logo span:nth-child(4) { color: #4285F4; }
.google-badge .google-logo span:nth-child(5) { color: #34A853; }
.google-badge .google-logo span:nth-child(6) { color: #EA4335; }

.google-badge-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.google-badge-rating .rating-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}

.google-badge-rating .rating-label {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* --- Trust Badges Row --- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 100px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
}

.trust-badge svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

/* --- Feature Teasers (alternating) --- */
.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

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

.feature-item.reverse { direction: rtl; }
.feature-item.reverse > * { direction: ltr; }

.feature-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-image:hover img { transform: scale(1.03); }

.feature-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.feature-content h3 {
  margin-bottom: 1rem;
}

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

/* --- Contact Form --- */
.contact-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-800);
}

.form-group label .required {
  color: #e53e3e;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,77,43,0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-error {
  font-size: 0.8rem;
  color: #e53e3e;
  display: none;
}

.form-error.show { display: block; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--primary);
}

.form-checkbox-label {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

.form-checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

.form-submit-area {
  text-align: center;
}

.form-microcopy {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.form-microcopy svg {
  width: 14px;
  height: 14px;
  fill: var(--primary);
  flex-shrink: 0;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
}

.form-success.show { display: block; }

.form-success .success-icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.form-success .success-icon svg {
  width: 35px;
  height: 35px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
}

/* --- Image Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

/* --- Advantages / Features Grid --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.advantage-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

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

.advantage-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(30,77,43,0.1), rgba(30,77,43,0.05));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.advantage-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
}

.advantage-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

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

/* --- Service List --- */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.service-list-item:hover {
  border-color: var(--primary);
  background: rgba(30,77,43,0.03);
}

.service-list-item svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
  flex-shrink: 0;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
}

.cta-content .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* --- Urgency Box --- */
.urgency-box {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.urgency-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.urgency-text h4 {
  color: white;
  margin-bottom: 0.25rem;
}

.urgency-text p {
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-size: 0.9rem;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1.5rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

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

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(30,77,43,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}

.contact-item-info .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.contact-item-info .value {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin: 0;
}

.contact-item-info .value a {
  color: var(--primary);
  transition: color 0.2s;
}

.contact-item-info .value a:hover { color: var(--accent); }

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

/* --- Footer --- */
footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
  transition: opacity 0.2s;
}

.footer-phone:hover { opacity: 0.8; }

.footer-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

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

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--accent); }

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

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

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

/* --- Mobile Sticky CTA Bar --- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  padding: 0.75rem 1rem;
  gap: 0.75rem;
}

.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.mobile-cta-bar .cta-call {
  background: var(--primary);
  color: var(--white);
}

.mobile-cta-bar .cta-inquire {
  background: var(--accent);
  color: var(--white);
}

.mobile-cta-bar svg {
  width: 18px;
  height: 18px;
  fill: white;
}

/* --- Scroll Trigger Banner --- */
.scroll-trigger-banner {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 1.5rem;
  z-index: 980;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary);
  max-width: 280px;
  animation: slideInRight 0.4s ease;
}

.scroll-trigger-banner.show { display: block; }

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.scroll-trigger-banner p {
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.scroll-trigger-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.5; }

/* --- Legal pages --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0 5rem;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

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

.legal-content p { margin-bottom: 0.75rem; }

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

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

/* --- Seasonal cards --- */
.season-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.season-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  text-align: center;
}

.season-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.season-card h4 { margin-bottom: 0.5rem; }
.season-card p { font-size: 0.875rem; color: var(--text-light); margin: 0; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .about-grid,
  .feature-item {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature-item.reverse { direction: ltr; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4.5rem 0; }

  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .contact-form-wrapper { padding: 1.75rem; }

  .hero-actions { flex-direction: column; margin-bottom: 1rem; }
  .hero-phone { width: auto; }
  .hero h1 { font-size: 1.75rem; }
  .form-microcopy { align-items: flex-start; }

  .mobile-cta-bar { display: flex; }

  .about-image img { height: 300px; }
  .feature-image img { height: 250px; }

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

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

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

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

  .trust-badges {
    flex-direction: column;
    align-items: center;
  }

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

  .urgency-box {
    flex-direction: column;
    text-align: center;
  }

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

  body { padding-bottom: 70px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }

  .hero-sub-page { min-height: 45vh; padding-top: 80px; }
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Fade-in animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
