/* qelmina.com — Sugarcapital capsules, slate/indigo. ES AI analytics. Not rust, not teal, not mint. */
:root {
  --paper: #e7eaf3;
  --cream: #f3f5fb;
  --ink: #12151d;
  --cocoa: #1e2744;
  --rust: #5b6ee8;
  --clay: #4a58c8;
  --mute: #5c6478;
  --line: #d5dbe8;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay); }
p { margin: 0 0 .95em; }
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.08;
  margin: 0 0 .45em;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(1.85rem, 4.8vw, 3.55rem); text-transform: uppercase; }
h2 { font-size: clamp(1.4rem, 3vw, 2.25rem); text-transform: uppercase; }
h3 { font-size: 1.08rem; text-transform: none; letter-spacing: -.02em; }
[hidden] { display: none !important; }
.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.ico {
  width: 18px; height: 18px; stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto;
}

.top {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0 0;
  background: linear-gradient(var(--paper) 70%, transparent);
}
.top .wrap { position: relative; }
.top-in {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(18, 21, 29, .08);
  padding: 8px 10px 8px 18px;
  min-height: 64px;
  max-width: 100%;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
.brand b { font-size: .72rem; letter-spacing: .18em; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--mute); font-weight: 650; font-size: .92rem; }
.nav a.on, .nav a:hover { color: var(--ink); }
.menu-btn {
  display: none; margin-left: auto; background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font: inherit;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; text-decoration: none; border: 0;
  border-radius: 999px; padding: 11px 18px; font: inherit; font-weight: 800; cursor: pointer;
}
.btn.rust { background: var(--rust); }
.btn.full { width: 100%; }
.cta-nav { padding: 10px 16px; flex: 0 0 auto; }
.go {
  width: 42px; height: 42px; border-radius: 50%; background: var(--rust); color: #fff;
  display: grid; place-items: center; text-decoration: none; flex: 0 0 auto;
}
.go svg { width: 18px; height: 18px; }
.flag-es {
  width: 34px; height: 34px; border-radius: 50%; overflow: hidden;
  display: grid; grid-template-rows: 1fr 2fr 1fr; border: 1px solid var(--line); flex: 0 0 auto;
}
.flag-es i:nth-child(1), .flag-es i:nth-child(3) { background: #c60b1e; }
.flag-es i:nth-child(2) { background: #ffc400; }

.hero { padding: 22px 0 8px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 16px; align-items: stretch; }
.headline-card {
  background: #fff;
  border-radius: 32px;
  padding: 42px 36px 32px;
  position: relative;
  overflow: hidden;
  min-height: 430px;
  box-shadow: 0 8px 28px rgba(18, 21, 29, .05);
  min-width: 0;
}
.headline-card p { color: var(--mute); max-width: 38em; position: relative; z-index: 1; }
.arrow-deco {
  position: absolute; right: 18px; bottom: 18px; width: min(160px, 38%); height: auto;
  color: var(--rust); opacity: .92; pointer-events: none;
}
.form-card {
  background: var(--cocoa);
  color: #e8ecf6;
  border-radius: 32px;
  padding: 28px 24px 24px;
  box-shadow: 0 16px 40px rgba(30, 39, 68, .28);
  min-width: 0;
}
.form-card h2 { color: #fff; text-transform: none; font-size: 1.32rem; letter-spacing: -.03em; }
.form-card p { color: #b8c0d4; }
.form-card a { color: #c5ccf5; }
.form-card label { display: block; font-size: .78rem; font-weight: 700; margin: 0 0 10px; color: #d5dced; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%; max-width: 100%; margin-top: 5px; border: 0; border-radius: 999px;
  background: var(--cream); color: var(--ink); font: inherit;
  padding: 12px 16px;
}
.form-card textarea { border-radius: 18px; min-height: 78px; resize: vertical; }
.form-card .row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.form-card .btn { background: var(--rust); margin-top: 6px; }
.form-card .fine { font-size: .78rem; color: #9aa4bc; }
.thanks { color: #c5ccf5; font-weight: 700; }

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  margin: 18px 0 48px;
}
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 22px 16px; min-height: 108px; min-width: 0;
}
.stat b { display: block; font-size: 1.55rem; letter-spacing: -.04em; }
.stat span { color: var(--mute); font-size: .9rem; }

.block { padding: 8px 0 64px; }
.block.alt { background: var(--cream); margin: 0; padding: 56px 0; }
.lead { color: var(--mute); max-width: 46em; }
.prose { max-width: 46em; }
.prose p { color: var(--mute); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }

.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.why article {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px 18px;
  min-width: 0;
}
.ico-tile {
  width: 48px; height: 48px; border-radius: 14px; background: var(--rust); color: #fff;
  display: grid; place-items: center; margin-bottom: 12px;
}
.ico-tile svg { width: 22px; height: 22px; }
.why h3 { margin: 0 0 6px; }
.why p { color: var(--mute); margin: 0; font-size: .94rem; }

.phone-wrap { display: flex; justify-content: center; min-width: 0; }
.phone {
  width: min(260px, 100%);
  background: var(--ink);
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 24px 50px rgba(18, 21, 29, .22);
}
.phone-bar {
  height: 18px; display: flex; align-items: center; justify-content: space-between;
  color: #c5ccf5; font-size: .65rem; padding: 0 8px 8px;
}
.phone img { width: 100%; height: 440px; object-fit: cover; object-position: top; border-radius: 26px; }

.bancos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.banco {
  background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 10px 28px rgba(18, 21, 29, .06);
  min-width: 0;
}
.banco img { height: 200px; width: 100%; object-fit: cover; }
.banco div { padding: 18px 18px 22px; }
.banco p { color: var(--mute); margin: 0; }

.rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rail article {
  background: #fff; border-radius: 22px; padding: 22px 16px; border: 1px solid var(--line);
  min-width: 0;
}
.rail em {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--rust); color: #fff; font-style: normal; font-weight: 800; font-size: .85rem;
  margin-bottom: 12px;
}
.rail h3 { margin: 0 0 6px; }
.rail p { color: var(--mute); margin: 0; font-size: .92rem; }

.reviews { display: grid; gap: 12px; }
.rev {
  background: #fff; border-radius: 20px; padding: 18px 18px 16px; border: 1px solid var(--line);
}
.stars { color: var(--rust); letter-spacing: 2px; font-size: .85rem; margin-bottom: 6px; }
.who { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--mute); }
.av {
  width: 34px; height: 34px; border-radius: 50%; background: var(--cocoa); color: #e8ecf6;
  display: grid; place-items: center; font-weight: 800; font-size: .75rem;
}

.pic { border-radius: 24px; overflow: hidden; min-width: 0; }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.shot { height: 280px; }
.shot-tall { height: 420px; }
.cap { color: var(--mute); font-size: .9rem; margin-top: 10px; }

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 4px 16px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px;
  font-weight: 750; padding: 14px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .n {
  width: 32px; height: 32px; border-radius: 50%; background: var(--paper);
  display: grid; place-items: center; font-size: .78rem; color: var(--clay); flex: 0 0 auto;
}
.faq details p { color: var(--mute); padding-bottom: 12px; }

.cta-band {
  background: var(--cocoa); color: #e8ecf6; padding: 56px 0;
  margin: 0;
}
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #b8c0d4; }
.cta-band .form-card { background: #161d33; }

.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.team article { background: #fff; border-radius: 24px; overflow: hidden; }
.team img { height: 280px; width: 100%; object-fit: cover; object-position: top; }
.team div { padding: 16px 18px 20px; }
.team p { color: var(--mute); margin: 0; }

.list-plain { margin: 0 0 1.1em; padding-left: 1.15em; color: var(--mute); }
.list-plain li { margin: 0 0 .45em; }

.foot { background: var(--ink); color: #b8c0d4; padding: 48px 0 20px; }
.foot a { color: #c5ccf5; text-decoration: none; display: block; margin: 6px 0; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot h4 { color: #fff; margin: 0 0 8px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; color: #8b93a8; }
.copy a { display: inline; margin: 0 6px; }

.legal { padding: 48px 0 80px; max-width: 760px; }
.legal h1 { text-transform: none; }
.page-hero { padding: 36px 0 8px; }
.page-hero h1 { max-width: 16ch; }

.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  background: #fff; border-radius: 22px; padding: 18px 20px;
  box-shadow: 0 16px 40px rgba(18, 21, 29, .18);
  display: none; max-width: min(720px, calc(100% - 32px)); margin: 0 auto;
}
.cookie.is-open { display: block; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.ghost {
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; font: inherit; font-weight: 750; cursor: pointer; color: var(--ink);
}
.cookie button[data-cookie-choice="all"] {
  background: var(--ink); color: #fff; border: 0; border-radius: 999px;
  padding: 10px 16px; font: inherit; font-weight: 750; cursor: pointer;
}

@media (max-width: 900px) {
  .hero-grid, .split, .split-wide, .cta-band .wrap, .stats, .bancos, .rail, .team, .foot-in, .form-card .row2, .why {
    grid-template-columns: 1fr;
  }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nav, .flag-es, .go { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 72px;
    background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 12px 32px rgba(18,21,29,.12);
  }
  .headline-card { min-height: 0; padding: 26px 20px; }
  .arrow-deco { width: 120px; }
  h1 { font-size: 1.75rem; }
  .phone img { height: 360px; }
}
