@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-primary: #00FF8F;
  --color-secondary: #00AC96;
  --color-bg: #ffffff;
  --color-bg-card: rgba(255, 255, 255, 0.8);
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: rgba(0, 172, 150, 0.15);
  --font-main: 'Outfit', sans-serif;
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
  --glass-backdrop: blur(12px);
  --navbar-height: 72px;
  --ticker-height: 38px;
  --header-total: calc(var(--navbar-height) + var(--ticker-height));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Glassmorphism utility */
.glass {
  background: var(--color-bg-card);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--color-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 255, 143, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #00e07d; /* Slightly darker hover */
  box-shadow: 0 6px 20px rgba(0, 255, 143, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.btn-outline:hover {
  background: rgba(0, 172, 150, 0.05);
  transform: translateY(-2px);
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

/* Responsive container */
@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  .section-title {
    font-size: 2rem;
  }
}
/* Contenedor principal de la aplicación */
.app {
  width: 100%;
  min-height: 100vh;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.6rem 0;
  background: var(--color-bg-card);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--glass-shadow);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.css-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background-color: var(--color-secondary);
  color: #ffffff;
  padding: 7px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 172, 150, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.css-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 172, 150, 0.4);
}

.font-bold {
  font-weight: 700;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-links a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-links a:hover {
  color: var(--color-primary);
}

.navbar-links .navbar-btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 2rem;
  transition: right 0.3s ease;
  z-index: 999;
  border-radius: 0;
  border-right: none;
  border-top: none;
  border-bottom: none;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }
}
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-total) + 12px);
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
}

/* Background glow effects */
.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 143, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  top: -100px;
  left: -100px;
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 172, 150, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  bottom: -200px;
  right: -200px;
  border-radius: 50%;
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
  text-align: justify;
}

.hero-description strong {
  color: var(--color-text);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

/* Illustration Styles */
.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-card {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  border-radius: 30px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  position: relative;
  z-index: 2;
}

.shape-1 {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
  opacity: 0.6;
  filter: blur(20px);
  z-index: 1;
}

.shape-2 {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--color-secondary);
  opacity: 0.4;
  filter: blur(15px);
  z-index: 1;
}

.stat-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  animation: float 4s ease-in-out infinite;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-description {
    max-width: 100%;
    margin: 0 auto 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .stat-badge {
    left: 20px;
  }
}

@media (max-width: 768px) {
  /* ── Navbar logo: texto más corto en pantallas pequeñas ── */
  .css-logo {
    font-size: 0.9rem;
    padding: 6px 14px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ── Hero: reducir altura mínima ── */
  .hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  /* ── Hero: poner la imagen PRIMERO, luego el texto ── */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    text-align: center;
  }

  .hero-illustration {
    order: -1;    /* foto arriba */
  }

  /* ── Foto: más compacta en móvil ── */
  .photo-card {
    max-width: 320px;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
  }

  .hero-photo {
    border-radius: 20px;
  }

  /* ── Stat badge: reposicionar para que no se corte ── */
  .stat-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -16px;
    animation: none;
    white-space: nowrap;
    padding: 0.6rem 1.2rem;
  }

  .stat-value {
    font-size: 1.2rem;
  }

  /* ── Formas decorativas: ocultar en móvil ── */
  .shape-1, .shape-2 {
    display: none;
  }

  /* ── Título y descripción ── */
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    max-width: 100%;
    margin: 0 auto 1.5rem;
  }

  /* ── Botones: apilados y ancho completo ── */
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .photo-card {
    max-width: 100%;
    aspect-ratio: 4 / 3;
  }

  /* Logo aún más compacto: solo iniciales */
  .css-logo-text-full { display: none; }
  .css-logo-text-short { display: inline; }
}

@media (max-width: 768px) {
  /* ── Navbar logo: reducir tamaño ── */
  .css-logo {
    font-size: 0.82rem;
    padding: 6px 13px;
  }

  /* ── Hero: altura automática ── */
  .hero {
    min-height: auto;
    padding-bottom: 3.5rem;
  }

  /* ── Hero container: 1 columna ── */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    align-items: start;
  }

  /*
   * display:contents hace que .hero-content sea "invisible" para el grid,
   * y sus hijos (title, description, buttons) pasan a ser items del
   * .hero-container directamente. Así podemos ordenarlos con 'order'.
   */
  .hero-content {
    display: contents;
  }

  /* Orden: 1-título | 2-descripción | 3-foto | 4-botones */
  .hero-title        { order: 1; font-size: 2.2rem; line-height: 1.15; margin-bottom: 0; }
  .hero-description  { order: 2; font-size: 1rem; max-width: 100%; margin: 0; text-align: justify; }
  .hero-illustration { order: 3; }
  .hero-buttons      { order: 4; flex-direction: column; gap: 0.75rem; width: 100%; justify-content: center; margin-top: 0.5rem; }

  /* ── Foto: ancho completo igual que desktop ── */
  .photo-card {
    max-width: 100%;
    aspect-ratio: 1;
    margin: 0 auto;
  }

  .hero-photo {
    border-radius: 20px;
  }

  /* ── Stat badge ── */
  .stat-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -16px;
    animation: none;
    white-space: nowrap;
    padding: 0.6rem 1.2rem;
  }
  .stat-value { font-size: 1.2rem; }

  /* ── Formas decorativas: ocultar ── */
  .shape-1, .shape-2 { display: none; }

  /* ── Botones ── */
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
}



/* ── Wave divider ─────────────────────────────────────────────────────────── */
.section-wave {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  margin-bottom: -2px;
}

.section-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ── Services mobile padding (el stat-badge sobresale ~16px) ─────────────── */
@media (max-width: 768px) {
  .services-section {
    padding-top: 3rem;
  }
  .service-card {
    padding: 2rem 1.5rem;
  }
}

.services-section {
  position: relative;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 255, 143, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 143, 0.05);
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 143, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
  background: rgba(0, 255, 143, 0.15);
  transform: scale(1.1);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--color-text-muted);
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Service Link Button */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s ease, color 0.3s ease;
}

.service-link:hover {
  gap: 0.8rem;
  color: var(--color-primary);
}

/* ===========================
   TICKER BAR
   =========================== */

.ticker-bar {
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  width: 100%;
  z-index: 998;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  height: var(--ticker-height);
  display: flex;
  align-items: center;
  font-family: var(--font-main);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.ticker-container {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  overflow: hidden;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  border-right: 1px solid var(--color-border);
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-item:first-child {
  padding-left: 0;
}

.ticker-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-text-muted);
  background: rgba(0,172,150,0.08);
  border: 1px solid rgba(0,172,150,0.15);
  border-radius: 4px;
  padding: 1px 6px;
}

.ticker-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text);
  min-width: 80px;
  transition: color 0.4s ease;
}

/* Shimmer loading state */
.ticker-bar:not(.tick-ready) .ticker-value {
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% auto;
  animation: ticker-shimmer 1.5s linear infinite;
  border-radius: 4px;
  color: transparent;
  min-width: 70px;
  height: 14px;
  display: inline-block;
}

@keyframes ticker-shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.tick-up   { color: #16a34a; font-size: 0.72rem; }
.tick-down { color: #dc2626; font-size: 0.72rem; }

.ticker-date {
  margin-left: auto;
  padding-left: 1rem;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-bar.tick-error .ticker-value {
  color: var(--color-text-muted);
  animation: none;
  background: none;
}

@media (max-width: 768px) {
  .ticker-container {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ticker-container::-webkit-scrollbar { display: none; }
  
  .ticker-item {
    padding: 0 1rem;
    flex-shrink: 0;
  }
  .ticker-label {
    font-size: 0.65rem;
  }
  .ticker-value {
    font-size: 0.8rem;
    min-width: auto;
  }
  .ticker-date { display: none; }
  
  /* Reducir altura del ticker en móvil */
  :root {
    --ticker-height: 38px;
  }
}

/* ===========================
   SERVICE DETAIL PAGE STYLES
   =========================== */

.service-detail-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-total) + 30px);
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
}

.service-detail-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 143, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  top: -200px;
  right: -100px;
  border-radius: 50%;
  z-index: 0;
}

.service-detail-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.service-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 172, 150, 0.1);
  border: 1px solid rgba(0, 172, 150, 0.3);
  color: var(--color-secondary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-detail-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.service-detail-intro {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.service-detail-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.service-detail-icon-panel {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-detail-icon-bg {
  width: 280px;
  height: 280px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(0, 255, 143, 0.08), rgba(0, 172, 150, 0.12));
  border: 1px solid rgba(0, 172, 150, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 5s ease-in-out infinite;
}

.service-detail-icon-bg svg {
  color: var(--color-secondary);
  opacity: 0.9;
}

/* Items / Services List */
.service-items-section {
  background: linear-gradient(180deg, rgba(0,255,143,0.02) 0%, rgba(255,255,255,0) 100%);
}

.service-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.service-item-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,172,150,0.1);
  border-color: var(--color-secondary);
}

.service-item-check {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.service-item-check svg {
  color: #000;
}

.service-item-card p {
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.4;
}

/* Benefits */
.service-benefits-section {
  background: rgba(0,172,150,0.03);
}

.service-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-benefit-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,172,150,0.15);
}

.service-benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,255,143,0.15), rgba(0,172,150,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.service-benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.service-benefit-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Service CTA section */
.service-cta-section {
  background: linear-gradient(135deg, var(--color-secondary), #007a6a);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.service-cta-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(0,255,143,0.1);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.service-cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.service-cta-inner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.service-cta-inner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background: #fff;
  color: var(--color-secondary);
  font-weight: 700;
}

.btn-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  font-weight: 600;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  transition: color 0.3s ease, gap 0.3s ease;
}

.back-link:hover {
  color: var(--color-secondary);
  gap: 0.8rem;
}

/* Responsive service detail */
@media (max-width: 992px) {
  .service-detail-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .service-detail-icon-panel {
    order: -1;
  }
  .service-detail-title {
    font-size: 2.8rem;
  }
  .service-detail-cta-group {
    justify-content: center;
  }
  .service-benefit-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  /* ── Hero ── */
  .service-detail-hero {
    min-height: auto;
    padding-bottom: 2.5rem;
  }

  /* Ocultar el ícono animado y mostrar solo una franja de acento */
  .service-detail-icon-panel {
    display: none;
  }

  .service-detail-hero-container {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    text-align: left;
  }

  .service-detail-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 1rem;
  }

  .service-detail-title {
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 0.8rem;
  }

  .service-detail-intro {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  /* ── CTA buttons: apilados ancho completo ── */
  .service-detail-cta-group {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    justify-content: flex-start;
  }

  .service-detail-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .back-link {
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
  }

  /* ── Items ── */
  .service-items-section {
    padding: 3rem 0 2rem;
  }

  .service-items-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .service-item-card {
    padding: 1rem 1.2rem;
    gap: 0.75rem;
  }

  .service-item-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }

  /* ── Benefits ── */
  .service-benefits-section {
    padding: 3rem 0 2rem;
  }

  .service-benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-benefit-card {
    padding: 1.5rem 1.2rem;
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
  }

  .service-benefit-icon {
    margin: 0;
    min-width: 52px;
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }

  .service-benefit-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .service-benefit-card p {
    font-size: 0.88rem;
  }

  /* ── CTA section ── */
  .service-cta-section {
    padding: 3rem 0;
  }

  .service-cta-inner h2 {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
  }

  .service-cta-inner p {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .service-cta-inner .service-detail-cta-group {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .service-detail-title {
    font-size: 1.7rem;
  }

  .service-detail-hero {
    padding-bottom: 2rem;
  }
}


.clients-section {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0), rgba(0, 255, 143, 0.02), rgba(15, 23, 42, 0));
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.client-card {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  filter: grayscale(100%) opacity(0.6);
}

.client-logo {
  max-width: 80%;
  max-height: 60px;
  object-fit: contain;
}

.client-card:hover {
  filter: grayscale(0%) opacity(1);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.client-logo-placeholder {
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.client-card:hover .client-logo-placeholder {
  color: var(--color-primary);
}

@media (max-width: 992px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  background: rgba(0, 255, 143, 0.03);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(0, 255, 143, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
  padding-right: 1rem;
}

.faq-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-answer-wrapper {
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

.faq-answer {
  padding-top: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--color-border);
  margin-top: 1rem;
}
.contact-section {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  padding: 2.5rem;
}

.contact-info-card h3, .contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-subtitle {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-text);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.contact-method:hover {
  transform: translateX(5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 255, 143, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.contact-method h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-method span {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.map-card {
  flex-grow: 1;
  min-height: 250px;
  padding: 0;
  overflow: hidden;
}

.contact-form-card {
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-family: var(--font-main);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

.form-group select option {
  background: var(--color-bg);
  color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 255, 143, 0.2);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.form-actions .submit-btn {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.form-feedback {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: feedbackFadeIn 0.3s ease-in-out;
}

.form-feedback.success {
  background: rgba(0, 255, 143, 0.12);
  border: 1px solid rgba(0, 172, 150, 0.3);
  color: #065f46;
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #991b1b;
}

.form-feedback.loading {
  background: rgba(0, 172, 150, 0.08);
  border: 1px solid rgba(0, 172, 150, 0.2);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@keyframes feedbackFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 576px) {
  .form-actions .submit-btn {
    flex: 1 1 100%;
    width: 100%;
  }
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .map-card {
    min-height: 300px;
  }
}
.footer {
  background: rgba(241, 245, 249, 1); /* Light gray */
  border-top: 1px solid var(--color-border);
  padding-top: 4rem;
  margin-top: 4rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.text-xl {
  font-size: 1.5rem;
}

.footer-desc {
  color: var(--color-text-muted);
  margin-top: 1rem;
  max-width: 300px;
}

.footer h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer ul li, .footer ul a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer ul a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  animation: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}
