/* ==========================================
   TOWN TOURIST PREMIUM DESIGN SYSTEM
   ========================================== */

/* Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Tokens */
  --bg-main: #060913;
  --bg-surface: rgba(15, 22, 42, 0.65);
  --bg-surface-light: rgba(255, 255, 255, 0.03);
  --bg-card: rgba(30, 41, 59, 0.5);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);

  --primary: #3b82f6;          /* Ocean Blue */
  --primary-glow: rgba(59, 130, 246, 0.3);
  --secondary: #f97316;        /* Sunset Orange */
  --secondary-glow: rgba(249, 115, 22, 0.35);
  --success: #10b981;          /* Emerald Green */
  --success-glow: rgba(16, 185, 129, 0.2);
  --danger: #ef4444;           /* Coral Red */

  --text-main: #f8fafc;        /* Off-white */
  --text-muted: #94a3b8;       /* Cool Gray */
  --text-dark: #0f172a;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  background-image:
    radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.08) 0, transparent 50%),
    radial-gradient(at 100% 100%, rgba(249, 115, 22, 0.05) 0, transparent 50%),
    radial-gradient(at 50% 50%, rgba(16, 185, 129, 0.03) 0, transparent 60%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--secondary);
}

/* Glassmorphism Panel Wrapper */
.glass-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-hover);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

/* Premium Navigation Bar */
.nav-header {
  border-bottom: 1px solid var(--border-color);
  background: rgba(6, 9, 19, 0.7);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  background: var(--bg-surface-light);
}

/* Landing Page Hero Section */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 54px;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 40%, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Value Props Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.1);
}

.feature-icon {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 16px;
  display: inline-block;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-surface-light);
  border-color: var(--border-hover);
}

.btn-success {
  background: var(--success);
  color: #ffffff;
}

.btn-success:hover {
  background: #059669;
}

.btn-danger {
  background: var(--danger);
  color: #ffffff;
}

.btn-danger:hover {
  background: #dc2626;
}

/* Centered Form Cards (Login/Register) */
.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 180px);
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 450px;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--text-muted);
}

/* Premium Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* Alerts and Messages */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  border: 1px solid transparent;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.alert-error, .alert-danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.alert-info {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

/* Dashboard Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar Styling */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.sidebar-link:hover, .sidebar-link.active {
  color: var(--text-main);
  background: rgba(59, 130, 246, 0.1);
  border-left: 3px solid var(--primary);
}

/* Stat Cards */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  position: relative;
}

.stat-card .val {
  font-size: 36px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-card .lbl {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Data Table Styles */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: rgba(15, 23, 42, 0.3);
}

.premium-table th {
  background: rgba(30, 41, 59, 0.6);
  padding: 16px;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
}

.premium-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-main);
}

.premium-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.tag-blue {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.tag-orange {
  background: rgba(249, 115, 22, 0.2);
  color: #fdba74;
}

.tag-green {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

/* Flex utils */
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.mb-4 {
  margin-bottom: 32px;
}

/* Admin meeting calendar */
.admin-agenda-header {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.admin-calendar-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-calendar-title {
  min-width: 150px;
  text-align: center;
}

.admin-agenda-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.8fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.admin-meeting-form,
.admin-next-meetings {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.34);
  padding: 16px;
}

.admin-meeting-form-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-meeting-form-head h3,
.admin-next-meetings h3 {
  font-size: 17px;
  margin: 0;
}

.admin-meeting-form-head span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-meeting-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-meeting-form-grid .form-group {
  margin-bottom: 0;
}

.admin-meeting-form-grid textarea.form-control {
  min-height: 46px;
}

.admin-meeting-submit {
  width: 100%;
  margin-top: 14px;
}

.admin-next-meetings {
  min-height: 100%;
}

.admin-next-meetings h3 {
  margin-bottom: 12px;
}

.admin-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.35);
}

.admin-calendar-head {
  padding: 10px 12px;
  background: rgba(30, 41, 59, 0.72);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.admin-calendar-head:nth-child(7n) {
  border-right: none;
}

.admin-calendar-day {
  min-height: 170px;
  padding: 10px;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(15, 23, 42, 0.18);
}

.admin-calendar-day:nth-child(7n) {
  border-right: none;
}

.admin-calendar-day.is-muted {
  opacity: 0.42;
}

.admin-calendar-day.is-today {
  box-shadow: inset 0 0 0 2px rgba(59, 130, 246, 0.65);
}

.admin-calendar-day-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.admin-calendar-date {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 800;
}

.admin-calendar-add {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 800;
  opacity: 0;
  transition: var(--transition-smooth);
}

.admin-calendar-day:hover .admin-calendar-add,
.admin-calendar-add:focus {
  opacity: 1;
  color: var(--text-main);
  border-color: var(--border-hover);
  background: rgba(59, 130, 246, 0.16);
}

.admin-calendar-meetings {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 226px;
  overflow-y: auto;
  padding-right: 2px;
}

.admin-meeting-card {
  padding: 9px 10px;
  border: 1px solid rgba(59, 130, 246, 0.24);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.1);
  font-size: 12px;
}

.admin-meeting-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.admin-meeting-delete {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(239, 68, 68, 0.36);
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.18);
  color: #fecaca;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
}

.admin-meeting-town {
  color: #bfdbfe;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.admin-meeting-contact {
  color: var(--text-main);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.admin-meeting-meta {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.admin-upcoming {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-upcoming-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: rgba(30, 41, 59, 0.35);
}

.admin-upcoming-item span,
.admin-upcoming-item small {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

/* OCR Section Box */
.ocr-box {
  background: radial-gradient(circle at 10% 20%, rgba(249, 115, 22, 0.05) 0%, rgba(59, 130, 246, 0.05) 90%);
  border: 1.5px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-bottom: 32px;
  transition: var(--transition-smooth);
}

.ocr-box:hover {
  border-color: var(--secondary);
  background: radial-gradient(circle at 10% 20%, rgba(249, 115, 22, 0.08) 0%, rgba(59, 130, 246, 0.08) 90%);
}

.ocr-loading {
  display: none;
  margin-top: 12px;
  color: var(--secondary);
  font-weight: 700;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* ==========================================
   DECK LANDING · Town Tourist Solution
   Sistema visual heredado del deck comercial:
   papel claro, tinta navy, acento por sección,
   chips pálidos y tarjetas blancas con barra.
   ========================================== */

.page-landing {
  --paper: #F7F8F3;
  --card: #ffffff;
  --rail: #EEF4F5;
  --rail-card: #DDE7EA;
  --ink: #162331;
  --muted: #5c6b73;
  --soft: #9aa7ad;
  --line: #D9E0E4;
  --card-line: #ECEFEA;
  --pl-blue: #E7F1F7;
  --pl-green: #ECF6E4;
  --pl-orange: #FFF0DF;
  --pl-teal: #DFF4F5;
  --pl-purple: #F2E6F7;
  --tx-blue: #0F5C96;
  --tx-green: #5a8a1e;
  --tx-orange: #d2700a;
  --tx-teal: #17A2A7;
  --tx-purple: #8E44AD;

  background: var(--paper);
  background-image: none;
  color: var(--ink);
  font-family: 'Figtree', 'Segoe UI', sans-serif;
}

.page-landing .container,
.page-landing main.container {
  max-width: 1180px;
  padding: 0 32px;
}

/* --- Nav y footer en clave deck --- */
.page-landing .nav-header {
  background: rgba(247, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.page-landing .nav-container {
  max-width: 1180px;
  padding: 18px 32px;
}
.page-landing .logo {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.page-landing .nav-link {
  color: var(--muted);
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
}
.page-landing .nav-link:hover,
.page-landing .nav-link.active {
  color: var(--ink);
  background: transparent;
}
.page-landing .nav-links .btn {
  background: var(--ink) !important;
  color: #fff !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 999px;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 13px !important;
  padding: 9px 20px !important;
}
.page-landing .nav-links .btn:hover {
  background: var(--tx-blue) !important;
  transform: none;
}
.page-landing .site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 44px 32px;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  text-align: center;
}
.page-landing .site-footer a { color: #8fc4e8; }
.page-landing .site-footer a:hover { color: #fff; }
.footer-legal { margin: 6px 0; font-size: 13px; }
.footer-legal a { margin: 0 2px; }

/* --- Slides --- */
.dk {
  font-family: 'Figtree', sans-serif;
  line-height: 1.5;
  color: var(--ink);
}
.dk b { font-weight: 700; }

.dk-slide {
  position: relative;
  padding: 88px 0 0 40px;
}
.dk-slide::before {
  content: "";
  position: absolute;
  left: 0;
  top: 96px;
  bottom: 72px;
  width: 6px;
  border-radius: 3px;
  background: var(--accent);
}

.dk-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.dk-dash {
  width: 56px;
  height: 6px;
  border-radius: 3px;
  background: var(--accent);
}
.dk-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}

/* --- Selector de país / idioma (centrado en el header) --- */
.page-landing .nav-container { position: relative; }
.dk-langs {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dk-lang {
  display: inline-flex;
  border-radius: 6px;
  overflow: hidden;
  line-height: 0;
  border: 2px solid transparent;
  opacity: 0.55;
  filter: saturate(0.75);
  box-shadow: 0 2px 6px rgba(22, 35, 49, 0.12);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}
.dk-lang svg { width: 30px; height: 20px; display: block; }
.dk-lang:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
}
.dk-lang.on {
  opacity: 1;
  filter: none;
  border-color: var(--ink);
}

.dk-display {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-stretch: 108%;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.dk-hl {
  background: var(--pl-blue);
  color: var(--tx-blue);
  padding: 0 14px 3px;
  border-radius: 14px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  white-space: nowrap;
}
.dk-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-stretch: 105%;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 26ch;
  margin: 0 0 18px;
}
.dk-title-xl {
  font-size: clamp(32px, 4vw, 54px);
  max-width: 22ch;
}
.dk-lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 50ch;
  margin: 24px 0 32px;
}
.dk-kicker {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 66ch;
  margin: 0 0 44px;
}

/* --- Botones y chips --- */
.dk-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.dk-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
}
.dk-btn-primary {
  background: var(--tx-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 92, 150, 0.28);
}
.dk-btn-primary:hover {
  background: #0c4a79;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 92, 150, 0.34);
}
.dk-btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.dk-btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}
.dk-btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.dk-btn-light:hover {
  background: var(--pl-blue);
  color: var(--tx-blue);
  transform: translateY(-2px);
}

.dk-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.dk-chip {
  display: inline-flex;
  align-items: center;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}
.pl-blue { background: var(--pl-blue); }
.pl-green { background: var(--pl-green); }
.pl-orange { background: var(--pl-orange); }
.pl-teal { background: var(--pl-teal); }
.pl-purple { background: var(--pl-purple); }
.t-blue { color: var(--tx-blue); }
.t-green { color: var(--tx-green); }
.t-orange { color: var(--tx-orange); }
.t-teal { color: var(--tx-teal); }
.t-purple { color: var(--tx-purple); }

/* --- Aptitud fondos Next Generation --- */
.dk-nextgen-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--pl-green);
  color: var(--tx-green);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
}
.dk-nextgen-badge svg { flex-shrink: 0; }

/* --- Hero: el turismo en cifras --- */
.dk-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.dk-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dk-stat {
  border-radius: 18px;
  padding: 22px 20px;
}
.dk-stat-bar {
  display: block;
  width: 48px;
  height: 6px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.dk-stat-num {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.3vw, 31px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
  white-space: nowrap;
}
.dk-stat p {
  font-size: 13.5px;
  line-height: 1.42;
  color: var(--muted);
  margin: 10px 0 0;
}
.dk-stat-note {
  grid-column: 1 / -1;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  margin: 6px 0 0;
}
.dk-stat-note b { font-weight: 700; }
.dk-stat-src {
  grid-column: 1 / -1;
  font-size: 11.5px;
  color: var(--soft);
  margin: 0;
}

/* --- Pie de slide --- */
.dk-foot {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-top: 72px;
  padding: 18px 0 0;
  border-top: 2px solid var(--line);
}
.dk-foot-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--soft);
}
.dk-foot-topic {
  font-size: 14px;
  color: var(--soft);
}
.dk-foot-brand {
  margin-left: auto;
  font-size: 14px;
  color: var(--soft);
  text-align: right;
}

/* --- Tarjetas de servicio --- */
.dk-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.dk-card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.dk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}
.dk-cbar {
  display: block;
  width: 48px;
  height: 6px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.dk-card h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}
.dk-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* --- Módulos --- */
.dk-modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.dk-module {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}
.dk-mod-num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 16px;
}
.dk-module h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin: 2px 0 4px;
}
.dk-module p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* --- Proceso --- */
.dk-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.dk-step {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}
.dk-step-hl {
  background: var(--pl-teal);
  border-color: rgba(23, 162, 167, 0.35);
  box-shadow: 0 10px 26px rgba(23, 162, 167, 0.16);
}
.dk-step-hl small { color: var(--tx-teal); }
.dk-step-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 14px;
}
.dk-step h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 8px;
}
.dk-step p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 16px;
}
.dk-step small {
  margin-top: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
}

/* --- Modelo: autofinanciación --- */
.dk-model-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 40px;
  align-items: start;
}
.dk-caption {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--soft);
  margin: 0 0 16px;
}
.dk-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.dk-tier {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}
.dk-tier h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--muted);
  margin: 0 0 10px;
}
.dk-tier-num {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
  white-space: nowrap;
}
.dk-tier p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  margin: 10px 0 0;
}
.dk-model-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--pl-blue);
  border-radius: 18px;
  padding: 24px 28px;
}
.dk-model-cta p {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--tx-blue);
  margin: 0;
}
.dk-model-cta .dk-btn { flex-shrink: 0; }
.dk-zero {
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  color: #fff;
  padding: 42px 36px;
  background: linear-gradient(160deg, #79bd2c 0%, #4d8718 100%);
  box-shadow: 0 22px 50px rgba(77, 135, 24, 0.35);
}
.dk-zero-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.92;
}
.dk-zero-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(76px, 7vw, 104px);
  line-height: 0.95;
  margin-top: 8px;
}
.dk-zero-rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.32);
  margin: 28px 0 24px;
}
.dk-zero-surplus {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 3vw, 46px);
  margin-top: 6px;
}
.dk-zero-tiers {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dk-zero-tiers li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.dk-zero-tiers li:last-child { border-bottom: none; padding-bottom: 0; }
.dk-zero-tier-name {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.92;
}
.dk-zero-tier-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2vw, 28px);
  white-space: nowrap;
}
.dk-zero-note {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.92;
  margin: 22px 0 0;
}

/* --- Panel del ayuntamiento --- */
.dk-panel {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-radius: 26px;
  color: #fff;
  padding: 56px 52px;
}
.dk-panel::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -12%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--tx-purple) 0%, transparent 65%);
  opacity: 0.3;
  pointer-events: none;
}
.dk-panel > * { position: relative; }
.dk-panel-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-stretch: 105%;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.dk-panel-lede {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  margin: 0 0 30px;
}
.dk-panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}
.dk-panel-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}
.dk-panel-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #c39ad6;
}

/* --- CTA de cierre --- */
.page-landing .messages-container { display: none; }
.dk-alerts { max-width: 720px; margin-bottom: 24px; }
.dk-alert {
  border-radius: 14px;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}
.dk-alert.is-success {
  background: var(--pl-green);
  color: var(--tx-green);
  border: 1px solid rgba(90, 138, 30, 0.25);
}
.dk-alert.is-error {
  background: #FBEAE5;
  color: #b3441e;
  border: 1px solid rgba(179, 68, 30, 0.25);
}

.dk-cta-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  align-items: start;
}
.dk-form {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 22px;
  padding: 34px 32px;
  box-shadow: 0 14px 36px rgba(22, 35, 49, 0.08);
}
.dk-form-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 22px;
}
.dk-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.dk-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dk-field { margin-bottom: 16px; }
.dk-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 7px;
}
.dk-field label span { color: var(--tx-orange); }
.dk-field input,
.dk-field textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.dk-field input::placeholder,
.dk-field textarea::placeholder { color: var(--soft); }
.dk-field input:focus,
.dk-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--tx-blue);
  box-shadow: 0 0 0 4px rgba(15, 92, 150, 0.12);
}
.dk-field textarea { resize: vertical; min-height: 104px; }
.dk-consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  color: var(--soft);
  margin: 4px 0 14px;
}
.dk-consent input { margin-top: 3px; flex: 0 0 auto; }
.dk-consent a { color: #0F5C96; text-decoration: underline; }
.dk-form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.dk-form-note {
  font-size: 13px;
  color: var(--soft);
  text-align: center;
  margin: 12px 0 0;
}
.dk-cta-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dk-cta-side .dk-demo-chip {
  align-self: flex-start;
  margin: 8px 0 0;
}
.dk-cta-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 28px;
}
.dk-ctarow {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-left: 7px solid var(--c);
  border-radius: 16px;
  padding: 18px 26px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.dk-ctarow:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.09);
}
.dk-ctarow-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--cl);
  color: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dk-ctarow-kicker {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c);
}
.dk-ctarow-value {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(19px, 2.2vw, 27px);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 4px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.dk-demo-chip {
  margin-bottom: 26px;
}
.dk-contact-line {
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 4px;
}
.dk-contact-sub {
  font-size: 13.5px;
  color: var(--muted);
}
.dk-slide-last { padding-bottom: 0; }

/* --- Motion & craft layer --- */
html:has(body.page-landing) { scroll-behavior: smooth; }
.page-landing ::selection { background: var(--tx-blue); color: #fff; }
.page-landing :focus-visible {
  outline: 3px solid var(--tx-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.dk-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
}
.dk-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0F5C96, #17A2A7, #6BAA25, #F5820B, #8E44AD);
}

.page-landing .nav-header { transition: box-shadow 0.3s ease; }
.page-landing .nav-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(22, 35, 49, 0.08);
}

/* Revelado al hacer scroll */
.dk-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms);
}
.dk-reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Entrada del hero al cargar */
@keyframes dk-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.dk-hero-grid > div:first-child > * { animation: dk-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.dk-hero-grid .dk-display { animation-delay: 0.05s; }
.dk-hero-grid .dk-lede { animation-delay: 0.18s; }
.dk-hero-grid .dk-actions { animation-delay: 0.3s; }
.dk-hero-grid .dk-chips { animation-delay: 0.42s; }

/* Stats del hero: entrada escalonada + realce al pasar */
.dk-hero-stats > * { animation: dk-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.dk-hero-stats > :nth-child(1) { animation-delay: 0.2s; }
.dk-hero-stats > :nth-child(2) { animation-delay: 0.3s; }
.dk-hero-stats > :nth-child(3) { animation-delay: 0.4s; }
.dk-hero-stats > :nth-child(4) { animation-delay: 0.5s; }
.dk-hero-stats > :nth-child(5) { animation-delay: 0.62s; }
.dk-hero-stats > :nth-child(6) { animation-delay: 0.7s; }
.dk-stat {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dk-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(22, 35, 49, 0.1);
}

/* Marquee infinito */
.dk-marquee {
  margin-top: 56px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.dk-marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: dk-marquee 30s linear infinite;
}
.dk-marquee:hover .dk-marquee-track { animation-play-state: paused; }
.dk-marquee-track span {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
}
.dk-marquee-track i {
  font-style: normal;
  font-size: 12px;
  color: var(--accent, var(--tx-blue));
}
@keyframes dk-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Brillo en el botón primario */
.dk-btn-primary {
  position: relative;
  overflow: hidden;
}
.dk-btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.dk-btn-primary:hover::after { left: 130%; }

/* Tarjetas: borde de acento al pasar */
.dk-card, .dk-module, .dk-tier {
  border-top: 3px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.dk-card:hover { border-top-color: var(--accent, var(--tx-blue)); }
.dk-module:hover, .dk-tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

/* Accesibilidad: sin movimiento */
@media (prefers-reduced-motion: reduce) {
  html:has(body.page-landing) { scroll-behavior: auto; }
  .dk-reveal { opacity: 1; transform: none; transition: none; }
  .dk-hero-grid > div > *, .dk-hero-stats > * { animation: none; }
  .dk-marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .dk-slide { padding-left: 28px; }
  .dk-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .dk-hero-stats { max-width: 560px; }
  .dk-cards-3 { grid-template-columns: 1fr; }
  .dk-modules { grid-template-columns: 1fr; }
  .dk-steps { grid-template-columns: repeat(2, 1fr); }
  .dk-model-grid { grid-template-columns: 1fr; }
  .dk-tiers { grid-template-columns: repeat(3, 1fr); }
  .dk-model-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .dk-panel { padding: 40px 30px; }
  .dk-panel-list { grid-template-columns: 1fr; }
  .dk-cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .page-landing .container,
  .page-landing main.container { padding: 0 18px; }
  .dk-slide { padding: 64px 0 0 20px; }
  .dk-slide::before { top: 70px; bottom: 56px; width: 5px; }
  .dk-hl { white-space: normal; }
  .dk-steps { grid-template-columns: 1fr; }
  .dk-tiers { grid-template-columns: 1fr; }
  .dk-foot { flex-wrap: wrap; gap: 8px 14px; margin-top: 56px; }
  .dk-foot-brand { margin-left: 0; width: 100%; text-align: left; }
  .dk-ctarow { gap: 14px; padding: 14px 18px; }
  .dk-ctarow-icon { width: 44px; height: 44px; border-radius: 12px; }
  .dk-form { padding: 24px 20px; }
  .dk-form-row { grid-template-columns: 1fr; gap: 0; }
  .dk-stat-num { white-space: normal; }
}

/* Mobile-first tweaks */
@media(max-width: 768px) {
  /* El nav pasa a columna: las banderas fluyen como fila propia, centradas */
  .dk-langs {
    position: static;
    transform: none;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-agenda-header {
    align-items: flex-start;
  }

  .admin-calendar-toolbar {
    justify-content: flex-start;
  }

  .admin-agenda-workbench {
    grid-template-columns: 1fr;
  }

  .admin-meeting-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-calendar {
    grid-template-columns: 1fr;
  }

  .admin-calendar-head {
    display: none;
  }

  .admin-calendar-day {
    min-height: auto;
    border-right: none;
  }

  .admin-calendar-add {
    opacity: 1;
  }

  .hero h1 {
    font-size: 36px;
  }

  .nav-container {
    flex-direction: column;
    gap: 12px;
  }
}

@media(max-width: 520px) {
  .admin-meeting-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-calendar-toolbar .btn,
  .admin-calendar-title {
    flex: 1 1 auto;
  }
}
