/*
 Theme Name: Hello Child
 Template: hello-elementor
 Version: 1.0
*/

/* ================================
   FIX HERO + SCROLL VISIBILITY
   ================================ */

/* HERO height control */
#slider.slider-element {
  height: 100vh !important;
  min-height: 100vh !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Allow content below to be visible */
#slider .slider-parallax-inner {
  min-height: 100vh !important;
  height: auto !important;
  overflow: visible !important;
}

/* Remove accidental spacing from WP/Hello */
#wrapper,
#content,
.site-main,
body.home,
.entry-content {
  margin: 0 !important;
  padding: 0 !important;
}

/* Prevent phantom space under hero */
#slider {
  display: block !important;
  line-height: 0 !important;
}

/* Ensure scroll vertical works */
html,
body {
  height: 100%;
}

/* ================================
   HERO NAV (Opcional: mejora estética)
   ================================ */

.custom-hero-nav ul {
  margin-top: 40px;
}

.custom-hero-nav ul li {
  display: inline-block;
  margin: 0 15px;
}

.custom-hero-nav ul li a {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #fff !important;
  text-transform: uppercase;
}

/* ================================
   GENERAL CSS RESET
   ================================ */

.section {
  position: relative;
  z-index: 10;
}

/* ================================
   RESTAURAR JERARQUÍA DE CAPAS
   ================================ */

#slider {
  position: relative;
  z-index: 1 !important;
}

#slider .video-wrap,
#slider .video-overlay {
  position: absolute;
  z-index: 2 !important;
}

#slider .vertical-middle {
  position: relative;
  z-index: 5 !important;
}

/* ===== ABOUT SECTION ===== */

#about {
  background: #ffffff !important;
  padding: 120px 0 !important;
  position: relative;
  z-index: 5 !important;
}

#about h1 {
  font-size: 32px;
  letter-spacing: 2px;
  margin-top: 0 !important;
  margin-bottom: 40px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
}

#about img[alt="corte pelo"] {
  width: 120px !important;
  height: auto !important;
  margin-top: -10px !important;
  margin-bottom: 30px !important;
}

#about h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px !important;
  text-transform: uppercase;
}

#about .heading-block:after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #bf9456;
  margin: 10px auto 0;
}

#about p {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

#about .col-md-3 img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

#about .col-md-6 {
  max-width: 500px;
  margin: auto;
  padding: 0 30px !important;
}

#about a,
#about strong,
#about em {
  color: #bf9456 !important;
}

/* ===== SERVICES SECTION ===== */

#services h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #1a1a1a;
  text-transform: uppercase;
  margin-bottom: 6px;
}

#services p {
  font-size: 14px;
  line-height: 1.7;
  color: #777;
  max-width: 420px;
}

#services .service-item {
  align-items: flex-start;
}

#services .service-item .service-icon {
  width: 32px;
  opacity: .85;
  margin-top: 4px;
}

#services .service-item:hover .service-icon {
  opacity: 1;
}

#services .service-item {
  margin-bottom: 36px;
}

.service-left-content h2 {
  font-size: 40px !important;
  font-weight: 700 !important;
  margin-bottom: 18px !important;
}

.service-left-content span {
  width: 55px !important;
  height: 2px !important;
  display: block;
  margin: auto;
  background: #fff;
  opacity: .9;
}

#services .col-lg-6:last-child {
  max-width: 550px;
}

#services .col-lg-6:first-child {
  min-height: 600px !important;
  max-height: 600px !important;
  height: 600px !important;
  background-size: cover !important;
  background-position: center center !important;
}

#services .col-lg-6:last-child {
  background-color: #f8f6f2 !important;
}

#services .col-lg-6:last-child {
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

#services .col-lg-6:last-child {
  padding: 70px 70px !important;
}

/* ====== CATEGORIES ====== */

.category-item {
  text-align: center;
}

.big-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 25px auto;
  border: 5px solid #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
  position: relative;
}

.big-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-overlay-title {
  position: absolute;
  bottom: 4em;
  left: 0;
  right: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.category-title {
  font-size: 20px;
  font-weight: 700;
  color: #9c7a45;
  margin-bottom: 10px;
}

.category-description {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto;
}

.bottommargin-lg {
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .big-circle {
    width: 200px;
    height: 200px;
  }

  .category-overlay-title {
    font-size: 20px;
  }
}

/* ====== PRICE LIST SECTION ====== */

#price-list {
  position: relative;
}

#price-list .heading-block.dark h2 {
  color: #fff;
  font-size: 38px;
  text-transform: uppercase;
  font-weight: 700;
}

#price-list .divider-dark {
  width: 40px;
  height: 2px;
  background: #caa873;
  display: block;
  margin: 12px auto 0;
  opacity: 0.9;
}

.price-icon img {
  width: 40px;
  margin-bottom: 20px;
  opacity: .9;
}

.price-box {
  background: rgba(0, 0, 0, 0.85);
  padding: 50px 60px;
  margin-top: 40px;
  border-radius: 4px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-list li {
  color: #fff;
  font-size: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
}

.price-list strong {
  font-size: 18px;
  font-weight: 700;
  color: #caa873;
}

.price-list li:last-child {
  border-bottom: none;
}

/* ===== TESTIMONIALS SECTION - VERSIÓN FINAL ===== */

#testimonials {
  position: relative;
}

#testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

#testimonials>.container {
  position: relative;
  z-index: 2;
}

/* Encabezado */
.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.stars-icon {
  width: 55px;
  margin-bottom: 20px;
  opacity: .9;
}

.testimonials-title {
  color: #fff;
  text-transform: uppercase;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.subtitle {
  color: #ddd;
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.subtitle a {
  color: #caa873;
  text-decoration: underline;
}

.subtitle a:hover {
  color: #fff;
}

.divider {
  width: 40px;
  height: 2px;
  background: #caa873;
  display: block;
  margin: 25px auto 0;
}

/* Slider Container */
.testimonials-slider {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  min-height: 280px;
  padding: 40px 20px;
}

/* Testimonial Items */
.testimonial-item {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: none;
}

.testimonial-item.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  top: 0;
  pointer-events: auto;
}

/* Comillas decorativas */
.testimonial-quote-open,
.testimonial-quote-close {
  font-size: 80px;
  color: #caa873;
  line-height: 0;
  font-family: Georgia, serif;
  font-weight: bold;
  display: inline-block;
  opacity: 0.7;
}

.testimonial-quote-open {
  vertical-align: top;
  margin-right: 10px;
  position: relative;
  top: 30px;
}

.testimonial-quote-close {
  vertical-align: bottom;
  margin-left: 10px;
  position: relative;
  bottom: -10px;
}

/* Texto del testimonial */
.testimonial-text {
  color: #fff;
  font-size: 22px;
  font-style: italic;
  line-height: 1.7;
  margin: 20px auto;
  max-width: 750px;
  padding: 0 40px;
  display: inline;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Autor */
.testimonial-author {
  color: #caa873;
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-top: 30px;
}

/* Dots de navegación */
.testimonials-dots {
  margin-top: 50px;
  text-align: center;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin: 0 6px;
  display: inline-block;
  cursor: pointer;
  transition: all .3s ease;
  border: 2px solid transparent;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.dot.active {
  background: #caa873;
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.3);
}

/* Responsive testimonials */
@media (max-width: 768px) {
  .testimonials-title {
    font-size: 32px;
  }

  .testimonials-slider {
    min-height: 300px;
    padding: 30px 15px;
  }

  .testimonial-text {
    font-size: 18px;
    padding: 0 30px;
  }

  .testimonial-quote-open,
  .testimonial-quote-close {
    font-size: 60px;
  }

  .testimonial-author {
    font-size: 14px;
    margin-top: 25px;
  }
}

@media (max-width: 480px) {
  .testimonials-slider {
    min-height: 320px;
  }

  .testimonial-text {
    font-size: 16px;
    padding: 0 20px;
  }

  .testimonial-quote-open,
  .testimonial-quote-close {
    font-size: 50px;
  }
}

/* === CONTACT === */

#contact-section .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.contact-info-wrapper {
  background: #fff;
  padding: 80px 70px;
}

.contact-title {
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 35px;
  color: #222;
}

.info-subtitle {
  margin-top: 25px;
  font-size: 18px;
  font-weight: 700;
  color: #222;
}

.contact-info p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 10px;
}

.phone-big {
  font-size: 46px !important;
  line-height: 40px !important;
  color: #bf9456 !important;
}

.contact-info {
  padding-left: 3em;
}

@media (max-width: 768px) {
  #contact-section iframe {
    height: 360px;
  }

  .contact-info-wrapper {
    padding: 50px 25px;
  }

  .phone-big {
    font-size: 46px !important;
    line-height: 40px !important;
    color: #bf9456 !important;
  }
}

/* Color base (igual al texto de dirección) */
.locations-list .location-item {
  color: #555;
  /* ajusta si tu dirección usa otro */
  transition: color .2s ease;
}

/* Texto secundario */
.locations-list .location-item span {
  color: inherit;
  opacity: .85;
}

/* Ubicación activa */
.locations-list .location-item.is-active {
  color: #C9A24D;
  /* dorado */
}

/* Opcional: hover sutil */
.locations-list .location-item:hover {
  color: #9e7c2f;
}

/* ====== GALERÍA ====== */

#gallery .heading-block h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

#gallery .heading-block span {
  font-size: 15px;
  color: #555;
}

.masonry-gallery {
  column-count: 3;
  column-gap: 20px;
}

/* .masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
} */

/* .masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
} */

@media (max-width: 992px) {
  .masonry-gallery {
    column-count: 3;
  }
}

@media (max-width: 576px) {
  .masonry-gallery {
    column-count: 1;
  }
}

/* ====== GALERÍA - Imágenes del mismo tamaño ====== */
.masonry-item-img-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  /* Creates a square aspect ratio */
  overflow: hidden;
  border-radius: 3px;
  /* Apply border-radius to the wrapper */
  margin-bottom: 20px;
  /* Add some spacing between items */
}

.masonry-item-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image covers the area without distortion */
  display: block;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FOOTER */
.dark-footer {
  background: #111 !important;
  padding: 80px 0 40px 0;
  text-align: center;
  color: #aaa;
  position: relative;
  z-index: 10;
  width: 100%;
  clear: both;
}

.dark-footer .footer-logo img {
  width: 180px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.footer-social {
  margin-bottom: 35px;
}

.footer-social a {
  display: inline-block;
  font-size: 24px;
  color: #bbb;
  margin: 0 12px;
  transition: 0.3s ease;
}

.footer-social a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
  margin-top: 20px;
}

.footer-copy a {
  color: #caa873;
  text-decoration: none;
}

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

@media (max-width: 768px) {
  .dark-footer {
    padding: 60px 20px 30px 20px;
  }

  .dark-footer .footer-logo img {
    width: 150px;
    margin-bottom: 30px;
  }

  .footer-social a {
    font-size: 20px;
    margin: 0 8px;
  }
}

.about-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
}