/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

/* UTILIDADES BÁSICAS */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section {
  padding: 70px 0;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 40px;
}

.section-dark {
  background: #111;
  color: #fff;
}

.section-dark .section-subtitle {
  color: #aaa;
}

.section-accent {
  background: linear-gradient(135deg, #1b1f3b, #29304f);
}

.section-accent .section-title,
.section-accent .section-subtitle {
  color: #fff;
}

.section-cta {
  background: #111;
  color: #fff;
}

/* GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.logo span {
  color: #e63946;
}

.nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #e63946;
  transition: width 0.3s ease;
}

.nav a:hover {
  color: #e63946;
}

.nav a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  position: relative;
  height: 80vh;
  background: url("imagenes/Minis4.jpg") center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.8), rgba(25, 25, 35, 0.8));
}

.hero-content {
  position: relative;
  max-width: 600px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #ddd;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* BOTONES */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: #e63946;
  color: #fff;
  border: 1px solid #e63946;
}

.btn-primary:hover {
  background: #fff;
  color: #e63946;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #111;
}

/* CARDS SERVICIOS */
.card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-dark .card {
  background: #1a1a1a;
}

.card-image img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.card-body p {
  color: #888;
}

.section-dark .card-body p {
  color: #ccc;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.about-content h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.about-content p {
  margin-bottom: 10px;
  color: #555;
}

.about-list {
  list-style: none;
  margin-top: 10px;
}

.about-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.about-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #e63946;
}

/* FEATURES */
.feature-box {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  padding: 25px 20px;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.feature-icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.feature-box h3 {
  margin-bottom: 8px;
}

.feature-box p {
  color: #ddd;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: #e63946;
}

/* TESTIMONIOS */
.testimonial {
  background: #fff;
  border-radius: 5px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial::before {
  content: "“";
  position: absolute;
  font-size: 50px;
  color: #e63946;
  top: -10px;
  left: 15px;
}

.testimonial p {
  margin-bottom: 15px;
  color: #555;
}

.testimonial-name {
  font-weight: bold;
  color: #111;
}

/* CTA */
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta-inner h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.cta-inner p {
  color: #ddd;
}

.cta-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  background: #000;
  color: #aaa;
  padding-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 20px;
}

.footer h3,
.footer h4 {
  color: #fff;
  margin-bottom: 10px;
}

.footer ul {
  list-style: none;
}

.footer a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
}

.footer a:hover {
  color: #e63946;
}

.footer-bottom {
  border-top: 1px solid #222;
  text-align: center;
  padding: 15px 0;
  font-size: 13px;
  color: #fffdfd;
}

.sticky-social-container{
  margin:0;
  padding:0;
  box-sizing: border-box;
  position:fixed;
  top: 50%;
  width: 200px;
  z-index: 99;
  left: -155px;
}

.sticky-social a {
  list-style: none;
  text-decoration: none;
  background-color: #E63946;
  display: flex;
  align-items: center;
  justify-content: end;
  margin-bottom: 10px;
  height: 46px;
  border-radius: 25px;
 transition: all 0.25 ease-in-out;  
}

.sticky-social a:hover {

  background-color: #333;
  margin-right: -110px;

}

.sticky-social a i {
 margin: 0 10px;
 font-size: 28px;
 color: #ffffff;
}


.sticky-social a p {
font-size: 1.1rem;
color:#fffbfb;
font-weight:  500;
}


/* RESPONSIVE */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    background-attachment: scroll;
  }

  .sticky-social-container{
    left: -160px;
  }

  .sticky-social a{
    height: 36px;
  }

    .sticky-social a:hover{
    margin-left: -100px;
  }

  .sticky-social a i {
    font-size: 22px;
  }


}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    margin-top: 10px;
  }

  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
    padding: 80px 0;
  }

  .hero-content {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }
}
