/*
Theme Name: Reparaciones del Hogar
Theme URI: https://reparacionesdelhogar.es
Author: Manitas de Confianza
Author URI: https://reparacionesdelhogar.es
Description: Tema profesional para servicios de reparaciones del hogar - Electricidad, Fontanería, Montajes y Reparaciones
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reparaciones-hogar
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ========================================
   REPARACIONES DEL HOGAR - THEME STYLES
   ======================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Figtree:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --brand-blue-dark: #1A3A52;
  --brand-blue-medium: #2E5C8F;
  --brand-lime: #D0E678;
  --brand-mint: #7EB8A2;
  --brand-gray-light: #F5F7FA;
  --brand-white: #FFFFFF;
  --brand-black: #1A1A1A;
  
  --font-display: 'Fraunces', serif;
  --font-body: 'Figtree', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--brand-gray-light);
  color: var(--brand-black);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* Selection */
::selection {
  background-color: rgba(208, 230, 120, 0.3);
  color: var(--brand-blue-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--brand-blue-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-blue-medium);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-lime);
}

/* ========================================
   NAVIGATION
   ======================================== */

.main-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.main-navigation.scrolled {
  background: rgba(26, 58, 82, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-lime);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 24px;
  height: 24px;
  color: var(--brand-blue-dark);
}

.nav-logo-text {
  color: white;
}

.nav-logo-text .main {
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.2;
  display: block;
}

.nav-logo-text .sub {
  color: var(--brand-lime);
  font-size: 0.75rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.875rem;
  position: relative;
}

.nav-menu a:hover {
  color: var(--brand-lime);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-lime);
  transition: width 0.3s ease;
}

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

.nav-cta {
  background: var(--brand-lime);
  color: var(--brand-blue-dark) !important;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta:hover {
  background: #c0d668;
}

.nav-cta::after {
  display: none !important;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--brand-blue-dark);
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(208, 230, 120, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208, 230, 120, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-blue-dark) 0%, rgba(26, 58, 82, 0.95) 50%, rgba(46, 92, 143, 0.8) 100%);
}

.hero-decoration {
  position: absolute;
  border: 1px solid rgba(208, 230, 120, 0.2);
  border-radius: 50%;
}

.hero-decoration-1 {
  width: 128px;
  height: 128px;
  top: 80px;
  left: 40px;
  animation: float 3s ease-in-out infinite;
}

.hero-decoration-2 {
  width: 80px;
  height: 80px;
  bottom: 160px;
  left: 25%;
  border-color: rgba(126, 184, 162, 0.2);
  animation: float 3s ease-in-out infinite 1s;
}

.hero-decoration-3 {
  width: 64px;
  height: 64px;
  top: 33%;
  right: 80px;
  background: rgba(208, 230, 120, 0.1);
  animation: float 3s ease-in-out infinite 0.5s;
}

.hero-container {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(208, 230, 120, 0.1);
  border: 1px solid rgba(208, 230, 120, 0.3);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-lime);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-badge-text {
  color: var(--brand-lime);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--brand-lime) 0%, var(--brand-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--brand-mint);
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  max-width: 500px;
  margin-bottom: 2rem;
}

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

.btn-primary {
  background: var(--brand-lime);
  color: var(--brand-blue-dark);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(208, 230, 120, 0.3);
}

.btn-primary:hover {
  background: #c0d668;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 2px solid var(--brand-mint);
  color: var(--brand-mint);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(126, 184, 162, 0.1);
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--brand-lime);
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-image-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 58, 82, 0.3) 0%, transparent 100%);
  z-index: 1;
}

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

.hero-floating-card {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  z-index: 20;
}

.hero-floating-card.phone {
  bottom: -24px;
  left: -24px;
  animation: float 3s ease-in-out infinite;
}

.hero-floating-card.experience {
  top: -16px;
  right: -16px;
  background: var(--brand-blue-medium);
  color: white;
  text-align: center;
  animation: float 3s ease-in-out infinite 0.5s;
}

.hero-floating-card.experience .number {
  color: var(--brand-lime);
  font-size: 2rem;
  font-weight: 700;
}

.hero-floating-card.experience .text {
  font-size: 0.875rem;
}

.floating-card-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-card-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--brand-blue-dark);
}

.floating-card-text .number {
  font-weight: 700;
  color: var(--brand-blue-dark);
  font-size: 1.125rem;
}

.floating-card-text .label {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Wave Separator */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 120px;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
  position: relative;
  padding: 6rem 0;
  background: var(--brand-gray-light);
}

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

.services-bg-decoration::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: rgba(208, 230, 120, 0.05);
  border-radius: 50%;
  filter: blur(60px);
  transform: translate(-50%, -50%);
}

.services-bg-decoration::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: rgba(126, 184, 162, 0.05);
  border-radius: 50%;
  filter: blur(60px);
  transform: translate(50%, 50%);
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26, 58, 82, 0.1);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.section-badge svg {
  width: 16px;
  height: 16px;
  color: var(--brand-blue-dark);
}

.section-badge span {
  color: var(--brand-blue-dark);
  font-size: 0.875rem;
  font-weight: 500;
}

.section-title {
  font-size: 2.5rem;
  color: var(--brand-blue-dark);
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--brand-blue-medium);
}

.section-description {
  color: #6b7280;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-card:nth-child(odd) {
  transform: translateY(0);
}

.service-card:nth-child(even) {
  transform: translateY(40px);
}

.service-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px) scale(1.02);
}

.service-card:nth-child(even):hover {
  transform: translateY(35px) scale(1.02);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 0.1;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(3deg);
}

.service-title {
  font-size: 1.25rem;
  color: var(--brand-blue-dark);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: var(--brand-blue-medium);
}

.service-description {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  transition: width 0.5s ease;
}

.service-card:hover::after {
  width: 100%;
}

/* Service Card Colors */
.service-card.electricidad .service-icon { background: rgba(208, 230, 120, 0.2); }
.service-card.electricidad .service-icon svg { color: var(--brand-lime); }
.service-card.electricidad .service-features li::before { background: var(--brand-lime); }
.service-card.electricidad .service-link { color: var(--brand-lime); }
.service-card.electricidad::before { background: var(--brand-lime); }
.service-card.electricidad::after { background: var(--brand-lime); }

.service-card.fontaneria .service-icon { background: rgba(126, 184, 162, 0.2); }
.service-card.fontaneria .service-icon svg { color: var(--brand-mint); }
.service-card.fontaneria .service-features li::before { background: var(--brand-mint); }
.service-card.fontaneria .service-link { color: var(--brand-mint); }
.service-card.fontaneria::before { background: var(--brand-mint); }
.service-card.fontaneria::after { background: var(--brand-mint); }

.service-card.montajes .service-icon { background: rgba(208, 230, 120, 0.2); }
.service-card.montajes .service-icon svg { color: var(--brand-lime); }
.service-card.montajes .service-features li::before { background: var(--brand-lime); }
.service-card.montajes .service-link { color: var(--brand-lime); }
.service-card.montajes::before { background: var(--brand-lime); }
.service-card.montajes::after { background: var(--brand-lime); }

.service-card.reparaciones .service-icon { background: rgba(126, 184, 162, 0.2); }
.service-card.reparaciones .service-icon svg { color: var(--brand-mint); }
.service-card.reparaciones .service-features li::before { background: var(--brand-mint); }
.service-card.reparaciones .service-link { color: var(--brand-mint); }
.service-card.reparaciones::before { background: var(--brand-mint); }
.service-card.reparaciones::after { background: var(--brand-mint); }

/* ========================================
   PROCESS SECTION
   ======================================== */

.process-section {
  position: relative;
  padding: 6rem 0;
  background: var(--brand-blue-dark);
  overflow: hidden;
}

.process-section .section-title {
  color: white;
}

.process-section .section-title span {
  background: linear-gradient(135deg, var(--brand-lime) 0%, var(--brand-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-section .section-description {
  color: rgba(255, 255, 255, 0.6);
}

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  position: relative;
}

.process-step-card {
  position: relative;
  background: rgba(46, 92, 143, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.process-step-card:hover {
  border-color: rgba(208, 230, 120, 0.3);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.process-step.active .step-number {
  background: var(--brand-lime);
  color: var(--brand-blue-dark);
  box-shadow: 0 0 20px rgba(208, 230, 120, 0.4);
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0 1rem;
  transition: all 0.3s ease;
}

.process-step.active .step-icon {
  background: rgba(208, 230, 120, 0.2);
}

.step-icon svg {
  width: 32px;
  height: 32px;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.process-step.active .step-icon svg {
  color: var(--brand-lime);
}

.step-title {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.process-step-card:hover .step-title {
  color: var(--brand-lime);
}

.step-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Step Connector */
.step-connector {
  position: absolute;
  top: 24px;
  right: -1rem;
  width: 2rem;
  height: 2rem;
  background: rgba(208, 230, 120, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.step-connector svg {
  width: 16px;
  height: 16px;
  color: var(--brand-lime);
}

.process-step:last-child .step-connector {
  display: none;
}

/* Process CTA */
.process-cta {
  text-align: center;
  margin-top: 4rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--brand-lime);
  color: var(--brand-blue-dark);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(208, 230, 120, 0.3);
}

.btn-whatsapp:hover {
  background: #c0d668;
  transform: scale(1.05);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery-section {
  position: relative;
  padding: 6rem 0;
  background: var(--brand-gray-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-item:nth-child(1) { transform: rotate(-1deg); }
.gallery-item:nth-child(2) { transform: rotate(1deg); grid-row: span 2; }
.gallery-item:nth-child(3) { transform: rotate(-1deg); }
.gallery-item:nth-child(4) { transform: rotate(1deg); }
.gallery-item:nth-child(5) { transform: rotate(-1deg); }
.gallery-item:nth-child(6) { transform: rotate(1deg); grid-row: span 2; }

.gallery-item:hover {
  transform: rotate(0deg) scale(1.05);
  z-index: 10;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 58, 82, 0.9) 0%, rgba(26, 58, 82, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category {
  color: var(--brand-lime);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.gallery-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
}

.gallery-zoom {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

.gallery-zoom svg {
  width: 20px;
  height: 20px;
  color: var(--brand-blue-dark);
}

.gallery-border {
  position: absolute;
  inset: 0;
  border: 2px solid var(--brand-lime);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-border {
  opacity: 1;
}

/* Gallery CTA */
.gallery-cta {
  text-align: center;
  margin-top: 3rem;
}

.gallery-cta p {
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.gallery-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-blue-medium);
  font-weight: 600;
}

.gallery-cta a:hover {
  color: var(--brand-blue-dark);
}

.gallery-cta a svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.gallery-cta a:hover svg {
  transform: translateX(4px);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
  position: relative;
  padding: 6rem 0;
  background: var(--brand-blue-dark);
  overflow: hidden;
}

.testimonials-section .section-title {
  color: white;
}

.testimonials-section .section-title span {
  background: linear-gradient(135deg, var(--brand-lime) 0%, var(--brand-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonials-section .section-description {
  color: rgba(255, 255, 255, 0.6);
}

/* Testimonials Carousel */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0;
  cursor: grab;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonials-track:active {
  cursor: grabbing;
}

.testimonial-card {
  flex-shrink: 0;
  width: 350px;
  background: rgba(126, 184, 162, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  scroll-snap-align: start;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(208, 230, 120, 0.3);
}

.testimonial-quote {
  width: 40px;
  height: 40px;
  color: rgba(208, 230, 120, 0.3);
  margin-bottom: 1rem;
}

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

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--brand-lime);
  color: var(--brand-lime);
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--brand-lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--brand-blue-dark);
  font-size: 1.125rem;
}

.testimonial-name {
  color: white;
  font-weight: 600;
}

.testimonial-location {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Testimonials Navigation */
.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonials-nav button {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.testimonials-nav button:hover {
  background: var(--brand-lime);
  border-color: var(--brand-lime);
  color: var(--brand-blue-dark);
}

.testimonials-nav button svg {
  width: 24px;
  height: 24px;
}

/* Stats */
.testimonials-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(46, 92, 143, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-lime);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
  position: relative;
  padding: 6rem 0;
  background: var(--brand-gray-light);
}

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

/* Contact Form */
.contact-form-wrapper {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  color: var(--brand-blue-dark);
  margin-bottom: 1.5rem;
}

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

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

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

.form-group label {
  font-weight: 500;
  color: var(--brand-blue-dark);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-lime);
  box-shadow: 0 0 0 3px rgba(208, 230, 120, 0.2);
}

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

.btn-submit {
  background: var(--brand-blue-dark);
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: var(--brand-blue-medium);
}

.form-note {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* WhatsApp CTA Card */
.whatsapp-card {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 16px;
  padding: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.whatsapp-card:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(37, 211, 102, 0.3);
}

.whatsapp-card-content {
  display: flex;
  gap: 1.5rem;
}

.whatsapp-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.whatsapp-card:hover .whatsapp-icon {
  transform: scale(1.1);
}

.whatsapp-icon svg {
  width: 32px;
  height: 32px;
}

.whatsapp-text h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.whatsapp-text p {
  opacity: 0.8;
  margin-bottom: 1rem;
}

.whatsapp-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.whatsapp-number svg {
  width: 24px;
  height: 24px;
}

/* Contact Details Grid */
.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-detail-item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-detail-item:hover .contact-detail-icon {
  transform: scale(1.1);
}

.contact-detail-icon svg {
  width: 24px;
  height: 24px;
}

.contact-detail-text .label {
  font-size: 0.875rem;
  color: #6b7280;
}

.contact-detail-text .value {
  font-weight: 600;
  color: var(--brand-blue-dark);
}

/* Trust Badge */
.trust-badge-card {
  background: var(--brand-blue-dark);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
}

.trust-badge-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.trust-badge-header svg {
  width: 24px;
  height: 24px;
  color: var(--brand-lime);
}

.trust-badge-header span {
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
}

.trust-badge-card p {
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  position: relative;
  background: var(--brand-blue-dark);
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-99%);
  line-height: 0;
}

.footer-wave svg {
  width: 100%;
  height: 60px;
}

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

/* Footer Brand */
.footer-brand {
  max-width: 300px;
}

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

.footer-logo-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-lime);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon svg {
  width: 28px;
  height: 28px;
  color: var(--brand-blue-dark);
}

.footer-logo-text .main {
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  display: block;
  line-height: 1.2;
}

.footer-logo-text .sub {
  color: var(--brand-lime);
  font-size: 0.875rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--brand-lime);
  color: var(--brand-blue-dark);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
}

/* Footer Links */
.footer-links h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.footer-links a::before {
  content: '';
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
}

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

.footer-links a:hover::before {
  background: var(--brand-lime);
}

/* Footer Contact */
.footer-contact h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  margin-bottom: 1rem;
}

.footer-contact-list a,
.footer-contact-list > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.footer-contact-list a:hover {
  color: var(--brand-lime);
}

.footer-contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-icon svg {
  width: 20px;
  height: 20px;
}

.footer-contact-text .label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-contact-text .value {
  font-weight: 500;
  color: white;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

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

.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--brand-lime);
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */

.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.whatsapp-tooltip {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  max-width: 200px;
  position: relative;
  animation: slideInUp 0.5s ease;
}

.whatsapp-tooltip-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: #e5e7eb;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-tooltip-close svg {
  width: 12px;
  height: 12px;
  color: #6b7280;
}

.whatsapp-tooltip p {
  font-size: 0.875rem;
  color: #374151;
  font-weight: 500;
}

.whatsapp-tooltip span {
  font-size: 0.75rem;
  color: #6b7280;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 2rem;
  width: 12px;
  height: 12px;
  background: white;
  transform: rotate(45deg);
}

.whatsapp-button {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
  position: relative;
  transition: all 0.3s ease;
  animation: pulse-glow 2s infinite;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: ping 2s infinite;
  opacity: 0.2;
}

.whatsapp-button svg {
  width: 32px;
  height: 32px;
  color: white;
  fill: white;
  position: relative;
  z-index: 1;
}

.whatsapp-label {
  position: absolute;
  right: 100%;
  margin-right: 1rem;
  background: white;
  color: #374151;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.whatsapp-button:hover .whatsapp-label {
  opacity: 1;
}

/* ========================================
   LIGHTBOX
   ======================================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26, 58, 82, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
}

.lightbox-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--brand-blue-dark) 0%, transparent 100%);
  padding: 2rem;
  border-radius: 0 0 8px 8px;
}

.lightbox-category {
  color: var(--brand-lime);
  font-size: 0.875rem;
  font-weight: 500;
}

.lightbox-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 20px 10px rgba(37, 211, 102, 0.2);
  }
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.2;
  }
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

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

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-trust-badges {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    height: auto;
    order: -1;
  }
  
  .hero-image-container {
    height: 350px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card:nth-child(even) {
    transform: translateY(0);
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .step-connector {
    display: none;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(6) {
    grid-row: span 1;
  }
  
  .testimonials-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    transform: none !important;
    height: 250px;
  }
  
  .testimonials-stats {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-details-grid {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-card-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .whatsapp-float {
    bottom: 80px;
    right: 1rem;
  }
  
  .whatsapp-button {
    width: 56px;
    height: 56px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

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

.hidden {
  display: none !important;
}
