/* AUTOCOLCA — inner page styles: page hero, destino detail, noticias, institucional, boleto. */

/* ============ PAGE HERO (compact sub-page banner) ============
   Banner Editorial: type-forward, centrado, sin foto (degradados de fondo). */
.page-hero { position: relative; color: var(--ink); padding: 150px 0 64px; overflow: hidden; margin-top: -110px; background: var(--bg); }
.page-hero::before { content: ""; position: absolute; top: -190px; left: 50%; transform: translateX(-50%); width: 1000px; height: 580px;
  border-radius: 50%; background: radial-gradient(circle, var(--reserva-soft) 0%, transparent 66%); z-index: 0; }
.page-hero::after { content: ""; position: absolute; top: -120px; right: -140px; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, var(--volcanes-soft) 0%, transparent 70%); z-index: 0; opacity: 0.7; }
/* Photo + scrim are hidden in the editorial base; the photo variants re-enable them. */
.page-hero .photo { display: none; }
.page-hero .ph-scrim { display: none; position: absolute; inset: 0; z-index: 1; }
.page-hero-inner { position: relative; z-index: 2; text-align: center; max-width: 1020px; margin: 0 auto; }
.crumbs { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; color: var(--fg-muted); margin-bottom: 20px; }
.crumbs a { color: var(--fg-muted); cursor: pointer; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: 0.5; }
.page-hero h1 { color: var(--ink); max-width: 18ch; margin-inline: auto; }
.page-hero .ph-lede { color: var(--fg-muted); max-width: 600px; margin: 18px auto 0; font-size: 18px; line-height: 1.55; }
.page-hero .ph-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 7px 14px; border-radius: var(--radius-pill); margin-bottom: 18px; color: #fff; }

/* ============ DESTINOS OVERVIEW ============ */
.dest-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dest-feature.rev .df-media { order: 2; }
.dest-feature + .dest-feature { margin-top: 88px; }
.df-media { height: 460px; border-radius: var(--radius-xl); overflow: hidden; }
.df-media .photo { height: 100%; }
.df-body .df-kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; display: inline-flex; align-items: center; gap: 8px; }
.df-body h2 { margin: 16px 0 0; }
.df-body p { color: var(--fg-muted); font-size: 16.5px; line-height: 1.6; margin: 18px 0 0; }
.df-facts { display: flex; gap: 32px; margin: 28px 0; }
.df-fact b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.df-fact span { font-size: 13px; color: var(--fg-muted); }

/* ============ DESTINO DETAIL ============ */
.detail-body { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; padding-top: 56px; }
.detail-main h2 { margin: 0 0 16px; }
.detail-main > p { font-size: 17px; line-height: 1.65; color: var(--fg-muted); }
.detail-section { margin-top: 48px; }
.detail-section h3 { font-size: 21px; margin: 0 0 20px; letter-spacing: -0.01em; }
.hl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hl-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; display: flex; gap: 16px; align-items: flex-start; background: #fff; transition: all var(--dur-base) var(--ease-out); }
.hl-card:hover { box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.hl-card .hl-ic { width: 46px; height: 46px; border-radius: var(--radius-md); display: inline-flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.hl-card b { display: block; font-size: 15.5px; font-weight: 700; margin-bottom: 5px; }
.hl-card span { font-size: 13.5px; color: var(--fg-muted); line-height: 1.5; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 170px 170px; gap: 14px; }
.gallery-grid .photo { border-radius: var(--radius-md); }
.gallery-grid .g-big { grid-row: 1 / span 2; }
.pueblo-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pueblo-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: #fff; font-size: 14px; font-weight: 600; }
.detail-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.aside-card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; padding: 24px; }
.aside-card h4 { font-size: 16px; margin: 0 0 16px; display: flex; align-items: center; gap: 9px; }
.aside-card .ac-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.aside-card .ac-row:last-child { border-bottom: 0; }
.aside-card .ac-row .acl { color: var(--fg-muted); display: inline-flex; align-items: center; gap: 8px; }
.aside-card .ac-row .acv { font-weight: 700; }
.aside-social { display: flex; align-items: center; gap: 15px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: #fff; padding: 16px 18px; text-decoration: none; color: var(--fg); transition: all var(--dur-base) var(--ease-out); }
.aside-social:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); text-decoration: none; transform: translateY(-2px); }
.aside-social img { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; display: block; }
.aside-social > div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.aside-social b { font-size: 15px; font-weight: 700; }
.aside-social span { font-size: 13px; color: var(--fg-muted); }
.aside-social > svg { color: var(--fg-subtle); flex-shrink: 0; }
.aside-cta { color: #fff; border-radius: var(--radius-lg); padding: 24px; }
.aside-cta h4 { color: #fff; font-size: 18px; margin: 0 0 8px; }
.aside-cta p { font-size: 13.5px; opacity: 0.9; margin: 0 0 16px; line-height: 1.5; }
/* "Otros destinos" grid (moved out of inline JSX so it stays responsive). */
.otros-destinos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; height: 300px; }

/* ============ NOTICIAS ============ */
.noticias-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.featured-news { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; background: #fff; margin-bottom: 40px; cursor: pointer; transition: all var(--dur-base) var(--ease-out); }
.featured-news:hover { box-shadow: var(--shadow-md); }
.featured-news .fn-media { min-height: 380px; position: relative; }
.featured-news .fn-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-news .fn-cat { align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 13px; border-radius: var(--radius-pill); color: #fff; margin-bottom: 18px; }
.featured-news h2 { font-size: 30px; line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 16px; }
.featured-news p { color: var(--fg-muted); font-size: 15.5px; line-height: 1.6; margin: 0 0 24px; }
.featured-news .fn-date { font-family: var(--font-mono); font-size: 13px; color: var(--fg-muted); display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ============ INSTITUCIONAL ============ */
.inst-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.inst-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; background: #fff; display: flex; gap: 20px; align-items: flex-start; cursor: pointer; transition: all var(--dur-base) var(--ease-out); }
.inst-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.inst-card .ic-ic { width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.inst-card h3 { font-size: 19px; margin: 0 0 6px; }
.inst-card p { font-size: 14px; color: var(--fg-muted); margin: 0; line-height: 1.55; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mission-card { border-radius: var(--radius-xl); padding: 40px; color: #fff; }
.mission-card .mc-ic { width: 52px; height: 52px; border-radius: var(--radius-md); background: rgba(255,255,255,0.16); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.mission-card h3 { color: #fff; font-size: 24px; margin: 0 0 14px; }
.mission-card p { font-size: 15.5px; line-height: 1.65; opacity: 0.92; margin: 0; }
.org-list { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.org-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.org-row:last-child { border-bottom: 0; }
.org-av { width: 56px; height: 56px; border-radius: var(--radius-pill); overflow: hidden; }
.org-row .or-name { font-weight: 700; font-size: 16px; }
.org-row .or-role { font-size: 13.5px; color: var(--fg-muted); }
.norm-list { display: grid; gap: 12px; }
.norm-item { display: flex; align-items: center; gap: 18px; padding: 18px 24px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; cursor: pointer; transition: all var(--dur-base) var(--ease-out); }
.norm-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.norm-item .ni-ic { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--colca-soft); color: var(--colca); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.norm-item .ni-body { flex: 1; }
.norm-item b { display: block; font-size: 15px; font-weight: 600; }
.norm-item span { font-size: 13px; color: var(--fg-muted); }
.norm-item .ni-code { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); }

/* ============ BOLETO ============ */
.boleto-page { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; padding-top: 56px; }
.boleto-steps { display: flex; gap: 10px; margin-bottom: 32px; }
.bstep { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--fg-muted); }
.bstep .bn { width: 26px; height: 26px; border-radius: var(--radius-pill); background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.bstep.on { color: var(--fg); }
.bstep.on .bn { background: var(--cta); color: #fff; }
.bstep .bline { width: 36px; height: 1px; background: var(--border); }
.tariff { border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.tariff-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 20px; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--border); }
.tariff-row:last-child { border-bottom: 0; }
.tariff-row .tr-radio { width: 22px; height: 22px; border-radius: var(--radius-pill); border: 2px solid var(--border-strong); position: relative; cursor: pointer; }
.tariff-row.on .tr-radio { border-color: var(--cta); }
.tariff-row.on .tr-radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--cta); }
.tariff-row .tr-name { font-weight: 700; font-size: 16px; }
.tariff-row .tr-desc { font-size: 13.5px; color: var(--fg-muted); margin-top: 3px; }
.tariff-row .tr-price { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; white-space: nowrap; }
.tariff-row .qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.tariff-row .qty button { width: 34px; height: 38px; border: 0; background: transparent; cursor: pointer; font-size: 16px; color: var(--fg); display: inline-flex; align-items: center; justify-content: center; }
.tariff-row .qty .qv { min-width: 30px; text-align: center; font-weight: 700; font-size: 15px; }
.boleto-summary { border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; padding: 26px; position: sticky; top: 100px; }
.boleto-summary h3 { font-size: 18px; margin: 0 0 18px; }
.bs-line { display: flex; justify-content: space-between; font-size: 14px; padding: 9px 0; color: var(--fg-muted); }
.bs-line .v { color: var(--fg); font-weight: 600; }
.bs-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 6px; margin-top: 8px; border-top: 1px solid var(--border); }
.bs-total .tl { font-weight: 700; font-size: 16px; }
.bs-total .tv { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; }
.pay-methods { display: flex; gap: 8px; margin-top: 18px; }
.pay-methods .pm { flex: 1; height: 38px; border: 1px solid var(--border); border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--fg-muted); }
.bs-perks { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 9px; }
.bs-perks .p { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--fg-muted); }
.bs-perks .p svg { color: var(--reserva); flex-shrink: 0; }

/* ============ BOLETO — EN MANTENIMIENTO ============ */
.maint { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; color: #fff; margin-top: -110px; padding: 150px 0 90px; overflow: hidden; }
.maint .photo { position: absolute; inset: 0; z-index: 0; }
.maint-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(22,36,27,0.82) 0%, rgba(22,36,27,0.92) 100%); }
.maint-inner { position: relative; z-index: 2; width: 100%; }
.maint-card { max-width: 740px; margin: 0 auto; text-align: center; background: rgba(255,255,255,0.07); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-xl); padding: 56px 52px; }
.maint-card .pill-tag { background: var(--cta); color: #fff; margin-bottom: 26px; white-space: nowrap; }
.maint-ic { width: 88px; height: 88px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; color: #fff; }
.maint-card h1 { color: #fff; font-size: clamp(28px, 3.8vw, 44px); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 18px; max-width: 16ch; margin-inline: auto; }
.maint-card > p { color: rgba(255,255,255,0.82); font-size: 18px; line-height: 1.6; max-width: 540px; margin: 0 auto 34px; }
.maint-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 34px; text-align: left; }
.maint-meta .mm { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 20px; }
.maint-meta .mm .mmic { display: inline-flex; width: 40px; height: 40px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.1); align-items: center; justify-content: center; color: #fff; margin-bottom: 14px; }
.maint-meta .mm b { display: block; font-size: 14.5px; color: #fff; margin-bottom: 5px; }
.maint-meta .mm span { font-size: 12.5px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.maint-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.maint-note { margin: 28px 0 0 !important; font-size: 13.5px; color: rgba(255,255,255,0.62) !important; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 680px) { .maint-meta { grid-template-columns: 1fr; } .maint-card { padding: 40px 24px; } }

/* ============ LIBRO DE RECLAMACIONES ============ */
.reclamo-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.reclamo-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 12px 36px 32px; }
.form-section { padding: 28px 0; border-bottom: 1px solid var(--border); }
.form-section:last-of-type { border-bottom: 0; }
.form-section.checks { display: flex; flex-direction: column; gap: 14px; }
.fs-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.fs-head .fs-num { width: 28px; height: 28px; border-radius: var(--radius-pill); background: var(--accent); color: #fff;
  font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fs-head h3 { font-size: 18px; margin: 0; letter-spacing: -0.01em; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.span-2 { grid-column: 1 / -1; }
.field > span { font-size: 13.5px; font-weight: 600; color: var(--fg); }
.field > span i { color: var(--cta); font-style: normal; }
.reclamo-form input[type=text], .reclamo-form input[type=email], .reclamo-form input[type=tel],
.reclamo-form input[type=date], .reclamo-form select, .reclamo-form textarea {
  font-family: inherit; font-size: 15px; color: var(--fg); background: #fff; border: 1px solid var(--border-strong);
  border-radius: var(--radius-md); padding: 12px 14px; width: 100%; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.reclamo-form input::placeholder, .reclamo-form textarea::placeholder { color: var(--fg-subtle); }
.reclamo-form input:focus, .reclamo-form select:focus, .reclamo-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: var(--shadow-focus); }
.reclamo-form textarea { resize: vertical; line-height: 1.55; }
.field-hint { font-size: 12.5px; color: var(--fg-subtle); }
.file-input { font-family: inherit; font-size: 14px; color: var(--fg-muted); width: 100%;
  border: 1px dashed var(--border-strong); border-radius: var(--radius-md); padding: 14px; background: var(--surface-2); cursor: pointer; }
.file-input::file-selector-button { font-family: inherit; font-size: 13.5px; font-weight: 600; color: #fff; background: var(--accent);
  border: 0; border-radius: var(--radius-pill); padding: 9px 16px; margin-right: 14px; cursor: pointer; transition: background var(--dur-fast); }
.file-input::file-selector-button:hover { background: var(--accent-hover); }

.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.radio-pill { position: relative; border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 16px 18px 16px 46px; cursor: pointer; transition: all var(--dur-base) var(--ease-out); display: block; }
.radio-pill input { position: absolute; left: 16px; top: 17px; accent-color: var(--accent); width: 18px; height: 18px; }
.radio-pill b { display: block; font-size: 15px; }
.radio-pill span { font-size: 12.5px; color: var(--fg-muted); }
.radio-pill.on { border-color: var(--accent); background: var(--reserva-soft); }

.seg-doc { display: flex; background: var(--surface-2); border-radius: var(--radius-md); padding: 4px; gap: 4px; }
.seg-doc button { flex: 1; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--fg-muted);
  padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer; transition: all var(--dur-fast); }
.seg-doc button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.check { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: var(--fg-muted); line-height: 1.5; cursor: pointer; }
.check input { margin-top: 2px; accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }
.check i { color: var(--cta); font-style: normal; }

.form-error { display: flex; align-items: center; gap: 9px; background: #FDECEC; color: #B42318; border: 1px solid #F5C6C6;
  border-radius: var(--radius-md); padding: 12px 16px; font-size: 14px; font-weight: 600; margin-top: 22px; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.form-note { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--fg-muted); margin: 0; }

.reclamo-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.reclamo-aside .ra-p { font-size: 13.5px; color: var(--fg-muted); line-height: 1.6; margin: 0; }

.reclamo-done { max-width: 600px; margin: 0 auto; text-align: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 56px 40px; }
.reclamo-done .rd-ic { width: 88px; height: 88px; border-radius: var(--radius-pill); background: var(--reserva-soft);
  color: var(--reserva); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.reclamo-done h2 { font-size: 30px; margin: 0 0 12px; }
.reclamo-done > p { color: var(--fg-muted); font-size: 16px; margin: 0 0 18px; }
.reclamo-done .rd-code { display: inline-block; font-family: var(--font-mono); font-size: 24px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink); background: var(--surface-2); border: 1px dashed var(--border-strong); border-radius: var(--radius-md); padding: 12px 26px; margin-bottom: 18px; }
.reclamo-done .rd-note { font-size: 14px; color: var(--fg-muted); max-width: 460px; margin: 0 auto 28px; line-height: 1.6; }
.reclamo-done .rd-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .reclamo-layout { grid-template-columns: 1fr; }
  .reclamo-aside { position: static; }
  .dest-feature, .dest-feature.rev .df-media { grid-template-columns: 1fr; order: 0; }
  .detail-body, .boleto-page { grid-template-columns: 1fr; }
  .detail-aside, .boleto-summary { position: static; }
  .featured-news { grid-template-columns: 1fr; }
  .mission-grid, .inst-grid, .news-grid { grid-template-columns: 1fr; }
  .df-media { height: 340px; }
}
@media (max-width: 720px) {
  /* Header collapses to a single ~64px row on phones — pull the hero up less
     and trim its top padding so the title isn't stranded down the page. */
  .page-hero { margin-top: -72px; padding: 104px 0 44px; }
  .hl-grid, .news-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 140px 140px; }
  .tariff-row { grid-template-columns: auto 1fr; row-gap: 12px; }
  .field-grid, .radio-row { grid-template-columns: 1fr; }
  .reclamo-form { padding: 8px 20px 24px; }
  .otros-destinos { grid-template-columns: 1fr; height: auto; }
  .otros-destinos > a { min-height: 220px; }
}
@media (max-width: 560px) {
  /* Org rows: avatar + name on top, the "Perfil" button drops to its own centered row. */
  .org-row { grid-template-columns: 48px 1fr; gap: 14px; }
  .org-av { width: 48px; height: 48px; }
  .org-row .btn { grid-column: 1 / -1; justify-content: center; }
  /* Let the legal code / file icon wrap instead of crushing the title. */
  .norm-item { flex-wrap: wrap; }
  .norm-item .ni-body { min-width: 60%; }
}

/* ============ AÑADIDOS — versión PHP/vanilla ============ */

/* fieldset/legend sin estilos de agente de usuario */
.reclamo-form fieldset { border: 0; margin: 0; padding: 28px 0; min-width: 0; }
.reclamo-form fieldset.form-section { border-bottom: 1px solid var(--border); }
.reclamo-form fieldset.form-section:last-of-type { border-bottom: 0; }
.reclamo-form legend { padding: 0; width: 100%; }

/* Selector de tipo de documento con radios nativos (antes botones React) */
.seg-doc-opt { flex: 1; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--fg-muted);
  padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer; transition: all var(--dur-fast); position: relative; }
.seg-doc-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg-doc-opt.on, .seg-doc-opt:has(input:checked) { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.seg-doc-opt:has(input:focus-visible) { box-shadow: var(--shadow-focus); }

/* Radio-pill activa por estado nativo (antes clase React) */
.radio-pill:has(input:checked) { border-color: var(--accent); background: var(--reserva-soft); }

/* Mensaje de error por campo */
.field-msg { font-size: 12.5px; font-weight: 600; color: #B42318; }
.field-msg[hidden] { display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B42318; }

/* ============ NOTICIA — página de detalle ============ */
.noticia-article { max-width: 760px; margin: 0 auto; }
.noticia-meta { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: 13.5px; color: var(--fg-muted); margin: 0 0 18px; }
.noticia-cover { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); margin-bottom: 30px; }
.article-body { font-size: 17px; line-height: 1.75; color: var(--fg); }
.article-body p { margin: 0 0 18px; }
.article-body h3 { font-size: 22px; letter-spacing: -0.01em; margin: 34px 0 14px; }
.article-body h4 { font-size: 16px; margin: 22px 0 8px; color: var(--accent); }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 24px; }
.article-body li { margin-bottom: 7px; }
.article-body blockquote { margin: 22px 0; padding: 14px 22px; border-left: 3px solid var(--accent);
  background: var(--surface-2); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 18px; line-height: 1.6; font-style: italic; color: var(--fg); }
.article-body strong { font-weight: 700; }
.noticia-foot { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--border); }

/* La noticia destacada es un enlace: sin subrayado ni color de enlace */
a.featured-news { text-decoration: none; color: inherit; }
a.featured-news:hover { text-decoration: none; }
a.featured-news .fn-media .photo { transition: transform var(--dur-slow) var(--ease-out); }
a.featured-news:hover .fn-media .photo { transform: scale(1.03); }
