/* Van Deenen Installatie Techniek - Warm Industrieel Design 2026 */

/* ===== CSS Variables - Warm Industrieel ===== */
:root {
  /* Primary - Antraciet tonen */
  --primary: #2C3E50;
  --primary-dark: #1C2526;
  --primary-light: #475B63;

  /* Accent - Koper/Brons */
  --accent: #B87333;
  --accent-light: #CD8544;
  --accent-dark: #8B5A2B;
  --accent-glow: rgba(184, 115, 51, 0.3);

  /* Functioneel */
  --petrol: #0A4D68;
  --success: #2D6A4F;
  --alert: #BC4749;
  --whatsapp: #25D366;

  /* Neutrals - Warm */
  --white: #ffffff;
  --warm-white: #FAFAF8;
  --cream: #F5F3EF;
  --stone: #E8E4DE;
  --stone-dark: #D4CFC7;

  /* Grays - Met warmte */
  --gray-50: #FAFAF9;
  --gray-100: #F5F4F2;
  --gray-200: #E8E6E3;
  --gray-300: #D4D1CC;
  --gray-400: #A8A49D;
  --gray-500: #7A7670;
  --gray-600: #5C5852;
  --gray-700: #3D3A36;
  --gray-800: #2A2825;
  --gray-900: #1A1917;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #1C2526 0%, #2C3E50 50%, #1C2526 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  --gradient-dark: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(28 37 38 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(28 37 38 / 0.08), 0 2px 4px -2px rgb(28 37 38 / 0.05);
  --shadow-lg: 0 10px 20px -3px rgb(28 37 38 / 0.1), 0 4px 6px -4px rgb(28 37 38 / 0.05);
  --shadow-xl: 0 20px 30px -5px rgb(28 37 38 / 0.12), 0 8px 10px -6px rgb(28 37 38 / 0.05);
  --shadow-2xl: 0 25px 50px -12px rgb(28 37 38 / 0.2);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --shadow-card: 0 4px 20px rgba(28, 37, 38, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(28, 37, 38, 0.15);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'DM Sans', var(--font-sans);

  /* Spacing */
  --section-padding: clamp(5rem, 12vw, 8rem);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-600);
  background-color: var(--warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.375rem, 2.5vw, 1.625rem);
}

h4 {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
}

p {
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  color: var(--gray-600);
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 2.5rem;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: var(--shadow-lg), 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), 0 0 30px var(--accent-glow);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-dark);
  border: 2px solid var(--stone-dark);
}

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

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

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

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.0625rem 2.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* ===== Header / Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-base);
}

.header-inner {
  padding: 1.25rem 0;
  transition: all var(--transition-base);
}

.header.scrolled .header-inner {
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--stone), var(--shadow-md);
  padding: 0.875rem 0;
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: color var(--transition-base);
}

.header.scrolled .logo-name {
  color: var(--primary-dark);
}

.logo-tagline {
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition-base);
}

.header.scrolled .logo-tagline {
  color: var(--gray-500);
}

.logo-accent {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent);
  margin-top: 4px;
  border-radius: 1px;
}

/* Navigation */
.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem 1.125rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.nav-link svg {
  opacity: 0.7;
  transition: transform var(--transition-base);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

.header.scrolled .nav-link {
  color: var(--gray-700);
}

.header.scrolled .nav-link:hover {
  background: var(--cream);
  color: var(--primary-dark);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 300px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 0.875rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 100;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: var(--white);
  border-top: 0;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.nav-dropdown-item:hover {
  background: var(--cream);
}

.nav-dropdown-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.nav-dropdown-item:hover .nav-dropdown-icon {
  background: var(--gradient-accent);
}

.nav-dropdown-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  transition: color var(--transition-base);
}

.nav-dropdown-item:hover .nav-dropdown-icon svg {
  color: var(--white);
}

.nav-dropdown-item div strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.125rem;
}

.nav-dropdown-item div span {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* Header Actions */
.header-actions {
  display: none;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
  }
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-base);
}

.header-phone svg {
  color: var(--accent);
}

.header.scrolled .header-phone {
  color: var(--primary-dark);
}

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

.header-actions .btn-primary {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1001;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

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

.header.scrolled .mobile-toggle span {
  background: var(--primary-dark);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 340px;
  height: 100vh;
  background: var(--warm-white);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-slow);
  z-index: 999;
  box-shadow: var(--shadow-2xl);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 37, 38, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 998;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  padding: 1.75rem;
  border-bottom: 1px solid var(--stone);
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.mobile-logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.mobile-logo-tagline {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0;
  flex: 1;
}

.mobile-nav-link {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 1rem 1.75rem;
  transition: all var(--transition-base);
  border-left: 3px solid transparent;
}

.mobile-nav-link:hover {
  background: var(--cream);
  color: var(--primary-dark);
  border-left-color: var(--accent);
}

.mobile-menu-footer {
  padding: 1.75rem;
  border-top: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  font-weight: 600;
  color: var(--primary-dark);
  transition: all var(--transition-base);
}

.mobile-phone svg {
  color: var(--accent);
}

.mobile-phone:hover {
  background: var(--stone);
}

.mobile-menu-footer .btn {
  width: 100%;
  justify-content: center;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 25s ease-in-out infinite;
}

.hero-shape-1 {
  width: 700px;
  height: 700px;
  background: rgba(184, 115, 51, 0.35);
  top: -300px;
  right: -250px;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 500px;
  height: 500px;
  background: rgba(44, 62, 80, 0.5);
  bottom: -200px;
  left: -150px;
  animation-delay: -8s;
}

.hero-shape-3 {
  width: 350px;
  height: 350px;
  background: rgba(184, 115, 51, 0.25);
  top: 40%;
  left: 40%;
  animation-delay: -16s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(40px, -40px) scale(1.05);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.95);
  }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  background: rgba(184, 115, 51, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 1.75rem;
  border: 1px solid rgba(184, 115, 51, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--accent-light);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero h1 span {
  color: var(--accent-light);
}

.hero-description {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .hero-description {
    margin-left: 0;
    margin-right: auto;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-stat {
    text-align: left;
  }
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-number span {
  color: var(--accent-light);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Hero Image/Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 2px solid rgba(184, 115, 51, 0.3);
}

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

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184, 115, 51, 0.15) 0%, transparent 60%);
  z-index: 1;
}

/* Floating Cards */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  animation: floatCard 7s ease-in-out infinite;
}

.hero-float-card-1 {
  top: 8%;
  left: -8%;
  animation-delay: 0s;
}

.hero-float-card-2 {
  bottom: 25%;
  right: -12%;
  animation-delay: -2.5s;
}

.hero-float-card-3 {
  bottom: 3%;
  left: 8%;
  animation-delay: -5s;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-float-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float-icon.copper {
  background: var(--gradient-accent);
}

.hero-float-icon.dark {
  background: var(--gradient-dark);
}

.hero-float-icon.green {
  background: linear-gradient(135deg, #2D6A4F, #40916C);
}

.hero-float-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.hero-float-text {
  font-size: 0.875rem;
}

.hero-float-title {
  font-weight: 600;
  color: var(--primary-dark);
}

.hero-float-subtitle {
  color: var(--gray-500);
  font-size: 0.75rem;
}

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--white);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--stone);
}

.trust-bar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .trust-bar-inner {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
  }
}

.trust-bar-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.trust-bar-logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-logo {
  height: 32px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.trust-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ===== Section Styles ===== */
section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(184, 115, 51, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-500);
}

.section-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 1.25rem auto 0;
  border-radius: 2px;
}

/* Alternate section background */
.section-cream {
  background: var(--cream);
}

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

.section-dark .section-header h2 {
  color: var(--white);
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.section-dark .section-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-light);
}

/* ===== Services Section ===== */
.services {
  background: var(--cream);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 2.25rem;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

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

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

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-xl);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px var(--accent-glow);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-card > p {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--gray-500);
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.service-feature svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-weight: 600;
  color: var(--accent);
  transition: all var(--transition-base);
}

.service-link:hover {
  gap: 0.875rem;
  color: var(--accent-dark);
}

.service-link svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

/* ===== About Section ===== */
.about {
  position: relative;
  background: var(--warm-white);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about .container {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.about-image {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 2px solid var(--accent);
}

.about-image-main img {
  width: 100%;
  height: auto;
}

.about-experience-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--primary-dark);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
  .about-experience-badge {
    bottom: -2rem;
    right: -2rem;
    padding: 2rem 2.5rem;
  }
}

.about-experience-number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-light);
}

.about-experience-text {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.375rem;
  font-weight: 500;
}

.about-content .section-badge {
  margin-bottom: 1rem;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content > p {
  margin-bottom: 1.25rem;
  color: var(--gray-600);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.about-feature-text {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.9375rem;
  line-height: 1.4;
}

/* ===== Why Choose Us Section ===== */
.why-us {
  background: var(--primary-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.why-us .section-header h2 {
  color: var(--white);
}

.why-us .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.why-us .section-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-light);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  position: relative;
  z-index: 1;
}

.why-us-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.why-us-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.why-us-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px var(--accent-glow);
}

.why-us-icon svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.why-us-card h4 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.why-us-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ===== FAQ Section ===== */
.faq {
  background: var(--cream);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

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

.faq-content .section-badge {
  margin-bottom: 1rem;
}

.faq-content h2 {
  margin-bottom: 1rem;
}

.faq-content > p {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--stone);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: left;
  transition: all var(--transition-base);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===== Testimonials Section ===== */
.testimonials {
  background: var(--warm-white);
}

.testimonials-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
}

.testimonials-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-full);
}

.testimonials-stars {
  display: flex;
  gap: 0.25rem;
}

.testimonials-stars svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  fill: var(--accent);
}

.testimonials-score {
  font-weight: 700;
  color: var(--primary-dark);
}

.testimonials-count {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  border: 1px solid transparent;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--stone);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  fill: var(--accent);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stone);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-info h5 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.testimonial-info p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ===== CTA Section ===== */
.cta {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta .btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
}

.cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

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

/* ===== Contact Section ===== */
.contact {
  position: relative;
  background: var(--warm-white);
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

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

.contact-info .section-badge {
  margin-bottom: 1rem;
}

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

.contact-info > p {
  margin-bottom: 2.5rem;
  color: var(--gray-600);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-method-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.contact-method-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--primary-dark);
}

.contact-method-text p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.contact-method-text a {
  color: var(--accent);
  font-weight: 500;
  transition: color var(--transition-base);
}

.contact-method-text a:hover {
  color: var(--accent-dark);
}

.contact-whatsapp {
  margin-top: 2rem;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--stone);
}

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

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

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

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

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

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.9375rem 1rem;
  border: 2px solid var(--stone);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-base);
  background: var(--white);
  color: var(--primary-dark);
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

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

.contact-form .btn {
  width: 100%;
}

/* Map Section */
.contact-map {
  margin-top: 4rem;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--stone);
}

.contact-map iframe {
  width: 100%;
  height: 350px;
  display: block;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  color: var(--gray-400);
  padding: 5rem 0 2rem;
}

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

.footer-brand {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .footer-brand {
    grid-column: auto;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
}

.footer-logo-tagline {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-brand p {
  font-size: 0.9375rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-link {
  font-size: 0.9375rem;
  transition: all var(--transition-base);
}

.footer-link:hover {
  color: var(--accent-light);
  padding-left: 0.25rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

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

.footer-social:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

/* ===== Mobile Sticky Contact Bar ===== */
.mobile-contact-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  padding: 0.75rem 1rem;
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1024px) {
  .mobile-contact-bar {
    display: none;
  }
}

.mobile-contact-bar-inner {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.mobile-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.mobile-contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-contact-item svg {
  width: 22px;
  height: 22px;
}

.mobile-contact-item.whatsapp svg {
  color: var(--whatsapp);
}

.mobile-contact-item.phone svg {
  color: var(--accent-light);
}

.mobile-contact-item.email svg {
  color: var(--white);
}

/* Add padding to body for mobile contact bar */
@media (max-width: 1023px) {
  body {
    padding-bottom: 70px;
  }
}

/* ===== Scroll Animations ===== */
.fade-up,
.fade-in,
.slide-left,
.slide-right {
  opacity: 1;
  transform: none;
}

.stagger-children > * {
  opacity: 1;
  transform: none;
}

body.js-loaded .fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body.js-loaded .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

body.js-loaded .fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}

body.js-loaded .fade-in.visible {
  opacity: 1;
}

body.js-loaded .slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body.js-loaded .slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

body.js-loaded .slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body.js-loaded .slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

body.js-loaded .stagger-children > * {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

body.js-loaded .stagger-children.visible > *:nth-child(1) { transition-delay: 0ms; }
body.js-loaded .stagger-children.visible > *:nth-child(2) { transition-delay: 80ms; }
body.js-loaded .stagger-children.visible > *:nth-child(3) { transition-delay: 160ms; }
body.js-loaded .stagger-children.visible > *:nth-child(4) { transition-delay: 240ms; }
body.js-loaded .stagger-children.visible > *:nth-child(5) { transition-delay: 320ms; }
body.js-loaded .stagger-children.visible > *:nth-child(6) { transition-delay: 400ms; }

body.js-loaded .stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

/* ===== Loading States ===== */
.skeleton {
  background: linear-gradient(90deg, var(--stone) 25%, var(--cream) 50%, var(--stone) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== Print Styles ===== */
@media print {
  .header,
  .mobile-menu,
  .mobile-menu-overlay,
  .mobile-contact-bar,
  .cta,
  .footer-socials {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    padding-bottom: 0;
  }

  .hero {
    background: #fff !important;
    min-height: auto;
    padding: 2rem 0;
  }

  .hero h1,
  .hero-description {
    color: #000 !important;
  }
}
