/* Garita Labs CR — sitio corporativo */
:root {
  --bg: #01050F; --bg-2: #050B1A; --panel: #0A1326; --panel-2: #0E1A33; --line: #1B2A47; --line-2: #26406B;
  --text: #EEF3FB; --text-2: #B7C4DA; --muted: #7D8BA6;
  --blue: #1F6BFF; --blue-2: #3B8CFF; --cyan: #22D3EE; --silver: #DCE3EE; --cr-red: #E5243B;
  --green: #00D68F; --yellow: #FFB020;
  --radius: 18px; --max: 1180px;
  --glow: 0 0 0 1px rgba(59, 140, 255, .25), 0 20px 60px rgba(31, 107, 255, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 600px at 80% -10%, rgba(31, 107, 255, .20), transparent 60%),
              radial-gradient(700px 500px at -10% 30%, rgba(34, 211, 238, .08), transparent 60%); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); text-decoration: none; } a:hover { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, .brand-word { font-family: "Exo 2", Inter, system-ui, sans-serif; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.06; margin: 0 0 18px; font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; margin: 0 0 14px; font-weight: 750; }
h3 { font-size: 19px; margin: 0 0 8px; font-weight: 700; }
p { margin: 0 0 14px; color: var(--text-2); }
.wrap { width: min(var(--max), 100% - 32px); margin: 0 auto; }
.grad { background: linear-gradient(90deg, #fff, var(--blue-2) 55%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--cyan); font-weight: 700; font-size: 12.5px;
  letter-spacing: .28em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.lead { font-size: 18.5px; color: var(--text-2); max-width: 640px; }
.muted { color: var(--muted); } .small { font-size: 13.5px; }
.cr-stripe { display: inline-flex; width: 34px; height: 12px; border-radius: 3px; overflow: hidden; vertical-align: middle;
  background: linear-gradient(#1F3FBF 0 17%, #fff 17% 33%, var(--cr-red) 33% 67%, #fff 67% 83%, #1F3FBF 83%); }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(1, 5, 15, .72);
  border-bottom: 1px solid rgba(27, 42, 71, .7); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(59, 140, 255, .35), 0 6px 22px rgba(31, 107, 255, .45); }
.brand-word { font-weight: 800; letter-spacing: .14em; font-size: 17px; line-height: 1; }
.brand-word small { display: block; font-size: 10.5px; letter-spacing: .5em; color: var(--blue-2); margin-top: 4px; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text-2); padding: 8px 12px; border-radius: 10px; font-weight: 550; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(31, 107, 255, .12); }
.nav .btn { margin-left: 8px; }
.lang-switch { display: inline-flex; margin-left: 8px; padding: 3px; gap: 2px; border: 1px solid var(--line-2); border-radius: 10px; }
.lang-switch a { padding: 5px 8px !important; border-radius: 7px; font-size: 12.5px !important; font-weight: 700 !important; color: var(--muted) !important; }
.lang-switch a[aria-current="true"] { background: rgba(31, 107, 255, .25); color: var(--text) !important; }
@media (max-width: 880px) { .lang-switch { margin: 10px 0 0; align-self: flex-start; } }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; width: 42px; height: 40px; font-size: 20px; }
@media (max-width: 880px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 16px 18px;
    background: rgba(5, 11, 26, .97); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------------------------------------------------------------- botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px;
  font-weight: 700; font-size: 15px; border: 1px solid var(--line-2); color: var(--text); background: rgba(14, 26, 51, .6);
  transition: transform .15s, box-shadow .15s, border-color .15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); border-color: var(--blue-2); color: var(--text); }
.btn.primary { background: linear-gradient(135deg, var(--blue), #1351D6); border-color: transparent; box-shadow: 0 10px 30px rgba(31, 107, 255, .35); }
.btn.primary:hover { box-shadow: 0 14px 38px rgba(31, 107, 255, .5); }
.btn.sm { padding: 8px 14px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------------------------------------------------------------- secciones */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

.hero { padding: 84px 0 70px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-logo { position: relative; justify-self: center; }
.hero-logo > img { width: min(460px, 100%); filter: drop-shadow(0 30px 80px rgba(31, 107, 255, .35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.pillars { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: 13px; letter-spacing: .32em; text-transform: uppercase; }
.pillars span:not(:last-child)::after { content: "·"; margin-left: 22px; color: var(--blue-2); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .hero-logo { order: -1; } .hero-logo > img { width: 280px; } }

.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.card { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative; transition: transform .2s, border-color .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--glow); }
.icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(31, 107, 255, .22), rgba(34, 211, 238, .10)); border: 1px solid rgba(59, 140, 255, .35); }
.icon svg { width: 26px; height: 26px; stroke: var(--cyan); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin: 0; font-size: 15px; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--text-2); font-size: 14.5px; }

.steps { counter-reset: s; }
.step { padding-top: 54px; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 22px; left: 26px; font-family: "Exo 2";
  font-weight: 800; font-size: 26px; color: transparent; -webkit-text-stroke: 1px var(--blue-2); }
.step h3 { letter-spacing: .14em; text-transform: uppercase; font-size: 15px; color: var(--cyan); }

/* ---------------------------------------------------------------- producto destacado */
.product { display: grid; grid-template-columns: .95fr 1.05fr; gap: 0; overflow: hidden; padding: 0; }
.product .body { padding: 38px; display: flex; flex-direction: column; }
.product .shot { position: relative; background: radial-gradient(circle at 30% 30%, rgba(31, 107, 255, .25), transparent 70%); padding: 28px 0 28px 28px; display: flex; align-items: center; }
.product .shot img { border-radius: 12px 0 0 12px; border: 1px solid var(--line-2); border-right: 0; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
@media (max-width: 920px) { .product { grid-template-columns: 1fr; } .product .shot { padding: 0 0 0 24px; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; }
.tag { font-size: 12.5px; font-weight: 650; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); background: rgba(14, 26, 51, .6); }
.tag.live { color: var(--green); border-color: rgba(0, 214, 143, .4); background: rgba(0, 214, 143, .08); }
.tag.soon { color: var(--yellow); border-color: rgba(255, 176, 32, .4); background: rgba(255, 176, 32, .08); }
.checks { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; gap: 9px; }
.checks li { padding-left: 28px; position: relative; color: var(--text-2); font-size: 15px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: var(--bg); background: linear-gradient(135deg, var(--blue-2), var(--cyan)); }
.cta-card { text-align: center; padding: 56px 28px; background: radial-gradient(600px 240px at 50% 0%, rgba(31, 107, 255, .3), transparent 70%), linear-gradient(180deg, var(--panel-2), var(--panel)); }
.cta-card .actions { justify-content: center; }

/* ---------------------------------------------------------------- galería */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tabs button { background: var(--panel); border: 1px solid var(--line); color: var(--text-2); padding: 9px 16px; border-radius: 10px; font: inherit; font-weight: 650; font-size: 14px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--text); border-color: var(--blue-2); background: rgba(31, 107, 255, .16); }
.frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), var(--glow); background: var(--bg-2); }
.frame .bar { height: 30px; display: flex; gap: 7px; align-items: center; padding: 0 14px; background: #0B1427; border-bottom: 1px solid var(--line); }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #26406B; }
.phones { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.phone { width: 230px; border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #1E2C48, #0A1222); border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.phone img { border-radius: 26px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.phone figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
figure { margin: 0; }

/* ---------------------------------------------------------------- precios */
.prices { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); align-items: stretch; }
.price { display: flex; flex-direction: column; }
.price .amount { font-family: "Exo 2"; font-size: 40px; font-weight: 800; margin: 6px 0 2px; }
.price .amount small { font-size: 15px; color: var(--muted); font-weight: 600; }
.price .checks { flex: 1; margin-top: 16px; align-content: start; }
.price.featured { border-color: var(--blue-2); box-shadow: var(--glow); }
.price .ribbon { position: absolute; top: 16px; right: 16px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; padding: 4px 10px;
  border-radius: 999px; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; }

/* ---------------------------------------------------------------- otros */
.notice { border: 1px solid rgba(255, 176, 32, .35); background: rgba(255, 176, 32, .06); border-radius: 14px; padding: 16px 18px; color: var(--text-2); font-size: 14.5px; }
.notice b { color: var(--yellow); }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 0 20px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; color: var(--blue-2); font-size: 20px; line-height: 1; } details[open] summary::after { content: "–"; }
details p { padding-bottom: 18px; margin: 0; }
.about { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.about .portrait { aspect-ratio: 1; border-radius: 24px; display: grid; place-items: center; background: radial-gradient(circle, rgba(31, 107, 255, .25), transparent 70%), var(--panel);
  border: 1px solid var(--line-2); }
.about .portrait img { width: 70%; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about .portrait { max-width: 260px; } }
.contact-list { display: grid; gap: 12px; margin-top: 20px; }
.contact-list a, .contact-list span { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 600; }
.contact-list .icon { width: 42px; height: 42px; margin: 0; border-radius: 12px; }
.contact-list .icon svg { width: 20px; height: 20px; }
form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 13.5px; color: var(--text-2); font-weight: 600; }
input, textarea, select { font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; }
textarea { min-height: 120px; resize: vertical; }

.site-footer { border-top: 1px solid var(--line); padding: 46px 0 30px; margin-top: 30px; background: rgba(5, 11, 26, .6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.footer-grid a { color: var(--text-2); } .footer-grid a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- páginas legales */
.doc { max-width: 820px; margin: 0 auto; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); }
.doc h2 { font-size: 22px; margin-top: 34px; } .doc h3 { margin-top: 22px; }
.doc p, .doc li { color: var(--text-2); }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--panel-2); }
.doc blockquote { margin: 18px 0; padding: 12px 16px; border-left: 3px solid var(--yellow); background: rgba(255, 176, 32, .06); border-radius: 8px; }
.doc blockquote p { margin: 0; }
.doc code { background: var(--panel-2); padding: 1px 6px; border-radius: 6px; font-size: 14px; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-logo img { animation: none; } html { scroll-behavior: auto; } }
