﻿:root {
  --bg: #030615;
  --surface: rgba(18,40,82,0.24);
  --surface-soft: rgba(18,40,82,0.14);
  --surface-border: rgba(72,140,255,0.22);
  --text: #edf3ff;
  --muted: #9ab8ff;
  --primary: #4f7dff;
  --primary-soft: rgba(79,125,255,0.18);
  --accent: #3ad7ff;
  --priority-low: #45e8c9;
  --priority-medium: #FFB800;
  --priority-high: #FF6B6B;
  --green: #45e8c9;
  --shadow: 0 32px 80px rgba(0,0,0,0.45);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(79,125,255,0.18), transparent 20%), radial-gradient(circle at 78% 12%, rgba(58,215,255,0.12), transparent 16%), radial-gradient(circle at 40% 15%, rgba(34,88,185,0.08), transparent 28%), #030615;
  color: var(--text);
}

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  background: rgba(2,8,24,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(79,125,255,0.12);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 1.3rem;
  font-weight: 800;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.header-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-section {
  padding: 4rem 0 1.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-copy h1,
.info-card h2,
.features-card h3,
.cta-section h2 {
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(3rem, 4vw, 4.4rem);
  line-height: 1.02;
  max-width: 14ch;
}

/* Stronger hero heading on landing page for clearer hierarchy */
body.landing-page .hero-copy h1,
body.landing-page .landing-hero-copy h1 {
  font-size: clamp(3.4rem, 5vw, 4.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

body.landing-page .hero-copy p {
  font-size: 1.05rem;
  margin-top: 1rem;
}

.hero-copy p {
  max-width: 44rem;
  margin: 1.5rem 0 1.6rem;
  color: var(--muted);
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stats article {
  padding: 1rem 1.2rem;
  border-radius: 1.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.45rem;
}

.glass-panel {
  background: rgba(9,23,58,0.78);
  border: 1px solid rgba(79,125,255,0.16);
  border-radius: 0rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-panel {
  padding: 2rem;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.panel-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.panel-metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.8rem;
}

.panel-metrics article {
  padding: 1rem 1rem;
  border-radius: 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
}

.panel-metrics p {
  color: var(--muted);
}

.panel-metrics h2 {
  margin-top: 0.6rem;
  font-size: 1.75rem;
}

.panel-list {
  display: grid;
  gap: 1rem;
}

.panel-list div {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 1.3rem;
  background: rgba(255,255,255,0.04);
}

.panel-list p {
  margin: 0;
  color: var(--muted);
}

.dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
}

.dot-primary { background: var(--primary); }
.dot-accent { background: var(--accent); }
.dot-green { background: var(--green); }

.info-section {
  padding: 4rem 0;
}

.info-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.3fr 0.9fr;
}

.info-card {
  padding: 2.1rem;
}

.info-card h2 {
  font-size: clamp(2.6rem, 3vw, 3.2rem);
  margin-bottom: 1.2rem;
}

button,
input,
select {
  border: 0;
  border-radius: 1rem;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.4rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  border-radius: 1.2rem;
}

button:hover {
  transform: translateY(-1px);
}

.button {
  min-height: 52px;
  padding: 0 1.4rem;
  border-radius: 1.2rem;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), rgba(58,215,255,0.96));
  color: #fff;
  box-shadow: 0 18px 40px rgba(28,100,255,0.24);
}

.button-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid rgba(79,125,255,0.24);
}

.button-transparent {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(79,125,255,0.22);
}

.button-full {
  width: 100%;
  justify-content: center;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem;
  min-height: calc(100vh - 2.5rem);
  background: linear-gradient(180deg, rgba(3,9,29,0.98), rgba(10,24,53,0.96));
  border: 1px solid rgba(79,125,255,0.16);
}

.sidebar-nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 1.15rem;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--text);
  background: rgba(79,125,255,0.14);
  transform: translateX(2px);
}

.sidebar-nav a::before {
  content: "";
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.8rem;
  border-radius: 999px;
  background: rgba(79,125,255,0.75);
}

.sidebar-nav a.active::before {
  background: var(--accent);
}

.sidebar-actions {
  display: grid;
  gap: 0.85rem;
}

.sidebar-actions .button {
  width: 100%;
}

.hero-section,
.info-section,
.cta-section,
.page-title,
.dashboard-top {
  width: min(1120px, calc(100% - 2rem));

/* Landing refinements: cleaner spacing and consistent cards */
body.landing-page .landing-header {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(79,125,255,0.06);
}

body.landing-page .landing-hero .hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.8rem;
  align-items: center;
}

body.landing-page .landing-hero-copy {
  max-width: 56ch;
}

body.landing-page .landing-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

body.landing-page .glass-panel {
  border-radius: 1.4rem;
}

/* Pricing and feature cards consistent padding */
.pricing-card,
.feature-card,
.about-card,
.hero-panel,
.final-cta {
  padding: 1.6rem;
  border-radius: 1.6rem;
}

/* Improve visual hierarchy for landing CTA */
.landing-hero .hero-buttons .button-primary {
  box-shadow: 0 20px 50px rgba(31,99,255,0.14);
}

/* Make partner and pricing grids more even */
.partners-grid,
.pricing-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

/* Subtle entrance animation and hover micro-interactions for cards */
.card-animate {
  animation: appearUp 520ms cubic-bezier(.22,.9,.35,1) both;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card-animate:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(4,20,60,0.28);
}

@keyframes appearUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Decorative hero visual card */
.hero-visual-card {
  padding: 1.2rem;
  border-radius: 1.6rem;
  overflow: hidden;
}

/* Stronger hero presentation */
body.landing-page .hero-section {
  padding: 6.2rem 0 2.6rem;
  background: radial-gradient(circle at 10% 10%, rgba(79,125,255,0.06), transparent 12%), transparent;
}

body.landing-page .landing-hero .hero-copy {
  padding: 1.2rem 0 1.2rem 0;
}

body.landing-page .landing-hero .hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.landing-page .hero-visual-card {
  width: 100%;
  max-width: 420px;
  padding: 1.6rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(9,23,58,0.82), rgba(3,9,29,0.9));
  box-shadow: 0 30px 80px rgba(2,12,40,0.48);
}

/* Premium section refinements */
.premium-section {
  padding: 3rem 0;
}

.pricing-grid {
  gap: 1.25rem;
  align-items: start;
}

.pricing-card {
  padding: 1.8rem;
  border-radius: 1.8rem;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.pricing-card .pricing-value {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0.6rem 0 1rem;
}

.pricing-card .button {
  margin-top: 1rem;
}

.pricing-card.pricing-card-featured {
  border: 1px solid rgba(79,125,255,0.18);
}

.pricing-card.pricing-card-featured .pricing-badge {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(31,99,255,0.12);
}

@media (min-width: 980px) {
  .pricing-card.pricing-card-featured {
    grid-column: span 1;
    transform: translateY(-8px);
  }
}

/* Quiénes somos refinements */
.about-section {
  padding: 3rem 0;
}

.about-intro {
  padding: 2rem;
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(9,23,58,0.9), rgba(3,9,29,0.94));
  border: 1px solid rgba(79,125,255,0.06);
}

.about-values article {
  padding: 1.2rem;
  border-radius: 1.4rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(79,125,255,0.04);
}

/* Convenios refinements */
.partners-section {
  padding: 3rem 0;
}

.partners-shell {
  padding: 1.4rem;
  border-radius: 1.8rem;
}

.partner-card {
  padding: 1rem 1.2rem;
  border-radius: 1.2rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(6,28,60,0.26);
  border-color: rgba(58,215,255,0.14);
}

/* Emphasize section headings */
.landing-section .section-heading h2 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

/* Tweak CTA area to stand out */
.final-cta a.button-primary {
  padding: 0.95rem 1.4rem;
  border-radius: 1.2rem;
}

/* Stronger rounded surfaces and decorative accents */
.glass-panel {
  border-radius: 1.8rem;
}

/* Pricing: highlight featured plan */
.pricing-card.pricing-card-featured {
  background: linear-gradient(180deg, rgba(79,125,255,0.12), rgba(58,215,255,0.04));
  border: 1px solid rgba(79,125,255,0.16);
  box-shadow: 0 28px 60px rgba(7,46,115,0.18);
  transform: translateY(-6px);
}

.pricing-badge {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  color: #030615;
  font-weight: 800;
  font-size: 0.8rem;
}

/* Make the pricing badge slightly animated to attract attention */
.pricing-badge {
  animation: badgeFloat 2200ms ease-in-out infinite;
}

@keyframes badgeFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

/* Partners: use cyan highlight to draw attention */
.partners-shell {
  background: linear-gradient(180deg, rgba(10,28,55,0.7), rgba(3,9,29,0.9));
  border: 1px solid rgba(58,215,255,0.06);
}

/* Feature icon styling */
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  box-shadow: 0 10px 30px rgba(8,26,60,0.28);
}
.feature-icon-blue { background: linear-gradient(180deg, rgba(79,125,255,0.18), rgba(47,101,255,0.06)); }
.feature-icon-cyan { background: linear-gradient(180deg, rgba(58,215,255,0.12), rgba(58,215,255,0.04)); }
.feature-icon-green { background: linear-gradient(180deg, rgba(69,216,200,0.12), rgba(69,216,200,0.04)); }

/* Stat cards */
.stat-card {
  padding: 1rem 1.2rem;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid rgba(79,125,255,0.06);
}
.stat-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
}

/* Pricing list icons */
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
}
.pricing-card ul li {
  position: relative;
  padding-left: 28px;
  margin: 0.45rem 0;
}
.pricing-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  box-shadow: 0 6px 18px rgba(31,99,255,0.12);
}

/* Slightly stronger hero heading weight */
body.landing-page .hero-copy h1 {
  font-weight: 900;
}

.partner-card {
  padding: 1rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(79,125,255,0.06);
}

/* CTA footer emphasis */
.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
  margin: 0 auto;
}

.hero-section {
  padding: 5rem 0 2rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(3rem, 4vw, 4.4rem);
  line-height: 1.02;
  max-width: 13ch;
}

.hero-copy p {
  max-width: 42rem;
  margin: 1.5rem 0 1.6rem;
  color: var(--muted);
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-card {
  padding: 2rem;
  border-radius: 2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 28px 70px rgba(0,0,0,0.18);
}

.stats-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.stats-row .stat-card {
  padding: 1.5rem;
  border-radius: 1.6rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}

.stats-row strong {
  display: block;
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.feature-card {
  padding: 1.8rem;
  border-radius: 1.8rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.feature-card h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.feature-card p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 2.6rem);
}

.footer-cta {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
  margin: 4rem auto 2rem;
  padding: 2rem;
  border-radius: 2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  max-width: 900px;
}

.footer-cta div:last-child {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.footer-cta p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 0.85rem;
  padding: 0;
  align-items: start;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.app-main {
  padding: 1rem;
}

.sidebar-nav a {
  padding: 0.6rem 0.85rem;
  border-radius: 1rem;
  font-size: 0.95rem;
}

.profile-card {
  padding: 1rem;
  text-align: center;
}

.profile-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.profile-card h2 {
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
}

.button {
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}

.button-full {
  width: 100%;
  min-height: 42px;
  justify-content: center;
}

.sidebar-brand a,
.sidebar-nav a {
  color: inherit;
}

.sidebar-brand {
  font-size: 1.2rem;
  font-weight: 800;
}

.profile-card {
  padding: 1.4rem;
  border-radius: 1.8rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}

.profile-card h2 {
  margin: 0.3rem 0 0;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-nav a {
  padding: 0.75rem 1rem;
  border-radius: 1.2rem;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease;
}

.sidebar-nav a.active,
.sidebar-nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.08);
}

.app-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.page-title,
.dashboard-top {
  padding: 1.5rem 0;
}

.dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.dashboard-grid,
.dashboard-panels,
.split-grid {
  display: grid;
  gap: 1.5rem;
}

.dashboard-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.split-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.stat-panel,
.panel,
.hero-card,
.dashboard-list li,
.task-item {
  border-radius: 1.8rem;
}

.stat-panel,
.panel,
.hero-card {
  padding: 1.8rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dashboard-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.dashboard-list li,
.task-item {
  padding: 1.2rem 1.3rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.task-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.task-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.task-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.task-form {
  display: grid;
  gap: 1rem;
}

.task-form-card {
  margin-top: 1.5rem;
  padding: 1.4rem;
  border-radius: 1.6rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(79,125,255,0.12);
}

.task-calendar {
  display: grid;
  gap: 0.8rem;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.6rem;
}

.calendar-weekdays div {
  text-align: center;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.calendar-day {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 92px;
  padding: 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(79,125,255,0.12);
  border-radius: 1.3rem;
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.calendar-day:hover {
  transform: translateY(-1px);
  border-color: rgba(79,125,255,0.22);
}

.calendar-day.selected {
  background: rgba(58,215,255,0.12);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(30,120,255,0.16);
}

.calendar-day.empty {
  background: transparent;
  border: none;
  cursor: default;
}

.calendar-day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.calendar-day-number {
  font-weight: 700;
}

.calendar-task-count {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(79,125,255,0.24);
}

.calendar-task-list {
  display: grid;
  gap: 0.35rem;
}

.calendar-task-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.27rem 0.5rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

.task-priority-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  display: inline-block;
}

.priority-low {
  color: #88e7a9;
}

.priority-low .task-priority-dot,
.task-priority-dot.priority-low {
  background: #88e7a9;
}

.priority-medium {
  color: #f7d26e;
}

.priority-medium .task-priority-dot,
.task-priority-dot.priority-medium {
  background: #f7d26e;
}

.priority-high {
  color: #ff7c8f;
}

.priority-high .task-priority-dot,
.task-priority-dot.priority-high {
  background: #ff7c8f;
}

.calendar-selected-label {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--muted);
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.legend-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  display: inline-block;
}

.legend-dot.low { background: #88e7a9; }
.legend-dot.medium { background: #f7d26e; }
.legend-dot.high { background: #ff7c8f; }

.task-form label {
  color: var(--text);
  font-size: 0.95rem;
}

.task-form input,
.task-form select,
.auth-form input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.1);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(134,87,255,0.6);
  box-shadow: 0 0 0 4px rgba(134,87,255,0.12);
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.auth-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  max-width: 820px;
  width: 100%;
  padding: 1.6rem;
}

.auth-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-side h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin: 0.3rem 0 1rem;
}

.auth-form-card {
  padding: 2rem;
  border-radius: 2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form input {
  min-height: 48px;
}

.auth-note {
  color: var(--muted);
  margin-top: 1rem;
}

.auth-back {
  margin: 0.75rem 0 1rem;
}

.auth-back a {
  color: var(--primary);
  font-size: 0.95rem;
}

.message {
  min-height: 1.4rem;
  margin-top: 1rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .split-grid,
  .dashboard-grid,
  .dashboard-panels,
  .footer-cta,
  .auth-panel,
  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-shell {
    min-height: auto;
    padding: 1rem;
  }

  .dashboard-top,
  .page-title {
    text-align: center;
  }

  .dashboard-actions {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .hero-copy h1,
  .auth-side h1,
  .section-heading h2 {
    font-size: 2.3rem;
  }

  .button {
    width: 100%;
  }
}

.info-card p {
  color: var(--muted);
  line-height: 1.9;
}

.info-list {
  display: grid;
  gap: 1rem;
}

.feature-card {
  padding: 1.7rem;
}

.feature-card h3 {
  margin-bottom: 0.9rem;
}

.features-section {
  padding: 4rem 0;
}

.section-heading {
  margin-bottom: 2rem;
}

/* Auth pages aligned with landing visual language */
body.auth-page-shell {
  min-height: 100vh;
}

body.auth-page-shell .auth-page {
  width: min(1080px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: clamp(0rem, 0vw, 0rem) 0;
}

body.auth-page-shell .auth-panel {
  max-width: none;
  gap: 1.2rem;
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(126, 165, 255, 0.24);
  background: linear-gradient(165deg, rgba(15, 28, 72, 0.92), rgba(8, 18, 47, 0.94));
  box-shadow: 0 24px 54px rgba(6, 12, 42, 0.42);
}

body.auth-page-shell .auth-side {
  border-radius: 22px;
  padding: clamp(1.3rem, 2vw, 1.9rem);
  background: linear-gradient(170deg, rgba(40, 57, 130, 0.45), rgba(18, 31, 82, 0.3));
  border: 1px solid rgba(122, 157, 255, 0.2);
}

body.auth-page-shell .auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Sora", "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

body.auth-page-shell .auth-side h1 {
  font-family: "Sora", "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

body.auth-page-shell .auth-side > p {
  color: #c0d3f7;
  line-height: 1.7;
}

body.auth-page-shell .auth-points {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

body.auth-page-shell .auth-points p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #e3eeff;
  font-weight: 500;
}

body.auth-page-shell .auth-points span {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: #eaf4ff;
  background: linear-gradient(145deg, #4c88ff, #1fa7ff);
}

body.auth-page-shell .auth-form-card {
  padding: clamp(1.35rem, 2.6vw, 2rem);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(13, 28, 72, 0.96), rgba(8, 18, 48, 0.97));
  border: 1px solid rgba(115, 152, 255, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body.auth-page-shell .auth-kicker {
  margin: 0;
  color: #9fc9ff;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
}

body.auth-page-shell .auth-form-card h2 {
  margin: 0.45rem 0 0.35rem;
  font-family: "Sora", "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

body.auth-page-shell .auth-form label {
  color: #dce9ff;
  font-size: 0.92rem;
  font-weight: 600;
}

body.auth-page-shell .auth-form input {
  border-radius: 14px;
  border: 1px solid rgba(119, 154, 255, 0.25);
  background: rgba(179, 208, 255, 0.08);
}

body.auth-page-shell .auth-form input:focus {
  border-color: rgba(91, 164, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(71, 155, 255, 0.18);
}

body.auth-page-shell .auth-form-actions {
  display: grid;
  gap: 0.75rem;
}

body.auth-page-shell .auth-form .button {
  width: 100%;
  margin-top: 0.2rem;
}

body.auth-page-shell .auth-back {
  margin: 0.4rem 0 1rem;
}

body.auth-page-shell .auth-back a,
body.auth-page-shell .auth-note a {
  color: #9fd4ff;
  font-weight: 600;
}

body.auth-page-shell .auth-note {
  margin-top: 0.95rem;
  color: #c1d4f8;
}

body.auth-page-shell .message {
  margin-top: 0.8rem;
  font-weight: 600;
}

@media (max-width: 960px) {
  body.auth-page-shell .auth-panel {
    padding: 0.85rem;
  }

  body.auth-page-shell .auth-side,
  body.auth-page-shell .auth-form-card {
    border-radius: 18px;
  }
}

@media (max-width: 620px) {
  body.auth-page-shell .auth-page {
    width: min(1080px, calc(100% - 1rem));
  }

  body.auth-page-shell .auth-side {
    padding: 1rem;
  }

  body.auth-page-shell .auth-form-card {
    padding: 1.1rem;
  }
}

.section-heading h2 {
  font-size: clamp(2.4rem, 3vw, 3rem);
  margin-top: 0.6rem;
}

.features-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.features-card {
  padding: 1.8rem;
}

.cta-section {
  padding: 3rem 0 5rem;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
}

.cta-section h2 {
  font-size: clamp(2.8rem, 3vw, 3.4rem);
  margin: 1rem 0 1rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 20px 60px rgba(134,87,255,0.28);
}

.button-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
}

.button-transparent {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.14);
}

@media (max-width: 1040px) {
  .hero-grid,
  .info-grid,
  .feature-grid,
  .features-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .panel-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-row,
  .hero-buttons,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .header-nav {
    display: none;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }
}

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

.hero-copy {
  max-width: 720px;
}

.section-copy {
  max-width: 54rem;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.convenios-section {
  padding: 4rem 0;
}

.convenios-card {
  padding: 1.8rem;
  display: grid;
  gap: 1.3rem;
  max-width: 860px;
  margin: 0 auto;
}

.convenios-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.convenio-card {
  padding: 1.2rem;
  border-radius: 1.4rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}

.convenio-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.convenio-card p {
  line-height: 1.7;
}

.convenios-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1rem;
}

.convenio-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.convenio-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.convenios-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.25rem;
}

@media (max-width: 1040px) {
  .convenios-list {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    grid-template-columns: 1fr;
  }
}
