/* Bohemia Studio: old money, negro y dorado. SOP: architecture/sop_web.md */
:root {
  --negro: #0E0E0E;
  --carbon: #1A1A1A;
  --carbon-2: #232120;
  --dorado: #C9A646;
  --dorado-claro: #E4CF8F;
  --marfil: #F7F3EA;
  --marfil-2: #EFE8DA;
  --texto: #2A2622;
  --texto-suave: #6E665C;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.7; color: var(--texto); background: var(--marfil); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h3 { font-size: 1.6rem; }
em { font-style: italic; }

.eyebrow { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--dorado); margin: 0 0 1rem; }
.rule { display: block; width: 64px; height: 1px; background: var(--dorado); margin: 1.6rem auto; }
.rule--left { margin-left: 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; padding: 1rem 2rem; border: 1px solid var(--dorado); transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); cursor: pointer; text-align: center; }
.btn--gold { background: var(--dorado); color: var(--negro); }
.btn--gold:hover { background: transparent; color: var(--dorado); }
.btn--ghost { background: transparent; color: var(--dorado); }
.btn--ghost:hover { background: var(--dorado); color: var(--negro); }
.btn--sm { padding: .6rem 1.2rem; font-size: .66rem; }
.btn--line { background: transparent; color: var(--texto); border-color: var(--texto); padding: .7rem 1.3rem; font-size: .66rem; }
.btn--line:hover { background: var(--negro); color: var(--dorado); border-color: var(--negro); }

/* Navegación */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 1.3rem clamp(1.2rem, 4vw, 3rem); transition: background .5s var(--ease), padding .5s var(--ease); }
.nav.is-solid { background: rgba(14, 14, 14, .94); backdrop-filter: blur(8px); padding-top: .8rem; padding-bottom: .8rem; box-shadow: 0 1px 0 rgba(201, 166, 70, .25); }
/* Logo horizontal (piña + nombre al lado), PNG con fondo transparente */
.nav__logo { display: block; line-height: 0; position: relative; z-index: 2; }
.nav__logo img { display: block; height: 64px; width: auto; transition: height .5s var(--ease); }
.nav.is-solid .nav__logo img { height: 48px; }
@media (max-width: 900px) {
  .nav__logo img { height: 48px; }
  .nav.is-solid .nav__logo img { height: 40px; }
}
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu a:not(.btn) { color: var(--marfil); text-decoration: none; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; position: relative; }
.nav__menu a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--dorado); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__menu a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; background: none; border: 0; width: 34px; height: 22px; position: relative; cursor: pointer; }
.nav__toggle span { position: absolute; left: 0; width: 100%; height: 1px; background: var(--dorado); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__toggle span:first-child { top: 6px; }
.nav__toggle span:last-child { top: 15px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 10px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 10px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: .9fr 1.1fr; background: var(--negro); color: var(--marfil); overflow: hidden; }
.hero__media { grid-column: 2; grid-row: 1; position: relative; overflow: hidden; }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 47% center; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--negro) 0%, rgba(14, 14, 14, 0) 30%), linear-gradient(0deg, rgba(14, 14, 14, .45) 0%, rgba(14, 14, 14, 0) 25%); pointer-events: none; }
.hero__content { grid-column: 1; grid-row: 1; align-self: center; padding: 8rem clamp(1.5rem, 6vw, 6rem) 5rem; position: relative; z-index: 2; }
.hero__title { font-size: clamp(4rem, 10vw, 8.5rem); font-weight: 400; line-height: .9; }
.hero__title em { color: var(--dorado); }
.hero__firma { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.45rem); color: var(--dorado-claro); margin: 1.2rem 0 0; }
.hero .rule { margin: 2rem 0; }
.hero__lead { font-size: 1rem; color: rgba(247, 243, 234, .8); max-width: 26rem; margin: 0 0 2.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 2rem; width: 1px; height: 56px; background: rgba(201, 166, 70, .3); overflow: hidden; z-index: 3; }
.hero__scroll span { position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--dorado); animation: scrollLine 2.2s var(--ease) infinite; }

@keyframes scrollLine { to { top: 100%; } }

/* Secciones */
.section { padding: clamp(5rem, 11vw, 9rem) clamp(1.2rem, 5vw, 3rem); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section--dark { background: var(--negro); color: var(--marfil); }
.section__head { text-align: center; margin-bottom: 3.5rem; }
.section__sub { color: var(--texto-suave); max-width: 34rem; margin: 0 auto; }

/* Servicios */
.menu { list-style: none; margin: 0; padding: 0; }
.menu__item { padding: 1.7rem 0 1.6rem; border-bottom: 1px solid rgba(14, 14, 14, .09); transition: transform .5s var(--ease); }
.menu__item:hover { transform: translateX(6px); }
.menu__linea { display: flex; align-items: baseline; gap: .9rem; }
.menu__linea h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 0; color: var(--texto); line-height: 1.15; }
.menu__puntos { flex: 1; min-width: 1.5rem; border-bottom: 1px dotted rgba(201, 166, 70, .55); transform: translateY(-.35em); transition: border-color .4s; }
.menu__item:hover .menu__puntos { border-bottom-color: var(--dorado); }
.menu__precio { font-family: var(--serif); font-size: 1.4rem; color: var(--dorado); white-space: nowrap; }
.menu__precio--consultar { font-style: italic; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s; }
.menu__precio--consultar:hover { border-bottom-color: var(--dorado); }
.menu__desc { color: var(--texto-suave); font-size: .92rem; margin: .55rem 0 1rem; max-width: 34rem; }
.menu__meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.menu__dur { font-family: var(--sans); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--texto-suave); }
.menu__dur em { font-family: var(--serif); font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--dorado); margin-left: .9rem; }
.menu__dur:empty { display: none; }
.menu__cta { font-family: var(--sans); font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--texto); text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid var(--dorado); transition: color .3s, letter-spacing .4s var(--ease); white-space: nowrap; }
.menu__cta::after { content: " →"; color: var(--dorado); }
.menu__cta:hover { color: var(--dorado); letter-spacing: .28em; }
.nota-precios { text-align: center; font-size: .82rem; color: var(--texto-suave); margin-top: 2.5rem; }
.cargando { text-align: center; color: var(--texto-suave); font-style: italic; }

/* Sobre Nataly */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; max-width: none; }
.about > * { margin: 0; }
.about__fotos { position: relative; aspect-ratio: 4 / 5; max-width: 520px; width: 100%; justify-self: end; }
.about__foto { position: absolute; object-fit: cover; }
.about__foto--a { inset: 0 18% 12% 0; width: 82%; height: 88%; }
.about__foto--b { right: 0; bottom: 0; width: 52%; height: 42%; border: 6px solid var(--negro); outline: 1px solid var(--dorado); outline-offset: -14px; }
.about__texto { max-width: 30rem; }
.about__texto p:not(.eyebrow) { color: rgba(247, 243, 234, .78); }
.about__texto .btn { margin-top: 1.5rem; }

/* Galería */
.filtros { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filtro { background: none; border: 0; font-family: var(--sans); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--texto-suave); cursor: pointer; padding: .3rem 0; border-bottom: 1px solid transparent; }
.filtro.is-active, .filtro:hover { color: var(--texto); border-bottom-color: var(--dorado); }
/* Galería: la piña del logo (ver architecture/sop_web.md §4) */
.section--carbon { background: var(--carbon); color: var(--marfil); }
.section--carbon .filtro { color: rgba(247, 243, 234, .55); }
.section--carbon .filtro.is-active, .section--carbon .filtro:hover { color: var(--marfil); }
.section--carbon .credito a { color: rgba(247, 243, 234, .6); }
.pina-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); max-width: var(--max); margin: 0 auto; }
.pina-lienzo { grid-column: 2; width: min(360px, calc((100vh - 140px) / 1.82)); }
.pina-lienzo svg { display: block; width: 100%; height: auto; overflow: visible; }
.pina__hojas path { fill: url(#pina-oro); cursor: pointer; }
.pina__celdas path { fill: url(#pina-oro); fill-opacity: 1; stroke: #F5E7B5; stroke-width: 0; stroke-opacity: 0; outline: none;
  transition: fill-opacity .7s var(--ease), opacity .5s, stroke-opacity .4s; }
.pina__celdas .is-activa { cursor: pointer; animation: destello 9s ease-in-out infinite; }
.pina__celdas .is-activa:hover, .pina__celdas .is-activa:focus-visible { fill: #F1E3B0; }
.pina__celdas .is-off { opacity: .28; cursor: default; animation: none; }
.pina__fotos image { transition: opacity .9s var(--ease); }
.pina__brillo { pointer-events: none; }
.pina__brillo rect { transform-box: fill-box; animation: luz 7s cubic-bezier(.45, 0, .55, 1) infinite; }
/* Con foto: el oro se desvanece en onda y la retícula queda como marco */
.con-foto .pina__celdas path { fill-opacity: 0; animation: none; }
.con-foto .pina__celdas .is-activa:hover { fill-opacity: .25; }
.con-foto .pina__celdas .is-sel { stroke-width: 1.4; stroke-opacity: 1; stroke: var(--dorado); }
.con-foto .pina__brillo rect { opacity: .35; }
@keyframes luz { 0% { transform: translateX(-110%); } 50%, 100% { transform: translateX(200%); } }
@keyframes destello { 0%, 88%, 100% { stroke-width: 0; stroke-opacity: 0; } 94% { stroke-width: 1.2; stroke-opacity: .9; } }
.pina-panel { grid-column: 3; max-width: 20rem; }
.pina-panel h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--marfil); margin: 0 0 .8rem; line-height: 1.15; }
.pina-panel p:not(.eyebrow) { color: rgba(247, 243, 234, .72); margin: 0 0 1.6rem; min-height: 3em; }
.pina-acciones { display: flex; gap: .8rem; flex-wrap: wrap; }
.pina-acciones[hidden] { display: none; }
@media (max-width: 900px) {
  .pina-wrap { grid-template-columns: 1fr; text-align: center; }
  .pina-lienzo { grid-column: 1; justify-self: center; width: min(70vw, 300px, calc((100svh - 260px) / 1.82)); }
  .pina-panel { grid-column: 1; justify-self: center; }
  .pina-acciones { justify-content: center; }
}
.credito { text-align: center; margin-top: 2rem; font-size: .8rem; letter-spacing: .1em; }
.credito a { color: var(--texto-suave); text-decoration: none; border-bottom: 1px solid var(--dorado); padding-bottom: 2px; }

/* Testimonios */
.testimonios { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.testimonio { text-align: center; padding: 1rem 1.5rem; }
.testimonio::before { content: "“"; display: block; font-family: var(--serif); font-size: 5rem; line-height: .6; color: var(--dorado); margin-bottom: .8rem; }
.testimonio blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.5; color: var(--marfil); }
.testimonio figcaption { margin-top: 1.2rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dorado); }
.testimonio img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 1px solid var(--dorado); }
.reviews-google { text-align: center; margin-top: 3rem; font-size: .75rem; }
.reviews-google a { color: rgba(247, 243, 234, .55); text-decoration: none; border-bottom: 1px solid rgba(201, 166, 70, .4); }

/* Agenda */
.agenda { background: var(--marfil-2); }
.agenda__cal { background: #fff; min-height: 420px; border: 1px solid rgba(201, 166, 70, .35); padding: 1rem; overflow: auto; }
.agenda__fallback { text-align: center; padding: 4rem 1rem; }
.agenda__fallback p { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 1.5rem; }
.politicas { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.politicas li { font-size: .88rem; color: var(--texto-suave); padding-left: 1.6rem; position: relative; }
.politicas li::before { content: "◆"; position: absolute; left: 0; top: .05rem; color: var(--dorado); font-size: .7rem; }

/* Ubicación */
.ubicacion { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: none; }
.ubicacion > * { margin: 0; }
.ubicacion__info { justify-self: end; max-width: 28rem; }
.ubicacion__lugar { font-family: var(--serif); font-size: 1.5rem; color: var(--dorado-claro); margin: 0 0 1rem; }
.ubicacion__indicaciones { color: rgba(247, 243, 234, .78); white-space: pre-line; }
.horario { margin: 1.5rem 0; font-size: .9rem; color: rgba(247, 243, 234, .78); }
.horario dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.5rem; margin: 0; }
.horario dt { color: var(--dorado); }
.horario dd { margin: 0; }
.ubicacion__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.ubicacion__mapa { aspect-ratio: 4 / 3; border: 1px solid rgba(201, 166, 70, .4); padding: 8px; max-width: 640px; width: 100%; }
.ubicacion__mapa iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(1.02); transition: filter .6s; }
.ubicacion__mapa:hover iframe { filter: none; }

/* Pie */
.footer { background: var(--carbon); color: rgba(247, 243, 234, .6); text-align: center; padding: 4rem 1.5rem 6rem; border-top: 1px solid rgba(201, 166, 70, .25); }
.footer__logo { font-family: var(--serif); font-size: 2rem; color: var(--marfil); margin: 0; }
.footer__logo span { color: var(--dorado); font-style: italic; }
.footer__firma { font-family: var(--serif); font-style: italic; color: var(--dorado-claro); margin: .2rem 0 2rem; }
.footer__links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.footer__links a { text-decoration: none; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; }
.footer__links a:hover { color: var(--dorado); }
.footer__small { font-size: .72rem; margin: 0; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--negro); color: var(--dorado); border: 1px solid var(--dorado); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); transition: transform .4s var(--ease), background .4s, color .4s; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); background: var(--dorado); color: var(--negro); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(14, 14, 14, .95); display: grid; place-items: center; padding: 2rem; animation: fade .4s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 92vw; object-fit: contain; }
.lightbox__close { position: absolute; top: 1rem; right: 1.4rem; background: none; border: 0; color: var(--dorado); font-size: 2.6rem; cursor: pointer; line-height: 1; }

/* Animaciones de aparición */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 900px) {
  .nav__toggle { display: block; z-index: 2; }
  .nav__menu { position: fixed; inset: 0; background: var(--negro); flex-direction: column; justify-content: center; gap: 2.2rem; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
  .nav__menu.is-open { opacity: 1; pointer-events: auto; }
  .nav__menu a:not(.btn) { font-size: .9rem; }
  .hero { grid-template-columns: 1fr; }
  .hero__media { grid-column: 1; grid-row: 1; position: absolute; inset: 0; opacity: .78; }
  .hero__media video { object-position: 36% center; }
  .hero__media::after { background: linear-gradient(0deg, var(--negro) 22%, rgba(14, 14, 14, .55) 55%, rgba(14, 14, 14, .05) 85%); }
  .hero__content { align-self: end; padding-bottom: 6rem; }
  .about, .ubicacion { grid-template-columns: 1fr; }
  .about__fotos { justify-self: center; }
  .ubicacion__info { justify-self: start; }
}
@media (max-width: 520px) {
  .menu__linea h4 { font-size: 1.35rem; }
  .menu__precio { font-size: 1.2rem; }
  .btn { padding: .95rem 1rem; letter-spacing: .16em; font-size: .68rem; }
  .hero__cta .btn { flex: 1; }
}

/* Servicios: banner de 3 fotos de gran formato (una por servicio) + detalle que se despliega debajo.
   Clic en un panel → ese panel se agranda y cambia a otra foto; los otros quedan como franjas. */
.triptico { display: flex; max-width: none; height: min(78vh, 760px); margin: 0 calc(-1 * clamp(1.2rem, 5vw, 3rem)); background: var(--negro); overflow: hidden; scroll-margin-top: 60px; transition: height 1s var(--ease); }
.triptico.is-open { height: min(66vh, 640px); }
.triptico > .cargando { margin: auto; color: rgba(247, 243, 234, .6); }
.triptico__panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; margin: 0; padding: 0; border: 0; background: none; font: inherit; text-align: left; color: var(--marfil); cursor: pointer; transition: flex-grow 1s var(--ease); }
.triptico__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); filter: brightness(.82); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease), filter 1s var(--ease); }
.triptico__panel img.is-on { opacity: 1; }
.triptico__panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(14,14,14,.82) 0%, rgba(14,14,14,.25) 38%, rgba(14,14,14,0) 60%); }
.triptico__panel + .triptico__panel::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: 2; width: 1px; background: rgba(201,166,70,.45); }
.triptico__txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(1.4rem, 3vw, 2.6rem); display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.triptico__num { font-size: .66rem; letter-spacing: .3em; color: var(--dorado); }
.triptico__nombre { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1; }
.triptico__ver { font-size: .68rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--dorado-claro); border-bottom: 1px solid currentColor; padding-bottom: .2rem; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.triptico__ver::after { content: " →"; }
.ver--cerrar, .is-sel .ver--abrir { display: none; }
.is-sel .ver--cerrar { display: inline; }
.is-sel .triptico__ver::after { content: " ×"; }
@media (hover: hover) {
  .triptico:not(.is-open):hover .triptico__panel { flex-grow: .8; }
  .triptico:not(.is-open):hover .triptico__panel:hover { flex-grow: 1.5; }
  .triptico__panel:hover img { transform: scale(1); filter: brightness(.95); }
  .triptico__panel:hover .triptico__ver { opacity: 1; transform: none; }
}
@media (hover: none) { .triptico__ver { opacity: 1; transform: none; } }
.triptico__panel:focus-visible { outline: 1px solid var(--dorado); outline-offset: -6px; }

/* Abierto: el elegido ocupa casi todo; los otros quedan como franjas con el nombre en vertical */
.triptico.is-open .triptico__panel { flex-grow: .55; }
.triptico.is-open .triptico__panel.is-sel { flex-grow: 1.9; }
.triptico.is-open .triptico__panel.is-sel img { transform: scale(1); filter: brightness(.95); }
.triptico.is-open .triptico__panel:not(.is-sel) img { filter: brightness(.5) saturate(.7); }
.triptico.is-open .triptico__panel:not(.is-sel):hover img { filter: brightness(.75); }
.triptico.is-open .triptico__panel.is-sel .triptico__ver { opacity: 1; transform: none; }
.triptico.is-open .triptico__panel:not(.is-sel) .triptico__txt { align-items: center; padding-left: 0; padding-right: 0; }
.triptico.is-open .triptico__panel:not(.is-sel) .triptico__nombre { writing-mode: vertical-rl; transform: rotate(180deg); font-size: clamp(1.1rem, 2.2vw, 1.9rem); }
.triptico.is-open .triptico__panel:not(.is-sel) .triptico__ver { display: none; }

/* Detalle desplegable: tipos del servicio elegido con su descripción */
.detalle { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s var(--ease); }
.detalle.is-open { grid-template-rows: 1fr; }
.detalle__in { min-height: 0; overflow: hidden; }
.detalle__grupo { padding-top: clamp(2.5rem, 5vw, 4rem); animation: fadeUp .8s var(--ease); }
.detalle__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 1.5rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--dorado); }
.detalle__num { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dorado); }
.detalle__head h3 { font-style: italic; font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); margin: .4rem 0 .6rem; }
.detalle__head p { margin: 0; max-width: 34rem; color: var(--texto-suave); }
.detalle__cerrar { margin-top: .2rem; padding: 0 0 4px; border: 0; border-bottom: 1px solid var(--dorado); background: none; cursor: pointer; font-family: var(--sans); font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--texto); white-space: nowrap; }
.detalle__cerrar span { color: var(--dorado); font-size: 1rem; line-height: 0; margin-left: .2rem; }
.detalle__cerrar:hover { color: var(--dorado); }
.detalle .menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2.5rem, 5vw, 5rem); }

@media (max-width: 900px) {
  .triptico { height: min(62vh, 520px); }
  .triptico.is-open { height: min(60vh, 520px); }
}
@media (max-width: 760px) { .detalle .menu { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .triptico { height: 72vw; min-height: 260px; }
  .triptico.is-open { height: 96vw; }
  .triptico.is-open .triptico__panel { flex-grow: .5; }
  .triptico.is-open .triptico__panel.is-sel { flex-grow: 2.8; }
  .triptico__txt { padding: .9rem .7rem; gap: .25rem; }
  .triptico__nombre { font-size: 1.15rem; }
  .triptico.is-open .triptico__panel.is-sel .triptico__nombre { font-size: 1.8rem; }
  .triptico.is-open .triptico__panel:not(.is-sel) .triptico__nombre { font-size: 1rem; }
  .triptico__num { font-size: .55rem; }
  .triptico__ver { font-size: .52rem; letter-spacing: .14em; }
  .detalle__head h3 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { .triptico, .triptico__panel, .triptico__panel img, .detalle { transition: none; } }
