:root {
  --primary: #f8fafc;
  --secondary: #3498db;
  --accent: #27ae60;
  --light: #f8f9fa;
  --dark: #212529;
  --primary-blue: #2563eb; /* Azul profesional */
  --hover-blue: #1d4ed8; /* Azul más oscuro para hover */
  --accent-blue: #3b82f6; /* Azul más claro para efectos */
  --neon-blue: #00b7ff; /* Azul neón para toque moderno */
  --deep-purple: #7c3aed; /* Púrpura para acentos */
  --dark-bg: #0f172a; /* Fondo oscuro para contraste */
  --light-text: #f8fafc; /* Texto claro */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
}

@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Open+Sans:wght@300;400;600;700&display=swap");
body {
  font-family: "Open Sans", sans-serif;
  color: #0c0c0c;
  background-color: var(--light);
  overflow-x: hidden;
}

/* Patrón de líneas peruanas */
body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--primary-red),
    var(--primary-red) 33px,
    white 33px,
    white 66px
  );
  opacity: 0.1;
  z-index: -1;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

a:hover,
a:focus {
  color: initial;
}

/*header section*/
.hero_area {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: visible;
}
@media (min-width: 992px) {
   .hero_area {
    
  min-height: 100vh;
   }
}
.hero_area .hero_bg_box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  z-index: 0;
  overflow: visible;
}

.hero_area .hero_bg_box .bg_img_box {
  min-width: 100%;
  min-height: 100%;
}


.hero_area .hero_bg_box img {
  max-width: 100%;
  height: 600px;
}

@media (min-width: 992px) {
   .hero_area .hero_bg_box img {
    height: auto;
      max-width: 100%;
      max-height: 100%;
   }
}


.sub_page .hero_area {
  min-height: auto;
  background: linear-gradient(130deg, #231a6f, #0f054c);
}


.sub_page .hero_area .hero_bg_box {
  display: none;
}

/* slider section */
.slider_section {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  position: relative;
  padding: 45px 0 145px 0;
}

@media (min-width: 992px) {
   .slider_section{
    align-items: center;
   }
}


.slider_section .row {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.slider_section #customCarousel1 {
  width: 100%;
  position: unset;
}

.slider_section .detail-box {
  color: #00204a;
}

.slider_section .detail-box h1 {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #ffffff;
}

.slider_section .detail-box p {
  color: #fefefe;
  font-size: 14px;
}

.slider_section .detail-box .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 -5px;
  margin-top: 25px;
}

.slider_section .detail-box .btn-box a {
  margin: 5px;
  text-align: center;
  width: 165px;
}

.slider_section .detail-box .btn-box .btn1 {
  display: inline-block;
  padding: 10px 15px;
  background-color: #00bbf0;
  color: #ffffff;
  border-radius: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
}

.slider_section .detail-box .btn-box .btn1:hover {
  background-color: #007fa4;
}

.slider_section .detail-box .btn-box .btn2 {
  display: inline-block;
  padding: 10px 15px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
}

.slider_section .detail-box .btn-box .btn2:hover {
  background-color: black;
}

.slider_section .img-box {
  margin: 45px 0;
}

.slider_section .img-box img {
  width: 100%;
  -webkit-animation: upDown 5s infinite;
  animation: upDown 5s infinite;
}

@-webkit-keyframes upDown {
  0% {
    -webkit-transform: translateY(-45px);
    transform: translateY(-45px);
  }
  50% {
    -webkit-transform: translateY(45px);
    transform: translateY(45px);
  }
  100% {
    -webkit-transform: translateY(-45px);
    transform: translateY(-45px);
  }
}

@keyframes upDown {
  0% {
    -webkit-transform: translateY(-45px);
    transform: translateY(-45px);
  }
  50% {
    -webkit-transform: translateY(45px);
    transform: translateY(45px);
  }
  100% {
    -webkit-transform: translateY(-45px);
    transform: translateY(-45px);
  }
}

.slider_section .carousel-indicators {
  position: unset;
  margin: 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.slider_section .carousel-indicators li {
  background-color: #ffffff;
  width: 12px;
  height: 12px;
  border-radius: 100%;
  opacity: 1;
}

.slider_section .carousel-indicators li.active {
  width: 20px;
  height: 20px;
  background-color: #00bbf0;
}

.service_section {
  position: relative;
}

.service_section .box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  margin-top: 45px;
  background-color: #f8f8f9;
  padding: 20px;
  border-radius: 5px;
}

.service_section .box .img-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  width: 125px;
  min-width: 75px;
  height: 75px;
  margin-bottom: 15px;
}

.service_section .box .img-box img {
  max-width: 100%;
  max-height: 100%;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.service_section .box .detail-box h5 {
  font-weight: bold;
  text-transform: uppercase;
}

.service_section .box .detail-box a {
  color: #00204a;
  font-weight: 600;
}

.service_section .box .detail-box a:hover {
  color: #00bbf0;
}

.service_section .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 45px;
}

.service_section .btn-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #00bbf0;
  color: #ffffff;
  border-radius: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
}

.service_section .btn-box a:hover {
  background-color: #007fa4;
}

.btn1 {
  display: inline-block;
  padding: 10px 25px;
  background-color: #00bbf0; /* Naranja llamativo */
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn1:hover {
  background-color: #7c00f0;
  color: #fff;
  transform: scale(1.05);
}

.service_section .card {
  border: none;
  text-align: center;
  padding: 30px 20px;
  transition: box-shadow 0.3s ease;
  height: 100%;
}

.service_section .card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.img-box-serv img {
  max-width: 80px;
  margin-bottom: 20px;
}

.btn-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--primary-blue), var(--deep-purple));
  color: var(--light-text);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 12px;
  border: none;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4), 0 0 15px rgba(0, 183, 255, 0.3);
  z-index: 1;
}

.btn-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--hover-blue), #6d28d9);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6), 0 0 25px rgba(0, 183, 255, 0.5);
  color: var(--light-text);
}

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

.btn-custom:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.4), 0 0 10px rgba(0, 183, 255, 0.3);
}

.btn-custom i {
  margin-right: 10px;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.btn-custom:hover i {
  transform: translateX(5px);
}

/* Efecto de borde luminoso */
.btn-custom::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary-blue),
    var(--neon-blue),
    var(--deep-purple),
    var(--accent-blue)
  );
  background-size: 400% 400%;
  border-radius: 14px;
  z-index: -2;
  animation: glowing-border 3s ease infinite;
  opacity: 0.8;
}

@keyframes glowing-border {
  0% {
    background-position: 0% 50%;
    opacity: 0.8;
  }
  50% {
    background-position: 100% 50%;
    opacity: 1;
  }
  100% {
    background-position: 0% 50%;
    opacity: 0.8;
  }
}

/*d*/
.text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.hover-text {
  position: relative;
  height: 2.9em; /* ajusta según tamaño de fuente */
  overflow: hidden;
  margin-bottom: 10px;
}

.hover-text span {
  display: block;
  transition: transform 0.4s ease;
}

.hover-text .text-original {
  transform: translateY(0);
}

.hover-text .text-hover {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%);
}

/* Este selector permite aplicar el efecto cuando se pasa el mouse sobre .btn-custom */
.text-wrapper:hover .text-original {
  transform: translateY(-100%);
}

.text-wrapper:hover .text-hover {
  transform: translateY(0);
}

.seo-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 40px auto;
  max-width: 900px;
}

.seo-header {
  background: linear-gradient(to right, #2c3e50, #4a6491);
  color: white;
  padding: 30px 20px;
  text-align: center;
}

.seo-body {
  padding: 30px;
}

.price-display {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 20px 0;
  text-align: center;
}

.currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.btn-seo {
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s;
}

.btn-calculate {
  background: linear-gradient(to right, var(--secondary), #2980b9);
  border: none;
}

.btn-request {
  background: linear-gradient(to right, var(--accent), #219653);
  border: none;
}

.form-control,
.form-select {
  border: 1px solid #d1d9e6;
  border-radius: 8px;
  padding: 12px 15px;
  transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.feature-icon {
  background: #e3f2fd;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: var(--secondary);
  font-size: 1.3rem;
}

.result-container {
  background: #e8f4fc;
  border-left: 4px solid var(--secondary);
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

.benefits-container {
  background: var(--light);
  border-radius: 10px;
  padding: 25px;
  margin-top: 30px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.benefit-icon {
  color: var(--accent);
  font-size: 1.3rem;
  margin-right: 15px;
  min-width: 24px;
}

@media (max-width: 768px) {
  .seo-body {
    padding: 20px;
  }

  .price-display {
    font-size: 1.8rem;
  }
}

/* calc web*/
.webdev-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  margin: 40px auto;
  max-width: 1200px;
}

.webdev-header {
  background: linear-gradient(to right, var(--primary), #3a5378);
  color: white;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 20%
    );
  pointer-events: none;
}

.webdev-body {
  padding: 40px;
}

.feature-icon {
  background: rgba(255, 255, 255, 0.15);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.card-option {
  border: 2px solid #e0e6ed;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  background: #f9fbfd;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card-option:hover,
.card-option.selected {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-color: #cbd6e2;
}

.card-option.selected {
  border-color: var(--secondary);
  background: #e8f4fc;
}

.card-option.selected::before {
  transform: scaleX(1);
}

.card-option h5 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
}

.card-option ul {
  padding-left: 20px;
  color: #4a5568;
  margin-bottom: 15px;
}

.card-option ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 10px;
}

.card-option ul li::before {
  content: "•";
  color: var(--secondary);
  position: absolute;
  left: -10px;
}

.price-display {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 25px 0;
  text-align: center;
}

.currency {
  font-size: 1.8rem;
  vertical-align: super;
}

.btn-webdev {
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  transition: all 0.3s;
  font-size: 1.1rem;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-webdev::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn-webdev:hover::after {
  transform: translateX(0);
}

.btn-calculate {
  background: linear-gradient(to right, var(--secondary), #1f6aa5);
  color: white;
}

.btn-request {
  background: linear-gradient(to right, var(--accent), #1e8449);
  color: white;
}

.form-control,
.form-select {
  border: 2px solid #d1d9e6;
  border-radius: 10px;
  padding: 14px 18px;
  transition: all 0.3s;
  font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.result-container {
  background: #e8f4fc;
  border-left: 5px solid var(--secondary);
  border-radius: 12px;
  padding: 25px;
  margin-top: 25px;
}

.tech-badge {
  display: inline-block;
  background: rgba(52, 152, 219, 0.15);
  color: var(--secondary);
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 5px;
}

.section-title {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #eaeff5;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 70px;
  height: 2px;
  background: var(--secondary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #eaeff5;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.feature-card h4 {
  color: var(--primary);
  margin-bottom: 15px;
}

@media (max-width: 992px) {
  .webdev-body {
    padding: 25px;
  }

  .price-display {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .webdev-header {
    padding: 30px 15px;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
}

.hidden-content {
  display: none;
}

.service-icon {
  max-height: 80px;
}

.featured-service-icon {
  max-height: 100px;
}

/* Footer principal */
.footer-dark {
  background-color: #111;
  color: #f1f1f1;
}

/* Footer inferior */
.footer-bottom {
  background-color: #000;
  color: #ccc !important;
}

/* Color de texto forzado */
.text-light-gray {
  color: #ccc !important;
}

/* Enlace blanco sin subrayado */
.link-white {
  color: #fff;
  text-decoration: none;
}

/* Iconos sociales */
.social-icon {
  color: #fff;
  margin-right: 1rem;
}

.portfolio-filters .filter-btn {
  background: #fff;
  border: 2px solid #007bff;
  color: #007bff;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.portfolio-filters .filter-btn:hover,
.portfolio-filters .filter-btn.active {
  background-color: #007bff;
  color: #fff;
}

.projects .card img {
  height: 200px;
  object-fit: cover;
}

.tech-list img {
  transition: transform 0.3s ease;
}

.tech-list img:hover {
  transform: scale(1.1);
}

.testimonials blockquote {
  font-style: italic;
  border-left: 5px solid #007bff;
}

.bg-calculator-corp {
  background: linear-gradient(to right, var(--primary), #3a5378);
  color: white;
}

.tech-header .dropdown-menu.show {
  display: block;
}

.privacy-policy {
  background-color: var(--light);
  line-height: 1.8;
}

.privacy-content h2 {
  color: var(--primary-blue);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}

.privacy-content h3 {
  color: var(--primary-blue);
  margin-top: 1.5rem;
}

.privacy-content ul {
  padding-left: 1.5rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

.privacy-content a {
  color: var(--primary-blue);
  text-decoration: none;
}

.privacy-content a:hover {
  text-decoration: underline;
}

.privacy-content .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.privacy-content .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.terms-section {
  background-color: var(--light);
  line-height: 1.8;
}

.terms-content h2 {
  color: var(--primary-blue);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}

.terms-content h3 {
  color: var(--primary-blue);
  margin-top: 1.5rem;
}

.terms-content ul,
.terms-content ol {
  padding-left: 1.5rem;
}

.terms-content li {
  margin-bottom: 0.5rem;
}

.terms-content a {
  color: var(--primary-blue);
  text-decoration: none;
}

.terms-content a:hover {
  text-decoration: underline;
}

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

.cookies-policy {
  background-color: var(--light);
  line-height: 1.8;
}

.cookies-content h2 {
  color: var(--primary-blue);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}

.cookies-content h3 {
  color: #1e40af;
  margin-top: 1.5rem;
}

.cookies-content ul {
  padding-left: 1.5rem;
}

.cookies-content li {
  margin-bottom: 0.5rem;
}

.cookies-content a {
  color: var(--primary-blue);
  text-decoration: none;
}

.cookies-content a:hover {
  text-decoration: underline;
}

.table {
  margin-top: 1rem;
}

.table th {
  background-color: #f1f5f9;
}

/* Estilos para el banner de cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1e293b, var(--dark-bg));
  color: white;
  padding: 1rem 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.cookie-banner-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cookie-banner-text {
  flex: 1;
  min-width: 300px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e2e8f0;
}

.cookie-policy-link {
  color: #93c5fd;
  text-decoration: underline;
  transition: color 0.2s;
}

.cookie-policy-link:hover {
  color: #60a5fa;
}

.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  color: white;
}

.cookie-btn-primary:hover {
  background: linear-gradient(135deg, var(--hover-blue), var(--primary-blue));
  transform: translateY(-1px);
}

.cookie-btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid #475569;
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #64748b;
}

.cookie-btn-link {
  background: transparent;
  color: #93c5fd;
  text-decoration: underline;
  padding: 0.5rem 0.75rem;
}

.cookie-btn-link:hover {
  color: #60a5fa;
}

/* Estilos para el modal de personalización */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.cookie-modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--deep-purple));
  color: white;
  border-radius: 16px 16px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.close-modal {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 1.5rem;
}

.cookie-desc {
  margin-bottom: 1.5rem;
  color: #475569;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  background: var(--lgiht-text);
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.cookie-option.active {
  border-color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.05);
}

.cookie-toggle {
  margin-right: 1rem;
  position: relative;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--primary-blue);
}

input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.option-info {
  flex: 1;
}

.option-title {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.option-title h3 {
  font-size: 1.1rem;
  color: var(--dark-bg);
}

.option-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: white;
  font-size: 0.8rem;
}

.icon-essential {
  background: var(--primary-blue);
}

.icon-analytics {
  background: var(--warning);
}

.icon-marketing {
  background: var(--success);
}

.option-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

.option-examples {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  font-style: italic;
}

.modal-footer {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e2e8f0;
}

/* Estilos para la confirmación */
.cookie-confirmation {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: var(--success);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-confirmation.show {
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 25px;
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .cookie-banner-buttons {
    width: 100%;
    justify-content: space-between;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }

  .modal-footer {
    flex-direction: column;
    gap: 10px;
  }

  .modal-footer .btn {
    width: 100%;
    text-align: center;
  }
}

/*NUEVO HEADER*/
/* Sección Header */
.tech-header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.navbar {
    padding: 0.8rem 1rem;
    background: transparent !important;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

.sidebar-header {
    display: flex;
    align-items: center;
    padding: 0 !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler-icon {
    color: #3b82f6;
    font-size: 1.5rem;
}

.navbar-collapse {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.navbar-nav {
    gap: 5px;
}

.nav-link {
    color: #cbd5e1 !important;
    font-weight: 500;
    padding: 12px 20px !important;
    border-radius: 8px;
    margin: 0 5px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6 !important;
    transform: translateY(-2px);
}

.nav-link.active {
    background: linear-gradient(250deg, rgba(37, 99, 235, 0.2), transparent);
    color: white !important;
    border-left: 3px solid #3b82f6;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 3px;
}

/* Responsive */
@media (min-width: 992px) {
    .navbar-collapse {
        background: transparent;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
    }
    
    .navbar-nav {
        gap: 0;
    }
    
    .nav-link {
        margin: 0 8px;
    }
    
    .d-header-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.4rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}
