/* Importar fuentes de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Roboto:wght@300;400;500;700&display=swap');

/* Variables de colores Marba - Nueva Paleta */
:root {
  --color-1: #000324;      /* Azul muy oscuro - Color principal más profundo */
  --color-2: #183859;      /* Azul oscuro - Color secundario */
  --color-3: #0074A9;      /* Azul medio - Color de acento */
  --color-4: #27B3E4;      /* Azul claro - Color de acento claro */
  --color-5: #A6CBE7;      /* Azul muy claro - Color de fondo/acento suave */
  
  /* Variables de compatibilidad (mapeo a nueva paleta) */
  --primary-color: #000324;    /* Mapeado a color-1 */
  --secondary-color: #183859;  /* Mapeado a color-2 */
  --accent-color: #0074A9;     /* Mapeado a color-3 */
  --light-accent: #27B3E4;     /* Mapeado a color-4 */
  --light-color: #A6CBE7;      /* Mapeado a color-5 */
  --white-color: #ffffff;
  --black-color: #000000;
  
  /* Variables de tipografías */
  --font-logo: 'AIRONE', sans-serif;           /* Solo para referencia, logo es imagen */
  --font-tagline: 'Space Mono', monospace;      /* Eslogan */
  --font-body: 'Roboto', sans-serif;            /* Texto general */
  --font-heading: 'Roboto', sans-serif;         /* Títulos */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--black-color);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Tagline/Eslogan - Space Mono */
.tagline, .hero-section .lead, .footer-tagline {
  font-family: var(--font-tagline);
}

/* Sections with ID for anchor navigation */
section[id] {
  scroll-margin-top: 60px;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  background-color: var(--white-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  width: 100%;
  max-width: 100%;
}



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

.navbar-brand img,
.navbar-icon {
  height: 65px;
  width: auto;
}

.navbar-logo {
  height: 55px !important;
  width: auto;
  object-fit: contain;
}

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--black-color) !important;
  margin: 0 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-3) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-3);
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--color-1) 0%, var(--color-2) 50%, var(--color-4) 100%);
  color: var(--white-color);
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 40px;
}

.hero-section .row {
  align-items: center;
  min-height: calc(90vh - 120px);
  padding-top: 0;
}

.hero-content {
  padding-right: 3rem;
}

@media (max-width: 991.98px) {
  .hero-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
  animation: fadeInUp 1s ease;
  font-family: var(--font-tagline); /* Tagline usa Space Mono */
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.8rem;
    white-space: normal;
  }
}

.hero-section .lead {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.7;
  animation: fadeInUp 1s ease 0.2s backwards;
  font-family: var(--font-body); /* Descripción usa Roboto */
}

.hero-logo {
  max-width: 100%;
  height: auto;
  max-height: 450px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary-custom {
  background-color: var(--white-color);
  color: var(--color-1);
  font-family: var(--font-body);
  font-weight: 700;
  padding: 15px 40px;
  font-size: 1.05rem;
  border-radius: 50px;
  border: 2px solid var(--white-color);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-primary-custom:hover {
  background-color: transparent;
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary-custom {
  background-color: transparent;
  color: var(--white-color);
  font-family: var(--font-body);
  font-weight: 600;
  padding: 15px 40px;
  font-size: 1.05rem;
  border-radius: 50px;
  border: 2px solid var(--white-color);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-secondary-custom:hover {
  background-color: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Services Section */
.services-section {
  padding: 50px 0;
  background-color: #f8f9fa;
}

.section-title {
  font-size: 2rem;
  color: var(--color-1);
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--color-2);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: var(--white-color);
  padding: 1.75rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e9ecef;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 56, 121, 0.15);
  border-color: var(--primary-color);
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: var(--color-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
  color: var(--white-color);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  color: var(--color-1);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

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

/* About Section */
.about-section {
  padding: 50px 0;
  background-color: #f8f9fa;
  color: var(--black-color);
}

.about-section .section-title {
  color: var(--color-1);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.about-section .section-subtitle {
  color: var(--color-2);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

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

.about-content h2 {
  color: var(--color-1);
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--color-2);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-features {
  list-style: none;
  padding: 0;
  margin-top: 1.75rem;
}

.about-features li {
  padding: 0.6rem 0;
  color: var(--color-2);
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.5;
}

.about-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-3);
  font-weight: bold;
  font-size: 1.1rem;
}

.about-image {
  background-color: var(--color-3);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  min-height: 350px;
}

.about-stats {
  text-align: center;
}

.stat-item {
  margin: 1.75rem 0;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  display: block;
  color: var(--white-color);
}

.stat-continuity {
  font-size: 3rem;
  margin: 0;
  color: var(--white-color);
  opacity: 0.9;
  animation: rotate-continuous 3s linear infinite;
  display: block;
}

@@keyframes rotate-continuous {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.stat-label {
  font-size: 1rem;
  color: var(--white-color);
  opacity: 0.9;
}

/* Plans Section */
.plans-section {
  padding: 50px 0;
  background-color: #183859;
  color: var(--white-color);
}

.plans-section .section-title {
  color: var(--white-color);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.plans-section .section-subtitle {
  color: var(--white-color);
  opacity: 0.9;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Models Section */
.models-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.model-card {
  background: var(--white-color);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.model-card-featured {
  border: 2px solid var(--color-4);
}

.model-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--color-4);
  color: var(--white-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.model-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}

.model-card h3 {
  color: var(--color-1);
  font-size: 1.8rem;
  margin-bottom: 0;
  margin-top: 0.5rem;
  text-align: center;
}

.model-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.model-section {
  background-color: #f8f9fa;
  padding: 1.25rem;
  border-radius: 10px;
  border-left: 4px solid var(--color-3);
}

.model-section h4 {
  color: var(--color-1);
  font-size: 1.15rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.model-section h4 i {
  color: var(--color-3);
  font-size: 1.1rem;
}

.model-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.model-section li {
  padding: 0.6rem 0;
  color: var(--color-2);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
  border-bottom: 1px solid #e9ecef;
}

.model-section li:last-child {
  border-bottom: none;
}

.model-section li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-3);
  font-weight: bold;
  font-size: 1rem;
}

.model-card-featured .model-section {
  border-left-color: var(--color-4);
}

.model-card-featured .model-section h4 i {
  color: var(--color-4);
}

.model-card-featured .model-section li::before {
  color: var(--color-4);
}

.model-pricing {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e9ecef;
  text-align: center;
}

.model-price-note {
  color: var(--color-2);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.model-price-example {
  color: var(--color-1);
  font-size: 1.3rem;
  font-weight: 700;
}

.model-price-detail {
  color: var(--color-2);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Plan Cards */
.plan-card {
  background: var(--white-color);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 56, 121, 0.15);
}

.plan-card-featured {
  border: 2px solid var(--color-4);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background-color: var(--color-4);
  color: var(--white-color);
  padding: 5px 14px;
  border-radius: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

.plan-header {
  text-align: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e9ecef;
}

.plan-header h3 {
  color: var(--color-1);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.plan-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
}

.plan-price-amount {
  color: var(--color-3);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
}

.plan-price-from {
  color: var(--color-2);
  font-size: 0.7rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
  opacity: 0.8;
  order: 1;
}

.plan-price-amount {
  order: 2;
}

.plan-price-currency {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-2);
}

.plan-price-period {
  color: var(--color-2);
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 0.25rem;
  order: 3;
}

.plan-contract {
  color: var(--color-2);
  font-size: 0.85rem;
  margin-bottom: 0;
  margin-top: 0.4rem;
}

.plan-features {
  flex: 1;
  margin-bottom: 0.75rem;
}

.plan-features h4 {
  color: var(--color-1);
  font-size: 1rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.plan-description {
  color: var(--color-2);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-top: 0.75rem;
  margin-bottom: 0;
  text-align: center;
  padding-top: 0.75rem;
  border-top: 1px solid #f0f0f0;
}

.plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  padding: 0.35rem 0;
  color: var(--color-2);
  padding-left: 1.6rem;
  position: relative;
  line-height: 1.4;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li i {
  position: absolute;
  left: 0;
  color: var(--color-3);
  font-size: 0.85rem;
}

.plan-card-featured .plan-features li i {
  color: var(--color-4);
}

.plan-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 2px solid #e9ecef;
}

.btn-plan-contact {
  display: block;
  width: 100%;
  padding: 10px 25px;
  background-color: var(--color-3);
  color: var(--white-color);
  text-align: center;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-plan-contact:hover {
  background-color: var(--color-4);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 116, 169, 0.3);
}

.plan-card-featured .btn-plan-contact {
  background-color: var(--color-4);
}

.plan-card-featured .btn-plan-contact:hover {
  background-color: var(--color-3);
}

.btn-plan-sales {
  background: linear-gradient(135deg, #183859 0%, #0074A9 100%);
  box-shadow: 0 5px 15px rgba(24, 56, 89, 0.3);
}

.btn-plan-sales:hover {
  background: linear-gradient(135deg, #0074A9 0%, #27B3E4 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(24, 56, 89, 0.5);
  color: var(--white-color);
}

/* Support Cards */
.support-card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.support-card-featured {
  border: 2px solid var(--color-4);
}

.support-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e9ecef;
}

.support-header h4 {
  color: var(--color-1);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.support-price {
  color: var(--color-3);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.support-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-2);
}

.support-tagline {
  color: var(--color-2);
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.support-includes h5 {
  color: var(--color-1);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.support-includes ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.support-includes li {
  padding: 0.5rem 0;
  color: var(--color-2);
  padding-left: 1.8rem;
  position: relative;
}

.support-includes li i {
  position: absolute;
  left: 0;
  color: var(--color-3);
  font-size: 0.9rem;
}


.support-ideal {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 5px;
  color: var(--color-2);
  font-size: 0.95rem;
}

.support-description {
  margin-top: 1rem;
  padding: 1rem;
  background-color: var(--color-5);
  border-left: 4px solid var(--color-4);
  border-radius: 5px;
  color: var(--color-1);
  font-style: italic;
  font-size: 0.95rem;
}


/* Process Section */
.process-section {
  padding: 50px 0;
  background-color: #183859;
  color: var(--white-color);
}

.process-section .section-title {
  color: var(--white-color);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.process-section .section-subtitle {
  color: var(--white-color);
  opacity: 0.9;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.process-step {
  text-align: center;
  padding: 1.75rem 1.25rem;
  position: relative;
}

.process-step-with-arrow {
  position: relative;
}

.process-step-with-arrow::after {
  content: '\f061';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white-color);
  opacity: 0.6;
  font-size: 1.5rem;
  z-index: 10;
  animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 991.98px) {
  .process-step-with-arrow::after {
    display: none;
  }
}

@media (min-width: 992px) {
  .row.g-2 > .col-lg-3 {
    padding-right: 30px;
    padding-left: 30px;
  }
}

.process-number {
  width: 70px;
  height: 70px;
  background-color: var(--white-color);
  color: var(--color-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  margin: 0 auto 1.25rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  position: relative;
  transition: all 0.3s ease;
}

.process-number:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.process-number i {
  font-size: 1.75rem;
  color: var(--color-3);
}

.process-connector {
  color: var(--white-color);
  opacity: 0.6;
  font-size: 1.5rem;
  padding: 0 10px;
}

.process-connector i {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.process-step h4 {
  color: var(--white-color);
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
}

.process-step p {
  color: var(--white-color);
  opacity: 0.9;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
  padding: 50px 0;
  background-color: #f8f9fa;
  color: var(--black-color);
}

.contact-section .section-title {
  color: var(--color-1);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-section .section-subtitle {
  color: var(--color-2);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info {
  background: var(--white-color);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.contact-info h3 {
  color: var(--color-1);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  word-wrap: break-word;
  hyphens: auto;
}

.contact-info p {
  color: var(--color-2);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  word-wrap: break-word;
  hyphens: auto;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background-color: var(--light-color);
  transform: translateX(10px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--color-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 1.2rem;
  margin-right: 1.25rem;
  flex-shrink: 0;
}

.contact-details h5 {
  color: var(--color-1);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.contact-details p {
  color: var(--color-2);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--color-2);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--color-3);
}

.cta-box {
  background-color: var(--color-3);
  color: var(--white-color);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 2rem;
  box-shadow: 0 5px 25px rgba(0, 116, 169, 0.3);
}

.cta-box h4 {
  color: var(--white-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--white-color);
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.btn-cta {
  background-color: var(--white-color);
  color: var(--color-1);
  font-family: var(--font-body);
  font-weight: 700;
  padding: 10px 30px;
  border-radius: 50px;
  border: 2px solid var(--white-color);
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
}

.btn-cta:hover {
  background-color: transparent;
  color: var(--white-color);
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: var(--color-2);
  color: var(--white-color);
  padding: 0;
  margin-top: 0;
}

.footer-icon {
  width: 60px;
  height: auto;
  filter: brightness(1.1);
}

.footer-brand h4 {
  color: var(--white-color);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.footer-tagline {
  color: var(--white-color);
  opacity: 0.9;
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--white-color);
  opacity: 0.85;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-title {
  color: var(--white-color);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--white-color);
  opacity: 0.5;
}

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

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

.footer-links a {
  color: var(--white-color);
  text-decoration: none;
  opacity: 0.85;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(5px);
  color: var(--light-color);
}

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

.footer-contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: var(--white-color);
  opacity: 0.85;
  font-size: 0.95rem;
}

.footer-contact i {
  margin-right: 0.8rem;
  width: 20px;
  text-align: center;
  color: var(--white-color);
  opacity: 0.9;
}

.footer-contact a {
  color: var(--white-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: var(--light-color);
  opacity: 1;
}

.footer-contact span {
  color: var(--white-color);
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.footer-social a:hover {
  background-color: var(--white-color);
  color: var(--color-1);
  transform: translateY(-3px);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 0;
}

.footer-copyright,
.footer-legal {
  color: var(--white-color);
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-legal a {
  color: var(--white-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-legal a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Responsive Top Bar */
@media (max-width: 768px) {
  .top-bar {
    font-size: 0.8rem;
    padding: 0.4rem 0;
  }
  
  .top-bar-contact {
    gap: 0.75rem;
    margin-bottom: 0.5rem;
  }
  
  .top-bar-item span {
    font-size: 0.75rem;
  }
  
  .top-bar-social {
    justify-content: flex-start;
  }
  
  .navbar {
    top: 0;
  }
  
  html {
    scroll-padding-top: 60px;
  }
  
  section[id] {
    scroll-margin-top: 60px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section .container {
    padding-top: 80px;
    padding-bottom: 30px;
  }

  .hero-section .row {
    min-height: calc(90vh - 100px);
    padding-top: 0;
  }

  .hero-content {
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2.8rem;
  }

  .hero-section .lead {
    font-size: 1.2rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 12px 30px;
    font-size: 1rem;
    width: 100%;
    max-width: 350px;
  }

  .hero-logo {
    max-height: 300px;
    margin-top: 2rem;
  }

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

  .navbar-nav .nav-link {
    margin: 0.5rem 0;
  }

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

  .about-image {
    margin-top: 2rem;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-section .container {
    padding-top: 70px;
    padding-bottom: 20px;
  }

  .hero-section .row {
    min-height: calc(90vh - 80px);
    padding-top: 0;
  }

  .hero-content {
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }

  .hero-section .lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 12px 25px;
    font-size: 0.95rem;
    width: 100%;
  }

  .hero-logo {
    max-height: 250px;
    margin-top: 2rem;
  }

  .services-section,
  .about-section,
  .process-section,
  .contact-section {
    padding: 50px 0;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Contact section mobile fixes */
  .contact-info {
    padding: 2rem 1.5rem;
  }

  .contact-info h3 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .contact-info p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .contact-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

/* Navbar/mobile fixes */
.navbar-collapse {
  /* Solo aplica max-height en móviles cuando está colapsado */
}

@media (max-width: 992px) {
  .navbar-collapse {
    max-height: 75vh; /* evita que el menú abierto tape toda la pantalla */
    overflow-y: auto; /* permite scroll vertical dentro del menú solo en móviles */
  }
}

@media (max-width: 992px) {
  .navbar {
    padding: 0.5rem 0;
  }
  .navbar-brand img,
  .navbar-icon {
    height: 48px; /* reduce el icono para que no desborde */
  }
  .navbar-logo {
    height: 42px !important; /* logo un poco más chico que el icono */
  }
}

@media (max-width: 576px) {
  .navbar-brand img,
  .navbar-icon {
    height: 38px; /* aún más pequeño en móviles chicos */
  }
  .navbar-logo {
    height: 35px !important; /* logo un poco más chico que el icono */
  }
}

/* Seguridad extra para evitar scroll horizontal por elementos anchos */
html {
  overflow-x: hidden;
}

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

/* Contact Form Styles */
.contact-form-row {
  display: flex;
  align-items: stretch;
}

.contact-form-row .col-lg-8,
.contact-form-row .col-lg-4 {
  display: flex;
  flex-direction: column;
}

.contact-card,
.info-box {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-card {
  min-height: 600px;
}

.info-box {
  min-height: 600px;
}

/* Support Plans Modal Styles */
#supportPlansModal .nav-tabs {
  border-bottom: 3px solid #0074A9;
}

#supportPlansModal .nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: #183859;
  font-weight: 500;
  padding: 1rem;
  transition: all 0.3s ease;
  background-color: transparent;
}

#supportPlansModal .nav-tabs .nav-link:hover {
  border-bottom-color: #27B3E4;
  color: #0074A9;
  background-color: rgba(0, 116, 169, 0.05);
}

#supportPlansModal .nav-tabs .nav-link.active {
  border-bottom-color: #0074A9;
  color: #0074A9;
  font-weight: 700;
  background-color: rgba(0, 116, 169, 0.1);
}

#supportPlansModal .nav-tabs .nav-link.fw-bold {
  font-weight: 700;
}

#supportPlansModal .support-modal-card {
  transition: all 0.3s ease;
}

#supportPlansModal .support-modal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

#supportPlansModal .support-card-featured {
  position: relative;
}

#supportPlansModal .support-card-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(39, 179, 228, 0.3);
}

#supportPlansModal .modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

#supportPlansModal .tab-content {
  min-height: 400px;
}

#supportPlansModal .badge {
  font-size: 0.85rem;
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
  #supportPlansModal .modal-dialog {
    margin: 0.5rem;
  }
  
  #supportPlansModal .nav-tabs {
    flex-direction: column;
    border-bottom: none;
  }
  
  #supportPlansModal .nav-tabs .nav-link {
    border-bottom: 2px solid transparent;
    border-right: 3px solid transparent;
    text-align: left;
    padding: 0.75rem 1rem;
  }
  
  #supportPlansModal .nav-tabs .nav-link.active {
    border-right-color: #0074A9;
    border-bottom-color: transparent;
  }
  
  #supportPlansModal .nav-tabs .nav-link:hover {
    border-right-color: #27B3E4;
    border-bottom-color: transparent;
  }
  
  #supportPlansModal .support-modal-card {
    padding: 1.5rem;
  }
  
  #supportPlansModal .tab-content {
    min-height: 300px;
  }
}

.urgent-project-section .contact-card {
  min-height: auto;
}

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-2);
  color: white;
  padding: 15px 0;
  box-shadow: 0 -2px 10px rgba(0, 3, 36, 0.3);
  z-index: 9999;
  border-top: 3px solid var(--color-3);
}

.cookie-title {
  font-weight: 600;
  color: white;
}

.cookie-text {
  font-size: 14px;
  line-height: 1.4;
}

.cookie-link {
  color: #FFD700;
  text-decoration: underline;
}

.cookie-link:hover {
  color: #FFA500;
}

.cookie-buttons .btn {
  font-size: 12px;
  padding: 6px 12px;
}

.cookie-category {
  border-left: 3px solid var(--color-2);
  padding-left: 15px;
  background: #f8f9fa;
  border-radius: 5px;
  padding: 15px;
}

.cookie-category h6 {
  color: var(--color-1);
  font-weight: 600;
}

/* Cookie Banner Animation */
.cookie-banner {
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
  transform: translateY(0);
}

/* Cookie Preferences Link */
.cookie-preferences-link {
  color: var(--color-2);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.cookie-preferences-link:hover {
  color: var(--color-1);
  text-decoration: underline;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
  .cookie-banner .container {
    padding: 0 15px;
  }
  
  .cookie-buttons {
    margin-top: 10px;
    text-align: center;
  }
  
  .cookie-buttons .btn {
    margin: 2px;
    font-size: 11px;
    padding: 5px 10px;
  }
}
