/* Falcoti — falcoti.com. Dark theme with Salo's blue and yellow accents. */
:root {
  --bg: #0b1020;
  --bg-alt: #0f1630;
  --surface: #141c3a;
  --surface-2: #1a2347;
  --border: rgba(255, 255, 255, 0.09);
  --text: #e8ebf3;
  --muted: #a3abc2;
  --blue: #1e40ff;
  --blue-light: #7d97ff;
  --yellow: #facc15;
  --green: #34d399;
  --radius: 16px;
  --container: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}

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

a {
  color: var(--blue-light);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
}
.h2-lg {
  font-size: clamp(28px, 4vw, 38px);
}
.mt-16 {
  margin-top: 16px;
}
.mt-56 {
  margin-top: 56px;
}
section.pt-24 {
  padding-top: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: var(--yellow);
  color: #111;
  padding: 8px 12px;
  border-radius: 8px;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: #3456ff;
}
.btn-yellow {
  background: var(--yellow);
  color: #111827;
}
.btn-yellow:hover {
  background: #fde047;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 15px;
}
.btn[aria-disabled="true"] {
  background: var(--surface-2);
  color: var(--muted);
  border-color: var(--border);
  cursor: default;
  transform: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 36px;
  height: 36px;
}
.main-nav {
  display: none;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.main-nav a:hover {
  color: var(--text);
}
.header-actions {
  display: none;
  gap: 10px;
}
.menu-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  padding: 12px 20px 20px;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.mobile-menu li a {
  display: block;
  padding: 10px 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn {
  width: 100%;
  margin-top: 10px;
}

@media (min-width: 1000px) {
  .main-nav,
  .header-actions {
    display: flex;
  }
  .menu-toggle,
  .mobile-menu,
  .mobile-menu.open {
    display: none;
  }
}

/* ---------- Sections ---------- */
section {
  padding: 72px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.eyebrow {
  display: inline-block;
  color: var(--yellow);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
}
.section-head p {
  color: var(--muted);
  margin-top: 12px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(30, 64, 255, 0.28), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(250, 204, 21, 0.08), transparent 60%);
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 800;
}
.hero h1 .hl {
  color: var(--yellow);
}
.hero .lead {
  color: var(--muted);
  font-size: 19px;
  margin-top: 18px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
@media (min-width: 960px) {
  .hero {
    padding: 88px 0 96px;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
  }
}

/* Browser-window frame around Salo screenshots */
.shot {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.shot-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.shot-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.shot img {
  width: 100%;
  height: auto;
}

/* ---------- Agents ---------- */
.agents-grid {
  display: grid;
  gap: 20px;
}
.featured-main {
  display: flex;
  flex-direction: column;
}
@media (min-width: 900px) {
  .agents-grid {
    grid-template-columns: 1fr 1fr;
  }
  .agents-grid .card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    padding: 36px;
  }
  .agents-grid .card-featured .features {
    margin-top: 0;
    align-self: center;
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
/* "Agente personalizado": full width, a dashed yellow outline sets it apart
   from the ready-made agents above it. */
.card-custom {
  border-style: dashed;
  border-color: rgba(250, 204, 21, 0.45);
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(250, 204, 21, 0.08), transparent 70%),
    var(--surface);
}
.card-custom .desc {
  max-width: 70ch;
}
.badge-custom {
  background: rgba(30, 64, 255, 0.2);
  color: var(--blue-light);
}
@media (min-width: 900px) {
  .agents-grid .card-custom {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 48px;
    align-items: center;
    padding: 36px;
  }
  .agents-grid .card-custom .card-actions {
    padding-top: 0;
  }
}
.card-featured {
  border-color: rgba(30, 64, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(30, 64, 255, 0.35), 0 24px 60px rgba(30, 64, 255, 0.15);
}
.badge {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.badge-live {
  background: rgba(52, 211, 153, 0.14);
  color: var(--green);
}
.badge-dev {
  background: rgba(250, 204, 21, 0.14);
  color: var(--yellow);
}
.card h3 {
  font-size: 26px;
}
.card .domain {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}
.card .sector {
  color: var(--yellow);
  font-size: 16px;
  font-weight: 700;
}
.card .desc {
  margin-top: 14px;
  color: var(--text);
}
.features {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}
.features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 16px;
}
.features svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--yellow);
  margin-top: 2px;
}
.card .price {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}
.card .price strong {
  margin-right: 4px;
  color: var(--text);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}
.card-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 20px;
}
.step p {
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gallery figure {
  margin: 0;
}
.gallery figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}
.gallery figcaption strong {
  color: var(--text);
  display: block;
}

/* ---------- Two columns (consulting / about) ---------- */
.two-col {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check-list svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--green);
  margin-top: 3px;
}
.text-block p + p {
  margin-top: 16px;
}
.text-block p {
  color: var(--muted);
}
.text-block .actions {
  margin-top: 24px;
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 800px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.why-item {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.why-item svg {
  width: 30px;
  height: 30px;
  color: var(--yellow);
  margin-bottom: 14px;
}
.why-item h3 {
  font-size: 20px;
}
.why-item p {
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- About ---------- */
.quote-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 26px;
}
.quote-box h3 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.quote-box h3 img {
  width: 30px;
  height: 30px;
}
.quote-box p {
  color: var(--muted);
  margin-top: 10px;
}
.quote-box + .quote-box {
  margin-top: 20px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--yellow);
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  color: var(--muted);
  padding-bottom: 18px;
}

/* ---------- Contact ---------- */
.contact-box {
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(30, 64, 255, 0.35), transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px 28px;
  text-align: center;
}
.contact-box h2 {
  font-size: clamp(28px, 4vw, 38px);
}
.contact-box p {
  color: var(--muted);
  margin: 12px auto 0;
  max-width: 560px;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--muted);
  font-size: 15px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-inner .brand {
  font-size: 20px;
}
.footer-inner .brand img {
  width: 30px;
  height: 30px;
}
.footer-tagline {
  margin-top: 8px;
  max-width: 340px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

/* ---------- Legal pages ---------- */
.legal {
  padding: 56px 0 80px;
}
.legal .container {
  max-width: 800px;
}
.legal h1 {
  font-size: clamp(30px, 5vw, 42px);
}
.legal .updated {
  color: var(--muted);
  margin-top: 8px;
}
.legal h2 {
  font-size: 22px;
  margin-top: 36px;
}
.legal p,
.legal li {
  color: var(--muted);
  margin-top: 12px;
}
.legal .draft-note {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(250, 204, 21, 0.12);
  color: var(--yellow);
}
/* Legal pages: readable long text (Términos de uso, Política de privacidad) */
.legal p,
.legal ul {
  max-width: 70ch;
}
.legal h3 {
  font-size: 18px;
  margin-top: 24px;
}
.legal ul {
  margin: 12px 0 0;
  padding-left: 22px;
}
.legal li {
  margin-top: 8px;
}
.legal li::marker {
  color: var(--yellow);
}
.legal strong {
  color: var(--text);
}
.legal .quote-box {
  margin-top: 28px;
}
.legal .quote-box h2 {
  font-size: 20px;
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}
