/* ============================================================
   PAGE HERO — slideshow cross-fade (todas las páginas != Home)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--brand-black);
}
.page-hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.8s var(--ease-smooth);
}
.page-hero-slide.is-active { opacity: 1; }
.page-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-slide::after { content: ""; position: absolute; inset: 0; background: var(--overlay-dark-strong); }
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(7.5rem, 16vw, 10rem);
  padding-bottom: clamp(2.75rem, 6vw, 4rem);
  color: #fff;
  max-width: 880px;
  text-align: left;
}
.page-hero-content .eyebrow { color: #b6a9ff; text-align: left; }
.page-hero-content h1 {
  color: #fff;
  font-weight: 900;
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  line-height: 1.05;
  text-shadow: 0 6px 30px rgba(0,0,0,.45);
  text-align: left;
}
.page-hero-content p {
  margin-top: 1.1rem;
  color: #eae8ff;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 640px;
  text-align: left;
}
.page-hero-cta { margin-top: 1.75rem; display: flex; justify-content: flex-start; gap: 1rem; flex-wrap: wrap; }
.breadcrumb {
  position: relative; z-index: 2;
  padding-top: 6.4rem;
  font-size: .85rem;
  color: #d9d4ff;
}
.breadcrumb a { color: #fff; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ============================================================
   NAV — submenú real de Services (dropdown)
   ============================================================ */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a { display: inline-flex; align-items: center; gap: .3rem; }
.nav-item-dropdown > a svg { width: 13px; height: 13px; transition: transform .25s; }
.nav-item-dropdown:hover > a svg,
.nav-item-dropdown:focus-within > a svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  min-width: 260px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: .6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease-smooth), transform .22s var(--ease-smooth);
  z-index: 50;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 2px);
}
.dropdown-menu a {
  display: block;
  padding: .65rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .92rem !important;
  font-weight: 600;
  color: #1c1c1e !important;
}
.dropdown-menu a:hover { background: var(--color-bg-alt); }
.dropdown-menu a::after { display: none !important; }
.dropdown-menu .dropdown-all {
  border-top: 1px solid var(--color-border);
  margin-top: .4rem;
  padding-top: .75rem;
  color: var(--brand-blue) !important;
  font-weight: 700;
}

@media (max-width: 900px) {
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    background: transparent;
    box-shadow: none;
    padding: .25rem 0 .25rem 1rem;
    display: none;
  }
  .nav-item-dropdown.is-open .dropdown-menu { display: block; }
  .dropdown-menu a { color: #fff !important; font-size: 1.02rem !important; padding: .55rem 0; }
  .dropdown-menu .dropdown-all { border-top-color: rgba(255,255,255,.25); color: #fff !important; }
  .nav-item-dropdown > a { justify-content: center; }
}

/* ============================================================
   SERVICIOS RELACIONADOS (3 tarjetas, distinto del grid completo)
   ============================================================ */
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 1024px) { .related-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .related-services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   GALLERY — antes/después
   ============================================================ */
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
@media (max-width: 760px) { .before-after-grid { grid-template-columns: 1fr; } }
.ba-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.ba-images { display: grid; grid-template-columns: 1fr 1fr; }
.ba-images figure { margin: 0; position: relative; aspect-ratio: 4/3; overflow: hidden; }
.ba-images img { width: 100%; height: 100%; object-fit: cover; }
.ba-images figcaption {
  position: absolute; top: .6rem; left: .6rem;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 999px;
}
.ba-body { padding: 1.25rem 1.4rem; }
.ba-body h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.ba-body p { color: var(--color-text-muted); font-size: .9rem; margin: 0; }

.gallery-simple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .gallery-simple-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-simple-grid { grid-template-columns: 1fr; } }
.gallery-simple-grid figure {
  margin: 0; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 1/1; box-shadow: var(--shadow-card); position: relative;
}
.gallery-simple-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-smooth); }
.gallery-simple-grid figure:hover img { transform: scale(1.08); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .photo-grid { grid-template-columns: 1fr; } }
.photo-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease-smooth), box-shadow .35s var(--ease-smooth);
}
.photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.photo-card__media { aspect-ratio: 4/3; overflow: hidden; }
.photo-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-smooth); }
.photo-card:hover .photo-card__media img { transform: scale(1.08); }
.photo-card__label { padding: .9rem 1.1rem; font-weight: 700; font-size: .92rem; }

/* ============================================================
   REVIEWS
   ============================================================ */
.rating-input { display: flex; gap: .4rem; margin-bottom: 1.5rem; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-text-muted);
  transition: background .2s, border-color .2s, color .2s;
}
.rating-input input:checked + label,
.rating-input label:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}
.reviews-empty-state {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  max-width: 620px;
  margin: 0 auto 3rem;
}
.reviews-empty-state svg { width: 46px; height: 46px; color: var(--brand-blue); margin-bottom: 1rem; }
.reviews-empty-state h3 { margin-bottom: .5rem; }
.reviews-empty-state p { color: var(--color-text-muted); text-align: center; }

/* ============================================================
   CONTACT PAGE — tarjetas de info
   ============================================================ */
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
@media (max-width: 760px) { .contact-info-cards { grid-template-columns: 1fr; } }
.contact-info-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.contact-info-card .icon-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.contact-info-card .icon-circle svg { width: 24px; height: 24px; color: #fff; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.contact-info-card p, .contact-info-card a { color: var(--color-text-muted); font-size: .92rem; text-align: center; }
.contact-info-card a:hover { color: var(--brand-blue); }

/* ============================================================
   INCLUDED LIST ("What's Included") — ítems alineados con
   marcador consistente en el mismo margen izquierdo
   ============================================================ */
.included-list {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
.included-list li {
  position: relative;
  padding: .55rem 0 .55rem 2rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}
.included-list li:last-child { border-bottom: none; }
.included-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
