/* ==========================================================================
   MUNDO DIGITAL SOLUCIONES - PREMIUM CORPORATE STYLESHEET
   Colors:
     Primary:   #16c7a7 (Teal / Mint Accent)
     Secondary: #005C97 (Deep Navy Blue)
   Typography: Poppins
   ========================================================================== */

:root {
  --primary: #16c7a7;
  --primary-hover: #12ab8f;
  --primary-rgb: 22, 199, 167;
  --secondary: #005C97;
  --secondary-hover: #004675;
  --secondary-rgb: 0, 92, 151;
  
  --dark: #0f172a;
  --dark-light: #1e293b;
  --text-main: #212529;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-color: #e2e8f0;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 92, 151, 0.05), 0 2px 4px -2px rgba(0, 92, 151, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 92, 151, 0.07), 0 4px 6px -4px rgba(0, 92, 151, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 92, 151, 0.1), 0 8px 10px -6px rgba(0, 92, 151, 0.05);
  --shadow-glow: 0 0 25px rgba(22, 199, 167, 0.35);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.7;
  overflow-x: clip;
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--primary);
}

p {
  color: #334155;
  margin-bottom: 1.25rem;
}

/* Utilities & Badges */
.text-primary-custom {
  color: var(--primary) !important;
}

.text-secondary-custom {
  color: var(--secondary) !important;
}

.bg-primary-custom {
  background-color: var(--primary) !important;
}

.bg-secondary-custom {
  background-color: var(--secondary) !important;
}

.badge-subtle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(22, 199, 167, 0.12);
  color: #0b806b;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 50rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  border: 1px solid rgba(22, 199, 167, 0.25);
}

.section-title-wrap {
  margin-bottom: 3.5rem;
}

.section-title-wrap h2 {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-title-wrap p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  background: var(--dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar a {
  color: #cbd5e1;
}

.topbar a:hover {
  color: var(--primary);
}

.topbar .contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 1.5rem;
}

.topbar .contact-item i {
  color: var(--primary);
  font-size: 0.95rem;
}

.topbar-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
}

.topbar-socials a i {
  color: #ffffff !important;
  font-size: 1rem;
  line-height: 1;
  transition: all var(--transition-fast);
}

.topbar-socials a:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 5px 15px rgba(22, 199, 167, 0.45);
}

.topbar-socials a:hover i {
  color: #061c17 !important;
}

.topbar .topbar-socials a {
  width: 30px;
  height: 30px;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar .topbar-socials a i {
  font-size: 0.88rem;
}

/* Language Toggle Switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 3px;
  margin-left: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--primary);
  color: #0b2b24;
  box-shadow: 0 2px 8px rgba(22, 199, 167, 0.4);
}

/* ==========================================================================
   MAIN NAVBAR (PREMIUM FIXED & GLASSMORPHIC)
   ========================================================================== */
.navbar-main {
  position: sticky !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 92, 151, 0.08);
  box-shadow: 0 4px 20px rgba(0, 92, 151, 0.04);
  padding: 0.85rem 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1030 !important;
}

.navbar-main.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(22, 199, 167, 0.35);
  box-shadow: 0 10px 30px -5px rgba(0, 92, 151, 0.12), 0 0 15px rgba(22, 199, 167, 0.08);
}

.navbar-brand {
  padding: 0;
  display: inline-flex;
  align-items: center;
}

.navbar-brand img {
  height: 48px;
  width: auto;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-main.scrolled .navbar-brand img {
  height: 40px;
}

.navbar-brand:hover img {
  transform: scale(1.03);
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: #1e293b;
  padding: 0.65rem 1.15rem !important;
  font-size: 0.94rem;
  position: relative;
  border-radius: 50rem;
  transition: all var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--secondary) !important;
  background: rgba(0, 92, 151, 0.04);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 3px;
  transform: translateX(-50%);
  transition: width var(--transition-fast);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 26px;
}

/* Dropdown Menu Premium Glassmorphic */
.dropdown-menu {
  border: 1px solid rgba(22, 199, 167, 0.25);
  box-shadow: 0 18px 40px -5px rgba(0, 92, 151, 0.16), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-radius: 1.15rem;
  padding: 0.75rem 0.6rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-top: 0.65rem;
  min-width: 280px;
  animation: navDropdownFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navDropdownFade {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dropdown-item {
  font-weight: 500;
  color: #1e293b;
  padding: 0.65rem 1.15rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition-fast);
}

.dropdown-item i {
  color: var(--primary);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: linear-gradient(135deg, rgba(22, 199, 167, 0.12) 0%, rgba(0, 92, 151, 0.08) 100%);
  color: var(--secondary);
  transform: translateX(4px);
}

.dropdown-item:hover i {
  transform: scale(1.2);
  color: var(--secondary);
}

.dropdown-divider {
  border-color: rgba(22, 199, 167, 0.15);
  margin: 0.5rem 0.5rem;
}

/* Navbar Toggler Button (Mobile Hamburger) */
.navbar-toggler {
  border: 1px solid rgba(0, 92, 151, 0.2);
  padding: 0.45rem 0.65rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(22, 199, 167, 0.35);
  border-color: var(--primary);
  outline: none;
}

.navbar-toggler-icon {
  width: 1.3em;
  height: 1.3em;
}

/* Navbar CTA Button (Hablemos) */
.navbar-nav .btn-premium {
  padding: 0.6rem 1.5rem;
  font-size: 0.92rem;
  box-shadow: 0 4px 15px rgba(0, 92, 151, 0.25);
  border: 1px solid rgba(22, 199, 167, 0.3);
}

.navbar-nav .btn-premium:hover {
  box-shadow: 0 8px 25px rgba(22, 199, 167, 0.45);
  border-color: var(--primary);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-premium {
  background: linear-gradient(135deg, var(--secondary) 0%, #0077c5 50%, var(--primary) 100%);
  color: #ffffff !important;
  font-weight: 600;
  border: none;
  padding: 0.75rem 1.85rem;
  border-radius: 50rem;
  box-shadow: 0 8px 20px rgba(0, 92, 151, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all var(--transition-normal);
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary) 0%, #0077c5 50%, var(--secondary) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-normal);
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(22, 199, 167, 0.35);
}

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

.btn-premium-outline {
  background: transparent;
  color: var(--secondary) !important;
  font-weight: 600;
  border: 2px solid var(--secondary);
  padding: 0.7rem 1.75rem;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.btn-premium-outline:hover {
  background: var(--secondary) !important;
  background-color: var(--secondary) !important;
  border-color: var(--secondary) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 92, 151, 0.25);
}

.btn-premium-outline:hover i,
.btn-premium-outline:hover span {
  color: #ffffff !important;
}

/* Hero Secondary Button (Explorar Servicios) */
.btn-hero-services,
.btn-premium-outline.bg-white {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--secondary) !important;
  border: 2px solid #ffffff !important;
  font-weight: 600;
  padding: 0.7rem 1.75rem;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-hero-services i,
.btn-hero-services span,
.btn-premium-outline.bg-white i,
.btn-premium-outline.bg-white span {
  color: var(--secondary) !important;
  transition: color var(--transition-fast);
}

.btn-hero-services:hover,
.btn-premium-outline.bg-white:hover {
  background: var(--secondary) !important;
  background-color: var(--secondary) !important;
  color: #ffffff !important;
  border-color: var(--secondary) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 92, 151, 0.45);
}

.btn-hero-services:hover i,
.btn-hero-services:hover span,
.btn-premium-outline.bg-white:hover i,
.btn-premium-outline.bg-white:hover span {
  color: #ffffff !important;
}

.btn-hero-services:active,
.btn-premium-outline.bg-white:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-teal {
  background: var(--primary);
  color: #083329 !important;
  font-weight: 700;
  border: none;
  padding: 0.75rem 1.85rem;
  border-radius: 50rem;
  box-shadow: 0 8px 20px rgba(22, 199, 167, 0.3);
  transition: all var(--transition-fast);
}

.btn-teal:hover {
  background: #12b295;
  color: #04211a !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(22, 199, 167, 0.45);
}

/* ==========================================================================
   HERO SECTION (HOME)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--dark);
  color: #ffffff;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(0, 92, 151, 0.75) 60%, rgba(22, 199, 167, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.2rem;
  color: #e2e8f0;
  max-width: 720px;
  margin-bottom: 2.25rem;
}

.hero-stats-bar {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.75rem 2rem;
  margin-top: 3.5rem;
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 0;
}

/* ==========================================================================
   PARALLAX PAGE HEADER (ALL INNER PAGES)
   ========================================================================== */
.page-header {
  position: relative;
  min-height: 380px;
  background-image: url('../img/header-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: #ffffff;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(0, 92, 151, 0.8) 60%, rgba(22, 199, 167, 0.5) 100%);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.page-header p.lead {
  font-size: 1.25rem;
  color: #e2e8f0;
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.breadcrumb-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.25rem;
  border-radius: 50rem;
  font-size: 0.88rem;
}

.breadcrumb-custom a {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb-custom span {
  color: #cbd5e1;
}

/* Parallax Banner (Home Section 07 - Premium Redesign) */
.parallax-banner {
  position: relative;
  background-image: url('../img/parallax-banner.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 6.5rem 0;
  color: #ffffff;
  overflow: hidden;
}

.parallax-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 15% 25%, rgba(22, 199, 167, 0.22) 0%, transparent 45%),
              radial-gradient(circle at 85% 75%, rgba(0, 92, 151, 0.5) 0%, transparent 55%),
              linear-gradient(135deg, rgba(9, 16, 29, 0.95) 0%, rgba(0, 92, 151, 0.9) 55%, rgba(15, 23, 42, 0.96) 100%);
  z-index: 1;
}

.parallax-banner .container {
  position: relative;
  z-index: 2;
}

.parallax-banner .badge-subtle {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  color: #ffffff;
}

.parallax-feature-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  text-align: left;
}

.parallax-feature-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(22, 199, 167, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(22, 199, 167, 0.18);
}

.parallax-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, rgba(22, 199, 167, 0.25) 0%, rgba(0, 92, 151, 0.4) 100%);
  border: 1px solid rgba(22, 199, 167, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.parallax-feature-card:hover .parallax-icon-box {
  transform: scale(1.1) rotate(4deg);
  background: linear-gradient(135deg, rgba(22, 199, 167, 0.4) 0%, rgba(0, 92, 151, 0.6) 100%);
  color: #ffffff;
}

.parallax-feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.parallax-feature-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.parallax-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.15rem;
}

.parallax-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 500;
}

.parallax-checklist li i {
  color: var(--primary);
  font-size: 1.05rem;
}

.parallax-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
  color: #cbd5e1;
  font-size: 0.88rem;
}

.parallax-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.parallax-trust-item i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* ==========================================================================
   CARDS & FEATURES
   ========================================================================== */
.card-premium {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 2.25rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.card-premium:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22, 199, 167, 0.3);
}

.card-premium:hover::before {
  opacity: 1;
}

.card-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, rgba(22, 199, 167, 0.16) 0%, rgba(0, 92, 151, 0.12) 100%);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(22, 199, 167, 0.28);
  box-shadow: 0 4px 14px rgba(22, 199, 167, 0.15);
  transition: all var(--transition-normal);
}

.card-icon-box i {
  color: var(--secondary);
  transition: color var(--transition-normal);
}

.card-premium:hover .card-icon-box {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-color: var(--primary);
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 8px 25px rgba(22, 199, 167, 0.4);
}

.card-premium:hover .card-icon-box i {
  color: #ffffff !important;
}

.card-premium h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.card-premium p {
  flex-grow: 1;
  font-size: 0.95rem;
  color: #475569;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.card-link i {
  transition: transform var(--transition-fast);
}

.card-link:hover i {
  transform: translateX(5px);
}

/* Feature with Image / Video */
.feature-box {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
}

.feature-media {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 340px;
}

.feature-media img,
.feature-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.feature-box:hover .feature-media img {
  transform: scale(1.05);
}

.feature-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==========================================================================
   PROCESS / 4 STAGES
   ========================================================================== */
.process-step-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  height: 100%;
  transition: all var(--transition-normal);
}

.process-step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.process-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(22, 199, 167, 0.35);
  line-height: 1;
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}

.process-step-card:hover .process-number {
  color: var(--primary);
}

.process-step-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-step-card p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0;
}

/* Timeline (Nosotros) */
.timeline-modern {
  position: relative;
  padding-left: 2.5rem;
}

.timeline-modern::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14px;
  width: 3px;
  background: linear-gradient(180deg, var(--secondary), var(--primary));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 4px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--secondary);
  box-shadow: 0 0 10px rgba(22, 199, 167, 0.4);
}

.timeline-content {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   PRICING & TABLES & TABS
   ========================================================================== */
.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #052921;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 50rem;
  letter-spacing: 0.08em;
}

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

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.pricing-card .price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--secondary);
  margin: 1.25rem 0;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.92rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pricing-features li i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* Custom Tabs */
.nav-tabs-premium {
  border-bottom: 2px solid var(--border-color);
  gap: 0.5rem;
  justify-content: center;
}

.nav-tabs-premium .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: #64748b;
  font-weight: 700;
  padding: 1rem 1.75rem;
  background: transparent;
  border-radius: 0;
  transition: all var(--transition-fast);
}

.nav-tabs-premium .nav-link:hover {
  color: var(--secondary);
}

.nav-tabs-premium .nav-link.active {
  color: var(--secondary);
  border-bottom-color: var(--primary);
  background: transparent;
}

.tab-pane-content {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-top: 1.75rem;
}

/* Tables */
.table-premium {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.table-premium thead th {
  background: linear-gradient(135deg, var(--secondary), #004675);
  color: #ffffff;
  padding: 1rem 1.25rem;
  font-weight: 700;
  border: none;
  font-size: 1rem;
}

.table-premium tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  color: #334155;
  font-size: 0.95rem;
  vertical-align: middle;
}

.table-premium tbody tr:last-child td {
  border-bottom: none;
}

.table-premium tbody tr:hover {
  background-color: rgba(22, 199, 167, 0.04);
}

/* Portfolio CTA Banner */
.portfolio-cta-banner {
  position: relative;
  background: radial-gradient(circle at 15% 20%, rgba(22, 199, 167, 0.22) 0%, transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(0, 92, 151, 0.45) 0%, transparent 55%),
              linear-gradient(135deg, #09101d 0%, #0d213a 50%, #004b7a 100%);
  border: 1px solid rgba(22, 199, 167, 0.35);
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(9, 16, 29, 0.35), 0 0 35px rgba(22, 199, 167, 0.12);
  padding: 4rem 2rem;
  overflow: hidden;
  text-align: center;
}

.portfolio-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #16C7A7 30%, #0077c5 70%, transparent);
}

.portfolio-cta-banner h3 {
  color: #ffffff !important;
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.portfolio-cta-banner p {
  color: #e2e8f0 !important;
  font-size: 1.15rem;
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto 2.25rem;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.portfolio-cta-banner .btn-cta-premium {
  background: linear-gradient(135deg, #16C7A7 0%, #00dfb6 100%);
  color: #042921 !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 2.5rem;
  border-radius: 50rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 10px 25px rgba(22, 199, 167, 0.45);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.portfolio-cta-banner .btn-cta-premium:hover {
  transform: translateY(-4px) scale(1.02);
  background: linear-gradient(135deg, #1de9c4 0%, #00ffcf 100%);
  box-shadow: 0 16px 35px rgba(22, 199, 167, 0.6), 0 0 25px rgba(22, 199, 167, 0.3);
  color: #021a15 !important;
}

.portfolio-cta-banner .btn-cta-premium i {
  font-size: 1.15rem;
  transition: transform var(--transition-fast);
}

.portfolio-cta-banner .btn-cta-premium:hover i {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   CONTACT SECTION & FORMS
   ========================================================================== */
.contact-section-wrap {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.contact-info-panel {
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
  color: #ffffff;
  padding: 3.5rem 2.5rem;
  height: 100%;
}

.contact-info-panel h3 {
  color: #ffffff;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.contact-info-panel p {
  color: #cbd5e1;
}

.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.35rem;
}

.contact-meta-item > i {
  font-size: 1.25rem;
  color: var(--primary);
  background: rgba(22, 199, 167, 0.16);
  border: 1px solid rgba(22, 199, 167, 0.35);
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.contact-meta-item strong {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-meta-item span,
.contact-meta-item a {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contact-meta-item a:hover {
  color: var(--primary);
}

.contact-form-panel {
  padding: 3.5rem;
}

.form-floating > .form-control,
.form-floating > .form-select {
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  font-family: 'Poppins', sans-serif;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(22, 199, 167, 0.2);
}

/* ==========================================================================
   HABLEMOS PAGE (SECCIÓN 01: FORM + CONTACT + MAP)
   ========================================================================== */
.contact-page-info-card {
  background: linear-gradient(135deg, #09101d 0%, #005C97 100%);
  color: #ffffff;
  padding: 2.25rem 2rem;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-page-info-card::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(22, 199, 167, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-page-info-card h3 {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-page-info-card .contact-meta-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.contact-page-info-card .contact-icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: rgba(22, 199, 167, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(22, 199, 167, 0.3);
}

.contact-page-info-card .contact-meta-text strong {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-page-info-card .contact-meta-text span,
.contact-page-info-card .contact-meta-text a {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-page-info-card .contact-meta-text a:hover {
  color: var(--primary);
}

.contact-page-info-card .topbar-socials a,
.contact-info-panel .topbar-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.contact-page-info-card .topbar-socials a i,
.contact-info-panel .topbar-socials a i {
  color: #ffffff !important;
  font-size: 1.05rem;
}

.contact-page-info-card .topbar-socials a:hover,
.contact-info-panel .topbar-socials a:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 5px 15px rgba(22, 199, 167, 0.5);
}

.contact-page-info-card .topbar-socials a:hover i,
.contact-info-panel .topbar-socials a:hover i {
  color: #0b2b24 !important;
}

.contact-page-map-card {
  flex-grow: 1;
  min-height: 250px;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
  background: #f1f5f9;
}

.contact-page-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: 0;
  display: block;
}

.contact-page-map-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 50rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-main {
  background: var(--dark);
  color: #94a3b8;
  padding-top: 5rem;
  border-top: 4px solid var(--primary);
}

.footer-brand {
  display: inline-block;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
}

.footer-brand:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(22, 199, 167, 0.35);
}

.footer-brand .footer-logo,
.footer-logo {
  height: 44px;
  width: auto;
  max-width: 100%;
  display: block;
}

.footer-main h5 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-main h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact-item span,
.footer-contact-item a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0;
  margin-top: 4rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   FLOATING ELEMENTS (WHATSAPP WIDGET & INTERACTIVE WELCOME BUBBLE)
   ========================================================================== */
.whatsapp-widget-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1045;
}

.floating-whatsapp {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-normal);
  animation: pulseGreen 2.5s infinite;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

/* Unread Badge indicator on floating button */
.wa-unread-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 22px;
  height: 22px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.6);
  border: 2px solid #ffffff;
  opacity: 0;
  transform: scale(0);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.wa-unread-badge.active {
  opacity: 1;
  transform: scale(1);
}

/* Interactive Welcome Bubble Card */
.wa-welcome-bubble {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 330px;
  max-width: calc(100vw - 36px);
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(22, 199, 167, 0.25);
  box-shadow: 0 20px 45px -10px rgba(9, 16, 29, 0.3), 0 0 20px rgba(22, 199, 167, 0.15);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.92);
  transform-origin: bottom right;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1050;
}

.wa-welcome-bubble.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Welcome Bubble Header */
.wa-bubble-header {
  background: linear-gradient(135deg, #09101d 0%, #005c97 100%);
  padding: 14px 16px;
  color: #ffffff;
  border-bottom: 2px solid #16c7a7;
}

.wa-avatar-box {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.wa-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
}

.wa-online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #ffffff;
}

.wa-agent-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.wa-status-text {
  font-size: 0.72rem;
  color: #a7f3d0;
  margin-top: 2px;
}

.wa-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: waPulse 1.8s infinite;
  flex-shrink: 0;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.btn-close-wa {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.8rem;
}

.btn-close-wa:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
  color: #ffffff;
}

/* Welcome Bubble Body */
.wa-bubble-body {
  background: #f8fafc;
  padding: 16px;
  position: relative;
}

.wa-chat-message {
  background: #ffffff;
  border-radius: 4px 16px 16px 16px;
  padding: 12px 14px;
  position: relative;
  box-shadow: 0 4px 12px rgba(9, 16, 29, 0.06);
  border-left: 3px solid #16c7a7;
}

.wa-message-content {
  font-size: 0.86rem;
  color: #1e293b;
  line-height: 1.5;
  margin-bottom: 4px;
}

.wa-message-time {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  text-align: right;
  font-weight: 500;
}

/* Welcome Bubble Footer */
.wa-bubble-footer {
  padding: 12px 16px 14px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.btn-wa-start {
  background: linear-gradient(135deg, #25d366 0%, #16c7a7 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 50rem;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-fast);
  width: 100%;
}

.btn-wa-start:hover {
  background: linear-gradient(135deg, #22c55e 0%, #0fb597 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

.wa-footer-note {
  font-size: 0.72rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.back-to-top {
  position: fixed;
  bottom: 95px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--secondary);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 92, 151, 0.3);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.back-to-top:hover {
  background: var(--primary);
  color: #0b2b24 !important;
  transform: translateY(-4px);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGreen {
  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); }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE & DEVICE RESPONSIVENESS (iPhone & Android)
   ========================================================================== */

/* Universal mobile-friendly handling */
html, body {
  max-width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

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

/* Fix iOS Safari auto-zoom on input tap */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
select,
textarea,
.form-control,
.form-select {
  font-size: 16px !important;
}

/* Tablet & Mobile (<= 991.98px) */
@media (max-width: 991.98px) {
  /* iOS fixed background jitter/zoom fix */
  .page-header,
  .parallax-banner {
    background-attachment: scroll !important;
    background-position: center center !important;
  }

  .page-header {
    min-height: 300px;
    padding: 4.5rem 0 3rem;
  }

  .page-header h1 {
    font-size: 2.3rem;
  }

  .hero-section {
    min-height: auto;
    padding: 4.5rem 0 3.5rem;
  }

  .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-subtitle {
    font-size: 1.35rem;
  }

  .hero-stats-bar {
    margin-top: 2.5rem;
    padding: 1.25rem 1rem;
  }

  .contact-form-panel {
    padding: 2.5rem 1.75rem;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.25rem;
    padding: 1.25rem 1.35rem;
    margin-top: 0.85rem;
    box-shadow: 0 18px 45px rgba(0, 92, 151, 0.15), 0 0 0 1px rgba(22, 199, 167, 0.25);
    border: none;
  }

  .navbar-nav .nav-link {
    padding: 0.7rem 1rem !important;
    border-radius: 0.75rem;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .navbar-nav .nav-link.active {
    background: rgba(22, 199, 167, 0.1);
    color: var(--secondary) !important;
  }

  .navbar-nav .dropdown-menu {
    background: #f8fafc;
    border: 1px solid rgba(22, 199, 167, 0.2);
    box-shadow: none;
    margin-top: 0.4rem;
    padding: 0.5rem;
    border-radius: 0.85rem;
  }

  .navbar-nav .dropdown-item {
    padding: 0.6rem 1rem;
    font-size: 0.92rem;
  }

  .pricing-card.featured {
    transform: none !important;
  }

  .pricing-card.featured:hover {
    transform: translateY(-5px) !important;
  }
}

/* Small Tablets & Large Phones (<= 767.98px) */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.3rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .section-title-wrap h2 {
    font-size: 2rem;
  }

  .stat-item h3 {
    font-size: 1.85rem;
  }

  .stat-item p {
    font-size: 0.82rem;
  }

  .feature-content {
    padding: 2rem 1.5rem;
  }

  .feature-media {
    min-height: 250px;
  }

  .table-responsive,
  .table-premium {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-premium th,
  .table-premium td {
    white-space: nowrap;
    padding: 0.75rem 1rem;
  }

  .card-premium {
    padding: 1.75rem 1.35rem;
  }

  .timeline-dot {
    left: -1.75rem;
    width: 26px;
    height: 26px;
  }

  .portfolio-cta-banner {
    padding: 3rem 1.5rem;
  }

  .portfolio-cta-banner h3 {
    font-size: 1.85rem;
  }

  .portfolio-cta-banner p {
    font-size: 1rem;
  }

  .portfolio-cta-banner .btn-cta-premium {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
  }
}

/* Mobile Phones (<= 575.98px: iPhone 12/13/14/15/16, SE, Galaxy, Pixel) */
@media (max-width: 575.98px) {
  /* Topbar Mobile Layout */
  .topbar {
    padding: 0.4rem 0;
  }

  .topbar .container {
    flex-direction: column;
    justify-content: center !important;
    gap: 0.35rem;
    text-align: center;
  }

  .topbar-left {
    width: 100%;
    justify-content: center;
  }

  .topbar-left .contact-item {
    margin-right: 0;
    font-size: 0.82rem;
  }

  .topbar-right {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
  }

  .topbar .topbar-socials a {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .lang-switch {
    margin-left: 0.5rem;
  }

  .lang-btn {
    padding: 2px 10px;
    font-size: 0.72rem;
  }

  /* Header & Branding */
  .navbar-brand img {
    height: 38px;
  }

  .navbar-main {
    padding: 0.6rem 0;
  }

  .page-header {
    min-height: 260px;
    padding: 3.5rem 0 2.5rem;
  }

  .page-header h1 {
    font-size: 1.85rem;
  }

  .page-header p.lead {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .breadcrumb-custom {
    font-size: 0.78rem;
    padding: 0.35rem 0.95rem;
  }

  /* Hero Section */
  .hero-title {
    font-size: 1.95rem;
    line-height: 1.22;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .hero-section .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-bar {
    padding: 1.25rem 0.75rem;
    margin-top: 2rem;
  }

  .stat-item h3 {
    font-size: 1.6rem;
  }

  .stat-item p {
    font-size: 0.75rem;
  }

  /* Section Titles & Badges */
  .section-title-wrap h2 {
    font-size: 1.65rem;
  }

  .section-title-wrap p {
    font-size: 0.95rem;
  }

  .badge-subtle {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  /* Cards & Lists */
  .card-premium {
    padding: 1.5rem 1.15rem;
    border-radius: 1rem;
  }

  .card-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
  }

  .process-step-card {
    padding: 1.75rem 1.25rem;
  }

  .process-number {
    font-size: 2.2rem;
  }

  .pricing-card {
    padding: 2rem 1.25rem;
    border-radius: 1.25rem;
  }

  .pricing-card .price {
    font-size: 2.25rem;
  }

  /* Parallax Banner Mobile */
  .parallax-banner {
    padding: 4.5rem 0 3.5rem;
  }

  .parallax-banner h2 {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .parallax-banner p.lead {
    font-size: 0.95rem;
  }

  .parallax-feature-card {
    padding: 1.75rem 1.35rem;
    border-radius: 1.25rem;
  }

  .parallax-feature-card h3 {
    font-size: 1.2rem;
  }

  .parallax-feature-card p {
    font-size: 0.88rem;
  }

  .parallax-icon-box {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }

  .parallax-banner .btn {
    width: 100%;
    justify-content: center;
  }

  .parallax-trust-strip {
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.75rem;
    font-size: 0.82rem;
  }

  /* Contact & Forms */
  .contact-form-panel {
    padding: 1.75rem 1.15rem;
  }

  .contact-page-info-card {
    padding: 1.75rem 1.25rem;
  }

  .contact-meta-item a,
  .footer-contact-item a {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  /* Floating WhatsApp & Back to Top (with iOS Safe Area Inset support) */
  .whatsapp-widget-container {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: 18px;
  }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    font-size: 1.75rem;
  }

  .wa-welcome-bubble {
    width: calc(100vw - 36px);
    right: 0;
    bottom: 66px;
  }

  .back-to-top {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    right: 22px;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  /* ==========================================================================
     MOBILE FOOTER SUITE (iPhone & Android)
     ========================================================================== */
  .footer-main {
    padding-top: 3.25rem;
    background: linear-gradient(180deg, #09101d 0%, #060b14 100%);
    border-top: 3px solid var(--primary);
  }

  .footer-main .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  /* Columna 1: Brand, Bio & Redes */
  .footer-brand {
    padding: 6px 14px;
    border-radius: 10px;
    margin-bottom: 1rem !important;
  }

  .footer-brand .footer-logo,
  .footer-logo {
    height: 36px;
  }

  .footer-main p.text-light {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    color: #cbd5e1 !important;
  }

  /* Redes Sociales en Footer Móvil */
  .footer-main .topbar-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  .footer-main .topbar-socials a {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: all var(--transition-fast);
  }

  .footer-main .topbar-socials a:hover,
  .footer-main .topbar-socials a:active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #042921 !important;
    transform: translateY(-2px) scale(1.05);
  }

  /* Títulos de Sección en Footer */
  .footer-main h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.15rem;
    letter-spacing: -0.01em;
  }

  .footer-main h5::after {
    width: 28px;
    height: 2.5px;
    bottom: -6px;
  }

  /* Columnas 2 y 3: Menú y Servicios (2 columnas fluidas) */
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

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

  .footer-links a {
    font-size: 0.84rem;
    line-height: 1.4;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    min-height: 34px; /* Zona táctil óptima para dedos en móvil */
    padding: 2px 0;
    word-break: normal;
    overflow-wrap: break-word;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: all var(--transition-fast);
  }

  .footer-links a:hover,
  .footer-links a:active {
    color: var(--primary);
    transform: translateX(3px);
  }

  /* Columna 4: Información de Contacto */
  .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 0.75rem 0.9rem;
    transition: all var(--transition-fast);
  }

  .footer-contact-item:active {
    background: rgba(22, 199, 167, 0.08);
    border-color: rgba(22, 199, 167, 0.3);
  }

  .footer-contact-item i {
    color: var(--primary);
    font-size: 1.15rem;
    margin-top: 1px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
  }

  .footer-contact-item span,
  .footer-contact-item a {
    color: #f1f5f9;
    font-size: 0.86rem;
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: anywhere;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .footer-contact-item a:hover,
  .footer-contact-item a:active {
    color: var(--primary);
  }

  /* Botón "Hablemos Hoy" en Footer Móvil */
  .footer-main .btn-teal {
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.8rem 1.25rem !important;
    border-radius: 50rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 18px rgba(22, 199, 167, 0.35);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: all var(--transition-fast);
  }

  .footer-main .btn-teal:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(22, 199, 167, 0.4);
  }

  /* Copyright y Barra Inferior (con soporte de Safe Area Inset en iPhone) */
  .footer-bottom {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-bottom p {
    font-size: 0.8rem;
    line-height: 1.55;
    color: #94a3b8;
  }
}

/* Pantallas Extra Compactas (<= 375px: iPhone SE, Galaxy A, etc.) */
@media (max-width: 375px) {
  .footer-links a {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .footer-contact-item {
    padding: 0.65rem 0.75rem;
    gap: 0.6rem;
  }

  .footer-contact-item span,
  .footer-contact-item a {
    font-size: 0.82rem;
  }

  .footer-main h5 {
    font-size: 0.98rem;
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 640px;
  margin: 0 auto;
  background: rgba(9, 16, 29, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(22, 199, 167, 0.35);
  border-radius: 1.25rem;
  padding: 1.25rem 1.75rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4), 0 0 25px rgba(22, 199, 167, 0.15);
  z-index: 1050;
  display: none;
  align-items: center;
  gap: 1.25rem;
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}

.cookie-banner p a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-banner p a:hover {
  color: #ffffff;
}

.cookie-banner .btn-cookie-accept {
  background: var(--primary);
  color: #042921;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.35rem;
  border-radius: 50rem;
  border: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-banner .btn-cookie-accept:hover {
  background: #19e3be;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(22, 199, 167, 0.4);
}

@media (max-width: 576px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    right: 16px;
    padding: 1.25rem;
  }
  .cookie-banner .btn-cookie-accept {
    width: 100%;
  }
}

/* ==============================================================================
   7. Testimonials & Social Proof Component
   ============================================================================== */
.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(0, 92, 151, 0.08);
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 30px rgba(9, 16, 29, 0.05);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 92, 151, 0.12);
  border-color: rgba(22, 199, 167, 0.35);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-quote-icon {
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(22, 199, 167, 0.25);
  margin-bottom: 1rem;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(0, 92, 151, 0.2);
  flex-shrink: 0;
}

.testimonial-meta h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 2px 0;
}

.testimonial-meta p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50rem;
  margin-top: 4px;
}

.trust-summary-strip {
  background: #ffffff;
  border: 1px solid rgba(0, 92, 151, 0.1);
  border-radius: 1rem;
  padding: 1.25rem 2rem;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  box-shadow: 0 6px 20px rgba(9, 16, 29, 0.04);
}

/* ==============================================================================
   8. FAQ Accordion Component (SEO FAQPage)
   ============================================================================== */
.accordion-faq {
  --bs-accordion-border-color: transparent;
  --bs-accordion-bg: transparent;
}

.accordion-faq .accordion-item {
  background: #ffffff;
  border: 1px solid rgba(0, 92, 151, 0.1) !important;
  border-radius: 1rem !important;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(9, 16, 29, 0.03);
  transition: all var(--transition-normal);
}

.accordion-faq .accordion-item:hover {
  border-color: rgba(22, 199, 167, 0.4) !important;
  box-shadow: 0 8px 24px rgba(0, 92, 151, 0.08);
}

.accordion-faq .accordion-header {
  margin: 0;
}

.accordion-faq .accordion-button {
  background: #ffffff;
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1.35rem 1.6rem;
  border-radius: 1rem !important;
  box-shadow: none !important;
  transition: all var(--transition-fast);
}

.accordion-faq .accordion-button:not(.collapsed) {
  background: #f8fafc;
  color: var(--secondary);
  border-bottom: 1px solid rgba(0, 92, 151, 0.08);
}

.accordion-faq .accordion-button::after {
  background-size: 1.1rem;
  transition: transform var(--transition-normal);
}

.accordion-faq .accordion-button:not(.collapsed)::after {
  filter: hue-rotate(140deg);
}

.accordion-faq .accordion-body {
  padding: 1.4rem 1.6rem;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.75;
  background: #ffffff;
}

.accordion-faq .faq-highlight {
  color: var(--primary);
  font-weight: 600;
}

/* ==============================================================================
   9. Portfolio Quick-View Modal Component
   ============================================================================== */
.portfolio-modal .modal-content {
  background: #ffffff;
  border: 1px solid rgba(0, 92, 151, 0.15);
  border-radius: 1.5rem;
  box-shadow: 0 25px 60px rgba(9, 16, 29, 0.25);
  overflow: hidden;
}

.portfolio-modal .modal-header {
  border-bottom: 1px solid #f1f5f9;
  padding: 1.5rem 2rem;
  background: #f8fafc;
}

.portfolio-modal .modal-title {
  font-weight: 800;
  color: var(--dark);
  font-size: 1.35rem;
}

.portfolio-modal .modal-body {
  padding: 2rem;
}

.portfolio-modal-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(9, 16, 29, 0.1);
}

.portfolio-metric-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  padding: 1rem;
  text-align: center;
  transition: transform var(--transition-fast);
}

.portfolio-metric-box:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.portfolio-metric-number {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.portfolio-metric-label {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 4px;
}

.portfolio-tech-tag {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 0.35rem 0.85rem;
  border-radius: 50rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-portfolio-detail {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50rem;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
  transition: all var(--transition-fast);
}

.btn-portfolio-detail:hover {
  background: var(--primary);
  color: #042921;
  box-shadow: 0 4px 12px rgba(22, 199, 167, 0.3);
}

/* ==============================================================================
   10. Turnstile Antispam Widget (Invisible Protection)
   ============================================================================== */
.turnstile-wrap {
  margin: 0;
  padding: 0;
  min-height: 0;
  height: 0;
  line-height: 0;
  overflow: hidden;
}

/* ==============================================================================
   11. High-End Service Showcase & Floating Glass Badges
   ============================================================================== */
.service-showcase-wrapper {
  position: relative;
  z-index: 1;
}

.service-showcase-glow {
  position: absolute;
  top: 5%;
  left: 5%;
  right: 5%;
  bottom: 5%;
  background: radial-gradient(circle, rgba(22, 199, 167, 0.22) 0%, rgba(0, 92, 151, 0.16) 50%, transparent 75%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.service-showcase-frame {
  position: relative;
  border-radius: 1.5rem;
  padding: 8px;
  background: linear-gradient(135deg, rgba(22, 199, 167, 0.45) 0%, rgba(0, 92, 151, 0.2) 50%, rgba(22, 199, 167, 0.3) 100%);
  box-shadow: 0 25px 60px -15px rgba(9, 16, 29, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.7);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.service-showcase-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 70px -15px rgba(0, 92, 151, 0.35), 0 0 25px rgba(22, 199, 167, 0.3);
  border-color: rgba(22, 199, 167, 0.6);
}

.service-showcase-frame img {
  border-radius: 1.25rem;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-showcase-frame:hover img {
  transform: scale(1.02);
}

/* Floating Glass Badge (Bottom) */
.card-glass-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  max-width: calc(100% - 2.5rem);
  background: #ffffff !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 1.25rem !important;
  padding: 1rem 1.35rem !important;
  box-shadow: 0 20px 45px -10px rgba(9, 16, 29, 0.35),
              0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
  z-index: 10;
}

.card-glass-badge:hover {
  background: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 25px 55px -10px rgba(9, 16, 29, 0.45),
              0 0 0 1px rgba(22, 199, 167, 0.5);
}

.badge-icon-box-premium {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(22, 199, 167, 0.2) 0%, rgba(0, 92, 151, 0.15) 100%);
  color: var(--primary);
  font-size: 1.45rem;
  border: 1.5px solid rgba(22, 199, 167, 0.4);
  box-shadow: 0 4px 14px rgba(22, 199, 167, 0.2);
}

.badge-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #09101d;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.badge-sub {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.3;
}

/* Floating Top-Right Chip */
.showcase-chip-top {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(9, 16, 29, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 0.45rem 1.05rem;
  border-radius: 50rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(22, 199, 167, 0.45);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 10;
  letter-spacing: 0.2px;
}

/* Pulse Dot Animation */
.status-pulse-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background-color: #16c7a7;
  box-shadow: 0 0 0 0 rgba(22, 199, 167, 0.7);
  animation: pulse-teal 2s infinite;
}

@keyframes pulse-teal {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 199, 167, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(22, 199, 167, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 199, 167, 0); }
}

.showcase-metrics-bar {
  background: #ffffff !important;
  border: 1px solid rgba(0, 92, 151, 0.1) !important;
  box-shadow: 0 6px 18px rgba(9, 16, 29, 0.04);
}

.feature-scope-item {
  transition: all var(--transition-fast);
  padding: 0.4rem 0.6rem;
  border-radius: 0.75rem;
}

.feature-scope-item:hover {
  background: rgba(22, 199, 167, 0.06);
}

@media (max-width: 575.98px) {
  .card-glass-badge {
    position: relative;
    bottom: auto;
    left: auto;
    max-width: 100%;
    margin-top: 1rem;
  }
}

/* ==============================================================================
   12. Global High-End Luxury Image Framework (Entire Website)
   ============================================================================== */
/* Universal elevation & styling for all content showcase images */
.img-fluid.rounded-4.shadow-lg,
.img-fluid.rounded-4.shadow-md {
  border: 1px solid rgba(0, 92, 151, 0.12);
  box-shadow: 0 20px 45px -10px rgba(9, 16, 29, 0.22), 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease;
}

.img-fluid.rounded-4.shadow-lg:hover,
.img-fluid.rounded-4.shadow-md:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 32px 65px -12px rgba(0, 92, 151, 0.32), 0 0 25px rgba(22, 199, 167, 0.3) !important;
  border-color: rgba(22, 199, 167, 0.55);
}

/* Secondary images inside cards and grids (about-mission, about-vision, etc.) */
.card-premium img {
  border-radius: 1rem;
  border: 1px solid rgba(0, 92, 151, 0.1);
  box-shadow: 0 8px 24px rgba(9, 16, 29, 0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.4s ease;
}

.card-premium:hover img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 92, 151, 0.18);
  border-color: rgba(22, 199, 167, 0.4);
}

/* Portfolio Grid Images - High-End Luxury Polish */
.portfolio-card .portfolio-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem 1.25rem 0 0;
  background: #09101d;
}

.portfolio-card .portfolio-img-wrap img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-card:hover .portfolio-img-wrap img {
  transform: scale(1.06);
  filter: brightness(1.05) contrast(1.03);
}

/* Subtle gloss sweep effect on portfolio images */
.portfolio-card .portfolio-img-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-25deg);
  transition: left 0.85s ease;
  pointer-events: none;
}

.portfolio-card:hover .portfolio-img-wrap::after {
  left: 140%;
}

/* Portfolio Quick View Modal Image */
.portfolio-modal-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 92, 151, 0.15);
  box-shadow: 0 20px 45px -10px rgba(9, 16, 29, 0.25);
}

/* High-DPI Logo Presentation */
.navbar-brand img,
.footer-logo {
  transition: transform 0.3s ease, filter 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
}

.navbar-brand:hover img {
  transform: scale(1.02);
  filter: drop-shadow(0 2px 8px rgba(22, 199, 167, 0.3));
}



