/* Noches del Sobrarbe — propuesta visual local, 16 septiembre 2026.
   Cargar después de styles.css y añadir nds-refresh al body.
   Desactivar quitando esa clase; los estilos originales se conservan. */
.nds-refresh {
  --night: #071a33;
  --deep: #071a33;
  --night-850: #102a45;
  --ink: #071a33;
  --warm: #f7f4e9;
  --paper: #f7f4e9;
  --stone: #e5e9ef;
  --muted: #4b5868;
  --amber: #d4af37;
  --gold: #d4af37;
  --amber-dark: #745717;
  --green: #2f4e6b;
  --green-dark: #213b56;
  --line: rgba(7,26,51,.16);
  --soft-shadow: 0 6px 24px rgba(7,26,51,.05);
  --shadow: 0 12px 32px rgba(7,26,51,.12);
  background: var(--warm);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
}
.nds-refresh :is(h1,h2,h3) { text-wrap: balance; }
.nds-refresh :is(p,li) { overflow-wrap: break-word; }
.nds-refresh :is(section,[id]) { scroll-margin-top: 100px; }
.nds-refresh :focus-visible { outline: 3px solid #2f4e6b; outline-offset: 4px; }
.nds-refresh :is(.hero,.dark,.green,.site-footer) :focus-visible { outline-color: #f7f4e9; }
.nds-refresh .site-header {
  background: #f7f4e9;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}
.nds-refresh .header-inner { min-height: 80px; padding: 12px 24px; }
.nds-refresh .brand { color: var(--ink); min-width: 0; }
.nds-refresh .brand small { color: var(--muted); }
.nds-refresh .site-nav { background: var(--warm); border-color: var(--line); }
.nds-refresh .site-nav a { color: var(--ink); font-size: 15px; font-weight: 600; }
.nds-refresh .site-nav a:hover { color: #745717; }
.nds-refresh .site-nav a.is-active { color: var(--ink); background: rgba(212,175,55,.16); }
.nds-refresh .nav-toggle { color: var(--ink); border-color: var(--line); min-height: 44px; }
.nds-refresh :is(.button,.nav-cta) {
  min-height: 48px;
  background: var(--amber);
  color: var(--night);
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  font-size: 16px;
  font-weight: 650;
  padding: 12px 22px;
  line-height: 1.4;
  transition: background-color .18s ease, border-color .18s ease;
}
.nds-refresh .button:hover { transform: none; box-shadow: none; background: #e1bf51; }
.nds-refresh .button.secondary { background: transparent; color: var(--ink); border-color: #2f4e6b; }
.nds-refresh :is(.hero,.page-hero,.dark,.green) .button.secondary { color: var(--warm); border-color: #b9c5d3; }
.nds-refresh .button.dark { background: var(--night); color: var(--warm); }
.nds-refresh .button.dark:hover { background: #2f4e6b; }
.nds-refresh .hero { min-height: 580px; align-items: center; }
.nds-refresh .hero::before {
  background: linear-gradient(90deg,rgba(7,26,51,.94),rgba(7,26,51,.8) 42%,rgba(7,26,51,.14) 100%);
}
.nds-refresh .hero-content { padding: 80px 0; }
.nds-refresh :is(.hero,.page-hero) h1 {
  max-width: 640px;
  font-size: clamp(36px,4.8vw,64px);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 24px;
}
.nds-refresh .hero .lead { max-width: 570px; font-size: 20px; line-height: 1.65; color: #f0f1f4; }
.nds-refresh .visit-eyebrow { color: inherit; font-size: 13px; letter-spacing: .13em; margin-bottom: 20px; }
.nds-refresh .hero .visit-eyebrow { color: #e5c967; }
.nds-refresh .hero-facts { color: #d2dce7; font-size: 15px; margin: 24px 0 0; }
.nds-refresh .actions { gap: 12px; margin-top: 28px; }
.nds-refresh .section { padding: 88px 24px; background: var(--warm); }
.nds-refresh .section.dark { background: var(--night); color: var(--warm); }
.nds-refresh .section.green { background: var(--green); color: var(--warm); }
.nds-refresh .section h2 { font-size: clamp(28px,3vw,40px); line-height: 1.18; margin-bottom: 24px; }
.nds-refresh .section h3 { font-size: 22px; line-height: 1.3; }
.nds-refresh .section p { max-width: 65ch; }
.nds-refresh .media-grid { gap: 48px; }
.nds-refresh .media-frame { margin: 0; border-radius: 12px; box-shadow: none; }
.nds-refresh .card { border-radius: 12px; box-shadow: none; border-color: var(--line); padding: 28px; }
.nds-refresh .experience-card { padding: 0; }
.nds-refresh .experience-card > div { padding: 28px; }
.nds-refresh .text-link { color: #2f4e6b; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.nds-refresh :is(.dark,.green) .text-link { color: var(--warm); }
.nds-refresh .dark .card { border-color: rgba(255,255,255,.2); }
.nds-refresh .trust-strip { background: #fff; }
.nds-refresh .trust-inner { padding: 24px; }
.nds-refresh .trust-points strong { font-size: 13px; }
.nds-refresh .trust-points small { font-size: 15px; }
/* A single experience becomes an editorial split instead of a huge card. */
.nds-refresh .skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 18px; background: white; color: #071a33; transform: translateY(-180%); }
.nds-refresh .skip-link:focus { transform: translateY(0); }
.nds-refresh .editorial-hero { background: var(--night); color: var(--warm); padding: 64px 24px; }
.nds-refresh .editorial-hero__grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.nds-refresh .editorial-hero h1 { font-family: var(--font-display); font-size: clamp(36px,4.4vw,60px); line-height: 1.12; font-weight: 600; margin: 0 0 24px; max-width: 18ch; }
.nds-refresh .editorial-hero .lead { max-width: 60ch; color: #e5e9ef; font-size: 20px; }
.nds-refresh .editorial-hero figure { margin: 0; }
.nds-refresh .editorial-hero img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.nds-refresh .modality-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.nds-refresh .modality-grid .card { display: flex; flex-direction: column; align-items: flex-start; }
.nds-refresh .modality-grid .card .button { margin-top: auto; }
.nds-refresh .modality-grid ul { margin-bottom: 28px; padding-left: 22px; }
.nds-refresh .facts-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-bottom: 64px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.nds-refresh .facts-grid span { display: block; font-size: 16px; color: var(--muted); margin-top: 8px; }
.nds-refresh .story-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 56px; padding-left: 26px; }
.nds-refresh .story-steps li { padding-left: 12px; }
.nds-refresh .story-steps li::marker { color: var(--amber); }
.nds-refresh .reading-copy { max-width: 780px; }
.nds-refresh .reading-copy h2:not(:first-child) { margin-top: 48px; }
.nds-refresh .photo-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.nds-refresh .photo-gallery figure { margin: 0; }
.nds-refresh .photo-gallery figure:first-child { grid-column: 1 / -1; }
.nds-refresh .photo-gallery img { width: 100%; height: auto; border-radius: 12px; }
.nds-refresh figcaption { font-size: 15px; color: var(--muted); margin-top: 12px; }
.nds-refresh .collaboration-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.nds-refresh .collaboration-grid h2 { font-size: 28px; }
.nds-refresh .collaboration-grid .button { font-size: 15px; padding: 12px 16px; }
.nds-refresh .table-wrap { max-width: 680px; overflow: auto; margin: 32px 0; }
.nds-refresh table { border-collapse: collapse; width: 100%; text-align: left; }
.nds-refresh :is(th,td) { padding: 12px; border-bottom: 1px solid var(--line); }
.nds-refresh caption { text-align: left; font-size: 15px; margin-bottom: 12px; }
.nds-refresh .review-note { background: #fff9e8; border: 1px solid #c4b17c; border-left: 4px solid var(--amber); padding: 24px; border-radius: 8px; margin: 24px 0; color: var(--ink); }
.nds-refresh .review-note h2 { font-size: 26px; }
.nds-refresh .faq { max-width: 850px; }
.nds-refresh .faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.nds-refresh .faq summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.nds-refresh .request-layout { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: 48px; align-items: start; }
.nds-refresh .request-layout aside { min-width: 0; }
.nds-refresh .request-layout aside a { overflow-wrap: anywhere; }
.nds-refresh .request-fieldset { min-width: 0; border: 0; padding: 24px 0; margin: 16px 0; border-top: 1px solid var(--line); }
.nds-refresh .request-fieldset legend { font-family: var(--font-display); font-size: 24px; padding: 0 12px 0 0; }
.nds-refresh .local-request > .field { margin-bottom: 24px; }
.nds-refresh .local-request .checkbox { align-items: start; margin-top: 24px; }
.nds-refresh .local-request input[type=checkbox] { width: 20px; min-height: 20px; flex: 0 0 20px; margin-top: 4px; }
.nds-refresh .local-request [hidden] { display: none !important; }
.nds-refresh [data-request-error] { color: #8b2525; }
.nds-refresh .legal-content { max-width: none; }
.nds-refresh .legal-content .container { max-width: 780px; }
.nds-refresh .page-hero { min-height: 0; padding: 64px 24px; }
.nds-refresh .brand-logo { border-radius: 50%; }
@media (max-width: 1100px) {
  .nds-refresh .nav-toggle { display: inline-flex; }
  .nds-refresh .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 16px 24px; }
  .nds-refresh .site-nav.is-open { display: flex; }
  .nds-refresh .collaboration-grid { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .nds-refresh #experiencias .experience-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .nds-refresh #experiencias .experience-card > img { aspect-ratio: 4/3; height: 100%; object-fit: cover; }
  .nds-refresh #experiencias .experience-card > div { padding: 40px; }
}
.nds-refresh :is(.form-card,.form-section) { border-radius: 12px; background: #fff; border-color: var(--line); box-shadow: none; }
.nds-refresh :is(input,select,textarea):not([type=checkbox]):not([type=radio]) { min-height: 48px; border-radius: 8px; font-size: 17px; }
.nds-refresh .field { gap: 8px; }
.nds-refresh .form-grid { gap: 24px; }
.nds-refresh .site-footer { background: var(--night); color: var(--warm); }
@media (max-width: 767px) {
  .nds-refresh .editorial-hero { padding: 40px 20px; }
  .nds-refresh .editorial-hero__grid, .nds-refresh .modality-grid, .nds-refresh .story-steps, .nds-refresh .facts-grid, .nds-refresh .request-layout, .nds-refresh .photo-gallery { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .nds-refresh .facts-grid { margin-bottom: 40px; }
  .nds-refresh .photo-gallery figure:first-child { grid-column: auto; }
  .nds-refresh .form-grid.two { grid-template-columns: minmax(0,1fr); }
  .nds-refresh { font-size: 17px; }
  .nds-refresh .header-inner { min-height: 72px; padding: 12px 20px; gap: 12px; }
  .nds-refresh .brand-logo { width: 42px; height: 42px; }
  .nds-refresh .brand { font-size: 15px; }
  .nds-refresh .brand small { font-size: 12px; }
  .nds-refresh .hero { display: flex; flex-direction: column; min-height: 0; align-items: stretch; }
  .nds-refresh .hero::before { display: none; }
  .nds-refresh .hero img.hero-media { position: relative; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
  .nds-refresh .hero-content { width: 100%; padding: 32px 20px 40px; }
  .nds-refresh .hero h1 { font-size: clamp(34px,8.8vw,42px); }
  .nds-refresh .hero .lead { font-size: 18px; }
  .nds-refresh .section { padding: 56px 20px; }
  .nds-refresh .media-grid { gap: 28px; }
  .nds-refresh .cards { grid-template-columns: minmax(0,1fr); }
  .nds-refresh .trust-inner { padding: 20px; }
  .nds-refresh .trust-points { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .nds-refresh .trust-points article { border: 0; padding: 8px 0; }
  .nds-refresh .actions .button { width: 100%; }
}
.nds-refresh .site-header { background: #fff; }
.nds-refresh .header-inner { min-height: 96px; padding-top: 6px; padding-bottom: 6px; }
.nds-refresh .brand-principal { flex: 0 0 auto; background: #fff; }
.nds-refresh .brand-principal .brand-logo { display: block; width: 126px; height: 84px; max-width: none; object-fit: contain; border-radius: 0; }
@media (max-width: 767px) {
  .nds-refresh .header-inner { min-height: 88px; }
  .nds-refresh .brand-principal .brand-logo { width: 114px; height: 76px; }
}
/* Kit de marca: archivos individuales, sin recortes de la lámina. */
.nds-refresh .brand-horizontal { flex: 0 0 auto; }
.nds-refresh .brand-kit-horizontal { display: block; width: 180px; max-height: 68px; height: auto; object-fit: contain; }
.nds-refresh .header-inner { min-height: 80px; }
.nds-refresh .footer-kit-brand { display: block; width: min(220px,100%); }
.nds-refresh .footer-kit-brand img { display: block; width: 100%; height: auto; }
.nds-refresh .brand-kit-principal { display: block; width: 100%; max-width: 360px; height: auto; margin: auto; }
.nds-refresh .site-footer { background: #071a33; color: #f7f4e9; }
@media (max-width: 767px) {
  .nds-refresh .brand-kit-horizontal { width: 155px; max-height: 60px; }
  .nds-refresh .header-inner { min-height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.nds-refresh) { scroll-behavior: auto; }
  .nds-refresh *, .nds-refresh *::before, .nds-refresh *::after { animation: none !important; transition: none !important; }
}
