/* ============================================================
   nota.css — Estilos para páginas de artículo individuales
   ============================================================ */

/* ── VARIABLES (igual que styles.css) ── */
:root {
  --primary: #c1121f;
  --primary-dark: #a8001b;
  --accent: #f4a261;
  --max-w: 1120px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
  --font-ui: system-ui, -apple-system, sans-serif;
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --bg-secondary: #f8fafc;
  --border: rgba(17,24,39,0.09);
  --shadow: rgba(15,23,42,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  color: var(--text-primary);
  background: #f8fafc;
  -webkit-font-smoothing: antialiased;
}

/* ── BARRA DE PROGRESO DE LECTURA ── */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #ff4d6d);
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── INFO BAR ── */
.info-bar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 12px;
  font-family: var(--font-ui);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  max-height: 60px;
  overflow: hidden;
}

.info-bar.info-bar-scrolled {
  max-height: 0;
  opacity: 0;
}

.info-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.datetime {
  display: flex;
  gap: 16px;
  color: #94a3b8;
}

.date, .time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.date i, .time i { font-size: 11px; color: #475569; }

.quotes {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.quote-item {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 12px;
  color: #94a3b8;
  cursor: default;
}

.quote-item.clickable { cursor: pointer; }
.quote-item.clickable:hover { color: #e2e8f0; }
.quote-item i { font-size: 11px; color: #64748b; }
.quote-item span { color: #e2e8f0; font-weight: 500; }
.quote-item--highlight span { color: #4ade80; }
.quote-item--muted { opacity: 0.75; }

@media(max-width:680px) { .quote-item--campo { display: none; } }
@media(max-width:520px) { .quote-item--muted { display: none; } }

/* ── WEATHER PANEL ── */
.weather-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(480px, 96vw);
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  z-index: 300;
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.weather-panel.open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.weather-panel-inner { padding: 20px; }
.weather-panel-current {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}

.wpc-icon { font-size: 42px; line-height: 1; }
.wpc-temp { font-size: 28px; font-weight: 700; color: #fff; font-family: var(--font-display); line-height: 1; }
.wpc-label { font-size: 11px; color: #64748b; margin-top: 4px; }
.wpc-desc { font-size: 13px; color: #94a3b8; margin-top: 2px; }

.weather-panel-forecast {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.wf-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
}

.wf-day-label { font-size: 10px; color: #64748b; font-weight: 500; text-transform: uppercase; letter-spacing: 0.4px; }
.wf-day-icon { font-size: 20px; line-height: 1; }
.wf-day-temps { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.wf-max { font-size: 13px; color: #f8fafc; font-weight: 600; }
.wf-min { font-size: 11px; color: #475569; }
.wf-rain { font-size: 10px; color: #38bdf8; display: flex; align-items: center; gap: 2px; }
.wf-loading { grid-column: 1/-1; text-align: center; color: #64748b; padding: 20px; }
.weather-panel-footer { margin-top: 14px; font-size: 10px; color: #334155; text-align: right; }

@media(max-width:480px) {
  .weather-panel-forecast { grid-template-columns: repeat(4,1fr); }
}

/* ── HEADER NOTA ── */
.nota-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow 0.25s ease;
  will-change: transform;
}

.nota-header::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, #ff4d6d 60%, var(--primary) 100%);
}

.nota-header--compact {
  box-shadow: 0 1px 12px rgba(0,0,0,0.12);
}

.nota-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nota-back-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: var(--font-ui);
  flex-shrink: 0;
}

.nota-back-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.nota-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.nota-header-logo i { color: var(--primary); }

.nota-header-nav {
  flex: 1;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nota-header-nav::-webkit-scrollbar { display: none; }

.nota-nav-cat {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  font-family: var(--font-ui);
}

.nota-nav-cat:hover {
  background: var(--bg-secondary);
  color: var(--primary);
}

@media(max-width:700px) {
  .nota-header-nav { display: none; }
}

@media(max-width:500px) {
  .nota-back-btn span { display: none; }
  .nota-header-logo span { display: none; }
}

/* ── TICKER ── */
.news-ticker {
  background: var(--primary);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  height: 34px;
}

.ticker-label {
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-ui);
}

.ticker-label i { color: #facc15; font-size: 11px; }

.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 55s linear infinite;
  height: 100%;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  padding: 0 4px;
  text-decoration: none;
  transition: color 0.2s;
  font-family: var(--font-ui);
}

.ticker-item:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.ticker-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1px 7px;
  border-radius: 10px;
  color: #fff !important;
}

.ticker-sep { color: rgba(255,255,255,0.25); font-size: 9px; padding: 0 16px; }

/* ── ARTICLE LAYOUT ── */
.nota-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 20px 0;
}

/* ── BREADCRUMBS ── */
.nota-breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-family: var(--font-ui);
}

.nota-breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.nota-breadcrumbs a:hover { color: var(--primary); }
.nota-breadcrumbs span { color: #d1d5db; }

/* ── CATEGORY TAG ── */
.nota-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #fff;
  margin-bottom: 16px;
  font-family: var(--font-ui);
}

/* ── TITULAR ── */
.nota-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.12;
  color: #0f172a;
  margin-bottom: 16px;
}

.nota-lead {
  font-family: var(--font-body);
  font-size: 1.12rem;
  color: #374151;
  line-height: 1.7;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
  margin-bottom: 20px;
  font-style: italic;
}

/* ── META + TOOLBAR ── */
.nota-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.nota-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-ui);
}

.nota-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nota-meta i { color: var(--primary); font-size: 12px; }

.nota-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nota-toolbar-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 12px;
  cursor: pointer;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  transition: all 0.2s;
  white-space: nowrap;
}

.nota-toolbar-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.nota-toolbar-btn.tts-playing {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.font-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
}

.font-controls button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  font-family: var(--font-ui);
}

.font-controls button:hover { background: var(--bg-secondary); color: var(--primary); }
.font-controls span { font-size: 11px; color: var(--text-muted); padding: 0 2px; }

/* ── IMAGEN PORTADA ── */
.nota-cover-wrap {
  margin-bottom: 28px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.nota-cover-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.nota-cover-caption {
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 12px;
  background: #f1f5f9;
  font-family: var(--font-ui);
  font-style: italic;
}

/* ── CUERPO DE NOTA ── */
.nota-body-content {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: #1e293b;
  transition: font-size 0.2s;
}

.nota-body-content p {
  margin-bottom: 1.4em;
}

.nota-body-content h2 {
  font-family: var(--font-display);
  font-size: 1.5em;
  margin: 1.6em 0 0.5em;
  color: #0f172a;
}

.nota-body-content h3 {
  font-family: var(--font-display);
  font-size: 1.2em;
  margin: 1.4em 0 0.4em;
  color: #1e293b;
}

.nota-body-content blockquote {
  border-left: 4px solid var(--primary);
  margin: 1.6em 0;
  padding: 12px 20px;
  background: #f8fafc;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #374151;
}

.nota-body-content ul, .nota-body-content ol {
  margin: 1em 0 1em 1.4em;
}

.nota-body-content li { margin-bottom: 0.4em; }

/* ── BANNER INLINE (MID ARTICLE) ── */
.ad-inline-mid {
  margin: 32px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.ad-inline-mid a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: background 0.2s;
}

.ad-inline-mid a:hover { background: #f8fafc; }

.ad-inline-mid img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.ad-inline-mid-copy strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  font-family: var(--font-ui);
  margin-bottom: 4px;
}

.ad-inline-mid-copy p {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-ui);
  margin: 0;
}

/* ── TAGS ── */
.nota-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 24px;
}

.nota-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: #f1f5f9;
  color: #475569;
  text-decoration: none;
  border: 1px solid var(--border);
  font-family: var(--font-ui);
  transition: all 0.2s;
}

.nota-tag:hover {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.nota-tag i { font-size: 10px; }

/* ── COMPARTIR ── */
.nota-share {
  background: #f8fafc;
  border-radius: 14px;
  padding: 20px;
  margin: 24px 0;
  border: 1px solid var(--border);
}

.nota-share h4 {
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 14px;
  color: #0f172a;
}

.nota-share-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-ui);
}

.share-btn.whatsapp { background: #25d366; color: #fff; }
.share-btn.whatsapp:hover { background: #1da851; }
.share-btn.facebook { background: #1877f2; color: #fff; }
.share-btn.facebook:hover { background: #0f63d0; }
.share-btn.twitter { background: #000; color: #fff; }
.share-btn.twitter:hover { background: #333; }

/* ── COMPARTIR CITA (TOOLTIP) ── */
.quote-tooltip {
  position: absolute;
  background: #25d366;
  color: #fff;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  font-family: var(--font-ui);
  white-space: nowrap;
  transform: translateX(-50%);
  transition: opacity 0.2s;
}

.quote-tooltip:hover { background: #1da851; }

/* ── PRE-FOOTER BANNER ── */
.pre-footer-banner-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.prefooter-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px var(--shadow);
}

.prefooter-banner:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.prefooter-banner img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  flex-shrink: 0;
}

.prefooter-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 16px 16px 0;
}

.ad-badge-sm {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-weight: 600;
}

.prefooter-banner-copy strong {
  font-size: 15px;
  color: #0f172a;
  font-family: var(--font-ui);
}

.prefooter-banner-copy p {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-ui);
  margin: 0;
}

.prefooter-banner-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-ui);
  margin-top: 4px;
}

@media(max-width:520px) {
  .prefooter-banner { flex-direction: column; }
  .prefooter-banner img { width: 100%; height: 160px; }
  .prefooter-banner-copy { padding: 16px; }
}

/* ── SEGUIR LEYENDO ── */
.keep-reading-section {
  background: #f1f5f9;
  border-top: 1px solid var(--border);
  padding: 48px 20px 60px;
}

.keep-reading-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.keep-reading-head {
  margin-bottom: 28px;
}

.section-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  font-family: var(--font-ui);
  margin-bottom: 6px;
}

.keep-reading-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: #0f172a;
}

.rn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.rn-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 2px 8px var(--shadow);
}

.rn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15,23,42,0.12);
}

.rn-card-img {
  position: relative;
  height: 165px;
  overflow: hidden;
  background: #e2e8f0;
}

.rn-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.rn-card:hover .rn-card-img img { transform: scale(1.05); }

.rn-card-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font-ui);
}

.rn-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.rn-card-body h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rn-card-body p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-ui);
}

.rn-card-date {
  font-size: 11px;
  color: #9ca3af;
  font-family: var(--font-ui);
  margin-top: auto;
}

/* ── FOOTER ── */
.nota-footer {
  background: #0f172a;
  color: #e2e8f0;
  margin-top: 0;
}

.nota-footer-top {
  padding: 48px 20px 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nota-footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}

.footer-logo i { color: var(--primary); font-size: 24px; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-cat-list li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
  font-family: var(--font-ui);
}

.footer-cat-list li a:hover { color: #fff; }

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-info p {
  font-size: 14px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
}

.footer-contact-info p i {
  color: var(--primary);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 11px 22px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-ui);
  transition: background 0.2s, transform 0.2s;
}

.footer-cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.nota-footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #475569;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-ui);
}

.nota-footer-bottom a { color: #64748b; text-decoration: none; }
.nota-footer-bottom a:hover { color: #fff; }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(193,18,31,0.38);
  z-index: 200;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── RESPONSIVE ── */
@media(max-width:900px) {
  .nota-footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media(max-width:600px) {
  .nota-main { padding: 24px 16px 0; }
  .nota-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nota-footer-bottom { flex-direction: column; text-align: center; }
  .nota-toolbar { flex-wrap: wrap; }
}
