@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
  --bg-darker: #2a2a2a;
  --bg-dark: #1f1f1f;
  --bg-card: rgba(22, 28, 36, 0.45);
  --bg-nav: rgba(13, 17, 23, 0.75);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 255, 0.2);
  
  --primary: #00e5ff;
  --primary-glow: rgba(0, 229, 255, 0.4);
  --secondary: #0066ff;
  --secondary-glow: rgba(0, 66, 255, 0.4);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  
  --whatsapp: #25d366;
  --whatsapp-glow: rgba(37, 211, 102, 0.4);
  --telegram: #0088cc;
  --telegram-glow: rgba(0, 136, 204, 0.4);
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* --- RESET & GLOBAL --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darker);
  color: var(--text-main);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* --- REVEAL ANIMATIONS ON SCROLL --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- BACKGROUND DECORATION --- */
.bg-glow-container {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(0, 102, 255, 0) 70%);
  top: -200px;
  left: -200px;
  animation: float-glow 20s infinite alternate ease-in-out;
}

.bg-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.06) 0%, rgba(0, 229, 255, 0) 70%);
  bottom: -100px;
  right: -100px;
  animation: float-glow 25s infinite alternate-reverse ease-in-out;
}

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 50px) scale(1.1); }
}

/* --- NAVIGATION BAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: var(--transition-fast);
}

.logo svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  fill: none;
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

.logo:hover {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.5rem 0;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 10rem 2rem 6rem 2rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 850px;
  z-index: 10;
}

.hero-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 12px var(--primary-glow);
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 30px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.15);
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 70%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* --- BUTTONS & INTERACTIVE ELEMENTS --- */
.btn-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  position: relative;
  padding: 1rem 2.25rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-darker);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
  transition: var(--transition-smooth);
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  opacity: 0;
  z-index: -1;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.55);
}

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

.btn-translucent {
  padding: 1rem 2.25rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-translucent:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  transform: translateY(-3px);
  color: var(--primary);
}

/* --- GLASS CARD COMPONENT --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 10px 40px rgba(0, 229, 255, 0.06);
  transform: translateY(-5px);
}

/* --- SECTION GENERAL STYLE --- */
.section {
  padding: 7rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* --- SERVICE CARDS (INICIO) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  text-align: left;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(0, 102, 255, 0.1));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.service-icon-box svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  fill: none;
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 20px var(--primary-glow);
}

.service-card:hover .service-icon-box svg {
  stroke: var(--bg-darker);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.service-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary);
  fill: none;
  transition: var(--transition-fast);
}

.service-card:hover .service-link {
  color: #fff;
}

.service-card:hover .service-link svg {
  transform: translateX(5px);
  stroke: #fff;
}

/* --- WORKCASE / ABOUT BANNER (INICIO) --- */
.showcase-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.showcase-image-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.showcase-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(8, 10, 12, 0) 50%, rgba(8, 10, 12, 0.8) 100%);
  z-index: 1;
}

.showcase-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.showcase-image-container:hover .showcase-img {
  transform: scale(1.05);
}

.showcase-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  z-index: 2;
}

.showcase-badge h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.showcase-badge p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.showcase-text h2 {
  font-size: 2.3rem;
  margin-bottom: 1.5rem;
}

.showcase-text p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

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

.feature-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  fill: none;
}

.feature-item span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* --- CONTACT MAP SECTION (INICIO) --- */
.contact-map-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  fill: none;
}

.contact-item:hover .contact-icon {
  border-color: var(--primary);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.contact-details h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.contact-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.map-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.map-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.map-wrapper:hover .map-image {
  transform: scale(1.02);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 10, 12, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  opacity: 0;
}

.map-wrapper:hover .map-overlay {
  opacity: 1;
  background: rgba(8, 10, 12, 0.65);
}

/* --- VIDEO SECTION (CAMARAS) --- */
.video-section {
  max-width: 900px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16/9;
  background-color: #000;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-controls-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  transition: var(--transition-fast);
  z-index: 10;
}

.play-btn-huge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 30px var(--primary-glow);
  transition: var(--transition-smooth);
}

.play-btn-huge svg {
  width: 32px;
  height: 32px;
  fill: var(--bg-darker);
  margin-left: 4px;
  transition: var(--transition-fast);
}

.play-btn-huge:hover {
  transform: scale(1.1);
  background: #fff;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
}

.video-container.playing .video-controls-overlay {
  opacity: 0;
  pointer-events: none;
}

.video-caption {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- FILTER BAR & CATALOG (EQUIPOS) --- */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.75rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-muted);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.filter-btn.active {
  color: var(--bg-darker);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.catalog-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.catalog-item-image-box {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  margin-bottom: 1.25rem;
  background-color: rgba(0, 0, 0, 0.3);
  position: relative;
}

.catalog-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.catalog-item-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.catalog-item-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.catalog-item-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.catalog-item-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.price {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.btn-card-action {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}

.catalog-item:hover .btn-card-action {
  background: var(--primary);
  color: var(--bg-darker);
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* --- FOOTER --- */
.footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-glass);
  padding: 4rem 2rem 2rem 2rem;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- FLOATING ACTION BUTTONS (FABS) --- */
.floating-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
}

.fab {
  pointer-events: auto;
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: var(--transition-smooth);
  outline: none;
}

.fab svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  transition: var(--transition-smooth);
}

.fab-whatsapp {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(37, 211, 102, 0.35);
  animation: pulse-whatsapp 2s infinite ease-out;
}

.fab-whatsapp svg {
  fill: var(--whatsapp);
  filter: drop-shadow(0 0 6px rgba(37, 211, 102, 0.6));
}

.fab-back-top {
  display: none;
  background: var(--primary);
  color: #0f172a !important;
  border-color: var(--primary);
}

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

.fab-back-top svg {
  fill: none !important;
  stroke: #0f172a !important;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Tooltips */
.fab-tooltip {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: rgba(13, 17, 23, 0.9);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-smooth);
}

.fab:hover .fab-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* FAB hover transitions */
.fab:hover {
  transform: translateY(-5px) scale(1.08);
}

.fab-whatsapp:hover {
  background: rgba(37, 211, 102, 0.25);
  border-color: var(--whatsapp);
  box-shadow: 0 10px 30px var(--whatsapp-glow);
}
.fab-whatsapp:hover svg {
  fill: #fff;
  filter: none;
}

.fab-back-top:hover {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 10px 30px var(--primary-glow);
}

/* Pulse Animations Keyframes */
@keyframes pulse-whatsapp {
  0% {
    box-shadow:
      0 0 0 0 rgba(37, 211, 102, 0.55),
      0 0 0 0 rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow:
      0 0 0 12px rgba(37, 211, 102, 0),
      0 0 0 6px rgba(37, 211, 102, 0.15);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(37, 211, 102, 0),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .showcase-banner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-map-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .nav-container {
    padding: 0.9rem 1rem;
    gap: 0.75rem;
    justify-content: flex-start;
  }

  .logo {
    flex: 0 0 auto;
  }

  .logo img {
    width: 92px !important;
  }

  .nav-menu {
    display: flex !important;
    gap: clamp(0.6rem, 3vw, 1.25rem);
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
    visibility: visible;
    opacity: 1;
  }

  .nav-link {
    display: block;
    font-size: clamp(0.68rem, 2.4vw, 0.85rem);
    letter-spacing: 0;
    white-space: nowrap;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .floating-container {
    bottom: 1.5rem;
    right: 1.5rem;
    gap: 0.75rem;
  }
  
  .fab {
    width: 50px;
    height: 50px;
  }
  
  .fab svg {
    width: 22px;
    height: 22px;
  }
  
  .fab-tooltip {
    display: none; /* Hide tooltips on mobile devices */
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 8rem 1rem 4rem 1rem;
  }
  .btn-container {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary, .btn-translucent {
    width: 100%;
  }
}

/* --- IMAGE-ONLY CATALOG CARDS (EQUIPOS) --- */
.catalog-grid-images {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.catalog-img-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: rgba(0, 0, 0, 0.35);
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.catalog-img-card .catalog-item-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
}

.catalog-img-card .catalog-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalog-img-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.15);
  transform: translateY(-6px) scale(1.01);
}

.catalog-img-card:hover .catalog-item-img {
  transform: scale(1.08);
}

/* Gradient overlay on hover */
.catalog-img-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 229, 255, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.catalog-img-card:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .catalog-grid-images {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
}

