:root{
  --mc-bg: #f6f7fb;
  --mc-surface: #ffffff;
  --mc-surface-2: rgba(255,255,255,0.72);
  --mc-border: rgba(15, 23, 42, 0.10);

  --mc-text: #0f172a;         /* slate-900 */
  --mc-muted: rgba(15,23,42,0.62);

  --mc-primary: #2f6fed;      /* azul serio */
  --mc-primary-2: #5aa6ff;

  --mc-shadow: 0 14px 40px rgba(2, 6, 23, 0.08);
  --mc-shadow-soft: 0 8px 22px rgba(2, 6, 23, 0.06);

  --mc-radius: 18px;
}

html, body { height: 100%; }

body{
  margin: 0;
  color: var(--mc-text);
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(47,111,237,0.10), transparent 60%),
    radial-gradient(700px 420px at 85% 10%, rgba(90,166,255,0.08), transparent 55%),
    linear-gradient(180deg, var(--mc-bg), #ffffff);
}

/* Topbar */
.mc-topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246,247,251,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mc-border);
}

.mc-topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 12px;
}

.mc-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color: var(--mc-text);
}

.mc-brand__mark{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mc-primary), var(--mc-primary-2));
  box-shadow: 0 0 0 5px rgba(47,111,237,0.14);
}

.mc-brand__text{
  font-weight: 800;
  letter-spacing: -0.2px;
}

.mc-help{
  text-decoration:none;
  color: rgba(15,23,42,0.72);
  font-weight: 650;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.70);
}
.mc-help:hover{
  color: var(--mc-text);
  border-color: rgba(15,23,42,0.16);
}

/* Main */
.mc-main{ padding: 26px 0 44px; }

.mc-hero{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 6px;
  margin-bottom: 18px;
}
@media (max-width: 992px){
  .mc-hero{ grid-template-columns: 1fr; }
}

.mc-hero__left{
  background: var(--mc-surface-2);
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  box-shadow: var(--mc-shadow);
  padding: 22px;
}

.mc-title{
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: -0.5px;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
}

.mc-subtitle{
  margin: 0 0 14px;
  color: var(--mc-muted);
  max-width: 70ch;
}

.mc-note{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.72);
  color: rgba(15,23,42,0.70);
}

.mc-note__icon{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--mc-primary), var(--mc-primary-2));
}

.mc-note__link{
  color: rgba(15,23,42,0.86);
  text-decoration: none;
  border-bottom: 1px dashed rgba(15,23,42,0.25);
}
.mc-note__link:hover{
  color: var(--mc-text);
  border-bottom-color: rgba(15,23,42,0.45);
}

.mc-hero__right{
  background: var(--mc-surface-2);
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  box-shadow: var(--mc-shadow);
  padding: 22px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.mc-clock{
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.75);
  padding: 16px 16px 14px;
  box-shadow: var(--mc-shadow-soft);
}

.mc-clock__label{
  font-weight: 800;
  color: rgba(15,23,42,0.70);
  letter-spacing: -0.2px;
}

.mc-clock__date{
  margin-top: 6px;
  color: rgba(15,23,42,0.72);
}

.mc-clock__time{
  margin-top: 6px;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.mc-clock__tz{
  margin-top: 6px;
  color: rgba(15,23,42,0.55);
  font-size: 0.92rem;
}

/* Section head */
.mc-sectionhead{ margin: 6px 0 12px; }
.mc-sectionhead__title{
  margin: 0;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.2px;
}
.mc-sectionhead__subtitle{
  margin: 4px 0 0;
  color: rgba(15,23,42,0.62);
}

/* Grid */
.mc-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.mc-card{
  grid-column: span 12;
  display:grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;

  padding: 16px;
  border-radius: var(--mc-radius);
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.82);
  box-shadow: var(--mc-shadow-soft);

  text-decoration:none;
  color: var(--mc-text);

  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.mc-card:hover{
  transform: translateY(-2px);
  border-color: rgba(15,23,42,0.14);
  box-shadow: 0 14px 34px rgba(2,6,23,0.10);
}

.mc-card:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(47,111,237,0.18), 0 14px 34px rgba(2,6,23,0.10);
}

@media (min-width: 576px){
  .mc-card{ grid-column: span 6; }
}
@media (min-width: 992px){
  .mc-card{ grid-column: span 4; }
}

.mc-card--primary{
  border-color: rgba(47,111,237,0.22);
  background: linear-gradient(135deg, rgba(47,111,237,0.12), rgba(255,255,255,0.85));
}

.mc-card__icon{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display:grid;
  place-items:center;

  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.86);
}

.mc-card--primary .mc-card__icon{
  border-color: rgba(47,111,237,0.22);
  background: rgba(255,255,255,0.86);
}

.mc-card__icon svg{ width: 26px; height: 26px; }

.mc-ico-stroke{
  stroke: rgba(15,23,42,0.72);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mc-card__title{
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.mc-card__desc{
  margin: 6px 0 0;
  color: rgba(15,23,42,0.62);
}

.mc-card__foot{
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}

.mc-card__meta{
  color: rgba(15,23,42,0.55);
  font-size: 0.92rem;
}

.mc-card__go{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.72);
  color: rgba(15,23,42,0.70);
  font-weight: 900;
}

/* Footer */
.mc-footer{
  border-top: 1px solid var(--mc-border);
  background: rgba(246,247,251,0.85);
  backdrop-filter: blur(10px);
  padding: 14px 0;
}

.mc-footer__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(15,23,42,0.60);
  font-size: 0.95rem;
}

.mc-footer__link{
  color: rgba(15,23,42,0.72);
  text-decoration:none;
  border-bottom: 1px dashed rgba(15,23,42,0.25);
}
.mc-footer__link:hover{
  color: var(--mc-text);
  border-bottom-color: rgba(15,23,42,0.45);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Mobile polish: más aire + ocultar la hora
   ========================================================= */

/* 1) En móvil no mostramos la hora (panel derecho) */
@media (max-width: 768px){
  .mc-hero__right{
    display: none !important;
  }
}

/* 2) Más padding y separación en pantallas pequeñas */
@media (max-width: 576px){
  /* Aire general */
  .mc-main{
    padding-top: 16px;
    padding-bottom: 32px;
  }

  /* Separación entre bloques */
  .mc-hero{
    gap: 12px;
    margin-bottom: 14px;
  }

  .mc-hero__left{
    padding: 18px;
  }

  .mc-sectionhead{
    margin-top: 14px;
    margin-bottom: 10px;
  }

  /* Tarjetas menos “apelotonadas” */
  .mc-grid{
    gap: 12px;
  }

  .mc-card{
    padding: 14px;
    gap: 12px;
    grid-template-columns: 48px 1fr;
  }

  .mc-card__icon{
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .mc-card__title{
    font-size: 1.02rem;
  }

  .mc-card__desc{
    line-height: 1.35;
  }

  /* Footer con algo más de aire */
  .mc-footer{
    padding: 12px 0;
  }
}

