/* ═══════════════════════════════════════════════════════
   Ruvkgo PWA — style.css
   Identidad visual consistente con la app Android:
   colores turquesa #00d4aa, violeta #6c63ff, fondo oscuro
════════════════════════════════════════════════════════ */

/* ── Variables globales ── */
:root {
  --bg:            #0b0a14;
  --surface:       #16142a;
  --surface-2:     #1e1c38;
  --violet:        #6c63ff;
  --violet-bright: #8b7fff;
  --turquoise:     #00d4aa;
  --turquoise-dim: rgba(0,212,170,0.2);
  --text:          #f0f0ff;
  --text-dim:      #9591c4;
  --text-faint:    #5e5a85;
  --line:          #2a2750;
  --danger:        #ff6b6b;
  --warning:       #ff9f4d;
  --success:       #00d4aa;
  --radius:        16px;
  --radius-sm:     10px;
  --font-display:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;

  /* Alturas fijas del shell */
  --header-h:      56px;
  --bottom-nav-h:  64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select { font-family: inherit; }

/* ── Utilidades ── */
.hidden { display: none !important; }

/* ══════════════════════════════════════════════════════
   SPLASH SCREEN
════════════════════════════════════════════════════════ */
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(180deg, #00d4aa 0%, #4a7fd4 50%, #6c63ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s ease;
}
.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: splashIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes splashIn {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.splash-logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.splash-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.splash-version {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
}

/* ══════════════════════════════════════════════════════
   APP SHELL
════════════════════════════════════════════════════════ */
#app {
  display: flex;
  flex-direction: column;
  height: 100dvh;  /* dynamic viewport height — correcto en iPhone Safari */
  overflow: hidden;
}

/* ── Header ── */
#app-header {
  height: var(--header-h);
  background: rgba(11,10,20,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 100;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.header-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.btn-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--text-dim);
  transition: background 0.2s, color 0.2s;
}
.btn-icon:active { background: var(--surface-2); color: var(--text); }
.btn-icon svg { width: 20px; height: 20px; }

/* ── Main content ── */
#main-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* ── Screens ── */
.screen {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.screen.active {
  opacity: 1;
  pointer-events: auto;
}
.screen-content {
  padding: 16px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Bottom Navigation ── */
#bottom-nav {
  height: var(--bottom-nav-h);
  background: var(--surface);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
  padding-bottom: env(safe-area-inset-bottom);
}
.nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-faint);
  padding: 8px 0;
  transition: color 0.2s;
}
.nav-btn svg { width: 22px; height: 22px; }
.nav-btn span { font-size: 10px; font-weight: 500; }
.nav-btn.active { color: var(--turquoise); }
.nav-btn:active { color: var(--text-dim); }

/* ══════════════════════════════════════════════════════
   HOME — MAPA
════════════════════════════════════════════════════════ */
#screen-home { overflow: hidden; }
#map-container {
  position: absolute;
  inset: 0;
}
#map {
  width: 100%;
  height: 100%;
}

/* FAB — Botón + NEW ROUTE */
.fab {
  position: absolute;
  bottom: 20px;
  right: 16px;
  background: linear-gradient(135deg, var(--violet), var(--violet-bright));
  color: #fff;
  border-radius: 100px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(108,99,255,0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.fab:active {
  transform: scale(0.96);
  box-shadow: 0 4px 12px rgba(108,99,255,0.4);
}
.fab svg { width: 18px; height: 18px; }

/* ══════════════════════════════════════════════════════
   FORMULARIO — CREAR RUTA
════════════════════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-input {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 14px;
  font-size: 15px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--turquoise); }
.form-input::placeholder { color: var(--text-faint); }

.location-row {
  display: flex;
  gap: 8px;
}
.btn-location {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--turquoise);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.btn-location:active { background: var(--surface-2); }
.btn-location svg { width: 20px; height: 20px; }

/* Stops */
.stops-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stops-count {
  font-size: 12px;
  color: var(--text-faint);
  font-family: monospace;
}
.stops-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stop-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.stop-item.urgent { border-color: var(--warning); }
.stop-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stop-number.urgent-badge { background: var(--warning); }
.stop-address-text {
  flex: 1;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stop-actions {
  display: flex;
  gap: 6px;
}
.btn-stop-urgent, .btn-stop-delete {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
}
.btn-stop-urgent { color: var(--warning); }
.btn-stop-urgent.active { background: rgba(255,159,77,0.15); }
.btn-stop-delete { color: var(--danger); }
.btn-stop-delete:active { background: rgba(255,107,107,0.15); }

/* Botones principales */
.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-bright));
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 6px 20px rgba(108,99,255,0.4);
}
.btn-primary:active { transform: scale(0.97); }
.btn-primary svg { width: 18px; height: 18px; }

.btn-secondary {
  background: var(--surface);
  color: var(--turquoise);
  border: 1px solid var(--turquoise);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}
.btn-secondary:active { background: var(--turquoise-dim); }
.btn-secondary svg { width: 16px; height: 16px; }

.btn-full { width: 100%; }

/* ══════════════════════════════════════════════════════
   DELIVERY MODE
════════════════════════════════════════════════════════ */
#screen-delivery { overflow: hidden; }
#delivery-map-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 240px;
}
#delivery-map { width: 100%; height: 100%; }

.delivery-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stop-progress {
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  font-family: monospace;
}
.stop-separator { margin: 0 4px; }
.current-stop {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  border: 1px solid var(--line);
}
.stop-number-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stop-details { flex: 1; min-width: 0; }
.stop-address {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stop-priority {
  font-size: 11px;
  color: var(--warning);
  font-weight: 600;
  margin-top: 2px;
}

.delivery-actions { display: flex; gap: 8px; }
.btn-navigate {
  flex: 1;
  background: linear-gradient(135deg, var(--turquoise), #00b894);
  color: #0b0a14;
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.18s;
}
.btn-navigate:active { transform: scale(0.97); }
.btn-navigate svg { width: 16px; height: 16px; }

.delivery-buttons {
  display: flex;
  gap: 8px;
}
.btn-delivered, .btn-failed, .btn-skip {
  flex: 1;
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.18s, opacity 0.18s;
}
.btn-delivered:active, .btn-failed:active, .btn-skip:active {
  transform: scale(0.96);
  opacity: 0.8;
}
.btn-delivered {
  background: rgba(0,212,170,0.15);
  color: var(--turquoise);
  border: 1px solid var(--turquoise);
}
.btn-failed {
  background: rgba(255,107,107,0.15);
  color: var(--danger);
  border: 1px solid var(--danger);
}
.btn-skip {
  background: var(--surface-2);
  color: var(--text-dim);
  border: 1px solid var(--line);
}

/* ══════════════════════════════════════════════════════
   LISTAS — RUTAS E HISTORIAL
════════════════════════════════════════════════════════ */
.list-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}
.route-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s;
}
.route-card:active { border-color: var(--violet); }
.route-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.route-card-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.route-card-meta {
  font-size: 12px;
  color: var(--text-faint);
}
.route-card-stops {
  font-size: 13px;
  color: var(--text-dim);
}
.route-card-status {
  display: flex;
  gap: 6px;
}
.status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
}
.status-completed { background: rgba(0,212,170,0.15); color: var(--turquoise); }
.status-pending   { background: rgba(108,99,255,0.15); color: var(--violet-bright); }
.status-failed    { background: rgba(255,107,107,0.15); color: var(--danger); }

/* Empty state */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  color: var(--text-faint);
  text-align: center;
}
.empty-icon { font-size: 48px; opacity: 0.5; }
.empty-state p { font-size: 15px; }

/* ══════════════════════════════════════════════════════
   SETTINGS
════════════════════════════════════════════════════════ */
.settings-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.settings-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.settings-select {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 10px 12px;
  font-size: 15px;
  width: 100%;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.settings-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  font-size: 15px;
  padding: 4px 0;
  width: 100%;
}
.settings-btn svg { width: 18px; height: 18px; color: var(--text-faint); }

/* ══════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════ */
.about-content {
  align-items: center;
  text-align: center;
  padding-top: 32px;
}
.about-logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  margin-bottom: 8px;
}
.about-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}
.about-version {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.about-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 8px;
}
.about-btn { margin-top: 4px; }
.about-privacy {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 8px;
}
.about-privacy a {
  color: var(--turquoise);
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════
   SCROLLBAR personalizada (para dispositivos no iPhone)
════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

/* ══════════════════════════════════════════════════════
   SAFE AREAS — iPhone notch y home indicator
════════════════════════════════════════════════════════ */
#app-header {
  padding-top: env(safe-area-inset-top);
  height: calc(var(--header-h) + env(safe-area-inset-top));
}
#bottom-nav {
  padding-bottom: env(safe-area-inset-bottom);
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
}

/* ── Botón de ubicación (iOS Safari requiere acción del usuario) ── */
.btn-locate {
  position: absolute;
  bottom: 90px;
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--turquoise);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 10;
  transition: transform 0.18s;
}
.btn-locate:active { transform: scale(0.93); }

/* ══════════════════════════════════════════════════════
   HISTORIAL — paradas expandibles y modal de mapa
════════════════════════════════════════════════════════ */

/* Botones de acción del historial */
.hist-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.btn-hist-expand, .btn-hist-map {
  flex: 1;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s;
  cursor: pointer;
}
.btn-hist-expand {
  background: var(--surface-2);
  color: var(--text-dim);
  border: 1px solid var(--line);
}
.btn-hist-expand:active { background: var(--line); }
.btn-hist-map {
  background: rgba(0,212,170,0.1);
  color: var(--turquoise);
  border: 1px solid rgba(0,212,170,0.3);
}
.btn-hist-map:active { background: rgba(0,212,170,0.2); }

/* Lista de paradas del historial */
.hist-stops-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.stop-hist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.stop-hist-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stop-hist-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.stop-hist-delivered { color: var(--turquoise); }
.stop-hist-failed    { color: var(--danger); }
.stop-hist-skipped   { color: var(--text-faint); }
.stop-hist-addr {
  flex: 1;
  color: var(--text-dim);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stop-hist-urgent {
  font-size: 12px;
  flex-shrink: 0;
}

/* Modal de mapa del historial */
.map-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: none;
  flex-direction: column;
}
.map-modal-header {
  height: 52px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  flex-shrink: 0;
  padding-top: env(safe-area-inset-top);
}
.map-modal-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.map-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.map-modal-close:active { background: var(--line); }
.map-modal-body {
  flex: 1;
  overflow: hidden;
}

/* ── Botón eliminar ruta del historial ── */
.btn-hist-delete {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255,107,107,0.15);
  color: var(--danger);
  border: 1px solid rgba(255,107,107,0.3);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.btn-hist-delete:active { background: rgba(255,107,107,0.3); }

/* ══════════════════════════════════════════════════════
   NOMINATIM AUTOCOMPLETE DROPDOWN
════════════════════════════════════════════════════════ */
.nominatim-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--turquoise);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 500;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.nominatim-item {
  padding: 11px 14px;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  line-height: 1.4;
  transition: background 0.15s;
}
.nominatim-item:last-child { border-bottom: none; }
.nominatim-item:active, .nominatim-item:hover {
  background: var(--surface-2);
  color: var(--text);
}

/* ══════════════════════════════════════════════════════
   ABOUT — estilos adicionales
════════════════════════════════════════════════════════ */

/* Badges FREE / NO ADS / PRIVATE */
.about-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 4px 0 12px;
}
.about-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1.5px solid var(--turquoise);
  color: var(--turquoise);
  letter-spacing: 0.06em;
}

/* Divider */
.about-divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 4px 0;
}

/* Botón de café (estilo propio, diferente al btn-secondary) */
.btn-coffee {
  background: rgba(255,159,77,0.12);
  color: #ff9f4d;
  border: 1px solid rgba(255,159,77,0.4);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  text-align: center;
}
.btn-coffee:active { background: rgba(255,159,77,0.22); }

/* Info técnica */
.about-tech {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.about-tech-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
}
.about-tech-row:last-child { border-bottom: none; }
.about-tech-label {
  font-size: 13px;
  color: var(--text-faint);
}
.about-tech-value {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════
   ABOUT — secciones estilo Android
════════════════════════════════════════════════════════ */
.about-section {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.about-section-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--turquoise);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.about-section-body {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  white-space: pre-line;
}
.about-footer {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.about-made-with {
  font-size: 13px;
  color: var(--text-faint);
  font-style: italic;
}
.about-copyright {
  font-size: 12px;
  color: var(--text-faint);
}
.about-privacy {
  font-size: 13px;
}
.about-privacy a { color: var(--turquoise); text-decoration: underline; }

/* ══════════════════════════════════════════════════════
   FAQ ACORDEÓN — About screen
════════════════════════════════════════════════════════ */
.faq-pwa-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.faq-pwa-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-pwa-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s;
}
.faq-pwa-q:active { background: var(--surface-2); }
.faq-pwa-icon {
  color: var(--turquoise);
  font-size: 14px;
  flex-shrink: 0;
}
.faq-pwa-a {
  padding: 0 14px 13px;
  border-top: 1px solid var(--line);
}
.faq-pwa-a p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.6;
  padding-top: 10px;
}