:root {
  --primary-color: #ff0000;
  --secondary-color: #000000;
  --light-color: #ffffff;
  --gray-color: #f4f4f4;
}

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

body {
  /* font-family: "Open Sans", sans-serif; */
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--secondary-color);
  background-color: #fff !important;
}

.container {
  width: 85%;
  margin: auto;
  overflow: hidden;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--light-color);
  color: var(--secondary-color);
  padding: 1rem 0 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  max-width: 120px;
}
.logo img {
  width: 100%;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1rem;
}

nav a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-color);
}
nav .contact {
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
  margin: 0;
  min-height: 50px;
  padding: 10px 30px;
  border: 2px solid;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  background: url(../img/hero-image.jpg);
  background-size: cover;
  background-position: center;
  height: 560px;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--light-color);
  padding-top: 80px;
  position: relative;
  z-index: 10;
  /* transform: skew(0, 5deg); */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4); /* <= filtro oscuro */
  z-index: 0;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.hero .container {
  position: relative;
  z-index: 10;
  /* transform: skew(0, -5deg); */
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--light-color);
  padding: 0.8rem 1.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #cc0000;
}

/* estilos bloques */
.blq-home {
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 30px 0;
}
.blq-home div {
  width: 250px;
  font-size: 2rem;
  padding: 5px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.blq-home div:nth-child(even) {
  background-color: #cc0000;
}
.blq-home div:nth-child(odd) {
  background-color: #2a2a2a;
}
.blq-home div h4 {
  line-height: 1;
  font-weight: 500;
  margin-top: 1rem;
  font-size: 1.2rem;
}

/* Planes y Precios */
.pricing {
  padding: 4rem 0;
  background-color: var(--gray-color);
}

.pricing h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.price-columns {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.price-column {
  flex: 1;
  background-color: var(--light-color);
  border-radius: 5px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.price-column:hover {
  transform: translateY(-10px);
}

.price-column h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.price-column ul {
  list-style: none;
  margin-bottom: 1rem;
}

.price-column ul li {
  margin-bottom: 0.5rem;
}

/* Testimonios */
.testimonials {
  padding: 4rem 0;
  position: relative;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.testimonial-slider {
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  text-align: center;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide p {
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-slide .author {
  font-weight: bold;
}

.slider-nav {
  text-align: center;
  margin-top: 1rem;
}

.slider-nav button {
  background: var(--primary-color);
  color: var(--light-color);
  border: none;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  cursor: pointer;
  border-radius: 5px;
}

.our-service {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 60px;
  gap: 60px;
  max-width: 1024px;
  margin: 0 auto;
}

.services-text {
  flex: 1;
}

.services-text h2 {
  color: #d0021b;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.services-text h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.services-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.services-text a {
  text-decoration: underline;
  color: #1a1a1a;
  font-weight: 500;
}

.services-image {
  flex: 1;
}

.services-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.services-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.services-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.services-header p {
  font-size: 16px;
  color: #555;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #d0021b;
  padding: 30px 25px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.service-card i {
  font-size: 30px;
  color: #d0021b;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Servicios */
.services {
  padding: 4rem 0;
  background-color: #333;
  color: var(--light-color);
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.service {
  text-align: center;
  padding: 1rem;
}

.service i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.plans-section {
  padding: 20px 20px 100px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.plans-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #d0021b;
}

.plans-header p {
  font-size: 18px;
  color: #555;
  margin-bottom: 60px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.plan-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border-top: 6px solid #d0021b;
}

.plan-card.featured {
  background: #fef3f3;
  border-top: 8px solid #ff0000;
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.plan-card.featured::after {
  content: "RECOMENDADO";
  position: absolute;
  top: 30px;
  right: -40px;
  background: #d0021b;
  color: white;
  transform: rotate(45deg);
  padding: 4px 50px;
  font-size: 12px;
  font-weight: bold;
}

.plan-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: #d0021b;
  border-radius: 50%;
  opacity: 0.05;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.plan-icon {
  font-size: 38px;
  color: #d0021b;
  margin-bottom: 20px;
}

.plan-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.plan-price {
  font-size: 30px;
  color: #d0021b;
  font-weight: 700;
  margin-bottom: 30px;
}

.plan-price span {
  font-size: 14px;
  color: #888;
}

.plan-features {
  text-align: left;
  list-style: none;
  padding: 0;
  margin-bottom: 35px;
}

.plan-features li {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #444;
  font-size: 15px;
}

.plan-features li i {
  color: #d0021b;
}

.plan-btn {
  background: linear-gradient(to right, #d0021b, #ff4d4d);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.plan-btn:hover {
  opacity: 0.9;
}

.extra-services-section {
  padding: 20px 20px 100px;
  text-align: center;
  position: relative;
  background: #0b0b0b;
  color: #fff;
}
/* .extra-services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(
    ellipse at top,
    rgba(255, 0, 0, 0.05),
    transparent 70%
  );
  z-index: 0;
} */

.extra-services-section h2 {
  font-size: 36px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.extra-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.extra-service-card {
  background: linear-gradient(145deg, #181818, #0f0f0f);
  border-radius: 24px;
  padding: 40px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #2d2d2d;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.extra-service-card:hover {
  transform: scale(1.05);
  /* box-shadow: 0 12px 30px rgba(0, 153, 255, 0.2); */
}

.extra-service-icon {
  background: #d0021b;
  color: #fff;
  font-size: 24px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.extra-service-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.extra-service-desc {
  font-size: 14px;
  color: #cccccc;
}

.datos-destacados {
  background-color: #0d0d0d;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.datos-header h2 {
  color: #d0021b;
  font-size: 24px;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.datos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.dato-box {
  background: #1a1a1a;
  border: 1px solid #333;
  border-left: 4px solid #d0021b;
  padding: 30px;
  border-radius: 8px;
  width: 220px;
  transition: transform 0.3s ease;
}

.dato-box:hover {
  transform: translateY(-5px);
}

.dato-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #d0021b;
}

.dato-box .valor {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.info-contable {
  background-color: #0a0a0a;
  padding: 60px 20px;
  text-align: center;
}
.info-contable .contenedor {
  max-width: 1200px;
  margin: 0 auto;
}

.info-contable h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 40px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  justify-items: center;
}

.info-box {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
  transform: translateY(-6px);
}

.icono {
  background-color: #d0021b;
  color: white;
  font-size: 24px;
  width: 54px;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
}

.info-box h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 10px;
}

.info-box p {
  font-size: 14px;
  color: #bbb;
  line-height: 1.5;
}



@media screen and (max-width: 992px) {
  .extra-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .extra-services-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 110px;
    left: 0;
    background-color: var(--light-color);
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 1rem 0;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .price-columns {
    flex-direction: column;
  }

  .price-column {
    margin-bottom: 2rem;
  }
  .our-service {
    display: inline-block;
  }
}
.container-plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  width: 100%;
}
.wrap-container {
  background-color: #121212;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px;
}
.plan {
  background-color: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.1);
  padding: 40px 30px;
  width: calc(33.333% - 20px);
  min-width: 280px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.plan:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(255, 0, 0, 0.2);
}
.plan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff0000, #ff6b6b);
}
.plan h2 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}
.plan h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: #ff0000;
}
.plan .icon {
  font-size: 48px;
  color: #ff0000;
}
.plan .price {
  color: #ff0000;
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 30px;
}
.plan .price span {
  font-size: 18px;
  color: #a0a0a0;
}
.plan ul {
  list-style-type: none;
  margin-bottom: 10px;
  text-align: left;
  flex-grow: 1;
}
.plan ul li {
  color: #d0d0d0;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #333;
  position: relative;
  padding-left: 30px;
}
.plan ul li:last-child {
  border-bottom: none;
}
.plan ul li i {
  position: absolute;
  left: 0;
  color: #ff0000;
}
.plan .btn {
  background: linear-gradient(90deg, #ff0000, #ff6b6b);
  border: none;
  border-radius: 50px;
  color: white;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  padding: 15px 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: auto;
}
.plan .btn:hover {
  background: linear-gradient(90deg, #ff6b6b, #ff0000);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}
.plan.featured {
  background-color: #2a2a2a;
  transform: scale(1.05);
}
.plan.featured::after {
  content: "Recomendado";
  position: absolute;
  top: 20px;
  right: -55px;
  background: #ff0000;
  color: white;
  padding: 5px 50px;
  transform: rotate(45deg);
  font-size: 14px;
  display: none;
}
/* Footer base */
.footer {
  background-color: #0a0a0a;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.footer-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #d0021b, transparent);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  align-items: start;
  z-index: 2;
  position: relative;
}

.footer-about h2,
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 14px;
  color: #d0021b;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-about p,
.footer-contact p {
  font-size: 13px;
  color: #bbb;
  line-height: 1.6;
}

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

.footer-links ul li a {
  font-size: 13px;
  color: #aaa;
  text-decoration: none;
  line-height: 2;
  transition: color 0.3s ease;
}
.footer-contact .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact .contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: #ccc;
  font-size: 14px;
}

.footer-contact .contact-list i {
  color: #d0021b;
  margin-right: 10px;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.footer-contact .contact-list a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact .contact-list a:hover {
  color: #fff;
}


.footer-links ul li a:hover {
  color: #fff;
}

/* Redes sociales */
.footer-social .social-icons {
  display: flex;
  gap: 12px;
}

.footer-social .social-icons a {
  background-color: #d0021b;
  color: #fff;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.footer-social .social-icons a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(208, 2, 27, 0.6);
}

/* Pie de página */
.footer-bottom {
  background-color: #111;
  text-align: center;
  padding: 15px 10px;
  font-size: 12px;
  color: #777;
  margin-top: 30px;
}

@media (max-width: 900px) {
  .plan {
    width: calc(50% - 15px);
  }
  .plan.featured {
    transform: scale(1);
  }
}
@media (max-width: 600px) {
  .plan {
    width: 100%;
  }
}

@media (prefers-color-scheme: dark) {
  html, body {
    background: #fff !important;
    color-scheme: light !important;
    color: #000 !important;
  }
}

