/* ==========================================
   ReparatiiTop - Premium Roofing Website
   Complete Stylesheet
   ========================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary-dark: #1a1a2e;
  --primary-accent: #c0392b;
  --secondary-accent: #e74c3c;
  --gold: #f39c12;
  --gold-light: #f5b041;
  --text-light: #f5f5f5;
  --text-dark: #2c3e50;
  --text-muted: #7f8c8d;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --bg-footer: #111111;
  --whatsapp: #25d366;
  --success: #27ae60;
  --error: #e74c3c;
  --info: #3498db;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 50%;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --nav-height: 80px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* ---------- Loading Screen ---------- */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255,255,255,0.15);
  border-top-color: var(--primary-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17,17,17,0.97);
  color: var(--text-light);
  padding: 20px 0;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
  backdrop-filter: blur(10px);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  flex: 1;
  min-width: 250px;
}

.cookie-banner .btn-accept {
  background: var(--primary-accent);
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition);
  white-space: nowrap;
}

.cookie-banner .btn-accept:hover {
  background: var(--secondary-accent);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 9990;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
}

.nav-logo span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.nav-phone:hover {
  background: var(--secondary-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(192,57,43,0.4);
}

.nav-phone::after { display: none !important; }

.nav-phone i {
  font-size: 1rem;
  animation: pulse-phone 2s infinite;
}

@keyframes pulse-phone {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Section ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(26,26,46,0.78), rgba(192,57,43,0.45)),
              url('../images/hero-banner.png') center/cover no-repeat fixed;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-white), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero-content h1 {
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 10px;
  animation: fadeInUp 0.8s ease both;
}

.hero-content h1 .highlight {
  color: var(--gold);
  position: relative;
}

.hero-typed-wrapper {
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 12px;
  min-height: 2rem;
  font-weight: 500;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.typed-text {
  border-right: 2px solid var(--gold);
  padding-right: 4px;
  animation: blink-cursor 0.7s steps(1) infinite;
}

@keyframes blink-cursor {
  0%, 100% { border-color: var(--gold); }
  50% { border-color: transparent; }
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.45s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-transform: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--primary-accent);
  color: #fff;
  border-color: var(--primary-accent);
}

.btn-primary:hover {
  background: var(--secondary-accent);
  border-color: var(--secondary-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(192,57,43,0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-3px);
}

.trust-badges {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.trust-badge i {
  color: var(--gold);
  font-size: 1.1rem;
}

/* ---------- Section Titles ---------- */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: var(--font-display);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-accent);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 24px auto 0;
}

/* ---------- Services Section ---------- */
#leistungen {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-icon {
  position: absolute;
  bottom: -28px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--primary-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(192,57,43,0.4);
  z-index: 2;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--secondary-accent);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 12px;
  transition: gap var(--transition);
}

.card-link:hover {
  color: var(--secondary-accent);
  gap: 10px;
}

.service-card-content {
  padding: 36px 24px 24px;
}

.service-card-content h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.service-card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.service-card-image i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem;
  color: rgba(255,255,255,0.25);
}

/* ---------- About Section ---------- */
#ueber-uns {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.04);
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--primary-accent);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(192,57,43,0.4);
}

.badge-number {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1;
}

.badge-text {
  font-size: 0.85rem;
  line-height: 1.4;
  font-weight: 500;
}

.section-tag {
  display: inline-block;
  background: rgba(192,57,43,0.1);
  color: var(--primary-accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.about-content h2 {
  font-family: var(--font-display);
  margin-bottom: 8px;
}

.about-content .subtitle {
  color: var(--primary-accent);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 20px;
  display: block;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.feature-list li i {
  color: var(--success);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--primary-dark);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-accent), var(--gold), var(--primary-accent));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  color: #fff;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

/* ---------- Gallery Section ---------- */
#galerie {
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: 280px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 2;
}

.gallery-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-align: center;
  transform: translateY(10px);
  transition: transform var(--transition);
}

.gallery-overlay-content i {
  font-size: 2rem;
}

.gallery-overlay-content span {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay-content {
  transform: translateY(0);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  transition: color var(--transition);
}

.lightbox-close:hover { color: var(--primary-accent); }

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ---------- Testimonials Section ---------- */
#bewertungen {
  background: var(--bg-white);
  overflow: hidden;
}

.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.testimonial-card-inner {
  background: var(--bg-light);
  padding: 36px 40px;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 1rem;
}

.testimonial-rating span {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: 6px;
}

.testimonial-card-inner::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--primary-accent);
  opacity: 0.12;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--primary-accent);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info {
  flex: 1;
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-info span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.testimonial-logo {
  color: #4285f4;
  font-size: 1.4rem;
  margin-left: auto;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(192,57,43,0.2);
  cursor: pointer;
  transition: all var(--transition);
}

.testimonial-dot.active {
  background: var(--primary-accent);
  width: 32px;
  border-radius: 6px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
}

.cta-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.88), rgba(192,57,43,0.75));
}

.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 60px 24px;
}

.cta-text h2 {
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.cta-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cta-btn-call {
  background: #fff;
  color: var(--primary-accent);
  border-color: #fff;
  font-size: 1.05rem;
  padding: 16px 30px;
}

.cta-btn-call:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.cta-btn-wa {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  font-size: 1.05rem;
  padding: 16px 30px;
}

.cta-btn-wa:hover {
  background: #128c7e;
  border-color: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

/* ---------- Contact Section ---------- */
#kontakt {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-family: var(--font-display);
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item-text p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.contact-item-text a {
  color: var(--primary-accent);
  font-weight: 600;
}

.contact-item-text a:hover {
  color: var(--secondary-accent);
}

.contact-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.form-group {
  position: relative;
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
  transition: color var(--transition);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 4px rgba(192,57,43,0.1);
}

.form-group.focused label {
  color: var(--primary-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group .error-message {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: var(--error);
}

.form-group.error .error-message {
  display: block;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--primary-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  background: var(--secondary-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,57,43,0.35);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-submit .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
}

.btn-submit.loading .spinner { display: block; }
.btn-submit.loading .btn-text { display: none; }

/* ---------- Footer ---------- */
footer {
  background: var(--bg-footer);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--primary-accent);
  border-radius: 2px;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-about .nav-logo {
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--primary-accent);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--primary-accent);
  width: 20px;
  text-align: center;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.footer-bottom-links a:hover {
  color: var(--primary-accent);
}

/* ---------- WhatsApp & Phone Float ---------- */
.whatsapp-float,
.phone-float {
  position: fixed;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  z-index: 9999;
  transition: all var(--transition);
}

.whatsapp-float {
  bottom: 30px;
  background: var(--whatsapp);
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  animation: whatsapp-pulse 2s infinite;
}

.phone-float {
  bottom: 105px;
  background: var(--primary-accent);
  box-shadow: 0 4px 20px rgba(192,57,43,0.45);
  animation: phone-pulse 2s infinite;
  animation-delay: 1s; /* offset from whatsapp */
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}

.phone-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(192,57,43,0.6);
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

@keyframes phone-pulse {
  0% { box-shadow: 0 0 0 0 rgba(192,57,43,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(192,57,43,0); }
  100% { box-shadow: 0 0 0 0 rgba(192,57,43,0); }
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 9998;
  border: none;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-accent);
  transform: translateY(-3px);
}

/* ---------- Notification Toast ---------- */
.notification {
  position: fixed;
  top: 100px;
  right: 30px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  z-index: 99999;
  transform: translateX(120%);
  transition: transform var(--transition);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 400px;
}

.notification.show { transform: translateX(0); }
.notification.success { background: var(--success); }
.notification.error { background: var(--error); }
.notification.info { background: var(--info); }

/* ---------- Animations ---------- */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: right var(--transition);
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  }

  .nav-links.nav-active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-phone {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image { order: -1; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 576px) {
  section {
    padding: 70px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .testimonial-card-inner {
    padding: 24px;
  }

  .whatsapp-float,
  .phone-float {
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }
  .whatsapp-float { bottom: 20px; }
  .phone-float { bottom: 86px; }

  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 42px;
    height: 42px;
  }
}

/* Body scroll lock for mobile nav */
body.nav-open {
  overflow: hidden;
}

/* Nav overlay for mobile */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9989;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ---------- Hero Badge & Scroll Indicator ---------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge i { color: var(--gold); }

.animate-hero {
  animation: fadeInUp 0.8s ease both;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: fadeInUp 1s ease 1s both;
}

.scroll-mouse {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 10px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  animation: scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.4; }
}

/* ---------- Stat Suffix ---------- */
.stat-item {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-suffix {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

/* ---------- Form Row ---------- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 576px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Contact Map ---------- */
.contact-map {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 180px;
  margin-top: 8px;
  box-shadow: var(--shadow-sm);
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6);
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.map-overlay i {
  font-size: 1.8rem;
  color: var(--primary-accent);
}

.map-overlay span {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ---------- Footer Badges ---------- */
.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-badge i { color: var(--gold); }

.footer-logo {
  margin-bottom: 16px !important;
}

/* ---------- Lightbox Image ---------- */
.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

/* ---------- Stats numbers inline ---------- */
.stats-grid .stat-item {
  position: relative;
}

.stats-grid .stat-number {
  display: inline;
}

.stats-grid .stat-suffix {
  display: inline;
  font-size: 2rem;
  color: var(--gold);
}

/* ---------- Tablet CTA ---------- */
@media (max-width: 768px) {
  .cta-content {
    flex-direction: column;
    text-align: center;
    padding: 50px 24px;
  }

  .cta-text { order: 1; }
  .cta-actions { order: 2; justify-content: center; }

  .about-image img {
    height: 320px;
  }
}

/* ---------- Mobile Gallery ---------- */
@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .gallery-item {
    height: 200px;
  }

  .cta-btn-call,
  .cta-btn-wa {
    font-size: 0.95rem;
    padding: 14px 22px;
  }
}

