﻿/* ========== VARIABLES Y RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0f2d45;
  --secondary-color: #0066ff;
  --accent-color: #ff6b35;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-tertiary: #808080;
  --bg-dark: #0a1628;
  --bg-darker: #050b15;
  --border-color: #1a2f45;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 18% 30%, rgba(0, 102, 255, 0.18) 0%, rgba(0, 102, 255, 0) 32%),
    radial-gradient(circle at 82% 72%, rgba(255, 107, 53, 0.14) 0%, rgba(255, 107, 53, 0) 28%),
    linear-gradient(115deg, #071224 0%, #0a1427 38%, #13111b 100%);
  min-height: 100vh;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

.site-header.menu-open {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 21, 38, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 28px;
  background: transparent;
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  background: linear-gradient(90deg, #4d7dff 0%, #ff9164 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-link {
  text-decoration: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}

.main-nav a.active-link {
  color: var(--secondary-color);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Mobile Menu Styles */
.main-nav.mobile-menu-active {
  display: block !important;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(5, 11, 21, 0.99) 0%, rgba(10, 22, 40, 0.98) 100%);
  backdrop-filter: blur(15px);
  border-top: 2px solid var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.25);
  z-index: 999;
}

.main-nav.mobile-menu-active ul {
  flex-direction: column;
  gap: 0;
  padding: 0.8rem 0;
  list-style: none;
}

.main-nav.mobile-menu-active li {
  width: 100%;
  border-bottom: 1px solid rgba(0, 102, 255, 0.2);
  transition: all 0.25s ease;
}

.main-nav.mobile-menu-active li:last-child {
  border-bottom: none;
}

.main-nav.mobile-menu-active li:hover {
  background: linear-gradient(90deg, rgba(0, 102, 255, 0.15) 0%, rgba(0, 102, 255, 0.05) 100%);
  border-left: 3px solid var(--secondary-color);
}

.main-nav.mobile-menu-active a {
  display: block;
  padding: 1rem 1.8rem;
  padding-left: 1.5rem;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
}

.main-nav.mobile-menu-active a:hover {
  color: var(--secondary-color);
  padding-left: 2.2rem;
  font-weight: 600;
}

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

.search-btn,
.menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover,
.menu-toggle:hover {
  color: var(--secondary-color);
  border-color: rgba(0, 102, 255, 0.34);
  background: rgba(0, 102, 255, 0.1);
}

.site-search {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 6.5rem 1.25rem 1.25rem;
  background: rgba(4, 10, 20, 0.72);
  backdrop-filter: blur(16px);
}

.site-search.is-open {
  display: flex;
}

.site-search-panel {
  width: min(100%, 760px);
  max-height: min(760px, calc(100vh - 8rem));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(15, 29, 51, 0.98) 0%, rgba(8, 16, 30, 0.98) 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44);
}

.site-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-search-header span {
  display: block;
  margin-bottom: 0.25rem;
  color: #ff8b63;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-search-header strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.28rem;
}

.site-search-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition);
}

.site-search-close:hover {
  color: var(--accent-color);
  border-color: rgba(255, 107, 53, 0.36);
  background: rgba(255, 107, 53, 0.1);
}

.site-search-form {
  padding: 1rem 1.5rem 1.15rem;
}

.site-search-input-wrap {
  position: relative;
}

.site-search-input-wrap i {
  position: absolute;
  left: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.48);
}

.site-search-input {
  width: 100%;
  min-height: 58px;
  padding: 0.95rem 1rem 0.95rem 3rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-search-input::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.site-search-input:focus {
  border-color: rgba(0, 102, 255, 0.76);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.13);
}

.site-search-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.site-search-hints button {
  border: 1px solid rgba(255, 107, 53, 0.34);
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.08);
  color: #ffb092;
  padding: 0.46rem 0.72rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.site-search-hints button:hover {
  color: #ffffff;
  background: rgba(255, 107, 53, 0.2);
}

.site-search-results {
  display: grid;
  gap: 0.75rem;
  overflow: auto;
  padding: 0 1.5rem 1.5rem;
}

.site-search-result {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 0.95rem;
  align-items: center;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
}

.site-search-result:hover,
.site-search-result:focus-visible {
  outline: none;
  border-color: rgba(0, 102, 255, 0.38);
  background: rgba(0, 102, 255, 0.1);
  transform: translateY(-2px);
}

.site-search-result-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--secondary-color);
  background: rgba(0, 102, 255, 0.14);
}

.site-search-result strong,
.site-search-result > span:nth-child(2) > span {
  display: block;
}

.site-search-result strong {
  margin-bottom: 0.25rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

.site-search-result span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-search-result-tag {
  align-self: start;
  border-radius: 999px;
  padding: 0.38rem 0.62rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-search-empty {
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: 4px;
}

.menu-toggle:hover {
  color: var(--secondary-color);
  background: rgba(0, 102, 255, 0.1);
}

/* ========== HERO SECTION ========== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 72px 0 42px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.1;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  animation: slideInLeft 0.8s ease-out;
  max-width: 560px;
}

.update-badge {
  display: inline-block;
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid rgba(255, 107, 53, 0.7);
  color: #ff8b63;
  padding: 0.9rem 1.45rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 2rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.update-badge:hover {
  background: rgba(255, 107, 53, 0.25);
  transform: translateY(-2px);
}

.hero-title {
  font-size: 4.1rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-family: 'Poppins', sans-serif;
  max-width: 620px;
}

.hero-title .highlight {
  color: var(--secondary-color);
}

.hero-description {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), #0052cc);
  color: white;
  box-shadow: 0 16px 40px rgba(0, 102, 255, 0.32);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
  min-width: 78px;
  justify-content: center;
  background: rgba(255, 107, 53, 0.08);
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
  background: rgba(255, 107, 53, 0.3);
  transform: translateY(-3px);
}

.btn-large {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
}

.cta-content .btn.btn-large {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 430px;
  background: #f4f4f4;
  color: #050b15;
  text-decoration: none;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.cta-content .btn.btn-large:hover {
  background: #ffffff;
  color: #050b15;
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 48, 93, 0.35);
  border: 1px solid rgba(49, 97, 171, 0.35);
  border-radius: 50%;
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-5px);
}

/* Hero Image */
.hero-image {
  position: relative;
  height: 520px;
  animation: slideInRight 0.8s ease-out;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-box {
  position: absolute;
  border: 2px solid;
  border-radius: 12px;
  animation: float 6s ease-in-out infinite;
  backdrop-filter: blur(2px);
}

.tech-box-1 {
  width: 160px;
  height: 120px;
  border-color: var(--secondary-color);
  background: rgba(0, 102, 255, 0.03);
  animation-delay: 0s;
  top: 72px;
  left: 96px;
}

.tech-box-2 {
  width: 145px;
  height: 145px;
  border-color: var(--accent-color);
  background: rgba(255, 107, 53, 0.03);
  animation-delay: 1s;
  bottom: 70px;
  right: 88px;
}

.tech-box-3 {
  width: 120px;
  height: 160px;
  border-color: var(--secondary-color);
  background: rgba(0, 102, 255, 0.03);
  animation-delay: 2s;
  top: 218px;
  right: 52px;
}

.tech-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, rgba(255, 107, 53, 0.06) 45%, transparent 72%);
  border-radius: 50%;
  top: 58%;
  left: 60%;
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite;
}

/* ========== PAGINA TECNICO ========== */
.tecnico-page {
  position: relative;
  z-index: 1;
}

.tecnico-hero {
  padding: 88px 0 56px;
  position: relative;
}

.tecnico-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.tecnico-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 53, 0.55);
  background: rgba(255, 107, 53, 0.08);
  color: #ff8b63;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.4rem;
}

.tecnico-copy h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.1rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.35rem;
}

.tecnico-copy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.06rem;
  line-height: 1.85;
  max-width: 620px;
}

.tecnico-hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.tecnico-metrics {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tecnico-metric {
  padding: 1.1rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.tecnico-metric strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  font-size: 0.98rem;
}

.tecnico-metric span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.6;
}

.tecnico-media {
  display: flex;
  justify-content: center;
}

.tecnico-image-frame {
  width: min(100%, 470px);
  border-radius: 32px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(0, 102, 255, 0.16), rgba(255, 107, 53, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.tecnico-image-frame img {
  width: 100%;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.tecnico-info-section,
.tecnico-process-section {
  padding: 3.5rem 0 5rem;
}

.tecnico-section-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
}

.tecnico-section-heading span {
  display: inline-block;
  color: #ff8b63;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.tecnico-section-heading h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.tecnico-section-heading p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.tecnico-services-grid,
.tecnico-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.tecnico-card,
.process-step {
  padding: 1.8rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 31, 54, 0.72) 0%, rgba(10, 18, 33, 0.82) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.tecnico-card i {
  font-size: 1.45rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.tecnico-card h3,
.process-step h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.18rem;
  margin-bottom: 0.85rem;
}

.tecnico-card p,
.process-step p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  font-size: 0.96rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--secondary-color), #0052cc);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.28);
}

/* ========== PAGINA CONTACTO ========== */
.contact-page {
  position: relative;
  z-index: 1;
}

.contact-hero {
  padding: 88px 0 64px;
}

.contact-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: start;
}

.contact-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 53, 0.55);
  background: rgba(255, 107, 53, 0.08);
  color: #ff8b63;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.4rem;
}

.contact-copy h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.2rem;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
  line-height: 1.85;
}

.contact-info-list {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-info-item i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--secondary-color), #0052cc);
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.25);
  flex-shrink: 0;
}

.contact-info-item strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.contact-info-item span {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
  font-size: 0.95rem;
}

.contact-form-card {
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(18, 31, 54, 0.78) 0%, rgba(10, 18, 33, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.contact-form-header {
  margin-bottom: 1.5rem;
}

.contact-form-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.contact-form-header p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 1.2rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.55rem;
}

.form-field span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.93rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.form-field select option {
  color: #111;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(0, 102, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.contact-form .btn {
  width: fit-content;
}

.form-field-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-form .btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-form-feedback {
  display: none;
  max-width: 430px;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 0.93rem;
  line-height: 1.55;
}

.contact-form-feedback.is-visible {
  display: block;
}

.contact-form-feedback.is-success {
  color: #d8ffe9;
  background: rgba(24, 166, 93, 0.12);
  border-color: rgba(24, 166, 93, 0.28);
}

.contact-form-feedback.is-error {
  color: #ffd8cf;
  background: rgba(255, 107, 53, 0.12);
  border-color: rgba(255, 107, 53, 0.32);
}

.contact-form-feedback.is-neutral {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 102, 255, 0.1);
  border-color: rgba(0, 102, 255, 0.24);
}

.form-field.is-field-invalid input,
.form-field.is-field-invalid textarea,
.form-field.is-field-invalid .custom-select-trigger {
  border-color: rgba(255, 107, 53, 0.78);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12);
}

.custom-select {
  position: relative;
  z-index: 12;
}

.custom-select-trigger {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(24, 38, 62, 0.98) 0%, rgba(18, 29, 49, 0.98) 100%);
  color: var(--text-primary);
  border-radius: 18px;
  padding: 0.95rem 1rem 0.95rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 10px 26px rgba(0, 0, 0, 0.14);
}

.custom-select-trigger:hover {
  border-color: rgba(0, 102, 255, 0.45);
  background: linear-gradient(180deg, rgba(27, 43, 70, 1) 0%, rgba(19, 31, 53, 1) 100%);
}

.custom-select.is-open .custom-select-trigger,
.custom-select-trigger:focus-visible {
  outline: none;
  border-color: rgba(0, 102, 255, 0.72);
  box-shadow:
    0 0 0 4px rgba(0, 102, 255, 0.12),
    0 16px 36px rgba(0, 0, 0, 0.18);
}

.custom-select.is-invalid .custom-select-trigger {
  border-color: rgba(255, 107, 53, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12);
}

.custom-select-value {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
}

.custom-select:not(.has-value) .custom-select-value {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 500;
}

.custom-select-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.custom-select-icon::before,
.custom-select-icon::after {
  content: '';
  position: absolute;
  top: 7px;
  width: 9px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.custom-select-icon::before {
  left: 1px;
  transform: rotate(45deg);
}

.custom-select-icon::after {
  right: 1px;
  transform: rotate(-45deg);
}

.custom-select.is-open .custom-select-icon::before {
  transform: rotate(-45deg);
}

.custom-select.is-open .custom-select-icon::after {
  transform: rotate(45deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: grid;
  gap: 0.35rem;
  padding: 0.7rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 27, 45, 0.99) 0%, rgba(11, 19, 34, 0.99) 100%);
  border: 1px solid rgba(0, 102, 255, 0.18);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.32),
    0 10px 30px rgba(0, 102, 255, 0.12);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 30;
}

.custom-select.is-open .custom-select-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.custom-select-option {
  width: 100%;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  padding: 0.95rem 1rem;
  border-radius: 14px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  outline: none;
  background: rgba(0, 102, 255, 0.14);
  color: #ffffff;
  transform: translateX(3px);
}

.custom-select-option.is-selected {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.18), rgba(0, 82, 204, 0.16));
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0, 102, 255, 0.18);
}

/* ========== PAGINA BLOG ========== */
.blog-page {
  position: relative;
  z-index: 1;
}

.blog-hero {
  padding: 88px 0 56px;
}

.blog-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 53, 0.55);
  background: rgba(255, 107, 53, 0.08);
  color: #ff8b63;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.4rem;
}

.blog-copy h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.2rem;
}

.blog-copy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 700px;
}

.blog-highlight-card {
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(17, 31, 53, 0.78) 0%, rgba(11, 18, 32, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.blog-highlight-label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.blog-highlight-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.blog-highlight-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.blog-grid-section {
  padding: 2rem 0 4.5rem;
}

.blog-section-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.8rem;
}

.blog-section-heading span {
  display: inline-block;
  color: #ff8b63;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.blog-section-heading h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.35rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.blog-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 31, 54, 0.78) 0%, rgba(10, 18, 33, 0.9) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.blog-card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(7, 12, 22, 0.42) 100%);
}

.blog-card-security {
  background-image: linear-gradient(rgba(0, 102, 255, 0.18), rgba(255, 107, 53, 0.12)), url('fotos/ALARMAS/alarma.jfif');
}

.blog-card-access {
  background-image: linear-gradient(rgba(0, 102, 255, 0.18), rgba(255, 107, 53, 0.12)), url('fotos/Control de Accesos/control.jfif');
}

.blog-card-network {
  background-image: linear-gradient(rgba(0, 102, 255, 0.18), rgba(255, 107, 53, 0.12)), url('fotos/REDES/redes.jfif');
}

.blog-card-fiber {
  background-image: linear-gradient(rgba(0, 102, 255, 0.18), rgba(255, 107, 53, 0.12)), url('fotos/FIBRA/fibra.jfif');
}

.blog-card-camera {
  background-image: linear-gradient(rgba(0, 102, 255, 0.18), rgba(255, 107, 53, 0.12)), url('fotos/CAMARAS/camaras.jfif');
}

.blog-card-solar {
  background-image: linear-gradient(rgba(0, 102, 255, 0.18), rgba(255, 107, 53, 0.12)), url('fotos/PLACAS SOLARES/placas.jfif');
}

.blog-card-body {
  padding: 1.5rem 1.5rem 1.7rem;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.22rem;
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.blog-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  font-size: 0.96rem;
  margin-bottom: 1.25rem;
}

.blog-card a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 700;
}

.blog-cta-section {
  padding: 0 0 5rem;
}

.blog-cta-card {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.12) 0%, rgba(255, 107, 53, 0.12) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-cta-card h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.25rem;
  margin-bottom: 0.9rem;
}

.blog-cta-card p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.7rem;
  line-height: 1.8;
}

.blog-cta-card .btn.btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 430px;
  background: #f4f4f4;
  color: #050b15;
  text-decoration: none;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.blog-cta-card .btn.btn-large:hover {
  background: #ffffff;
  color: #050b15;
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}

/* ========== STATS SECTION ========== */
.stats-section {
  padding: 5rem 0;
  background: rgba(15, 45, 69, 0.3);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--secondary-color);
  background: rgba(0, 102, 255, 0.05);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.stat-card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ========== SERVICES SECTION ========== */
.services-section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.5px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(15, 45, 69, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
  text-decoration: none;
}

a.service-card,
a.service-card:visited,
a.service-card:hover,
a.service-card:focus {
  color: var(--text-primary);
  text-decoration: none;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  transition: left 0.6s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.service-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-10px);
  background: rgba(0, 102, 255, 0.12);
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover::after {
  left: 100%;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 102, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--secondary-color);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(0, 102, 255, 0.3);
  transform: scale(1.15) rotateZ(10deg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.2rem;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  text-decoration: none;
}

.service-card:hover .service-card-action {
  opacity: 1;
  transform: translateY(0);
}

/* Tarjetas con imágenes de fondo */
.service-card-alarmas {
  background-image: linear-gradient(rgba(15, 45, 69, 0.3), rgba(15, 45, 69, 0.3)), url('fotos/ALARMAS/alarma.jfif');
  background-size: auto, cover;
  background-position: auto, center;
  background-attachment: auto, fixed;
}

.service-card-alarmas:hover {
  background-image: linear-gradient(rgba(0, 102, 255, 0.2), rgba(0, 102, 255, 0.2)), url('fotos/ALARMAS/alarma.jfif') !important;
  background-size: auto, cover;
  background-position: auto, center;
}

.service-card-control {
  background-image: linear-gradient(rgba(15, 45, 69, 0.3), rgba(15, 45, 69, 0.3)), url('fotos/Control de Accesos/control.jfif');
  background-size: auto, cover;
  background-position: auto, center;
  background-attachment: auto, fixed;
}

.service-card-control:hover {
  background-image: linear-gradient(rgba(0, 102, 255, 0.2), rgba(0, 102, 255, 0.2)), url('fotos/Control de Accesos/control.jfif') !important;
  background-size: auto, cover;
  background-position: auto, center;
}

.service-card-redes {
  background-image: linear-gradient(rgba(15, 45, 69, 0.3), rgba(15, 45, 69, 0.3)), url('fotos/REDES/redes.jfif');
  background-size: auto, cover;
  background-position: auto, center;
  background-attachment: auto, fixed;
}

.service-card-redes:hover {
  background-image: linear-gradient(rgba(0, 102, 255, 0.2), rgba(0, 102, 255, 0.2)), url('fotos/REDES/redes.jfif') !important;
  background-size: auto, cover;
  background-position: auto, center;
}

.service-card-fibra {
  background-image: linear-gradient(rgba(15, 45, 69, 0.3), rgba(15, 45, 69, 0.3)), url('fotos/FIBRA/fibra.jfif');
  background-size: auto, cover;
  background-position: auto, center;
  background-attachment: auto, fixed;
}

.service-card-fibra:hover {
  background-image: linear-gradient(rgba(0, 102, 255, 0.2), rgba(0, 102, 255, 0.2)), url('fotos/FIBRA/fibra.jfif') !important;
  background-size: auto, cover;
  background-position: auto, center;
}

.service-card-placas {
  background-image: linear-gradient(rgba(15, 45, 69, 0.3), rgba(15, 45, 69, 0.3)), url('fotos/PLACAS SOLARES/placas.jfif');
  background-size: auto, cover;
  background-position: auto, center;
  background-attachment: auto, fixed;
}

.service-card-placas:hover {
  background-image: linear-gradient(rgba(0, 102, 255, 0.2), rgba(0, 102, 255, 0.2)), url('fotos/PLACAS SOLARES/placas.jfif') !important;
  background-size: auto, cover;
  background-position: auto, center;
}

.service-card-aerotermia {
  background-image: linear-gradient(rgba(15, 45, 69, 0.3), rgba(15, 45, 69, 0.3)), url('fotos/AEROTERMIA/aerotermia-card.png');
  background-size: auto, cover;
  background-position: auto, center;
  background-attachment: auto, fixed;
}

.service-card-aerotermia:hover {
  background-image: linear-gradient(rgba(0, 102, 255, 0.2), rgba(0, 102, 255, 0.2)), url('fotos/AEROTERMIA/aerotermia-card.png') !important;
  background-size: auto, cover;
  background-position: auto, center;
}

.service-card-antenas {
  background-image: linear-gradient(rgba(15, 45, 69, 0.3), rgba(15, 45, 69, 0.3)), url('fotos/ANTENAS/antenas.jfif');
  background-size: auto, cover;
  background-position: auto, center;
  background-attachment: auto, fixed;
}

.service-card-antenas:hover {
  background-image: linear-gradient(rgba(0, 102, 255, 0.2), rgba(0, 102, 255, 0.2)), url('fotos/ANTENAS/antenas.jfif') !important;
  background-size: auto, cover;
  background-position: auto, center;
}

.service-card-camaras {
  background-image: linear-gradient(rgba(15, 45, 69, 0.3), rgba(15, 45, 69, 0.3)), url('fotos/CAMARAS/camaras.jfif');
  background-size: auto, cover;
  background-position: auto, center;
  background-attachment: auto, fixed;
}

.service-card-camaras:hover {
  background-image: linear-gradient(rgba(0, 102, 255, 0.2), rgba(0, 102, 255, 0.2)), url('fotos/CAMARAS/camaras.jfif') !important;
  background-size: auto, cover;
  background-position: auto, center;
}

.service-card-control {
  background-image: linear-gradient(rgba(15, 45, 69, 0.3), rgba(15, 45, 69, 0.3)), url('fotos/Control de Accesos/control.jfif');
  background-size: auto, cover;
  background-position: auto, center;
  background-attachment: auto, fixed;
}

.service-card-control:hover {
  background-image: linear-gradient(rgba(0, 102, 255, 0.2), rgba(0, 102, 255, 0.2)), url('fotos/Control de Accesos/control.jfif') !important;
  background-size: auto, cover;
  background-position: auto, center;
}

.service-card-redes {
  background-image: linear-gradient(rgba(15, 45, 69, 0.3), rgba(15, 45, 69, 0.3)), url('fotos/REDES/redes.jfif');
  background-size: auto, cover;
  background-position: auto, center;
  background-attachment: auto, fixed;
}

.service-card-redes:hover {
  background-image: linear-gradient(rgba(0, 102, 255, 0.2), rgba(0, 102, 255, 0.2)), url('fotos/REDES/redes.jfif') !important;
  background-size: auto, cover;
  background-position: auto, center;
}

.service-card-fibra {
  background-image: linear-gradient(rgba(15, 45, 69, 0.3), rgba(15, 45, 69, 0.3)), url('fotos/FIBRA/fibra.jfif');
  background-size: auto, cover;
  background-position: auto, center;
  background-attachment: auto, fixed;
}

.service-card-fibra:hover {
  background-image: linear-gradient(rgba(0, 102, 255, 0.2), rgba(0, 102, 255, 0.2)), url('fotos/FIBRA/fibra.jfif') !important;
  background-size: auto, cover;
  background-position: auto, center;
}

.service-card-placas {
  background-image: linear-gradient(rgba(15, 45, 69, 0.3), rgba(15, 45, 69, 0.3)), url('fotos/PLACAS SOLARES/placas.jfif');
  background-size: auto, cover;
  background-position: auto, center;
  background-attachment: auto, fixed;
}

.service-card-placas:hover {
  background-image: linear-gradient(rgba(0, 102, 255, 0.2), rgba(0, 102, 255, 0.2)), url('fotos/PLACAS SOLARES/placas.jfif') !important;
  background-size: auto, cover;
  background-position: auto, center;
}

/* ========== ALARMAS PAGE ========== */
.alarmas-page {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 11, 21, 0) 0%, rgba(5, 11, 21, 0.28) 100%);
}

.alarmas-hero-pro {
  padding: 5.5rem 0 3.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.alarmas-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(620px, 1.28fr);
  gap: 3rem;
  align-items: center;
  min-width: 0;
  max-width: 1300px;
}

.alarmas-hero-copy {
  max-width: 640px;
  min-width: 0;
}

.alarmas-kicker,
.alarmas-heading span,
.alarmas-equipment-copy span,
.alarmas-final-inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.62rem 1.25rem;
  border: 1px solid var(--accent-color);
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.08);
  color: #ff7a45;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1;
}

.alarmas-kicker::before,
.alarmas-heading span::before,
.alarmas-equipment-copy span::before,
.alarmas-final-inner span::before {
  content: '\f0e7';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--accent-color);
  font-size: 0.72rem;
}

.alarmas-hero-copy h2 {
  margin-bottom: 1.25rem;
  font-family: 'Poppins', sans-serif;
  font-size: 3.35rem;
  line-height: 1.06;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: normal;
}

.alarmas-hero-copy p,
.alarmas-heading p,
.alarmas-equipment-copy p,
.alarmas-final-inner p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1rem;
  line-height: 1.85;
}

.alarmas-hero-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.6rem 0 0;
}

.alarmas-hero-points span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  line-height: 1.45;
}

.alarmas-hero-points i {
  color: var(--accent-color);
  font-size: 0.9rem;
}

.alarmas-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.alarmas-hero-visual {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.alarmas-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(5, 11, 21, 0.78);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.alarmas-status-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(7, 18, 36, 0.92);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.alarmas-status-card i {
  color: var(--secondary-color);
  font-size: 1.4rem;
}

.alarmas-status-card strong,
.alarmas-status-card span {
  display: block;
  overflow-wrap: anywhere;
}

.alarmas-status-card strong {
  margin-bottom: 0.25rem;
  font-family: 'Poppins', sans-serif;
}

.alarmas-status-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}

.alarmas-overview,
.alarmas-solution,
.alarmas-equipment,
.alarmas-process-pro,
.alarmas-final-cta {
  padding: 4.5rem 0;
}

.alarmas-overview-grid,
.alarmas-feature-grid,
.alarmas-process-list {
  display: grid;
  gap: 1rem;
}

.alarmas-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.alarmas-overview article,
.alarmas-feature-grid article,
.alarmas-process-list article {
  min-height: 180px;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(15, 45, 69, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.alarmas-overview i,
.alarmas-feature-grid i {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-size: 1.45rem;
}

.alarmas-overview strong,
.alarmas-overview span {
  display: block;
}

.alarmas-overview strong,
.alarmas-feature-grid h3,
.alarmas-process-list h3 {
  margin-bottom: 0.65rem;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  font-size: 1.1rem;
}

.alarmas-overview span,
.alarmas-feature-grid p,
.alarmas-process-list p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  line-height: 1.7;
}

.alarmas-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.alarmas-heading h2,
.alarmas-equipment-copy h2,
.alarmas-final-inner h2 {
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 2.45rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.alarmas-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.alarmas-equipment-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 3rem;
  align-items: center;
}

.alarmas-equipment-copy {
  max-width: 520px;
}

.alarmas-equipment-copy .btn {
  margin-top: 1.8rem;
}

.alarmas-carousel {
  width: 100%;
}

.alarmas-carousel-viewport {
  position: relative;
  display: grid;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(5, 11, 21, 0.78);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.alarmas-carousel-track,
.alarmas-carousel-slide {
  display: grid;
  min-width: 0;
}

.alarmas-carousel-slide {
  grid-area: 1 / 1;
  place-items: center;
  padding: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.alarmas-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.alarmas-carousel-slide img {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: 8px;
}

.alarmas-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 107, 53, 0.7);
  border-radius: 50%;
  background: rgba(8, 20, 38, 0.86);
  color: var(--accent-color);
  cursor: pointer;
  transform: translateY(-50%);
  transition: var(--transition);
}

.alarmas-carousel-btn:hover {
  background: rgba(255, 107, 53, 0.18);
  color: #ffffff;
}

.alarmas-carousel-prev {
  left: 1rem;
}

.alarmas-carousel-next {
  right: 1rem;
}

.alarmas-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.alarmas-carousel-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: var(--transition);
}

.alarmas-carousel-dots button.is-active {
  width: 46px;
  background: var(--accent-color);
}

.alarmas-process-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.alarmas-process-list article {
  min-height: 215px;
}

.alarmas-process-list article > span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.alarmas-final-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.88), rgba(15, 45, 69, 0.96));
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.28);
}

.alarmas-final-inner p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
}

.alarmas-final-inner .btn {
  min-width: 260px;
  background: #ffffff;
  color: #081426;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

/* ========== CONTROL DE ACCESOS PAGE ========== */
.access-page {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 11, 21, 0) 0%, rgba(5, 11, 21, 0.28) 100%);
}

.access-hero {
  padding: 5.5rem 0 3.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.access-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(620px, 1.26fr);
  gap: 3rem;
  align-items: center;
  max-width: 1300px;
  min-width: 0;
}

.access-hero-copy {
  max-width: 640px;
  min-width: 0;
}

.access-kicker,
.access-heading span,
.access-equipment-copy span,
.access-final-inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.62rem 1.25rem;
  border: 1px solid var(--accent-color);
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.08);
  color: #ff7a45;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1;
  text-transform: uppercase;
}

.access-kicker::before,
.access-heading span::before,
.access-equipment-copy span::before,
.access-final-inner span::before {
  content: '\f0e7';
  font-family: 'Font Awesome 6 Free';
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--accent-color);
}

.access-hero-copy h2 {
  max-width: 100%;
  margin-bottom: 1.25rem;
  font-family: 'Poppins', sans-serif;
  font-size: 3.25rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.access-hero-copy p,
.access-heading p,
.access-equipment-copy p,
.access-final-inner p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1rem;
  line-height: 1.85;
}

.access-hero-points {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.access-hero-points span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  line-height: 1.45;
}

.access-hero-points i {
  color: var(--accent-color);
  font-size: 0.9rem;
}

.access-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.access-hero-visual {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.access-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(5, 11, 21, 0.78);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.access-status-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(7, 18, 36, 0.92);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.access-status-card i {
  color: var(--secondary-color);
  font-size: 1.4rem;
}

.alarmas-status-card > div,
.access-status-card > div {
  flex: 1 1 0;
  min-width: 0;
}

.access-status-card strong,
.access-status-card span {
  display: block;
  overflow-wrap: anywhere;
}

.access-status-card strong {
  margin-bottom: 0.25rem;
  font-family: 'Poppins', sans-serif;
}

.access-status-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}

.access-overview,
.access-solution,
.access-equipment,
.access-process,
.access-final-cta {
  padding: 4.5rem 0;
}

.access-overview-grid,
.access-feature-grid,
.access-process-list {
  display: grid;
  gap: 1rem;
}

.access-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.access-overview article,
.access-feature-grid article,
.access-process-list article {
  min-height: 180px;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(15, 45, 69, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.access-overview i,
.access-feature-grid i {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-size: 1.45rem;
}

.access-overview strong,
.access-overview span {
  display: block;
}

.access-overview strong,
.access-feature-grid h3,
.access-process-list h3 {
  margin-bottom: 0.65rem;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
}

.access-overview span,
.access-feature-grid p,
.access-process-list p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  line-height: 1.7;
}

.access-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.access-heading h2,
.access-equipment-copy h2,
.access-final-inner h2 {
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 2.45rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.access-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.access-equipment-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 3rem;
  align-items: center;
}

.access-equipment-copy {
  max-width: 520px;
}

.access-equipment-copy .btn {
  margin-top: 1.8rem;
}

.solar-equipment .alarmas-carousel-viewport,
.camera-equipment .alarmas-carousel-viewport,
.aerotermia-equipment .alarmas-carousel-viewport,
.antennas-equipment .alarmas-carousel-viewport {
  min-height: 360px;
}

.solar-equipment .alarmas-carousel-slide img,
.camera-equipment .alarmas-carousel-slide img,
.aerotermia-equipment .alarmas-carousel-slide img,
.antennas-equipment .alarmas-carousel-slide img {
  width: auto;
  max-width: 100%;
  max-height: 260px;
}

.solar-chargers-section {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(255, 107, 53, 0.05)),
    rgba(5, 11, 21, 0.28);
}

.solar-chargers-heading {
  max-width: 900px;
}

.solar-chargers-featured-image {
  width: min(100%, 980px);
  margin: 2rem 0 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(5, 11, 21, 0.72);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.solar-chargers-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.solar-chargers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.solar-chargers-copy {
  min-width: 0;
}

.solar-chargers-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solar-chargers-feature-grid article {
  min-height: 205px;
}

.solar-chargers-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  margin: 1.4rem 0 1.8rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(0, 102, 255, 0.28);
  border-radius: 8px;
  background: rgba(0, 102, 255, 0.08);
}

.solar-chargers-note i {
  margin-top: 0.25rem;
  color: var(--secondary-color);
}

.solar-chargers-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}

.solar-chargers-carousel .alarmas-carousel-viewport {
  min-height: 430px;
}

.solar-chargers-carousel .alarmas-carousel-slide img {
  width: auto;
  max-width: 100%;
  max-height: 330px;
}

.fiber-rosettes-section {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(15, 45, 69, 0.18)),
    rgba(5, 11, 21, 0.3);
}

.fiber-rosettes-heading {
  max-width: 900px;
}

.fiber-rosettes-featured-image {
  width: min(100%, 980px);
  margin: 2rem 0 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(5, 11, 21, 0.72);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.fiber-rosettes-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.fiber-rosettes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.fiber-rosettes-copy {
  min-width: 0;
}

.fiber-rosettes-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fiber-rosettes-feature-grid article {
  min-height: 205px;
}

.fiber-rosettes-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  margin: 1.4rem 0 1.8rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(0, 102, 255, 0.28);
  border-radius: 8px;
  background: rgba(0, 102, 255, 0.08);
}

.fiber-rosettes-note i {
  margin-top: 0.25rem;
  color: var(--secondary-color);
}

.fiber-rosettes-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}

.fiber-rosettes-carousel .alarmas-carousel-viewport {
  min-height: 430px;
}

.fiber-rosettes-carousel .alarmas-carousel-slide img {
  width: auto;
  max-width: 100%;
  max-height: 330px;
}

.access-process-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.access-process-list article {
  min-height: 215px;
}

.access-process-list article > span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.access-final-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.88), rgba(15, 45, 69, 0.96));
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.28);
}

.access-final-inner p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
}

.access-final-inner .btn {
  min-width: 260px;
  background: #ffffff;
  color: #081426;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

/* ========== FEATURES SECTION ========== */
.features-section {
  padding: 6rem 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-item {
  background: rgba(15, 45, 69, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-item:hover {
  border-color: var(--secondary-color);
  background: rgba(0, 102, 255, 0.08);
  transform: translateY(-8px);
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 102, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--secondary-color);
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background: rgba(0, 102, 255, 0.25);
  transform: scale(1.1) rotate(-5deg);
}

.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: rgba(5, 11, 21, 0.8);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.footer-section h3 {
  font-size: 1.2rem;
}

.footer-section h4 {
  font-size: 1rem;
}

.footer-section {
  text-align: left;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand-logo img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.4),
    0 6px 15px rgba(0, 102, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-brand-logo img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.5),
    0 8px 20px rgba(0, 102, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.footer-brand-logo h3 {
  margin: 0;
  font-size: 1.35rem;
  color: white;
  letter-spacing: 0.02em;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.footer-section h3,
.footer-section h4 {
  color: var(--secondary-color);
}

.footer-section h4 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-section ul li {
  margin-bottom: 0.85rem;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.footer-content-pro {
  grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(180px, 0.8fr));
  align-items: start;
}

.footer-content-pro .footer-brand {
  max-width: 420px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 102, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-badges i {
  color: var(--secondary-color);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.footer-contact p i {
  width: 18px;
  margin-top: 0.18rem;
  color: #ffffff;
  text-align: center;
}

.footer-whatsapp {
  margin-top: 0.7rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(18, 140, 126, 0.18);
}

.footer-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(18, 140, 126, 0.26);
}

.footer-bottom-pro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}

.footer-bottom-pro p {
  margin: 0;
}

.footer-bottom-pro span {
  color: rgba(255, 255, 255, 0.54);
}

@media (max-width: 1024px) {
  .footer-content-pro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-content-pro {
    grid-template-columns: 1fr;
  }

  .footer-content-pro .footer-brand {
    max-width: none;
  }

  .footer-badges,
  .footer-contact p {
    justify-content: center;
  }

  .footer-whatsapp {
    justify-content: center;
    width: 100%;
  }

  .footer-bottom-pro {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== ANIMACIONES ========== */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.2;
  }
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablets grandes (1200px - 1024px) */
@media (max-width: 1200px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 3.7rem;
  }

  .hero-container {
    gap: 3rem;
  }

  .services-grid,
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Tablets (1024px - 768px) */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .hero-container {
    gap: 2rem;
  }

  .services-grid,
  .features-grid,
  .stats-grid {
    gap: 1.5rem;
  }

  .alarmas-page-hero-inner,
  .alarmas-gallery-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .alarmas-trust-grid,
  .alarmas-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alarmas-gallery-copy {
    max-width: 680px;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .tecnico-hero-container {
    grid-template-columns: 1fr;
  }

  .tecnico-copy h2 {
    font-size: 2.5rem;
  }

  .tecnico-services-grid,
  .tecnico-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tecnico-metrics {
    grid-template-columns: 1fr;
  }

  .contact-hero-container {
    grid-template-columns: 1fr;
  }

  .contact-copy h2 {
    font-size: 2.4rem;
  }

  .blog-hero-container {
    grid-template-columns: 1fr;
  }

  .blog-copy h2 {
    font-size: 2.45rem;
  }

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

/* Tablets pequeñas y móviles grandes (768px - 640px) */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
  }

  .social-links {
    justify-content: center;
    gap: 1.5rem;
  }

  .services-grid,
  .features-grid,
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .feature-item,
  .service-card {
    padding: 2rem;
  }

  .alarmas-page-hero,
  .alarmas-trust-section,
  .alarmas-detail-section,
  .alarmas-gallery-section,
  .alarmas-process-section,
  .alarmas-cta-section {
    padding: 3.5rem 0;
  }

  .alarmas-page-copy,
  .alarmas-gallery-copy,
  .alarmas-section-heading {
    max-width: 100%;
    text-align: center;
  }

  .alarmas-page-actions {
    justify-content: center;
  }

  .alarmas-trust-grid,
  .alarmas-detail-grid,
  .alarmas-process-grid {
    grid-template-columns: 1fr;
  }

  .alarmas-gallery {
    grid-template-columns: 1fr;
  }

  .alarmas-cta {
    padding: 2.2rem 1.2rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

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

  .cta-content .btn.btn-large {
    min-width: 100%;
  }

  .footer-content {
    gap: 2rem;
    grid-template-columns: 1fr;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand-logo {
    justify-content: center;
  }

  .tecnico-hero {
    padding-top: 64px;
  }

  .tecnico-copy {
    text-align: center;
  }

  .tecnico-copy p {
    max-width: 100%;
  }

  .tecnico-hero-actions {
    justify-content: center;
  }

  .tecnico-section-heading h2 {
    font-size: 1.9rem;
  }

  .tecnico-services-grid,
  .tecnico-process-grid {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    text-align: center;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-form-actions,
  .contact-form-feedback {
    width: 100%;
  }

  .blog-copy {
    text-align: center;
  }

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

  .blog-section-heading h2,
  .blog-cta-card h2 {
    font-size: 1.9rem;
  }

  .blog-cta-card .btn.btn-large {
    min-width: 100%;
  }
}

/* Móviles medianos (640px - 480px) */
@media (max-width: 640px) {
  .container {
    padding: 0 10px;
  }

  .site-header {
    padding: 0.8rem 0;
  }

  .header-container {
    padding: 0 15px;
  }

  .brand-name {
    font-size: 1.55rem;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }

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

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
  }

  .services-grid,
  .features-grid {
    gap: 1.5rem;
  }

  .service-card,
  .feature-item {
    padding: 1.8rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .cta-content {
    padding: 3rem 1rem;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section a {
    justify-content: center;
  }

  .site-search {
    padding: 5.2rem 0.85rem 0.85rem;
  }

  .site-search-panel {
    max-height: calc(100vh - 6rem);
    border-radius: 14px;
  }

  .site-search-header,
  .site-search-form {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-search-results {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-search-result {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .site-search-result-tag {
    grid-column: 2;
    justify-self: start;
  }
}

/* Móviles pequeños (480px - 360px) */
@media (max-width: 480px) {
  .brand-name {
    font-size: 1.3rem;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .btn {
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .feature-item,
  .service-card {
    padding: 1.5rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }

  .main-nav ul {
    gap: 1.5rem;
  }

  .footer-brand-logo img {
    width: 70px;
    height: 70px;
  }

  .footer-brand-logo h3 {
    font-size: 1.2rem;
  }
}

/* Móviles muy pequeños (360px y menos) */
@media (max-width: 360px) {
  .container {
    padding: 0 8px;
  }

  .header-container {
    padding: 0 10px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-logo {
    width: 35px;
    height: 35px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

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

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .service-card,
  .feature-item {
    padding: 1.2rem;
  }

  .service-icon,
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .footer-brand-logo img {
    width: 60px;
    height: 60px;
  }

  .footer-brand-logo h3 {
    font-size: 1.1rem;
  }

  .footer-brand p {
    font-size: 0.9rem;
  }
}

/* ========== BOTÓN FLOTANTE DE WHATSAPP ========== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 140px;
  height: 54px;
  padding: 0 16px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.whatsapp-float .whatsapp-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-float .whatsapp-icon i {
  font-size: 22px;
  color: white;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #1ebe5f 0%, #0e8169 100%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.whatsapp-float:active {
  transform: translateY(-1px);
}

.whatsapp-float.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.whatsapp-float .whatsapp-label {
  margin-right: 2px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    min-width: 120px;
    height: 50px;
    padding: 0 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    min-width: 50px;
    height: 50px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
  }

  .whatsapp-float .whatsapp-label {
    display: none;
  }
}


@media (max-width: 480px) {
  .brand-name {
    font-size: 1.3rem;
  }

  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .btn {
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .feature-item,
  .service-card {
    padding: 1.5rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }

  .main-nav ul {
    gap: 1.5rem;
  }
}

@media (max-width: 1100px) {
  .alarmas-hero-grid,
  .alarmas-equipment-grid,
  .access-hero-grid,
  .access-equipment-grid,
  .solar-chargers-grid,
  .fiber-rosettes-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .alarmas-hero-copy,
  .alarmas-equipment-copy,
  .access-hero-copy,
  .access-equipment-copy {
    max-width: 760px;
  }

  .alarmas-overview-grid,
  .alarmas-process-list,
  .access-overview-grid,
  .access-process-list,
  .solar-chargers-feature-grid,
  .fiber-rosettes-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .alarmas-hero-pro {
    padding: 3.8rem 0 2.8rem;
  }

  .alarmas-hero-copy,
  .alarmas-heading,
  .alarmas-equipment-copy,
  .access-hero-copy,
  .access-heading,
  .access-equipment-copy {
    max-width: 100%;
    text-align: center;
  }

  .alarmas-hero-copy h2,
  .access-hero-copy h2 {
    font-size: 2rem;
    line-height: 1.14;
  }

  .alarmas-heading h2,
  .alarmas-equipment-copy h2,
  .alarmas-final-inner h2,
  .access-heading h2,
  .access-equipment-copy h2,
  .access-final-inner h2 {
    font-size: 1.9rem;
  }

  .alarmas-hero-points span,
  .access-hero-points span {
    justify-content: stretch;
    text-align: left;
  }

  .alarmas-hero-points,
  .access-hero-points {
    width: min(100%, 460px);
    margin-left: auto;
    margin-right: auto;
  }

  .alarmas-hero-actions,
  .access-hero-actions {
    justify-content: center;
  }

  .alarmas-overview,
  .alarmas-solution,
  .alarmas-equipment,
  .alarmas-process-pro,
  .alarmas-final-cta,
  .access-overview,
  .access-solution,
  .access-equipment,
  .solar-chargers-section,
  .fiber-rosettes-section,
  .access-process,
  .access-final-cta {
    padding: 3rem 0;
  }

  .alarmas-overview-grid,
  .alarmas-feature-grid,
  .alarmas-process-list,
  .alarmas-final-inner,
  .access-overview-grid,
  .access-feature-grid,
  .solar-chargers-feature-grid,
  .fiber-rosettes-feature-grid,
  .access-process-list,
  .access-final-inner {
    grid-template-columns: 1fr;
  }

  .solar-chargers-heading,
  .solar-chargers-copy,
  .fiber-rosettes-heading,
  .fiber-rosettes-copy {
    text-align: center;
  }

  .solar-chargers-note,
  .fiber-rosettes-note {
    text-align: left;
  }

  .alarmas-carousel-viewport {
    min-height: 430px;
  }

  .alarmas-carousel-slide img {
    max-height: 390px;
  }

  .alarmas-final-inner,
  .access-final-inner {
    padding: 2rem 1.2rem;
    text-align: center;
  }

  .alarmas-final-inner .btn,
  .access-final-inner .btn {
    min-width: 100%;
  }
}

@media (max-width: 520px) {
  .alarmas-hero-copy h2,
  .access-hero-copy h2 {
    font-size: 1.62rem;
    line-height: 1.18;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .alarmas-hero-copy p,
  .alarmas-heading p,
  .alarmas-equipment-copy p,
  .alarmas-final-inner p,
  .access-hero-copy p,
  .access-heading p,
  .access-equipment-copy p,
  .access-final-inner p {
    font-size: 0.95rem;
  }

  .alarmas-hero-copy p,
  .access-hero-copy p {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .alarmas-hero-visual img,
  .access-hero-visual img {
    aspect-ratio: auto;
  }

  .alarmas-carousel-viewport {
    min-height: 340px;
  }

  .alarmas-carousel-slide {
    padding: 0.75rem;
  }

  .alarmas-carousel-slide img {
    max-height: 300px;
  }

  .alarmas-carousel-btn {
    width: 38px;
    height: 38px;
  }

  .alarmas-status-card,
  .access-status-card {
    width: 100%;
  }

  .alarmas-overview article,
  .alarmas-feature-grid article,
  .alarmas-process-list article,
  .access-overview article,
  .access-feature-grid article,
  .access-process-list article {
    min-height: auto;
  }
}
