* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CRITICAL: Prevent ALL horizontal overflow on mobile */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

main {
  width: 100%;
}

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

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


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

/* =========================================
   CUSTOM SCROLLBAR
   ========================================= */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1a1a1a 0%, #dc2626 100%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
}

/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
  --primary-color: #1a1a1a;
  --secondary-color: #dc2626;
  --text-dark: #1f1f1f;
  --text-muted: #666;
  --text-light: #999;
  --bg-white: #ffffff;
  --bg-light: #f5f5f5;
  --bg-dark: #1a1a1a;
  --grey-dark: #2d2d2d;
  --grey-medium: #4a4a4a;
  --grey-light: #e5e5e5;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 4px 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);
  --transition: all 0.3s ease;
  
  /* Gradient Variables */
  --gradient-primary: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  --gradient-accent: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #dc2626 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  --gradient-hero: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(45, 45, 45, 0.95) 50%, rgba(220, 38, 38, 0.1) 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  --gradient-overlay: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.8) 100%);
}

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

.text-accent {
  color: var(--secondary-color);
}

.text-white {
  color: white;
}

.text-white-muted {
  color: rgba(255, 255, 255, 0.8);
}

.hidden {
  display: none !important;
}

/* Icon Sizes */
.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-md {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

/* =========================================
   HEADER
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #000000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, #1a1a1a 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-accent {
  color: var(--secondary-color);
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color);
}

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

.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  transition: var(--transition);
}

.header-phone:hover {
  color: var(--secondary-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: white;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  
  .header-actions {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
}

/* =========================================
   MOBILE MENU
   ========================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1a1a1a;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  height: 100%;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-menu-close {
  padding: 0.5rem;
  color: white;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: white;
  padding: 0.5rem 0;
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.mobile-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: white;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-accent);
  background-size: 200% 200%;
  color: white;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  position: relative;
  z-index: 1;
}

.btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover::after {
  width: 100%;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

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

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  background: var(--primary-color);
  color: white;
  padding: 0 0 6rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: 0;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -50px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
}

.hero-content {
  max-width: 48rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: lightgray;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.badge-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gradient-accent);
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* ===================================
   HERO TITLE - ROTATING TEXT CONTAINER
   ===================================
   Fixed-height container prevents layout jumping
   Adjust height if longest phrase doesn't fit
   Formula: (font-size * line-height * number-of-lines)
   Current: 2.5rem Ãƒâ€” 1.3 Ãƒâ€” 3 lines Ã¢â€°Ë† 9.5rem
   
   ADJUST FOR MOBILE: Add media queries if text wraps
   =================================== */

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.3;  /* Spacing between lines */
  margin-bottom: 1.5rem;
  position: relative;
  width: 100%;
  height: 9.5rem;  /* Fixed height prevents jumping - change if phrases don't fit */
  overflow: hidden;  /* Clips text that extends beyond height */
  display: flex;
  align-items: flex-start;  /* Aligns text to top of container */
  contain: layout style paint;  /* Prevents layout shift */
}

/* ===================================
   ROTATING TEXT PHRASES
   ===================================
   Base state: hidden and stacked
   - All phrases are positioned at top: 0, left: 0
   - JavaScript toggles .active and .exit classes
   - Gradient creates white text effect
   =================================== */

.rotating-text {
  display: none;  /* Hidden by default */
  width: 100%;
  opacity: 0;
  
  /* White gradient text */
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
  /* Stack all phrases at same position */
  position: absolute;
  top: 0;
  left: 0;
}

/* Active phrase: visible with fade-in animation */
.rotating-text.active {
  display: block;  /* Show this phrase */
  position: relative;  /* Relative positioning brings into document flow */
  animation: fadeInDown 0.5s ease-in-out forwards;  /* Smooth fade-in */
}

/* Exit phrase: fading out animation */
.rotating-text.exit {
  position: absolute;  /* Keep in absolute position during exit */
  animation: fadeOutUp 0.5s ease-in-out forwards;  /* Smooth fade-out */
  /* Duration MUST match setTimeout in JavaScript (500ms) */
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 40rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-badge-content {
  flex: 1;
}

.trust-badge-title {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.trust-badge-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 0 8rem;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

/* =========================================
   SECTIONS
   ========================================= */
.section {
  padding: 5rem 0;
}

.section-light {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.section-dark {
  background: var(--gradient-dark);
  color: white;
}

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

.section-header-center {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 10%;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}


.service-area .process-header::after {
display: none;
}
.section-dark .section-title {
  color: white;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 3rem;
  }

  .section-title,
  .service-areas-title {
    font-size: 2.5rem;
  }
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--gradient-card);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(220, 38, 38, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-accent);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.service-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.service-link:hover {
  color: #d49845;
}

/* =========================================
   BENEFITS SECTION
   ========================================= */
.benefits-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.benefits-intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

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

.benefit-icon {
  margin-top: 0.25rem;
}

.benefit-content {
  flex: 1;
}

.benefit-title {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.benefit-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.benefits-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem;
  color: white;
}

.testimonial-quote {
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  font-size: 0.875rem;
  opacity: 0.8;
}

.image-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--secondary-color);
  border-radius: 1rem;
  z-index: -1;
  display: none;
}

@media (min-width: 1024px) {
  .benefits-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  
  .image-decoration {
    display: block;
  }
}

/* =========================================
   PROCESS SECTION
   ========================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-line {
  display: none;
  position: absolute;
  top: 3rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
  border: 4px solid var(--primary-color);
  font-weight: bold;
  font-size: 1.5rem;
}

.step-badge {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 0.25rem 1rem;
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
  display: inline-block;
}

.step-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: white;
}

.step-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .process-line {
    display: block;
  }
}

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

.portfolio-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/2;
  transition: var(--transition);
}

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.portfolio-item:hover::before {
  opacity: 1;
}

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

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 1.5rem;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.portfolio-description {
  font-size: 0.875rem;
  opacity: 0.9;
}

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

.testimonial-card {
  background: var(--gradient-card);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.15);
}

.quote-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.stars {
  color: var(--secondary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

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

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.125rem;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.author-info {
  flex: 1;
}

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

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

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-container {
  max-width: 50rem;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(220, 38, 38, 0.3);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary-color);
  transition: var(--transition);
  background: linear-gradient(90deg, transparent 0%, rgba(220, 38, 38, 0.02) 100%);
}

.faq-question:hover {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.05) 0%, rgba(220, 38, 38, 0.02) 100%);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--secondary-color);
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 1.5rem 1.5rem;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-intro {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.contact-info-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  background: var(--gradient-accent);
  padding: 0.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.contact-info-content {
  flex: 1;
}

.contact-info-title {
  font-weight: bold;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: white;
}

.contact-info-text {
  color: rgba(255, 255, 255, 0.7);
}

.contact-info-text a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.contact-info-text a:hover {
  color: var(--secondary-color);
}

.special-offer {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(220, 38, 38, 0.3);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.2);
}

.offer-title {
  font-weight: bold;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
}

.offer-text {
  color: rgba(255, 255, 255, 0.8);
}

.offer-highlight {
  font-weight: bold;
  color: var(--secondary-color);
}

/* Form Styles */
.form-card {
  background: var(--gradient-card);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.form-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

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

.form-checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-checkbox {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================
   SERVICE AREAS
   ========================================= */
.service-areas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.area-badge {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
  border-radius: 9999px;
  color: var(--text-dark);
  font-size: 0.875rem;
  transition: var(--transition);
  border: 1px solid transparent;
}

.area-badge:hover {
  background: var(--gradient-accent);
  color: white;
  transform: scale(1.05);
  border-color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--gradient-dark);
  color: white;
  padding: 3rem 0 1rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-title {
  font-weight: bold;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links,
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-contact li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: var(--transition);
}

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

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

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

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

/* =========================================
   PROJECTS DETAIL SECTION (stories Ã¢â€ â€™ anchors)
   ========================================= */
.projects-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-detail-card {
  background: var(--bg-white);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
  scroll-margin-top: 5.5rem;
  display: flex;
  flex-direction: column;
}

.project-detail-card:hover {
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.25);
  transform: translateY(-4px);
}

/* Highlight animation when navigated from a story */
.project-detail-card.is-highlighted {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2), 0 12px 30px rgba(220, 38, 38, 0.15);
  animation: highlightPulse 1.6s ease-out;
}

@keyframes highlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.15), 0 12px 30px rgba(220, 38, 38, 0.15);
  }
  100% {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2), 0 12px 30px rgba(220, 38, 38, 0.15);
  }
}

/* Image */
.project-detail-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

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

.project-detail-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--gradient-accent);
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

/* Body */
.project-detail-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.project-detail-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.project-detail-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.project-detail-location i {
  color: var(--secondary-color);
}

.project-detail-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Tags */
.project-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
}

.project-detail-tags li {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary-color);
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 9999px;
  white-space: nowrap;
}

.project-detail-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

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

@media (max-width: 640px) {
  .projects-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .project-detail-body {
    padding: 1.25rem;
  }

  .project-detail-title {
    font-size: 1.125rem;
  }

  .project-detail-card {
    scroll-margin-top: 4.5rem;
  }
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
    height: 6.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .service-areas-title {
    font-size: 1.75rem;
  }
  .section {
    padding: 3rem 0;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-large {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
    height: 4.5rem;
    margin-bottom: 0.75rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .service-areas-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  .services-grid,
  .benefits-grid,
  .process-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .form-card {
    padding: 1.5rem;
  }
}

/* =========================================
   ACCESSIBILITY
   ========================================= */
*:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-contrast: high) {
  .btn {
    border: 2px solid currentColor;
  }
}

/* =========================================
   PRINT STYLES
   ========================================= */
@media print {
  .header,
  .mobile-menu,
  .footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  a {
    text-decoration: underline;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* =========================================
INSTAGRAM STORIES COMPONENT (inside hero)
   ========================================= */

.stories-section {
  position: relative;
  z-index: 2;
  padding: 1.5rem 0 2rem;
  background: transparent;
}


@media (max-width: 768px) {
  .stories-section {
    position: relative;
    z-index: 2;
    padding: 5.5rem 0 1rem;
    background: transparent;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  .stories-section .container {
    padding: 0;
    max-width: 100%;
  }
}

.stories-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Scroll Arrows */
.stories-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.85);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
  color: #fff;
}

.stories-arrow:hover {
  background: rgba(220, 38, 38, 1);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
  transform: translateY(-70%) scale(1.15);
}

.stories-arrow-left {
  left: 4px;
}

.stories-arrow-right {
  right: 4px;
}

.stories-arrow.visible {
  display: flex;
}

/* Mobile - hide arrows */
@media (max-width: 767px) {
  .stories-arrow {
    display: none !important;
  }
  
  .stories-arrow.visible {
    display: none !important;
  }
}

/* Desktop - always show arrows */
@media (min-width: 768px) {
  .stories-arrow {
    display: flex !important;
  }

  .stories-wrapper {
    padding: 0 52px;
  }

  .stories-arrow-left {
    left: 0;
  }

  .stories-arrow-right {
    right: 0;
  }

  .stories-arrow {
    width: 44px;
    height: 44px;
  }
}

/* Stories Container */
.stories-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding: 0.5rem 0;
}

.stories-container::-webkit-scrollbar {
  display: none;
}

/* Stories Track */
.stories-track {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 1rem;
  width: max-content;
}

@media (min-width: 768px) {
  .stories-track {
    padding: 0.75rem 0.25rem;
    gap: 1.25rem;
  }
}

/* Story Item */
.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

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

.story-item:active {
  transform: scale(0.95);
}

/* Story Ring */
.story-ring {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(
    135deg,
    #dc2626 0%,
    #ef4444 25%,
    #f97316 50%,
    #dc2626 75%,
    #b91c1c 100%
  );
  background-size: 200% 200%;
  position: relative;
  transition: all 0.3s ease;
}

.story-item:hover .story-ring {
  background-position: 100% 100%;
}

/* Glow Effect */
.story-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #dc2626 0%,
    #ef4444 50%,
    #f97316 100%
  );
  opacity: 0;
  filter: blur(8px);
  z-index: -1;
  transition: opacity 0.3s ease;
  transform: scale(1.05);
}

.story-item:hover .story-ring::before {
  opacity: 0.5;
}

/* Viewed State */
.story-item.viewed .story-ring {
  background: rgba(255, 255, 255, 0.3);
}

.story-item.viewed .story-ring::before {
  display: none;
}

/* Story clicked ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â disappear */
.story-item.story-hidden {
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
  width: 0;
  padding: 0;
  margin: 0;
  gap: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, width 0.4s ease 0.1s, padding 0.4s ease 0.1s, margin 0.4s ease 0.1s, gap 0.4s ease 0.1s;
}

/* Story Avatar */
.story-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #1a1a1a;
  padding: 2px;
  overflow: hidden;
}

.story-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.story-item:hover .story-avatar img {
  transform: scale(1.1);
}

/* Story Label */
.story-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 86px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.story-item:hover .story-label {
  color: #fff;
}

/* Responsive Sizes */
@media (min-width: 768px) {
  .story-ring {
    width: 96px;
    height: 96px;
  }
  
  .story-label {
    max-width: 96px;
    font-size: 0.85rem;
  }
  
  .stories-track {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .story-ring {
    width: 105px;
    height: 105px;
  }
  
  .story-label {
    max-width: 105px;
    font-size: 0.875rem;
  }
}

/* Accessibility */
.story-item:focus-visible {
  outline: none;
}

.story-item:focus-visible .story-ring {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3), 0 0 0 5px #dc2626;
}

@media (prefers-reduced-motion: reduce) {
  .story-item,
  .story-ring,
  .story-avatar img,
  .story-label,
  .stories-arrow {
    transition: none;
  }
  
  .story-ring::before {
    display: none;
  }
}

/* =========================================
HERO CONTACT TEXT (icon left, text right)
   ========================================= */
.contact-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(220, 38, 38, 0.05) 100%);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 0.75rem;
  backdrop-filter: blur(10px);
}

.contact-text i {
  flex-shrink: 0;
}

.contact-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 480px) {
  .contact-text {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem;
  }
}

/* =========================================
FORM NOTES (checkmark icon + text)
   ========================================= */
.form-notes {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-top: 1rem;
  padding: 0;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.form-note i {
  color: #10b981;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .form-notes {
    grid-template-columns: 1fr;
  }
}

/* =========================================
SERVICE AREAS EXPANDED SECTION
   ========================================= */
.service-areas-section {
  margin-top: 3rem;
}

.service-areas-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-area-column {
  background: var(--gradient-card);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.service-area-column:hover {
  border-color: rgba(220, 38, 38, 0.3);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.1);
  transform: translateY(-2px);
}

.area-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.area-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-areas-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-areas-cta {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(220, 38, 38, 0.03) 100%);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.cta-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

.cta-text i {
  color: var(--secondary-color);
  flex-shrink: 0;
}

.service-areas-closing {
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.6;
}

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

@media (max-width: 480px) {
  .service-areas-section {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 0 1.5rem;
  }

  .service-areas-grid {
    grid-template-columns: 1fr;
  }

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

/* =========================================
MOBILE 
   ========================================= */

/* Mobile-First Base Improvements (320px and up) */
@media (max-width: 640px) {
  /* CRITICAL: Prevent horizontal overflow */
  html, body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
  }
  
  * {
    max-width: 100%;
  }
  
  html {
    font-size: 14px;
  }
  
  body {
    line-height: 1.5;
  }
  
  .container {
    padding: 0 1rem;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Header Mobile Optimization */
  .header {
    height: 3.5rem;
  }
  
  .header-container {
    height: 3.5rem;
  }
  
  .logo-wrapper {
    flex: 1;
  }
  
  .logo-img {
    max-width: 150px !important;
    height: auto !important;
  }
  
  /* Hero Section Mobile */
  .hero {
    padding: 0 0 3rem;
    overflow: hidden;
  }
  
  .hero-content {
    max-width: 100%;
    overflow: hidden;
  }
  
  .hero-title {
    font-size: 2rem;
    height: 6rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-badge {
    font-size: 0.7rem;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    line-height: 1.4;
    border-radius: 0.5rem;
    max-width: calc(100% - 2rem);
  }
  
  .badge-dot {
    display: none;
  }
  
  .hero-buttons {
    gap: 0.75rem;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.8125rem;
    min-height: 44px;
  }
  
  .btn-large {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    line-height: 1.3;
  }
  
  .btn-primary {
    width: 100%;
  }
  
  /* Trust Badges Mobile */
  .trust-badges {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
  }
  
  .trust-badge {
    gap: 0.5rem;
  }
  
  /* Section Spacing Mobile */
  .section {
    padding: 2.5rem 0;
  }
  
  .section-subtitle {
    font-size: 0.9375rem;
  }
  
  /* Service Cards Mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .service-title {
    font-size: 1.125rem;
  }
  
  /* Benefits Mobile */
  .benefits-wrapper {
    gap: 2rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .benefit-item {
    gap: 0.75rem;
  }
  
  /* Process Steps Mobile */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .step-number {
    width: 5rem;
    height: 5rem;
    font-size: 1.25rem;
  }
  
  .step-title {
    font-size: 1.125rem;
  }
  
  /* Portfolio Mobile */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .portfolio-item {
    aspect-ratio: 4/3;
  }
  
  .portfolio-overlay {
    padding: 1rem;
  }
  
  .portfolio-title {
    font-size: 1rem;
  }
  
  .portfolio-description {
    font-size: 0.8125rem;
  }
  
  /* Testimonials Mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  /* FAQ Mobile */
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .faq-item {
    border-radius: 0.5rem;
    overflow: hidden;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 0.9375rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 0.875rem;
  }
  
  /* Form Mobile */
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  input,
  textarea,
  select {
    padding: 0.75rem;
    font-size: 1rem;
    min-height: 44px;
  }
  
  textarea {
    min-height: 120px;
  }
  
  /* Footer Mobile */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer-contact {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer-bottom {
    padding-top: 1.5rem;
  }
  
  /* Mobile Menu Improvements */
  .mobile-menu-content {
    padding: 1rem;
  }
  
  .mobile-menu-header {
    margin-bottom: 1.5rem;
  }
  
  .mobile-nav {
    gap: 0.75rem;
  }
  
  .mobile-link {
    font-size: 1rem;
    padding: 0.75rem 0.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .mobile-phone {
    font-size: 1rem;
    padding: 0.75rem;
    min-height: 44px;
  }
  
  /* WhatsApp Button Mobile */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* Tablet Optimization (641px to 768px) */
@media (min-width: 641px) and (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 1.25rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  input,
  textarea,
  select {
    min-height: 44px;
  }
}

/* Landscape Mode Mobile (Horizontal) */
@media (max-height: 600px) and (orientation: landscape) {
  .header {
    height: 3rem;
  }
  
  .header-container {
    height: 3rem;
  }
  
  .hero {
    padding: 1rem 0 2rem;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .hero-buttons {
    flex-direction: row;
    gap: 0.5rem;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  .section {
    padding: 1.5rem 0;
  }
}

/* Small Phone Optimization (320px - 375px) */
@media (max-width: 375px) {
  html {
    font-size: 13px;
  }
  
  .container {
    padding: 0 0.75rem;
  }
  
  .header-container {
    gap: 0.5rem;
  }
  
  .logo-img {
    max-width: 120px !important;
  }
  
  .hero-title {
    font-size: 1.375rem;
  }
  
  .hero-subtitle {
    font-size: 0.9375rem;
  }
  
  .btn {
    padding: 0.625rem 1rem;
    font-size: 0.75rem;
  }
  
  .trust-badges {
    grid-template-columns: 1fr;
  }
  
  .form-notes {
    grid-template-columns: 1fr;
  }
  
  .service-areas-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .service-area-column {
    padding: 1rem;
  }
}

/* High DPI / Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .shadow-md,
  .service-card,
  .testimonial-card,
  .form-card {
    box-shadow: var(--shadow-md);
  }
}

/* Touch Device Enhancements */
@media (hover: none) and (pointer: coarse) {
  .btn:hover {
    transform: none;
  }
  
  .service-card:hover {
    transform: none;
  }
  
  .portfolio-item:hover {
    transform: none;
  }
  
  .nav-link:hover::after {
    width: 0;
  }
  
  .btn,
  a,
  button {
    -webkit-tap-highlight-color: rgba(220, 38, 38, 0.1);
  }
}

/* Vertical Rhythm Improvements */
@media (max-width: 640px) {
  h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }
  
  p {
    margin-bottom: 0.75rem;
  }
  
  ul, ol {
    
    margin-bottom: 0.75rem;
  }
  
  li {
    margin-bottom: 0.5rem;
  }
}

/* =========================================
   COOKIE CONSENT BANNER
   ========================================= */
/* =========================================
   COOKIE CONSENT - GDPR COMPLIANT
   ========================================= */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  color: white;
  z-index: 9998;
  padding: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-consent.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.cookie-message {
  flex: 1;
}

.cookie-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
}

.cookie-text {
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}

.cookie-link {
  color: #dc2626;
  font-size: 0.9rem;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cookie-link:hover {
  color: #ef4444;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.9rem;
  white-space: nowrap;
  min-height: 44px;
}

.btn-outline {
  background: transparent;
  color: #ccc;
  border: 1px solid #666;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #999;
  color: white;
}

/* Mobile responsiveness for cookie banner */
@media (max-width: 768px) {
  .cookie-consent {
    padding: 1rem;
  }

  .cookie-content {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .btn-sm {
    width: 100%;
  }
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
}

.cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.cookie-modal-content {
  position: relative;
  background: #1a1a1a;
  color: white;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.cookie-modal.hidden .cookie-modal-content {
  transform: scale(0.95);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #333;
}

.cookie-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.cookie-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #999;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.cookie-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.cookie-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.cookie-modal-intro {
  font-size: 0.9375rem;
  color: #ccc;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

/* Cookie Categories */
.cookie-category {
  padding: 1.25rem;
  background: #2d2d2d;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #444;
  transition: border-color 0.2s ease;
}

.cookie-category:last-child {
  margin-bottom: 0;
}

.cookie-category:hover {
  border-color: rgba(220, 38, 38, 0.5);
}

.cookie-category-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 480px) {
  .cookie-category-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.cookie-category-info {
  flex: 1;
}

.cookie-category-title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.5rem 0;
}

.cookie-category-desc {
  font-size: 0.8125rem;
  color: #aaa;
  line-height: 1.5;
  margin: 0;
}

/* Cookie Toggle Switch */
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-label {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  cursor: pointer;
}

.cookie-toggle-label.disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.cookie-toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #555;
  border-radius: 28px;
  transition: all 0.3s ease;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.cookie-toggle input:checked + .cookie-toggle-label .cookie-toggle-slider {
  background: #dc2626;
}

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

.cookie-toggle input:focus + .cookie-toggle-label .cookie-toggle-slider {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3);
}

.cookie-toggle-status {
  font-size: 0.75rem;
  color: #999;
  white-space: nowrap;
}

/* Modal Footer */
.cookie-modal-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #333;
  display: flex;
  gap: 1rem;
  justify-content: stretch;
}

.cookie-modal-footer .btn {
  flex: 1;
  min-width: 0;
}
/* Print - hide cookie elements */
@media print {
  .cookie-consent,
  .cookie-modal {
    display: none !important;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .cookie-consent,
  .cookie-modal,
  .cookie-modal-content,
  .cookie-toggle-slider,
  .cookie-toggle-slider::before {
    transition: none;
  }
}