/* ============================================================
   Festivana Creations LLC — company site
   Palette: indigo + cyan on near-black
   ============================================================ */

:root {
  --bg: #0b1220;
  --bg-soft: #111a2e;
  --surface: #151f36;
  --indigo: #6366f1;
  --indigo-soft: #818cf8;
  --cyan: #22d3ee;
  --white: #ffffff;
  --text: #e8edf7;
  --muted: #94a3c4;
  --line: rgba(255, 255, 255, .10);
  --radius: 16px;
  --shadow: 0 20px 55px rgba(0, 0, 0, .45);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 18, 32, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px; max-width: 1060px; margin: 0 auto;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  color: var(--white); font-weight: 800; letter-spacing: -.02em;
  text-decoration: none; font-size: 17px;
}
.nav__links { display: flex; gap: 22px; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav__links a:hover { color: var(--cyan); }
@media (max-width: 560px) {
  .nav__inner { padding: 12px 16px; }
  .nav__brand { font-size: 15px; gap: 7px; }
  .nav__links { gap: 12px; }
  .nav__links a { font-size: 12px; }
}
@media (max-width: 380px) {
  .nav__brand { font-size: 14px; }
  .nav__links a { font-size: 11px; }
}

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 76px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 620px;
  background:
    radial-gradient(ellipse 45% 55% at 25% 20%, rgba(99, 102, 241, .35), transparent 65%),
    radial-gradient(ellipse 40% 50% at 78% 10%, rgba(34, 211, 238, .22), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(99, 102, 241, .45); background: rgba(99, 102, 241, .12);
  color: var(--indigo-soft); border-radius: 999px; padding: 6px 15px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.hero h1 {
  margin-top: 24px; font-size: clamp(36px, 6.4vw, 62px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.05; color: var(--white);
}
.hero__lead { margin: 18px auto 0; max-width: 580px; color: var(--muted); font-size: clamp(15px, 2.2vw, 18px); }

/* Hero: tarjetas de las áreas del negocio */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; text-align: left; }
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; text-decoration: none; display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, .5); box-shadow: var(--shadow); }
.pillar__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(99, 102, 241, .16); border: 1px solid rgba(99, 102, 241, .35);
}
.pillar__icon svg { width: 21px; height: 21px; stroke: var(--indigo-soft); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar__title { font-size: 19px; font-weight: 800; color: var(--white); letter-spacing: -.02em; }
.pillar__text { color: var(--muted); font-size: 15px; }
.pillar__more { margin-top: auto; padding-top: 10px; color: var(--cyan); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px;
  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; transition: .18s;
}
.btn--primary { background: var(--indigo); color: var(--white); }
.btn--primary:hover { background: var(--indigo-soft); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,.07); }

/* ---------- SECCIONES ---------- */
.section { padding: 78px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__label { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.section__title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.028em; line-height: 1.15; color: var(--white); }
.section__lead { margin-top: 16px; max-width: 620px; color: var(--muted); font-size: 16px; }

/* ---------- CHIPS ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--text); }

/* ---------- APPS ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
@media (max-width: 720px) { .grid { grid-template-columns: 1fr; } }

.app-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: .2s;
}
.app-card:hover { border-color: rgba(99,102,241,.5); box-shadow: var(--shadow); transform: translateY(-3px); }
.app-card__head { display: flex; align-items: center; gap: 14px; }
.app-card__icon { width: 58px; height: 58px; border-radius: 14px; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.app-card__name { font-size: 19px; font-weight: 800; color: var(--white); letter-spacing: -.02em; }
.app-card__tag { font-size: 12px; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: .1em; }
.app-card__text { color: var(--muted); font-size: 15px; }
.app-card__links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.app-card__links a { font-size: 14px; font-weight: 700; color: var(--indigo-soft); text-decoration: none; }
.app-card__links a:hover { color: var(--cyan); text-decoration: underline; }

/* ---------- CONTACTO ---------- */
.contact-box {
  margin-top: 28px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; display: flex; flex-wrap: wrap;
  gap: 18px; align-items: center; justify-content: space-between;
}
.contact-box__label { font-size: 13px; color: var(--muted); font-weight: 600; }
.contact-box__value { font-size: 18px; font-weight: 800; color: var(--white); }

/* ---------- FOOTER ---------- */
.footer { background: #070d18; border-top: 1px solid var(--line); color: var(--muted); padding: 40px 0; font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.footer a { color: var(--text); }
.footer__legal { font-size: 13px; color: #64748b; }

/* ---------- PÁGINAS DE TEXTO ---------- */
.doc { padding: 52px 0 78px; }
.doc h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; color: var(--white); }
.doc .doc__date { color: var(--muted); font-size: 14px; margin-top: 6px; }
.doc h2 { font-size: 19px; font-weight: 800; margin-top: 32px; color: var(--white); }
.doc p, .doc li { color: var(--muted); font-size: 16px; margin-top: 12px; }
.doc a { color: var(--indigo-soft); }
.doc ul { margin-top: 8px; padding-left: 22px; }
.doc .back { display: inline-block; margin-bottom: 20px; font-size: 14px; font-weight: 700; color: var(--cyan); text-decoration: none; }
.doc .lang-switch { margin-top: 10px; font-size: 14px; }
