/* ============================================================
   HUELLAS Y HOGAR — Estilos Globales
   Versión: 1.0 | Mayo 2026 | kevindisenador.com
   ============================================================ */

/* --- Variables de diseño --- */
:root {
  --blue-dark:    #0D2461;
  --blue:         #1B3DA8;
  --blue-mid:     #2652C8;
  --blue-light:   #EEF3FF;
  --green-dark:   #1A6B1A;
  --green:        #2B9B2B;
  --green-mid:    #3DB83A;
  --green-light:  #EDF7ED;
  --gold:         #F5C200;
  --gold-dark:    #C99A00;
  --gold-light:   #FFF8D6;
  --dark:         #0D1A3A;
  --gray-dark:    #3D4A5C;
  --gray:         #6B7A8D;
  --gray-light:   #F0F4F8;
  --white:        #FFFFFF;
  --shadow-sm:    0 2px 8px rgba(13,36,97,.10);
  --shadow-md:    0 8px 30px rgba(13,36,97,.14);
  --shadow-lg:    0 16px 50px rgba(13,36,97,.18);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    40px;
  --transition:   all .3s cubic-bezier(.4,0,.2,1);
  --font:         'Nunito', sans-serif;
  --nav-h:        72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

ul { list-style: none; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ============================================================
   TIPOGRAFÍA
   ============================================================ */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 700; }
p  { font-size: 1rem; color: var(--gray-dark); line-height: 1.75; }

.text-blue   { color: var(--blue); }
.text-green  { color: var(--green); }
.text-gold   { color: var(--gold-dark); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }
.font-bold   { font-weight: 800; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-header .tag.green { background: var(--green-light); color: var(--green-dark); }
.section-header .tag.gold  { background: var(--gold-light); color: var(--gold-dark); }

.section-header h2 { margin-bottom: 16px; }

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(27,61,168,.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,61,168,.45);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(43,155,43,.35);
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(43,155,43,.45);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(245,194,0,.35);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,194,0,.45);
}

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

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-sm { padding: 10px 22px; font-size: .9rem; }

.btn-wa {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
}
.btn-wa:hover {
  background: #1EB85A;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: var(--transition);
  padding: 0 24px;
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: var(--blue-dark);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

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

.nav-logo-text .name {
  font-size: 1rem;
  font-weight: 900;
  color: var(--blue);
}

.nav-logo-text .tagline {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
}

.navbar.transparent .nav-logo-text .name { color: var(--white); }
.navbar.transparent .nav-logo-text .tagline { color: rgba(255,255,255,.8); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after { left: 14px; right: 14px; }

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.navbar.scrolled .lang-switcher {
  background: rgba(255,255,255,.08);
}

.lang-switcher a,
.lang-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: var(--transition);
}

.lang-switcher a:hover,
.lang-switcher a:focus-visible,
.lang-switcher button:hover,
.lang-switcher button:focus-visible {
  color: var(--white);
  background: rgba(255,255,255,.12);
}

.lang-switcher a.active,
.lang-switcher button.active {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 6px 18px rgba(245,194,0,.35);
}

.nav-cta { margin-left: 0; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  border: none;
  background: transparent;
  transition: var(--transition);
}

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

.navbar.transparent .nav-toggle span { background: var(--white); }

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 70vh;
  background: var(--blue-dark); /* fallback si el video no carga */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 80% 50%, rgba(43,155,43,.2) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(245,194,0,.1) 0%, transparent 60%);
}

/* Animated bubbles */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  animation: float-up linear infinite;
}

@keyframes float-up {
  0%   { transform: translateY(0) scale(1); opacity: .7; }
  100% { transform: translateY(-110vh) scale(.5); opacity: 0; }
}

.paw-icon {
  position: absolute;
  font-size: 2rem;
  opacity: .08;
  animation: drift linear infinite;
}

@keyframes drift {
  0%   { transform: translateY(100vh) rotate(0deg); }
  100% { transform: translateY(-20vh) rotate(360deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--gold);
  position: relative;
}

.hero-desc {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-wrap::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  animation: pulse-ring 3s ease-in-out infinite;
}

.hero-logo-wrap::after {
  content: '';
  position: absolute;
  width: 140%;
  height: 140%;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  animation: pulse-ring 3s ease-in-out infinite .8s;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: .6; }
  50%       { transform: scale(1.06); opacity: 1; }
}

.hero-logo {
  width: 360px;
  max-width: 90%;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.3));
  animation: hero-float 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
}

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

.hero-stat .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.hero-stat .label {
  font-size: .75rem;
  color: rgba(255,255,255,.7);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 4px;
}

/* Hero video background */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(13, 36, 97, 0.78) 0%,
    rgba(27, 61, 168, 0.65) 45%,
    rgba(26, 107, 26, 0.60) 100%
  );
}

/* Asegurar que el contenido quede sobre el video */
.hero::before { z-index: 2; }
.hero-inner   { z-index: 3; position: relative; }
.bubble, .paw-icon { z-index: 2; }

/* Wave divider */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,.06);
}

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

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.card-icon.blue  { background: var(--blue-light); }
.card-icon.green { background: var(--green-light); }
.card-icon.gold  { background: var(--gold-light); }

.card-body {
  padding: 32px;
}

.card-body h3 { margin-bottom: 12px; font-size: 1.2rem; }
.card-body p  { font-size: .9rem; margin-bottom: 20px; }

.card-link {
  font-size: .85rem;
  font-weight: 800;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.card-link:hover { gap: 10px; color: var(--blue-dark); }

/* Service tab cards */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--gray-light);
  color: var(--gray);
  transition: var(--transition);
}

.tab-btn.active.pets {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(27,61,168,.3);
}

.tab-btn.active.home {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(43,155,43,.3);
}

.tab-content { display: none; }
.tab-content.active { display: grid; }

/* ============================================================
   FEATURES / WHY US
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  transition: var(--transition);
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.feature-item:nth-child(1) .feature-icon { background: var(--blue-light); }
.feature-item:nth-child(2) .feature-icon { background: var(--green-light); }
.feature-item:nth-child(3) .feature-icon { background: var(--gold-light); }
.feature-item:nth-child(4) .feature-icon { background: #FFF0F0; }

.feature-item h4 { margin-bottom: 8px; }
.feature-item p  { font-size: .9rem; }

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::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%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item { padding: 24px; }

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  font-weight: 600;
  line-height: 1.4;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--gray-light); }

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.testimonial-card {
  min-width: 100%;
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-dark);
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--blue);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  font-weight: 800;
  flex-shrink: 0;
}

.author-info strong { display: block; font-size: 1rem; color: var(--dark); }
.author-info span   { font-size: .85rem; color: var(--green); font-weight: 700; }

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}
.slider-btn:hover {
  background: var(--blue);
  color: var(--white);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.slider-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--blue);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '🐾';
  position: absolute;
  font-size: 200px;
  opacity: .04;
  top: -40px;
  left: -40px;
}

.cta-banner::after {
  content: '🏠';
  position: absolute;
  font-size: 200px;
  opacity: .04;
  bottom: -40px;
  right: -40px;
}

.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 40px; max-width: 540px; margin-left: auto; margin-right: auto; }

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-float-bubble {
  background: var(--white);
  padding: 10px 18px;
  border-radius: 50px 50px 0 50px;
  box-shadow: var(--shadow-md);
  font-size: .85rem;
  font-weight: 800;
  color: var(--dark);
  opacity: 0;
  transform: translateX(20px);
  transition: var(--transition);
  pointer-events: none;
}

.wa-float:hover .wa-float-bubble {
  opacity: 1;
  transform: translateX(0);
}

.wa-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
  transition: var(--transition);
  animation: wa-pulse 3s ease-in-out infinite;
  flex-shrink: 0;
}

.wa-float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37,211,102,.6);
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.4); }
  50%       { box-shadow: 0 6px 24px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,.0); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 64px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 260px;
}

.footer h5 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
}

.footer-contact li span:first-child { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.1);
}

.social-link:hover {
  background: var(--blue);
  transform: translateY(-3px);
  border-color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
}

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

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 138px 0 83px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero.green { background: linear-gradient(135deg, var(--green-dark), var(--green)); }
.page-hero--contact { background: linear-gradient(rgba(13,36,97,.70), rgba(27,61,168,.70)), url('../../contact.webp') top center/cover no-repeat; }

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 120%, rgba(245,194,0,.12), transparent);
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; position: relative; }
.page-hero p  { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto; font-size: 1.05rem; position: relative; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
}

.breadcrumb a { color: rgba(255,255,255,.6); font-size: .85rem; font-weight: 700; transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,.4); font-size: .8rem; }
.breadcrumb .current { color: var(--gold); font-size: .85rem; font-weight: 700; }

/* ============================================================
   SERVICE DETAIL CARDS (inner pages)
   ============================================================ */
.service-card-full {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  transition: var(--transition);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.service-card-full:nth-child(even) { direction: rtl; }
.service-card-full:nth-child(even) > * { direction: ltr; }

.service-card-full:hover { box-shadow: var(--shadow-lg); }

.service-card-visual {
  background: linear-gradient(135deg, var(--blue-light), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  font-size: 6rem;
  min-height: 280px;
}

.service-card-visual.blue  { background: linear-gradient(135deg, var(--blue-light), #D6E4FF); }
.service-card-visual.green { background: linear-gradient(135deg, var(--green-light), #D6F5D6); }
.service-card-visual.gold  { background: linear-gradient(135deg, var(--gold-light), #FFF3A3); }

.service-card-info {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-info h3 { margin-bottom: 16px; }
.service-card-info p  { margin-bottom: 24px; }

/* ── Service Feature Section (shared) ── */
.service-section-home {
  padding: 96px 0;
  border-top: 1px solid var(--gray-light);
}

.service-layout-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.tag-service {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.tag-service--blue { background: var(--blue-light); color: var(--blue); }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

.price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  background: var(--gold-light);
  border: 2px solid var(--gold);
  border-radius: 50px;
  padding: 6px 18px;
  margin-bottom: 20px;
}
.price-badge .amount { font-size: 1.5rem; font-weight: 900; color: var(--gold-dark); }
.price-badge .suffix { font-size: .85rem; color: var(--gray); font-weight: 700; }

/* Masonry 3 images */
.masonry-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.masonry-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.masonry-3 img:hover { transform: scale(1.04); }
.masonry-3 img:first-child { grid-row: 1 / 3; border-radius: 14px 0 0 14px; }
.masonry-3 img:nth-child(2) { border-radius: 0 14px 0 0; }
.masonry-3 img:nth-child(3) { border-radius: 0 0 14px 0; }

@media (max-width: 768px) {
  .service-layout-home { grid-template-columns: 1fr; gap: 32px; }
  .masonry-3 { height: 280px; }
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--gray-dark);
}

.service-features li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.contact-info-card h3 { color: var(--white); margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,.75); margin-bottom: 36px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong { display: block; color: var(--white); font-size: .85rem; margin-bottom: 2px; }
.contact-item span   { color: rgba(255,255,255,.7); font-size: .9rem; }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

label {
  display: block;
  font-size: .85rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

input, select, textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #E8EDF2;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(27,61,168,.08);
}

textarea { resize: vertical; min-height: 140px; }

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  border: 2px solid var(--green);
}

.form-success h4 { color: var(--green-dark); margin-bottom: 8px; }
.form-success p  { color: var(--green-dark); font-size: .9rem; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 990;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-full { grid-template-columns: 1fr; }
  .service-card-full:nth-child(even) { direction: ltr; }
  .service-card-visual { min-height: 200px; font-size: 4rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .section { padding: 72px 0; }

  .nav-inner { gap: 12px; }
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-actions {
    gap: 8px;
    margin-left: auto;
  }

  .lang-switcher {
    padding: 3px;
  }

  .lang-switcher a,
  .lang-switcher button {
    min-width: 34px;
    min-height: 30px;
    padding: 0 9px;
    font-size: .7rem;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
    align-items: flex-start;
  }

  .nav-link { width: 100%; padding: 12px 16px; }

  .nav-cta.mobile-show {
    display: flex;
    width: 100%;
    margin: 8px 0 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 64px 24px;
    gap: 48px;
  }

  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-logo { width: 240px; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p { max-width: 100%; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .form-row { grid-template-columns: 1fr; }

  .services-tabs { flex-direction: column; align-items: center; }

  .tab-btn { width: 100%; max-width: 300px; justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial-card { padding: 32px 24px; }

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

@media (max-width: 480px) {
  .btn-lg { padding: 15px 28px; font-size: 1rem; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .wa-float { bottom: 20px; right: 20px; }
  .back-to-top { bottom: 20px; left: 20px; }
}

    /* ══════════════════════════════════════
       MAINTENANCE SLIDER — ESTILOS PREMIUM
    ══════════════════════════════════════ */
    .maintenance-section {
      padding: 100px 0 80px;
      background: linear-gradient(160deg, #0a0f1e 0%, #0d1b2a 50%, #0f2417 100%);
      position: relative;
      overflow: hidden;
    }

    .maintenance-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(27, 61, 168, .18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(26, 107, 26, .14) 0%, transparent 70%);
      pointer-events: none;
    }

    /* Header */
    .maint-header {
      text-align: center;
      margin-bottom: 60px;
      position: relative;
      z-index: 2;
    }

    .maint-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: #f5c200;
      background: rgba(245, 194, 0, .12);
      border: 1px solid rgba(245, 194, 0, .3);
      border-radius: 50px;
      padding: 6px 18px;
      margin-bottom: 20px;
    }

    .maint-title {
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 900;
      color: #ffffff;
      line-height: 1.15;
      margin-bottom: 16px;
    }

    .maint-title span {
      background: linear-gradient(90deg, #f5c200, #ff8c42);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .maint-subtitle {
      font-size: 1.05rem;
      color: rgba(255, 255, 255, .6);
      max-width: 560px;
      margin: 0 auto;
      line-height: 1.7;
    }

    /* Reveal animation */
    .reveal-up {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity .7s ease, transform .7s ease;
    }

    .reveal-up.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .reveal-up:nth-child(2) {
      transition-delay: .1s;
    }

    .reveal-up:nth-child(3) {
      transition-delay: .2s;
    }

    /* Slick outer wrapper */
    .slick-outer {
      position: relative;
      padding: 0 60px;
      max-width: 1280px;
      margin: 0 auto;
    }

    .slick-list {
      overflow: hidden;
      border-radius: 20px;
      cursor: grab;
      user-select: none;
      -webkit-user-select: none;
    }

    .slick-list.dragging {
      cursor: grabbing;
    }

    .slick-track {
      display: flex;
      gap: 20px;
      will-change: transform;
      transition: transform .45s cubic-bezier(.25, .46, .45, .94);
    }

    .slick-track.no-transition {
      transition: none;
    }

    /* Slides */
    .slick-slide {
      flex: 0 0 calc(33.333% - 14px);
      min-width: calc(33.333% - 14px);
    }

    /* Cards glassmorphism */
    .maint-card {
      border-radius: 20px;
      overflow: hidden;
      position: relative;
      min-height: 420px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      background-image: var(--card-bg);
      background-size: cover;
      background-position: center center;
      transition: transform .35s ease, box-shadow .35s ease;
      box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
      will-change: transform;
    }

    .maint-card:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
    }

    .maint-card-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg,
          rgba(0, 0, 0, .05) 0%,
          rgba(0, 0, 0, .35) 40%,
          rgba(0, 0, 0, .85) 100%);
      z-index: 1;
      transition: background .35s ease;
    }

    .maint-card:hover .maint-card-overlay {
      background: linear-gradient(180deg,
          rgba(0, 0, 0, .1) 0%,
          rgba(0, 0, 0, .45) 40%,
          rgba(0, 0, 0, .9) 100%);
    }

    .maint-card-body {
      position: relative;
      z-index: 2;
      padding: 28px;
      backdrop-filter: blur(0px);
    }

    /* Icon */
    .maint-card-icon {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      background: rgba(255, 255, 255, .12);
      border: 1px solid rgba(255, 255, 255, .2);
      backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      transition: background .3s, transform .3s;
    }

    .maint-card:hover .maint-card-icon {
      background: rgba(245, 194, 0, .2);
      border-color: rgba(245, 194, 0, .4);
      transform: scale(1.1);
    }

    .maint-card-icon svg {
      width: 26px;
      height: 26px;
      color: #ffffff;
      transition: color .3s;
    }

    .maint-card:hover .maint-card-icon svg {
      color: #f5c200;
    }

    /* Card text */
    .maint-card-title {
      font-size: 1.15rem;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 10px;
      line-height: 1.3;
    }

    .maint-card-desc {
      font-size: .88rem;
      color: rgba(255, 255, 255, .7);
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .maint-card-cta {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: .8rem;
      font-weight: 800;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: #f5c200;
      text-decoration: none;
      border-bottom: 1px solid rgba(245, 194, 0, .4);
      padding-bottom: 2px;
      transition: color .3s, border-color .3s, gap .3s;
    }

    .maint-card-cta:hover {
      color: #fff;
      border-color: rgba(255, 255, 255, .6);
      gap: 10px;
    }

    /* Urgente card */
    .maint-card--urgent .maint-card-overlay {
      background: linear-gradient(180deg, rgba(180, 10, 10, .1) 0%, rgba(0, 0, 0, .35) 30%, rgba(0, 0, 0, .88) 100%);
    }

    .urgent-badge {
      display: inline-block;
      font-size: .65rem;
      font-weight: 900;
      letter-spacing: .12em;
      color: #fff;
      background: #e53e3e;
      border-radius: 6px;
      padding: 3px 10px;
      margin-bottom: 10px;
      animation: urgentPulse 2s infinite;
    }

    @keyframes urgentPulse {

      0%,
      100% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, .6);
      }

      50% {
        box-shadow: 0 0 0 8px rgba(229, 62, 62, 0);
      }
    }

    .urgent-pulse {
      animation: iconGlow 2s infinite;
    }

    @keyframes iconGlow {

      0%,
      100% {
        box-shadow: 0 0 0 0 rgba(245, 194, 0, .4);
      }

      50% {
        box-shadow: 0 0 0 10px rgba(245, 194, 0, 0);
      }
    }

    .maint-card-cta--urgent {
      color: #fc8181;
      border-color: rgba(252, 129, 129, .4);
    }

    .maint-card-cta--urgent:hover {
      color: #fff;
      border-color: rgba(255, 255, 255, .6);
    }

    /* Arrows */
    .slick-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, .15);
      background: rgba(255, 255, 255, .08);
      backdrop-filter: blur(12px);
      color: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
      transition: background .3s, border-color .3s, transform .3s;
    }

    .slick-arrow:hover {
      background: rgba(245, 194, 0, .2);
      border-color: rgba(245, 194, 0, .5);
      transform: translateY(-50%) scale(1.1);
    }

    .slick-prev {
      left: 4px;
    }

    .slick-next {
      right: 4px;
    }

    .slick-arrow svg {
      width: 20px;
      height: 20px;
    }

    /* Dots */
    .slick-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 32px;
    }

    .slick-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .25);
      border: none;
      cursor: pointer;
      transition: background .3s, transform .3s, width .3s;
      padding: 0;
    }

    .slick-dot.active {
      background: #f5c200;
      width: 24px;
      border-radius: 4px;
    }

    /* CTA bottom */
    .maint-cta-wrap {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 16px;
      margin-top: 52px;
      flex-wrap: wrap;
    }

    .btn-maint-main {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, #f5c200, #e5a800);
      color: #0a0f1e;
      font-weight: 800;
      font-size: 1rem;
      padding: 16px 36px;
      border-radius: 50px;
      text-decoration: none;
      box-shadow: 0 8px 24px rgba(245, 194, 0, .35);
      transition: transform .3s, box-shadow .3s;
    }

    .btn-maint-main:hover {
      transform: translateY(-3px);
      box-shadow: 0 14px 36px rgba(245, 194, 0, .5);
    }

    .btn-maint-secondary {
      display: inline-flex;
      align-items: center;
      color: rgba(255, 255, 255, .7);
      font-weight: 700;
      font-size: .95rem;
      text-decoration: none;
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 50px;
      padding: 15px 32px;
      transition: color .3s, border-color .3s, background .3s;
    }

    .btn-maint-secondary:hover {
      color: #fff;
      border-color: rgba(255, 255, 255, .5);
      background: rgba(255, 255, 255, .07);
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .slick-slide {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
      }
    }

    @media (max-width: 640px) {
      .slick-outer {
        padding: 0 44px;
      }

      .slick-slide {
        flex: 0 0 calc(100% - 0px);
        min-width: calc(100% - 0px);
      }

      .maint-card {
        min-height: 340px;
      }
    }
