/*
 * Casa de asistencia TTrino: hoja de estilos única.
 * Reproduce el diseño del sitio anterior (tema Enfold) sin su CSS ni su JavaScript.
 * Medidas tomadas del sitio en producción (oct-2026).
 */

:root {
    --text: #444;
    --heading: #222;
    --black: #000;
    --dark: #35383c;
    --darker: #282b2e;
    --muted: #919191;
    --border: #e1e1e1;
    --gallery: #e7e7e7;
    --accent: #09d;
    --footer-text: #e8e8e8;

    --sans: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --lato: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --serif: "Droid Serif", Georgia, "Times New Roman", serif;

    --header-h: 90px;
    --gutter: 16px;
    --content: 1100px;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1200px) { :root { --gutter: 50px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
    margin: 0;
    font: 400 16px/1.65 var(--sans);
    color: var(--text);
    background: #fff;
    padding-top: var(--header-h);
    overflow-x: hidden;
}
body.is-home { padding-top: 0; }
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--black); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--heading); margin: 0 0 .6em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: min(var(--content), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: #000; color: #fff; padding: 8px 14px; }
.skip-link:focus { top: 8px; }
.icon { width: 1em; height: 1em; flex: none; }

/* ---------- Encabezado ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--header-h);
    background: #fff;
    border-bottom: 1px solid #ebebeb;
    transition: background-color .3s, border-color .3s;
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header__logo { display: block; flex: none; }
.site-header__logo img { width: 220px; height: auto; }
.logo-light { display: none; }

.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; }
.site-nav li { position: relative; }
.site-nav a { display: block; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--black); white-space: nowrap; }
.site-nav > ul > li > a { line-height: var(--header-h); padding: 0 11px; }
.site-nav > ul > li:last-child > a { padding-right: 0; }
.site-nav > ul > li > a:hover, .site-nav a[aria-current="page"] { color: var(--muted); }
.submenu {
    list-style: none; margin: 0; padding: 0;
    position: absolute; top: 100%; left: 0; min-width: 210px;
    background: #fff; border: 1px solid #ebebeb; border-top: 2px solid var(--black);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.submenu a { padding: 12px 16px; font-weight: 400; }
.submenu a:hover { background: #f8f8f8; }
.has-children:hover > .submenu, .has-children:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }

.nav-toggle {
    display: none; align-items: center; gap: 8px;
    border: 0; background: none; font: 600 14px var(--sans); color: var(--black); cursor: pointer; padding: 10px 0;
}
.nav-toggle .icon { width: 26px; height: 26px; }

/* Home: encabezado transparente y blanco sobre el slider; al bajar se vuelve blanco. */
.js .site-header--over-hero:not(.is-solid) { background: transparent; border-color: transparent; }
.js .site-header--over-hero:not(.is-solid) .logo-dark { display: none; }
.js .site-header--over-hero:not(.is-solid) .logo-light { display: block; }
.js .site-header--over-hero:not(.is-solid) .site-nav > ul > li > a,
.js .site-header--over-hero:not(.is-solid) .nav-toggle { color: #fff; }
.js .site-header--over-hero:not(.is-solid) .site-nav > ul > li > a:hover { color: rgba(255,255,255,.75); }
.no-js body.is-home { padding-top: var(--header-h); }

@media (max-width: 1139px) {
    .site-nav > ul > li:last-child > a { padding-right: var(--gutter); }
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute; top: var(--header-h); left: 0; right: 0;
        background: #fff; border-top: 1px solid #ebebeb; box-shadow: 0 12px 20px rgba(0,0,0,.08);
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .site-nav.is-open { display: block; }
    .no-js .site-nav { display: block; position: static; }
    .site-nav > ul { flex-direction: column; padding: 8px 0; }
    .site-nav > ul > li > a { line-height: 1.4; padding: 14px var(--gutter); border-bottom: 1px solid #f0f0f0; }
    .js .site-header--over-hero:not(.is-solid) .site-nav > ul > li > a { color: var(--black); }
    .submenu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; min-width: 0; }
    .submenu a { padding: 12px calc(var(--gutter) + 18px); border-bottom: 1px solid #f0f0f0; }
    .no-js .site-header { position: static; height: auto; }
    .no-js body { padding-top: 0; }
    .no-js .site-header__inner { flex-wrap: wrap; padding: 10px 0; }
    .no-js .nav-toggle { display: none; }
}
@media (max-width: 480px) { .site-header__logo img { width: 190px; } }

/* ---------- Bloques comunes ---------- */
.section { padding: 50px 0; }
.section--tight-top { padding-top: 20px; }
.page-title { font: 300 40px/1.1 var(--lato); letter-spacing: 1px; color: var(--heading); margin: 0; }
.serif-title { font: italic 400 40px/1.1 var(--serif); letter-spacing: 1px; color: var(--heading); margin: 0; }
.serif-subtitle { font: italic 400 20px/1.3 var(--serif); color: var(--dark); margin: 10px 0 0; }
.divider { width: 50px; height: 0; border: 0; border-top: 1px solid var(--black); margin: 30px 0 30px; }
.center { text-align: center; }
.center .divider { margin-inline: auto; }
.title-block { margin-bottom: 30px; }
.title-block .divider { margin-bottom: 0; }
@media (max-width: 767px) {
    .page-title, .serif-title { font-size: 30px; }
    .serif-subtitle { font-size: 17px; }
}

.cols { display: grid; gap: 30px 60px; }
@media (min-width: 768px) {
    .cols--2 { grid-template-columns: 1fr 1fr; }
    .cols--3 { grid-template-columns: repeat(3, 1fr); }
}

.btn-block {
    display: block; text-align: center; text-decoration: none;
    background: var(--black); color: #fff; font: 400 24px/1.25 var(--sans); padding: 20px;
}
.btn-block:hover { background: #333; color: #fff; }
.btn-outline {
    display: inline-block; text-decoration: none; cursor: pointer;
    background: transparent; color: var(--heading); border: 2px solid var(--heading);
    font: 400 14px/1.2 var(--sans); padding: 15px 30px; transition: .2s;
}
.btn-outline:hover { background: var(--heading); color: #fff; }
.btn-outline--light { color: #fff; border-color: #fff; }
.btn-outline--light:hover { background: #fff; color: var(--heading); }
.page-head { padding: 90px 0 10px; }
.page-top { margin-top: 40px; }

.h4-caps { font: 600 18px/1.2 var(--lato); text-transform: uppercase; color: var(--heading); margin: 0 0 14px; }

/* Barras de valores (TTrino) */
.value-bars { margin: 40px 0 34px; }
.value-bars h3 { font: 600 16px/1.2 var(--sans); text-transform: uppercase; color: var(--black); margin: 0 0 16px; }
.value-bar { margin-bottom: 22px; }
.value-bar__label { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.value-bar__label span:first-child { font-weight: 600; color: var(--black); }
.value-bar__label span:last-child { color: var(--muted); }
.value-bar__track { height: 10px; background: #e8e8e8; margin-top: 4px; }
.value-bar__track span { display: block; height: 100%; width: 100%; background: var(--black); }

/* ---------- Home ---------- */
.hero { position: relative; height: 100vh; min-height: 420px; background: #111; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide:first-child { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
    .hero__slide { animation: hero-fade 15s infinite; }
    .hero__slide img { animation: hero-zoom 15s infinite; }
    .hero__slide:nth-child(2), .hero__slide:nth-child(2) img { animation-delay: 5s; }
    .hero__slide:nth-child(3), .hero__slide:nth-child(3) img { animation-delay: 10s; }
    .hero__slide:first-child { opacity: 0; }
}
@keyframes hero-fade { 0% { opacity: 0; } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hero-zoom { 0% { transform: scale(1); } 40% { transform: scale(1.2); } 100% { transform: scale(1.2); } }
.hero::after { content: ""; position: absolute; inset: 0 0 auto; height: 160px; background: linear-gradient(rgba(0,0,0,.45), transparent); }

.home-intro { padding: 60px 0 40px; }
.caps-list { list-style: none; margin: 0 0 14px; padding: 0; font-weight: 700; font-size: 13px; text-transform: uppercase; color: var(--black); }
.caps-list li::before { content: "• "; }
.home-intro .btn-block { margin-top: 20px; }
.assist-list { list-style: none; margin: 0; padding: 0; }
.assist-list li { display: flex; gap: 14px; align-items: center; font-weight: 700; font-size: 14px; color: var(--black); margin-bottom: 16px; }
.assist-list img { width: 58px; height: auto; }

.gabinete { padding: 40px 0 60px; }
.iconboxes { display: grid; gap: 34px 30px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 600px) { .iconboxes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 990px) { .iconboxes { grid-template-columns: repeat(3, 1fr); } }
.iconboxes li { display: flex; gap: 12px; align-items: center; font: 400 20px/1.1 var(--lato); letter-spacing: 1px; color: var(--heading); }
.iconboxes .icon { width: 22px; height: 22px; }

/* Galería sobre gris con la flecha del bloque anterior */
.gallery-band { position: relative; background: var(--gallery); padding: 15px 0 15px 15px; }
.notch { position: relative; }
.notch::after {
    content: ""; position: absolute; left: 50%; bottom: -1px; transform: translate(-50%, 100%);
    border: 22px solid transparent; border-top: 18px solid #fff; border-bottom: 0; z-index: 2;
}
.notch--black::after { border-top-color: var(--black); }
.notch--dark-up::before {
    content: ""; position: absolute; left: var(--notch-x, 50%); bottom: 0; transform: translateX(-50%);
    border: 18px solid transparent; border-bottom: 16px solid var(--dark); border-top: 0;
}
.gallery { display: grid; gap: 15px; padding-right: 15px; list-style: none; margin: 0; }
@media (min-width: 600px) { .gallery--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } }
.gallery a { position: relative; display: block; aspect-ratio: 418 / 330; overflow: hidden; background: #ccc; }
.gallery img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .35s, transform .6s; }
.gallery a:hover img, .gallery a:focus-visible img { opacity: 1; transform: scale(1.03); }

/* Visítanos (Home y Contacto) */
.visit { padding: 60px 0; }
.visit .page-title { margin-bottom: 30px; }
.visit address { font-style: normal; margin-bottom: 18px; }
.visit address strong { color: var(--black); font-weight: 600; }
.contact-links { list-style: none; padding: 0; margin: 0; }
.contact-links li { margin-bottom: 8px; }
.contact-links a { text-decoration: none; color: var(--black); }
.contact-links .phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.contact-links .icon { width: 26px; height: 26px; }
.visit h4 { font: 600 18px/1.2 var(--lato); text-transform: uppercase; color: var(--heading); margin: 28px 0 12px; }

/* ---------- Formularios ---------- */
.contact-form { position: relative; }
.form-row { display: grid; gap: 0 10px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { margin-bottom: 16px; }
.contact-form input, .contact-form textarea {
    width: 100%; font: 16px/1.4 var(--sans); color: var(--heading);
    background: transparent; border: 2px solid var(--heading); border-radius: 0;
    padding: 11px 13px; min-height: 48px;
}
.contact-form textarea { resize: vertical; min-height: 196px; }
.contact-form ::placeholder { color: #555; opacity: 1; }
.contact-form [aria-invalid="true"] { border-color: #b00020; }
.form-error { color: #b00020; font-size: 14px; margin: 4px 0 0; }
.form-status { padding: 14px 18px; margin-bottom: 18px; font-weight: 600; }
.form-status--success { background: #e9f5ec; color: #1e5c2d; border-left: 3px solid #1e5c2d; }
.form-status--error { background: #fdecee; color: #8a1020; border-left: 3px solid #b00020; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: 13px; color: #666; margin: 2px 0 14px; }
.contact-form .btn-outline { min-width: 142px; font-weight: 600; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }

.contact-form--labels label { display: block; font-weight: 700; font-size: 15px; color: #fff; margin-bottom: 6px; }
.contact-form--labels input, .contact-form--labels textarea { border-color: #fff; color: #fff; }
.contact-form--labels .btn-outline { color: #fff; border-color: #fff; }
.contact-form--labels .btn-outline:hover { background: #fff; color: var(--heading); }
.contact-form--labels .form-privacy, .contact-form--labels .form-privacy a { color: #ddd; }
.contact-form--labels .form-error { color: #ffb4bd; }
.contact-form--labels .form-row { grid-template-columns: 1fr; }

/* ---------- Mapas ---------- */
.maps { display: grid; background: var(--gallery); }
@media (min-width: 768px) { .maps { grid-template-columns: 1fr 1fr; } }
.maps__item { margin: 0; position: relative; }
.maps iframe { display: block; width: 100%; height: 420px; border: 0; }
.maps figcaption {
    position: absolute; left: 12px; top: 12px; background: #fff; color: var(--black);
    font-weight: 600; font-size: 14px; padding: 6px 12px; box-shadow: 0 1px 4px rgba(0,0,0,.25);
}

/* ---------- Pie ---------- */
.site-footer { background: var(--dark); color: var(--footer-text); }
.site-footer__grid { display: grid; gap: 30px 40px; padding: 55px 0 40px; }
@media (min-width: 600px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 990px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer__title { font: 400 17.6px/1.1 var(--lato); letter-spacing: 1px; color: #fff; margin: 0 0 10px; }
.site-footer__subtitle { font: 700 18px/1.2 var(--lato); color: #fff; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--footer-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__logo img { width: 230px; margin: 4px 0 36px; }
.site-footer address { font-style: normal; margin-bottom: 18px; }
.site-footer address strong { color: #fff; font-weight: 700; }
.site-footer__phones a { font-weight: 700; color: #fff; }
.site-footer__socket { background: var(--darker); font-size: 13px; color: #aaa; padding: 14px 0; }

/* ---------- TTrino ---------- */
.about .float-photo { float: left; width: 300px; max-width: 48%; margin: 6px 12px 8px 0; }
.about .lead { font: 300 30px/1.1 var(--lato); color: var(--heading); margin: 0 0 40px; }
.about .side-photo { width: 440px; max-width: 100%; }
.about .value-bars { clear: both; }
@media (max-width: 767px) { .about .lead { font-size: 24px; } }

/* ---------- Pestañas con imagen redonda (Rehabilitación, Instalaciones) ---------- */
.tab-titles {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px;
    list-style: none; margin: 0; padding: 30px 0 30px;
}
.tab-titles button, .tab-titles .tab-static {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    width: 120px; padding: 0 0 4px; background: none; border: 0; cursor: pointer;
    font: 400 13px/1.25 var(--sans); text-transform: uppercase; color: var(--muted); text-align: center;
}
.tab-titles img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; filter: grayscale(1); opacity: .75; transition: .25s; }
.tab-titles button:hover img, .tab-titles [aria-selected="true"] img, .tab-titles .tab-static img { filter: none; opacity: 1; }
.tab-titles [aria-selected="true"], .tab-titles .tab-static { color: var(--heading); }
.tab-titles li { position: relative; }
.js .tab-titles [aria-selected="true"]::after, .tab-titles .tab-static::after {
    content: ""; position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%);
    border: 18px solid transparent; border-bottom: 16px solid var(--dark); border-top: 0;
}
@media (max-width: 767px) { .js .tab-titles [aria-selected="true"]::after { display: none; } }
.tab-panels { background: var(--dark); color: #fff; }
.tab-panel { padding: 70px 0; }
.no-js .tab-panel + .tab-panel { border-top: 1px solid rgba(255,255,255,.12); }
.js .tab-panel[hidden] { display: none; }
.tab-panel h2 { font: 300 30px/1.1 var(--lato); color: #fff; text-transform: uppercase; margin: 0; }
.tab-panel .divider { border-color: #fff; }
.tab-panel p { color: #fff; }
.tab-panel .tagline { font-weight: 600; text-transform: uppercase; }
@media (min-width: 900px) { .tab-panel .cols { grid-template-columns: 1.6fr 1fr; } }

.icon-list { list-style: none; margin: 0; padding: 0; }
.icon-list li { display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; margin-bottom: 18px; }
.icon-list .bullet { width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; }
.icon-list .bullet .icon { width: 20px; height: 20px; }
.icon-list h3 { font: 600 18px/1.2 var(--lato); color: #fff; margin: 12px 0 4px; }
.icon-list p { margin: 0; font-size: 15px; }

/* Carrusel de fotos dentro de cada pestaña */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { list-style: none; flex: 0 0 100%; scroll-snap-align: start; }
.carousel__track a { display: block; aspect-ratio: 3 / 2; background: #222; }
.carousel__track img { width: 100%; height: 100%; object-fit: cover; }
.carousel__track .contain img { object-fit: contain; background: #fff; }
.carousel__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.carousel__nav button {
    width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
    background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.35);
}
.carousel__nav button:hover { background: rgba(255,255,255,.2); }
.no-js .carousel__nav { display: none; }

/* Galería de Instalaciones (5 columnas con título encima) */
.gallery--5 { grid-template-columns: repeat(2, 1fr); padding: 0; }
@media (min-width: 600px) { .gallery--5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 990px) { .gallery--5 { grid-template-columns: repeat(5, 1fr); } }
.gallery--5 a { aspect-ratio: 184 / 145; }
.gallery--5 img { opacity: 1; }
.gallery--5 .caption {
    position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 10px;
    font: 400 20px/1.15 var(--lato); color: #fff; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.6);
    background: rgba(0,0,0,.12); transition: background-color .3s;
}
.gallery--5 a:hover .caption { background: rgba(0,0,0,.35); }
@media (max-width: 599px) { .gallery--5 .caption { font-size: 15px; } }

/* ---------- Nuestro Proceso (línea de tiempo) ---------- */
.timeline { position: relative; list-style: none; margin: 0 auto; padding: 30px 0 10px; max-width: 1040px; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 8px; width: 1px; background: #ccc; }
.timeline > li { position: relative; padding: 0 0 50px 34px; }
.timeline > li::before { content: ""; position: absolute; left: 4px; top: 30px; width: 9px; height: 9px; border-radius: 50%; background: var(--text); }
.timeline .dash { display: block; width: 14px; border-top: 2px solid var(--accent); margin: 0 0 6px; height: 14px; }
.timeline h2 { font: 700 16px/1.65 var(--sans); color: var(--text); margin: 0 0 8px; text-transform: uppercase; }
.timeline p { font-size: 14px; color: var(--dark); text-transform: uppercase; }
.timeline picture img { width: 100%; max-width: 380px; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) {
    .timeline::before { left: 50%; }
    .timeline > li { width: 50%; padding: 0 40px 70px 0; text-align: right; }
    .timeline > li::before { left: auto; right: -5px; }
    .timeline > li:nth-child(even) { margin-left: 50%; padding: 0 0 70px 40px; text-align: left; }
    .timeline > li:nth-child(even)::before { right: auto; left: -4px; }
    .timeline > li:nth-child(odd) .dash { margin-left: auto; }
    .timeline > li:nth-child(odd) picture img { margin-left: auto; }
    .timeline > li + li { margin-top: -90px; }
}

/* ---------- Testimonios ---------- */
.videos { display: grid; gap: 40px 50px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .videos { grid-template-columns: repeat(3, 1fr); } }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--dark); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
    position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    border: 0; cursor: pointer; color: #fff; background: radial-gradient(circle at 50% 40%, #4a4e53, var(--darker));
    font: 600 17px/1.2 var(--sans); text-decoration: none;
}
.video__play:hover { color: #fff; }
.video__play .icon { width: 64px; height: 64px; color: #e62117; transition: transform .2s; }
.video__play:hover .icon { transform: scale(1.08); }
.video__note { font: 400 12px var(--sans); color: #ccc; }
.videos .video-logo img { width: 300px; margin: 26px 0 20px; }
.videos .video-caption { font-weight: 600; color: var(--black); }

/* ---------- Preguntas frecuentes ---------- */
.faq { border: 1px solid #c8c8c8; border-bottom: 0; margin: 40px 0 30px; }
.faq details { border-bottom: 1px solid #c8c8c8; }
.faq summary {
    list-style: none; cursor: pointer; padding: 10px 16px 10px 46px; position: relative; color: #333;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
    content: "+"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    width: 15px; height: 15px; display: grid; place-items: center;
    border: 1px solid #555; font: 700 14px/1 var(--sans); color: #555;
}
.faq details[open] summary::before { content: "−"; }
.faq summary:hover { background: #f8f8f8; }
.faq details > div { padding: 4px 16px 18px 46px; }
.cta-band { position: relative; background: var(--black); text-align: center; padding: 40px 0; }
.cta-band::before {
    content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
    border: 22px solid transparent; border-top: 18px solid #fff; border-bottom: 0;
}
.cta-band a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 24px; }
.cta-band a:hover { text-decoration: underline; }

/* ---------- Únete a nuestro equipo ---------- */
.photo-band { position: relative; color: #fff; background: #4a4a4a; overflow: hidden; }
.photo-band__bg { position: absolute; inset: 0; }
.photo-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.photo-band__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.photo-band__content { position: relative; max-width: 640px; margin-inline: auto; padding: 130px 0 90px; }
.photo-band h1 { font: 300 30px/1.2 var(--lato); color: #fff; text-align: center; margin: 0 0 30px; }
.photo-band .intro { text-transform: uppercase; text-align: center; margin-bottom: 30px; }

/* ---------- Páginas de texto (aviso de privacidad, 404) ---------- */
.title-bar { background: #f8f8f8; border-bottom: 1px solid #ebebeb; padding: 22px 0; }
.title-bar h1 { font: 400 18px/1.3 var(--lato); color: var(--black); margin: 0; }
.breadcrumb { font-size: 13px; color: #777; margin: 4px 0 0; }
.breadcrumb a { color: #777; }
.prose { max-width: 1100px; }
.prose h2 { font: 600 16px/1.4 var(--sans); color: var(--black); margin: 28px 0 10px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .caps { text-transform: uppercase; }

/* ---------- Visor de imágenes ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 120px); max-height: calc(100vh - 110px); width: auto; height: auto; object-fit: contain; }
.lightbox__caption { position: fixed; bottom: 16px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; margin: 0; }
.lightbox button {
    position: fixed; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
    background: rgba(255,255,255,.1); color: #fff; border: 0;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .icon { width: 24px; height: 24px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox img { max-width: 100vw; } .lightbox__prev, .lightbox__next { top: auto; bottom: 50px; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
