/* =====================================================
   CARILLAS.CSS — Smile Studio
   ===================================================== */

/* ── HERO ── */
.treatment-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter) var(--gutter) clamp(3rem, 6vh, 4rem);
  color: white;
}

.treatment-hero__media {
  position: absolute;
  inset: 0;
}

.treatment-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}

.treatment-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.45) 50%,
    rgba(10, 10, 10, 0.15) 100%
  );
}

.treatment-hero__content {
  position: relative;
  z-index: 2;
}

.treatment-hero__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  margin-bottom: 1rem;
  color: white;
}

.treatment-hero__sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.treatment-hero .tag {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  position: absolute;
  top: calc(80px + 1.5rem);
  left: var(--gutter);
  z-index: 2;
}

.breadcrumb ol {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 0.75rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: white;
}

/* ── INTRO ── */
.treatment-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: clamp(4rem, 8vh, 7rem) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.treatment-intro h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--text-3xl);
  margin-bottom: 1.5rem;
}

.treatment-intro p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

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

.treatment-intro__benefits li {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-800);
}

.treatment-intro__benefits li::before {
  content: '—';
  margin-right: 0.75rem;
  color: var(--gray-400);
}

.treatment-intro__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: grayscale(10%);
  display: block;
}

/* ── TYPES ── */
.treatment-types {
  background: var(--off-white);
  padding: clamp(4rem, 8vh, 7rem) 0;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.type-card {
  background: white;
  padding: 2.5rem;
  border-top: 2px solid var(--gray-200);
  transition: border-color var(--duration-base) ease;
}

.type-card--featured {
  border-top-color: var(--black);
}

.type-card:hover {
  border-top-color: var(--black);
}

.type-card__badge {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  display: block;
  margin-bottom: 0.5rem;
}

.type-card__name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--text-2xl);
  margin-bottom: 0.35rem;
}

.type-card__duration {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.type-card__desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

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

.type-card__pros li {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
}

.type-card__pros li::before {
  content: '✓';
  margin-right: 0.75rem;
  color: var(--gray-400);
}

/* ── FAQ ── */
.faq {
  background: var(--off-white);
  padding: clamp(4rem, 8vh, 7rem) 0;
}

.faq__list {
  margin-top: 0;
}

.faq__item {
  border-bottom: 1px solid var(--gray-200);
}

.faq__question {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  list-style: none;
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-family: var(--font-serif);
  font-size: 1.5rem;
  transition: transform 300ms ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

details[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray-600);
  padding-bottom: 1.5rem;
  max-width: 680px;
}

.faq__answer p {
  margin: 0;
}

/* ── CTA FINAL (reutiliza estilos de home) ── */
.cta-final {
  background: var(--black);
  padding: clamp(5rem, 10vh, 8rem) var(--gutter);
  text-align: center;
  color: white;
}

.cta-final__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: white;
  margin-bottom: 1.25rem;
}

.cta-final .tag {
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.cta-final__subtitle {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-final__trust {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1023px) {
  .types-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .treatment-intro__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .treatment-intro__image img {
    height: 320px;
  }

  .breadcrumb {
    top: calc(70px + 1rem);
  }
}
