:root {
  --bg: #F4F6FA;
  --surface: #FFFFFF;
  --surface2: #E9EDF3;
  --line: #D5DBE4;
  --accent: #2F6FED;
  --accent-dark: #1F4FD1;
  --accent-dim: rgba(47, 111, 237, .12);
  --green: #17955A;
  --text: #1B2430;
  --muted: #6B7685;
  --radius: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Cabecera */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(244, 246, 250, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 900; letter-spacing: 2px; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.top nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.top nav a { color: var(--muted); }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); text-decoration: none; }
.top nav .lang { color: var(--accent); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px;
  font-weight: 800; letter-spacing: .5px; font-size: 16px;
  background: var(--accent); color: #fff; border: 0;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--surface2); }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn small { display: block; font-size: 11px; font-weight: 600; opacity: .85; letter-spacing: .3px; }
.btn span { line-height: 1.15; text-align: left; }

/* Portada */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero .icon { width: 84px; height: 84px; margin-bottom: 22px; filter: drop-shadow(0 14px 24px rgba(31, 79, 209, .25)); }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; margin: 0 0 10px; }
h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -1.5px; margin: 0 0 18px; font-weight: 900; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.pills li { background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.pills li::before { content: "✓ "; color: var(--green); font-weight: 900; }
.hero-shots { position: relative; height: 600px; }
.hero-shots img {
  position: absolute; width: 270px; border-radius: 28px;
  box-shadow: 0 40px 80px rgba(31, 79, 209, .22), 0 8px 24px rgba(27, 36, 48, .12);
}
.hero-shots img:first-child { left: 4%; top: 30px; transform: rotate(-5deg); }
.hero-shots img:last-child { right: 4%; top: 0; transform: rotate(4deg); }

/* Secciones */
section { padding: 72px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -1px; margin: 0 0 12px; font-weight: 900; }
.sub { color: var(--muted); font-size: 19px; margin: 0 0 40px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
section.alt .card { background: var(--bg); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-dim); display: grid; place-items: center; margin-bottom: 14px; }
.card .ic svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 24px; margin: 0 -20px; }
.shots img { width: 240px; flex: none; border-radius: 22px; scroll-snap-align: center; box-shadow: 0 18px 40px rgba(31, 79, 209, .16); }

.privacy-band { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font-weight: 600; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 10px; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }

.contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact a.card { color: var(--text); display: block; }
.contact a.card:hover { text-decoration: none; border-color: var(--accent); }
.contact .val { font-size: 20px; font-weight: 800; color: var(--accent); word-break: break-word; }

/* Páginas de texto */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); }
.doc h2 { font-size: 24px; letter-spacing: -.3px; margin: 36px 0 8px; }
.doc p, .doc li { color: #2C3746; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.doc .note { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; }

/* Pie */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer nav a { color: var(--muted); }
footer .copy { margin-left: auto; }

@media (max-width: 900px) {
  .hero .wrap, .privacy-band { grid-template-columns: 1fr; }
  .hero-shots { height: 470px; }
  .hero-shots img { width: 210px; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top nav a:not(.lang) { display: none; }
  .hero { padding-top: 40px; }
  .hero-shots { height: 400px; }
  .hero-shots img { width: 170px; }
  .grid, .contact { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  footer .copy { margin-left: 0; }
}
