/* ========================= */
/* css/estilos.css */
/* ========================= */

:root {
  --bg: #0b1020;
  --panel: rgba(10, 16, 32, 0.62);
  --panel-strong: rgba(10, 16, 32, 0.78);
  --text: #f4f7fb;
  --muted: rgba(244, 247, 251, 0.78);
  --accent: #7dd3fc;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 10px rgba(0, 0, 0, 0.35);

}

/* Reset básico sólido */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(125, 211, 252, 0.15), transparent 35%),
    linear-gradient(180deg, #111827 0%, #050816 100%);
  color: var(--text);
  overflow-x: hidden;
}

/* ========================= */
/* Layout base */
/* ========================= */

.page {
  position: relative;
  min-height: 100vh;
  padding: clamp(32px, 4vw, 56px) 20px 64px;
  isolation: isolate;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(5, 8, 22, 0.86), rgba(5, 8, 22, 0.58)),
    url("../img/planning.jpg") center/cover no-repeat;
  opacity: 0.24;
  filter: saturate(0.9) contrast(1.05) brightness(0.95);
  transform: scale(1.03);
  z-index: -2;
  pointer-events: none;
}

.page::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.05), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(125, 211, 252, 0.10), transparent 20%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.04), transparent 25%);
  z-index: -1;
  pointer-events: none;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

/* ========================= */
/* Hero layout */
/* ========================= */

/*.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(20px, 2.5vw, 36px);
  align-items: start;
  min-height: auto;
}*/

/* ========================= */
/* Panel y cards */
/* ========================= */

.panel,
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(140px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 80px;
  min-width: 0;
}

.panel {
  padding: clamp(24px, 3vw, 40px);
}

.card {
  padding: 20px;
  background: var(--panel-strong);
}

/* ========================= */
/* Tipografía */
/* ========================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.22);
  color: #dff7ff;
  font-size: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.lead {
  margin: 0 0 24px;
  max-width: 60ch;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: #5CC9FE;
}

/* ========================= */
/* Botones */
/* ========================= */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #7dd3fc, #38bdf8);
  color: #042033;
}

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

.btn:hover {
  transform: translateY(-2px);
}

/* ========================= */
/* Lista servicios */
/* ========================= */

.planning-list {
  padding-left: 0;
  list-style: none;
}

.planning-list li {
  margin-bottom: 8px;
  line-height: 1.55;
}

/* ========================= */
/* TAG CLOUD */
/* ========================= */

.tag-cloud {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(12px, 2vw, 28px);
  background: transparent;
}

.tag-cloud__title {
  margin-bottom: 16px;
  color: rgba(244, 247, 251, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tag-cloud__items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 520px;
  justify-content: center;
}

.tag {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #eaf7ff;
  font-size: 0.95rem;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  transition: 0.2s;
}

.tag:hover {
  transform: translateY(-2px);
  background: rgba(125, 211, 252, 0.10);
}

/* tamaños jerárquicos */
.tag--sm { font-size: 0.85rem; }
.tag--md { font-size: 0.95rem; }
.tag--lg { font-size: 1.08rem; font-weight: 600; }
.tag--xl { font-size: 1.22rem; font-weight: 700; }

/* ========================= */
/* Footer */
/* ========================= */

.footer-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: rgba(244,247,251,0.65);
}

/* ========================= */
/* Responsive */
/* ========================= */

@media (max-width: 900px) {

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

  .tag-cloud {
    min-height: auto;
    padding-top: 8px;
  }

  .tag-cloud__items {
    justify-content: flex-start;
  }

  .page {
    padding: 24px 16px 48px;
  }
}