@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Inter:wght@300;400;500&display=swap);

:root {
  --litsea-primary: #2fb7a4;
  --litsea-primary-dark: #239688;
  --litsea-accent-gold: #c9a24d;
  --litsea-bg-navbar: #ffffff;
  --litsea-bg-mobile: #ffffff;
  --litsea-bg-hover-mobile: #f2fbf9;
  --litsea-text-main: #4a4a4a;
  --litsea-text-muted: #8a8a8a;
  --litsea-text-inverse: #ffffff;
  --litsea-bg-footer: #1a1a1a;
  --litsea-border-light: #efefef;
  --transition-base: 0.3s ease;
}

* {
  font-family: Poppins, sans-serif;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--litsea-bg-navbar);
  border-bottom: 1px solid rgba(201, 162, 77, 0.15);
  transition: var(--transition-base);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 56px;
  width: auto;
}

.navbar-menu {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.navbar-link {
  position: relative;
  color: var(--litsea-text-main);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition-base);
  padding-bottom: 2px;
  letter-spacing: 0.01em;
}

.navbar-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--litsea-primary);
  transition: width var(--transition-base);
}

.navbar-link:hover,
.navbar-phone:hover {
  color: var(--litsea-primary);
}

.navbar-link:hover::after {
  width: 100%;
}

.navbar-link--active {
  color: var(--litsea-primary-dark);
}

.navbar-link--active::after {
  width: 100%;
  background: var(--litsea-primary);
}

.navbar-actions {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.navbar-phone {
  color: var(--litsea-text-muted);
  font-family: Inter, sans-serif;
  font-weight: 400;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-base);
}

.navbar-btn {
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, #2fb7a4, #6ed4c6);
  color: var(--litsea-text-inverse);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition-base);
  box-shadow: 0 2px 8px rgba(47, 183, 164, 0.2);
  border: none;
  cursor: pointer;
}

.navbar-btn:hover {
  background: var(--litsea-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47, 183, 164, 0.3);
}

.navbar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: none;
  background: transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  color: var(--litsea-primary);
  transition: background-color var(--transition-base);
}

.navbar-toggle:hover {
  background-color: rgba(47, 183, 164, 0.1);
}

.navbar-toggle-icon {
  width: 28px;
  height: 28px;
}

.navbar-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 60;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.navbar-mobile-overlay.active {
  display: block;
  opacity: 1;
}

.navbar-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 80%;
  max-width: 320px;
  background: var(--litsea-bg-mobile);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
  z-index: 70;
  transition: right var(--transition-base);
  overflow-y: auto;
}

.navbar-mobile-header {
  display: flex;
  justify-content: flex-end;
  padding: 1.5rem;
  border-bottom: 1px solid var(--litsea-border-light);
}

.navbar-mobile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: none;
  background: transparent;
  transition: background-color var(--transition-base);
  border-radius: 0.5rem;
  cursor: pointer;
  color: var(--litsea-primary);
}

.navbar-mobile-close:hover {
  background-color: rgba(47, 183, 164, 0.1);
}

.navbar-mobile-close-icon {
  width: 24px;
  height: 24px;
}

.navbar-mobile-content {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
}

.navbar-mobile-link,
.navbar-mobile-phone {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--litsea-border-light);
  display: block;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-base);
}

.navbar-mobile-link {
  color: var(--litsea-text-main);
}

.navbar-mobile-link:hover {
  background-color: var(--litsea-bg-hover-mobile);
  color: var(--litsea-primary);
}

.navbar-mobile-phone {
  color: var(--litsea-primary);
  font-family: Inter, sans-serif;
}

.navbar-mobile-btn {
  margin: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #2fb7a4, #6ed4c6);
  color: var(--litsea-text-inverse);
  border-radius: 999px;
  text-align: center;
  transition: var(--transition-base);
  box-shadow: 0 2px 8px rgba(47, 183, 164, 0.2);
  text-decoration: none;
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

.navbar-mobile-btn:hover {
  background: var(--litsea-primary-dark);
  box-shadow: 0 4px 12px rgba(47, 183, 164, 0.3);
}

@media (min-width: 1148px) {
  .navbar-container {
    padding: 0 2.5rem;
  }

  .navbar-actions,
  .navbar-menu {
    display: flex;
  }

  .navbar-toggle {
    display: none;
  }

  .navbar-mobile,
  .navbar-mobile-overlay {
    display: none !important;
  }
}

@media (max-width: 1027px) and (min-width: 768px) {
  .navbar-container {
    padding: 0 1.5rem;
  }

  .logo-img {
    height: 48px;
  }

  .navbar-mobile {
    max-width: 360px;
  }
}

@media (max-width: 767px) {
  .navbar-content {
    height: 68px;
  }

  .navbar-container {
    padding: 0 1rem;
  }

  .logo-img {
    height: 42px;
  }

  .navbar-mobile {
    width: 85%;
    max-width: 300px;
  }
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: 80px;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(40px);
  z-index: -1;
}

.carousel-slide:nth-child(1) .slide-image::before {
  background-image: url("../img/curso-barberia-profesional-litsea-banner.jpg");
}

.carousel-slide:nth-child(2) .slide-image::before {
  background-image: url("../img/curso-cosmetologia-facial-corporal-litsea-banner.jpg");
}

.carousel-slide:nth-child(3) .slide-image::before {
  background-image: url("../img/curso-terapeuta-spa-profesional-litsea-banner.jpg");
}

@media (min-width: 1024px) {
  .carousel-slide:nth-child(1) .slide-image::before {
    background-image: url("../img/curso-barberia-profesional-litsea-banner-1920.jpg");
  }

  .carousel-slide:nth-child(2) .slide-image::before {
    background-image: url("../img/curso-cosmetologia-facial-corporal-litsea-banner-1920.jpg");
  }

  .carousel-slide:nth-child(3) .slide-image::before {
    background-image: url("../img/curso-terapeuta-spa-profesional-litsea-banner-1920.jpg");
  }
}

.slide-image picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: url("../../img/planta-decorativa-en-centro-de-formacion.png");
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.carousel-nav:hover {
  background: rgba(47, 183, 164, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(47, 183, 164, 0.3);
}

.carousel-nav svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  pointer-events: none;
}

.carousel-nav.prev {
  left: 24px;
}

.carousel-nav.next {
  right: 24px;
}

.carousel-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  padding: 0;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.dot.active {
  background: #fff;
  width: 32px;
  border-radius: 6px;
}

@media (max-width: 1147px) {
  .hero-carousel {
    height: 100vh;
    padding: 0;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .hero-carousel {
    height: 100vh;
    padding: 0;
    margin: 0;
  }

  .carousel-nav {
    width: 44px;
    height: 44px;
  }

  .carousel-nav svg {
    width: 20px;
    height: 20px;
  }

  .carousel-nav.prev {
    left: 16px;
  }

  .carousel-nav.next {
    right: 16px;
  }

  .carousel-dots {
    bottom: 24px;
    gap: 8px;
  }

  .dot {
    width: 9px;
    height: 9px;
  }

  .dot.active {
    width: 28px;
  }
}

@media (max-width: 480px) {
  .hero-carousel {
    height: 100vh;
    padding: 0;
    margin: 0;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
  }

  .carousel-nav svg {
    width: 18px;
    height: 18px;
  }

  .carousel-nav.prev {
    left: 12px;
  }

  .carousel-nav.next {
    right: 12px;
  }

  .carousel-dots {
    bottom: 16px;
    gap: 6px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .dot.active {
    width: 24px;
  }
}

.footer {
  background-color: var(--litsea-bg-footer);
  color: #d1d5db;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  max-width: 4rem;
  height: 4rem;
  width: auto;
}

.footer-description {
  font-size: 0.875rem;
  color: #9ca3af;
  max-width: 28rem;
  line-height: 1.6;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--litsea-primary);
}

.footer-contact-link,
.footer-link {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-base);
}

.footer-contact-link:hover,
.footer-link:hover {
  color: #fff;
}

.footer-column-title {
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  display: inline-block;
}

.footer-map {
  margin-bottom: 3rem;
  border-radius: 0.75rem;
  overflow: hidden;
  height: 16rem;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
}

.footer-copyright {
  font-size: 0.875rem;
  color: #6b7280;
}

@media (min-width: 640px) {
  .footer-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .footer-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
