/* ==========================================================================
   MARIO GASISTA MATRICULADO - CUSTOM STYLESHEET
   Pure CSS3 - Premium Modern Responsive Design
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & COLOR PALETTE
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --primary-blue: #0f2537;
  --primary-blue-dark: #0b192c;
  --primary-blue-light: #1e3a8a;
  --accent-blue: #2563eb;
  
  --whatsapp-green: #25d366;
  --whatsapp-green-hover: #1ebe5d;
  --whatsapp-green-dark: #16a34a;
  
  --bg-white: #ffffff;
  --bg-light-gray: #f8fafc;
  --bg-slate: #f1f5f9;
  --border-light: #e2e8f0;
  
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.1), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 10px 30px rgba(37, 211, 102, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
  list-style: none;
}

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

.container-sm {
  max-width: 860px;
}

/* Typography Utilities */
.text-center { text-align: center; }
.w-100 { width: 100%; }
.mt-2 { margin-top: 0.5rem; }

/* Section Basics */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-light {
  background-color: var(--bg-light-gray);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  background-color: rgba(37, 99, 235, 0.08);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   3. BUTTONS & BADGES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-whatsapp, .btn-green {
  background-color: var(--whatsapp-green);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover, .btn-green:hover {
  background-color: var(--whatsapp-green-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

.btn-outline:hover {
  background-color: var(--bg-slate);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.125rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.btn-md {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

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

.btn-xl {
  padding: 1.15rem 2.5rem;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   4. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

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

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

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary-blue-light), var(--primary-blue));
  color: var(--whatsapp-green);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

.logo-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Nav menu */
.nav-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-blue-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--whatsapp-green);
  border-radius: 2px;
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  z-index: 1001;
}

.mobile-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* Mobile Toggle Active animation */
.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 130px;
  padding-bottom: 5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-light-gray) 100%);
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: rgba(37, 211, 102, 0.12);
  color: var(--whatsapp-green-dark);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-blue);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 580px;
}

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

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.check-icon {
  width: 20px;
  height: 20px;
  background-color: rgba(37, 211, 102, 0.2);
  color: var(--whatsapp-green-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Hero Image Frame */
.hero-image-wrapper {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--bg-white);
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-floating-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-floating-card .card-icon {
  width: 42px;
  height: 42px;
  background-color: var(--primary-blue);
  color: var(--whatsapp-green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-blue);
}

.hero-floating-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   6. BENEFICIOS SECTION
   -------------------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}

.card-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon-box.blue {
  background-color: rgba(15, 37, 55, 0.08);
  color: var(--primary-blue);
}

.card-icon-box.green {
  background-color: rgba(37, 211, 102, 0.12);
  color: var(--whatsapp-green-dark);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   7. SERVICIOS SECTION
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 2.25rem 1.75rem;
}

.service-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--accent-blue);
}

.service-badge.gold {
  background-color: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  color: var(--whatsapp-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   8. VIDEOLLAMADA SECTION
   -------------------------------------------------------------------------- */
.section-videollamada {
  background: linear-gradient(135deg, #0b192c 0%, #0f2537 100%);
  color: var(--text-white);
  padding: 5rem 0;
  overflow: hidden;
}

.videollamada-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.badge-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: rgba(37, 211, 102, 0.2);
  color: var(--whatsapp-green);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.videollamada-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--text-white);
}

.videollamada-text {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.video-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.video-step {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-num {
  width: 36px;
  height: 36px;
  background-color: var(--whatsapp-green);
  color: var(--primary-blue-dark);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-info h4 {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.step-info p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

.videollamada-image-box {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.videollamada-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   9. CÓMO TRABAJO SECTION
   -------------------------------------------------------------------------- */
.process-timeline-wrapper {
  position: relative;
  padding: 1rem 0;
}

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

/* Connecting timeline bar on desktop */
@media (min-width: 1025px) {
  .process-timeline::before {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(12.5% - 10px);
    right: calc(12.5% - 10px);
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue-light) 0%, var(--whatsapp-green) 100%);
    z-index: 1;
    border-radius: 2px;
  }
}

.process-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem 1.75rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
  z-index: 2;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 211, 102, 0.4);
}

.process-step-node {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
  color: var(--whatsapp-green);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(15, 37, 55, 0.25);
  border: 3px solid var(--bg-white);
  position: relative;
  z-index: 3;
}

.process-card:hover .process-step-node {
  background: linear-gradient(135deg, var(--whatsapp-green-dark), var(--whatsapp-green));
  color: var(--text-white);
  transform: scale(1.08);
  transition: all var(--transition-normal);
}

.process-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-icon-box {
  width: 52px;
  height: 52px;
  background-color: var(--bg-slate);
  color: var(--primary-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all var(--transition-normal);
}

.process-card:hover .process-icon-box {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
}

.process-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.process-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. TRABAJOS REALIZADOS / GALERÍA
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 37, 55, 0.1) 0%, rgba(15, 37, 55, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

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

.gallery-icon {
  display: none;
}

.gallery-caption {
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(11, 25, 44, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  max-height: 80vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--text-white);
  font-size: 1.25rem;
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--text-white);
  font-size: 2.5rem;
  line-height: 1;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--whatsapp-green);
}

/* --------------------------------------------------------------------------
   11. ZONA DE TRABAJO SECTION
   -------------------------------------------------------------------------- */
.location-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.1rem;
  margin-bottom: 2.25rem;
}

.location-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background-color: var(--bg-slate);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-weight: 700;
  font-size: 0.975rem;
  color: var(--primary-blue);
  transition: all var(--transition-fast);
}

.location-card:hover {
  background-color: var(--bg-white);
  border-color: var(--accent-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.location-card-icon {
  width: 34px;
  height: 34px;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.location-card:hover .location-card-icon {
  background-color: var(--accent-blue);
  color: var(--text-white);
}

.location-card.location-highlight {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(15, 37, 55, 0.05));
  border-color: rgba(37, 99, 235, 0.3);
}

.location-note-box {
  margin-top: 2rem;
  padding: 1.25rem 2rem;
  background-color: var(--bg-light-gray);
  border: 1px dashed var(--accent-blue);
  border-radius: var(--radius-md);
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

.location-note-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 0;
}

.link-whatsapp {
  color: var(--whatsapp-green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition-fast);
}

.link-whatsapp:hover {
  color: var(--whatsapp-green-hover);
}

/* --------------------------------------------------------------------------
   12. PREGUNTAS FRECUENTES (ACCORDION)
   -------------------------------------------------------------------------- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.accordion-item.active {
  border-color: rgba(37, 99, 235, 0.4);
}

.accordion-header {
  width: 100%;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-blue);
  background: transparent;
  transition: color var(--transition-fast);
}

.accordion-header:hover {
  color: var(--accent-blue);
}

.accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal), background-color var(--transition-fast);
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background-color: rgba(37, 99, 235, 0.12);
  color: var(--accent-blue);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.accordion-body {
  padding: 0 1.5rem 1.35rem 1.5rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid transparent;
}

/* --------------------------------------------------------------------------
   13. CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, #0f2537 0%, #0b192c 100%);
  padding: 6rem 0;
  color: var(--text-white);
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--whatsapp-green);
  background: rgba(37, 211, 102, 0.15);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.cta-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--text-white);
}

.cta-text {
  font-size: 1.2rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: #07111e;
  color: #94a3b8;
  padding-top: 4.5rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-title.white { color: var(--text-white); }
.logo-subtitle.light { color: #94a3b8; }

.footer-desc {
  font-size: 0.925rem;
  margin: 1.25rem 0;
  line-height: 1.6;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--whatsapp-green);
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

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

.footer-info {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.footer-tags span {
  font-size: 0.775rem;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.footer-direct-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--whatsapp-green);
  transition: transform var(--transition-fast), color var(--transition-fast);
  margin-top: 0.5rem;
}

.footer-direct-contact-link:hover {
  color: var(--whatsapp-green-hover);
  transform: translateX(4px);
}

.phone-emoji {
  font-size: 1.35rem;
}

.footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   15. FLOATING WHATSAPP & BACK TO TOP
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-green);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-normal);
  animation: pulse 2s infinite;
}

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

.whatsapp-tooltip {
  background-color: var(--primary-blue-dark);
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 46px;
  height: 46px;
  background-color: var(--primary-blue);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1400;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

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

/* --------------------------------------------------------------------------
   16. SCROLL ANIMATIONS (VANILLA JS OBSERVER)
   -------------------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-img {
    height: 400px;
  }
  
  .benefits-grid, .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .videollamada-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .hero-title {
    font-size: 2.15rem;
  }
  
  .header-btn {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 2rem;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  
  .nav-link {
    font-size: 1.1rem;
    width: 100%;
  }

  .benefits-grid, .services-grid, .process-timeline, .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .video-steps-grid {
    grid-template-columns: 1fr;
  }
  
  .videollamada-title {
    font-size: 1.85rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}
