html, body {
    background-color: var(--color-black); 
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100%;
    box-sizing: border-box;
}

/*Apaño porque llevo cerca de una hora intentando que desparesca
 el gap superior entre en hero section y el navbar*/
body {
    background: linear-gradient(
        90deg,
        #101012 0%,
        #101012 55%,
        #E86918 100%
    );
}

/* ===========================
   🟣🟣🟣 HERO SECTION 🟣🟣🟣
   =========================== */

.hero-section {
    width: 100%;
    overflow: hidden;
}

/* CONTENT */
.hero-content {
    width: 80%;
    max-width: 1400px;
    margin: auto;
    padding-top: 6rem; 
}

/* TEXT */
.hero-title {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--h1-size);
    font-weight: var(--h1-weight);
    padding-bottom: 1rem;
}

.highlight {
    color: var(--color-orange);
}

.hero-subtitle {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--h6-size);
    font-weight: var(--h6-weight);
}

.hero-subtitle-secondary {
    padding-top: 1rem;
    padding-bottom: 4rem;
}

/* BUTTON */
.hero-button {
    display: inline-block;
    padding: 0.5rem 2rem;
    background-color: var(--color-orange);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: var(--button-size);
    font-weight: var(--button-weight);
    color: var(--color-white);
    text-decoration: none;
    transition: transform 0.2s ease;
    margin-bottom: 8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hero-button:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* IMAGEN */
.hero-image-block {
    display: flex;
    align-items: flex-end;
}

.hero-image {
    width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

/* ================================
   🟣🟣🟣 BARRA DE ANUNCIO 🟣🟣🟣
   ================================ */

.announcement-bar {
    width: 100%;
    overflow: hidden;
    background-color: var(--color-orange);
    padding: 0.5rem 0;
}

.ticker-content {
    display: flex;
    gap: 6rem;
    white-space: nowrap;
}

.ticker-item {
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    font-size: var(--button-size);
    font-weight: var(--button-weight);
    color: var(--color-black);
    text-decoration: none;
    gap: 6rem;
}

.ticker-item svg {
    fill: var(--color-black);
}

/* ============================
   🟣🟣🟣 SEC ABOUT US 🟣🟣🟣
   ============================ */
/* ABOUT SECTION */
.about { 
    background-color: var(--color-black); 
    padding: 6rem 0; 
    overflow-x: hidden;
}

/* CARD */
.about-card { 
    width: 80%; 
    max-width: 1400px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: 1fr 1.2fr; 
    background-color: var(--color-gray); 
    border-radius: 20px; 
    overflow: hidden; 
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.about-card > * {
    min-width: 0;
}

/* IMAGE */
.about-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    max-width: 100%;
    box-sizing: border-box;
}

/* CONTENT */
.about-content { 
    padding: 3rem; 
    color: var(--color-white); 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    box-sizing: border-box;
    min-width: 0;
    word-wrap: break-word;
}

/* TITULO Y PARRAFO */
.about-content h2 { 
    font-size: var(--h2-size); 
    font-weight: var(--h2-weight); 
    margin-bottom: 1rem; 
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}

.about-content p { 
    font-size: var(--p-size); 
    font-weight: var(--p-weight); 
    margin-bottom: 1rem; 
}

.about-content p:last-of-type { 
    margin-bottom: 0; 
}

/* BUTTON */
.btn-primary { 
    margin-top: 4rem; 
    margin-bottom: 4rem; 
    padding: 0.5rem 2rem; 
    background-color: var(--color-orange); 
    text-decoration: none; 
    border-radius: 50px; 
    display: inline-block;   
    align-self: flex-start;    
    font-family: var(--font-primary); 
    font-size: var(--button-size); 
    font-weight: var(--button-weight); 
    color: var(--color-white); 
    transition: transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* RESPONSIVE */
@media (max-width: 767px) { 
    .about-card { 
        grid-template-columns: 1fr; 
        grid-template-rows: auto auto;
    } 
    
    .about-content { 
        padding: 2rem; 
        margin: 0; 
        text-align: left; 
    } 

    .about-image img {
        height: auto; 
    }

    .btn-primary {
        align-self: flex-start; 
    }
}

@media (max-width: 576px) { 
    .about-content h2 {
        font-size: clamp(36px, 5vw, 44px);
    }
    
    .about {
        padding: 4rem 0; 
    } 
    
    .about-card {
        width: 90%; 
        max-width: 100vw;
        margin: 0 auto; 
    }

    .about-content { 
        padding: 2rem; 
        text-align: center; 
    }

    .btn-primary {
        align-self: center; 
        display: inline-block;
    }
}

/* =============================
   🟥🟥🟥 SEC SERVICIOS 🟥🟥🟥
   ============================= */
.servicios-section {
  background: var(--color-black);
  padding: 6rem 0 8rem;
}

.servicios-container {
  width: 80%;
  max-width: 1400px;
  margin: auto;
  text-align: center;
}

/* TEXTO */
.servicios-text h2 {
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  color: var(--color-white);
  margin-bottom: 1rem;
}

.servicios-text p {
  max-width: 900px;
  margin: 0 auto 4rem;
  font-size: var(--p-size);
  color: var(--color-white);
}

/* SWIPER */
.servicios-swiper {
  position: relative;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .swiper-wrapper {
    display: flex;
    align-items: stretch; 
  }

  .swiper-slide {
    display: flex;
    justify-content: center; 
  }

  .servicio-card {
    flex: 0 0 280px;  
    height: 420px;   
    display: flex;
    flex-direction: column;
  }

  .servicio-card img {
    height: 180px;   
  }

  .servicio-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    overflow: hidden;
  }

  .servicios-nav {
    position: absolute;
    top: 50%;
    left: -60px;
    right: -60px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 30;
    pointer-events: none;
  }

  .servicios-prev,
  .servicios-next {
    width: 48px;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.2s ease;
  }

  .servicios-prev:hover,
  .servicios-next:hover {
    transform: scale(1.1);
  }
}

/* CARD GENERAL */
.servicio-card {
  background: var(--color-gray);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-card img {
  width: 100%;
  object-fit: cover;
}

.servicio-content h5 {
  margin-bottom: 0.5rem;
  font-size: var(--h5-size);
  color: var(--color-white);
}

.servicio-content p {
  font-size: var(--p-size);
  color: var(--color-white);
  margin-top: auto;
}

/* HOVER DESKTOP */
@media (min-width: 768px) {
  .servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  }
}

/* PAGINACIÓN */
.servicios-pagination {
  position: relative !important;
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.servicios-pagination .swiper-pagination-bullet {
  background: #555 !important;
  opacity: 1;
}

.servicios-pagination .swiper-pagination-bullet-active {
  background: var(--color-orange) !important;
  width: 26px;
  border-radius: 20px;
}

/* BOTÓN FINAL */
.servicios-btn {
    display: inline-block;
    margin-top: 4rem;
    border-radius: 50px;
    margin-bottom: 4rem; 
    padding: 0.5rem 2rem; 
    background-color: var(--color-orange); 
    text-decoration: none; 
    align-self: flex-start;    
    font-family: var(--font-primary); 
    font-size: var(--button-size); 
    font-weight: var(--button-weight); 
    color: var(--color-white); 
    transition: transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.servicios-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* MOBILE */
@media (max-width: 767px) {
  .servicios-nav {
    display: none;
  }

  .servicio-card {
    flex: 1;
    height: auto;
  }

  .servicio-card img {
    height: 180px;
  }

  .servicio-content {
    padding: 1.5rem;
  }
}

/* ===========================
   🟣🟣🟣 APP SECTION 🟣🟣🟣
   =========================== */
.app-section {
  width: 100%;
  background-color: var(--color-black);
}

/* CONTENT */
.app-content {
  width: 80%;             
  max-width: 1400px;
  margin: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* TEXT */
.app-title {
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  margin-bottom: 1rem;
}

.app-subtitle {
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: var(--h6-size);
  font-weight: var(--h6-weight);
  margin: 0 auto 4rem;
}

/* IMAGE + BUTTON STACK */
.app-actions {
  display: flex;
  flex-direction: column; 
  align-items: center;
  gap: 2rem;
}

/* IMAGE BUTTON */
.app-image-link img {
  width: 280px;
  max-width: 90%;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.app-image-link:hover img {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* BUTTON */
.hero-button {
  padding: 0.5rem 2.5rem;
  background-color: var(--color-orange);
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: var(--button-size);
  font-weight: var(--button-weight);
  color: var(--color-white);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  margin-bottom: 8rem;
}

.hero-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}


/* ================================
   🟣🟣🟣 SECTION CAROUSEL 🟣🟣🟣
   ================================ */
.carousel-item {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.testimonial-section {
    background-color: var(--color-black);
}

.testimonial-container {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 8rem;
}

.testimonial-container.row {
    margin-left: 0;
    margin-right: 0;
}

.section-header h2 {
    font-family: var(--font-primary);
    font-size: var(--h2-size);
    font-weight: var(--h2-weight);
    color: var(--color-white);
    padding-bottom: 4rem;
}

.testimonial-box {
    background-color: var(--color-gray);
    border-radius: 20px;
    padding: 3rem;
    max-width: 900px;
}

.testimonial-header {
    justify-content: center;
    margin-bottom: 1rem;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.testimonial-info h4 {
    font-family: var(--font-primary);
    font-size: var(--h4-size);
    font-weight: var(--h4-weight);
    color: var(--color-white);
}

.text-blue {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--p-size);
    font-weight: var(--p-weight);
}

.testimonial-text {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--p-size);
    font-weight: var(--p-weight);
    margin-top: 1rem;
    text-align: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
    width: 3rem;
    height: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: url("../Media/Left.png");
}

.carousel-control-next-icon {
    background-image: url("../Media/Right.png");
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-wrapper {
    max-width: 80vw;
    margin: 0 auto;
    position: relative;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transform: scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    opacity: 1;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    opacity: 1;
}

.carousel-control-prev {
    left: -2.5rem;
}

.carousel-control-next {
    right: -2.5rem;
}

.carousel-p {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--p-size);
    font-weight: var(--p-weight);
    margin-top: 6rem;
    text-align: center;
}

/* BUTTON */
.carousel-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.sec-carousel-button {
    display: inline-block;
    padding: 0.5rem 2.5rem;
    background-color: var(--color-orange);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: var(--button-size);
    font-weight: var(--button-weight);
    color: var(--color-white);
    text-decoration: none;
    margin-bottom: 8rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.sec-carousel-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* ================================
   🟣🟣🟣 SECTION SCHEDULE 🟣🟣🟣
   ================================ */
/* SECTION */
.schedule {
    background-color: var(--color-black);
    margin: 0 auto;
    padding: 6rem 0;
}

.schedule-inner {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
}
/* TITLE */
.schedule-title {
    font-family: var(--font-primary);
    font-size: var(--h2-size);
    font-weight: var(--h2-weight);
    color: var(--color-white);
    text-align: center;
    padding-bottom: 4rem;
    text-transform: uppercase;
}

/* TABLE WRAPPER */
.schedule-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ROWS */
.roow {
    display: grid;
    grid-template-columns: 120px repeat(6, 1fr);
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06); /* líneas finas */
}

.roow:last-child {
    border-bottom: none;
}

/* HEADER */
.roow.header {
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-bottom: 1rem;
}

.roow.header .cell {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 1;
}

/* CELLS */
.cell {
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-white);
}

.cell.time {
    text-align: left;
    opacity: 1;
    font-size: 0.7rem;
}

/* PILLS (clases) */
.pill {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--color-gray);
    font-size: 0.7rem;
    white-space: nowrap;
}

.pill.accent {
    background: rgba(255,136,0,0.18);
    color: var(--color-orange);
}

.pill.muted {
    opacity: 0.4;
}

/* BUTTON */
.sch-button {
    padding: 0.5rem 2rem;
    background-color: var(--color-orange);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: var(--button-size);
    font-weight: var(--button-weight);
    color: var(--color-white);
    text-decoration: none;
    transition: transform 0.2s ease;
    margin-bottom: 8rem;
    margin-top: 4rem;
    display: block;
    width: fit-content;
    margin: 4rem auto 8rem;
}

.sch-button:hover {
    transform: scale(1.1);
}

/* HOVER SUTIL */
.roow:not(.header):hover {
    background: var(--color-black);
}

@media (max-width: 900px) {

    .schedule {
        width: 100%;
        padding: 4rem 1rem;
    }

    .schedule-table {
        overflow-x: auto;
    }

    .roow {
        min-width: 900px;
    }
}