/*
  IPT iProTalent — Base estática HTML/CSS/JS
  Enfoque: diseño oscuro premium + SEO rastreable + fácil migración a WebDev.
*/
:root {
  --bg: #05070b;
  --bg-2: #080d14;
  --panel: rgba(16, 20, 27, 0.74);
  --panel-solid: #10141b;
  --panel-2: rgba(22, 28, 38, 0.86);
  --text: #f8f8f8;
  --muted: #a5acb8;
  --soft: #727987;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.22);
  --blue: #1075bb;
  --blue-2: #34a0e0;
  --blue-3: #7fd2ff;
  --gray-logo: #5a5a5c;
  --success: #5ee1a5;
  --warning: #ffd36a;
  --danger: #ff7a90;
  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
  --header: 86px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(circle at 18% 10%, rgba(16, 117, 187, .30), transparent 34%),
    radial-gradient(circle at 78% 4%, rgba(52, 160, 224, .15), transparent 32%),
    radial-gradient(circle at 55% 82%, rgba(16, 117, 187, .18), transparent 34%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  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: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.65) 45%, transparent 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, rgba(5,7,11,.9) 88%);
}

::selection { background: rgba(52,160,224,.35); color: var(--text); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 99;
  padding: 12px 16px;
  background: var(--blue);
  border-radius: 999px;
  color: #fff;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 11, .68);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(16,117,187,.26));
}
.brand strong {
  display: block;
  font-size: .95rem;
  letter-spacing: .03em;
}
.brand span {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(248,248,248,.76);
}
.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: #fff;
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.055);
  box-shadow: 0 10px 28px rgba(0,0,0,.16);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(127,210,255,.55); background: rgba(255,255,255,.09); }
.btn-primary {
  border-color: rgba(52,160,224,.8);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 16px 40px rgba(16,117,187,.30);
}
.btn-primary:hover { box-shadow: 0 18px 46px rgba(52,160,224,.38); }
.btn-ghost { background: rgba(255,255,255,.03); }
.btn-small { min-height: 38px; padding: 9px 14px; font-size: .9rem; }

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: center;
  padding: 72px 0 78px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 54px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 8px 12px;
  color: var(--blue-3);
  border: 1px solid rgba(127,210,255,.2);
  background: rgba(16,117,187,.09);
  border-radius: 999px;
  font-size: .84rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue-2);
  box-shadow: 0 0 0 8px rgba(52,160,224,.16), 0 0 22px rgba(52,160,224,.9);
}
h1, .h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  line-height: .9;
  letter-spacing: -.075em;
  max-width: 920px;
}
.gradient-text {
  background: linear-gradient(135deg, #fff, #cdefff 40%, var(--blue-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  max-width: 690px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
  max-width: 760px;
}
.proof-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  border-radius: var(--radius-md);
  padding: 18px;
}
.proof-card strong { display: block; font-size: 1.4rem; letter-spacing: -.04em; }
.proof-card span { color: var(--muted); font-size: .9rem; }

.hero-stage {
  position: relative;
  min-height: 650px;
  perspective: 1300px;
}
.orbit-canvas {
  position: absolute;
  inset: -30px;
  width: calc(100% + 60px);
  height: calc(100% + 60px);
  opacity: .85;
}
.device {
  position: absolute;
  inset: 46px 0 auto auto;
  width: min(560px, 100%);
  min-height: 460px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(145deg, rgba(16,20,27,.88), rgba(6,10,16,.72));
  border-radius: 34px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.1);
  overflow: hidden;
  transform: rotateX(8deg) rotateY(-12deg) rotateZ(1deg);
}
.device::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(52,160,224,.22), transparent 35%),
    linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,.06) 34% 35%, transparent 35% 100%);
  pointer-events: none;
}
.device-top {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}
.device-dot { width: 10px; height: 10px; border-radius: 99px; background: rgba(255,255,255,.3); }
.device-dot:nth-child(1) { background: var(--danger); }
.device-dot:nth-child(2) { background: var(--warning); }
.device-dot:nth-child(3) { background: var(--success); }
.device-body { position: relative; padding: 22px; }
.dashboard-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dashboard-title h2 { margin: 0; font-size: 1rem; letter-spacing: -.02em; }
.status-pill {
  border: 1px solid rgba(94,225,165,.28);
  background: rgba(94,225,165,.08);
  color: #a8ffd3;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .78rem;
}
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  border-radius: 17px;
  padding: 14px;
}
.metric small { color: var(--soft); display: block; }
.metric strong { display: block; margin-top: 8px; font-size: 1.28rem; letter-spacing: -.04em; }
.flow-panel {
  margin-top: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  border-radius: 22px;
  padding: 16px;
}
.flow-line {
  display: grid;
  grid-template-columns: 86px 1fr 64px;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.flow-line:last-child { border-bottom: 0; }
.flow-tag { color: var(--blue-3); font-size: .8rem; }
.flow-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.flow-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--blue-2)); }
.flow-value { color: #fff; font-size: .82rem; text-align: right; }
.float-card {
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(127,210,255,.18);
  background: rgba(12,18,27,.72);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 18px 46px rgba(0,0,0,.34);
}
.float-card strong { display: block; font-size: .95rem; }
.float-card span { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; }
.float-card.one { left: 0; top: 80px; }
.float-card.two { right: 8px; bottom: 110px; }
.float-card.three { left: 54px; bottom: 50px; }
.logo-orb {
  position: absolute;
  width: 132px;
  height: 132px;
  right: 44px;
  top: 0;
  border-radius: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  box-shadow: 0 22px 58px rgba(16,117,187,.22);
}
.logo-orb img { width: 82px; height: 82px; object-fit: contain; }

section { padding: 100px 0; position: relative; }
.section-kicker { color: var(--blue-3); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; margin: 0 0 12px; }
.section-title { margin: 0; font-size: clamp(2rem, 4.4vw, 4.6rem); line-height: .98; letter-spacing: -.06em; max-width: 950px; }
.section-copy { margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; max-width: 720px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 42px; }
.section-head .section-copy { max-width: 520px; margin: 0; }

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255,255,255,.025);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee span {
  padding: 18px 28px;
  color: rgba(248,248,248,.72);
  text-transform: uppercase;
  letter-spacing: .14em;
  white-space: nowrap;
  font-size: .86rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 50px;
  align-items: start;
}
.sticky-note {
  position: sticky;
  top: calc(var(--header) + 30px);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}
.sticky-note img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 24px; }
.sticky-note p { color: var(--muted); margin: 16px 0 0; }
.grid-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(127,210,255,.34); background: linear-gradient(145deg, rgba(16,117,187,.12), rgba(255,255,255,.025)); }
.card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,160,224,.22), transparent 68%);
}
.card-number { color: var(--blue-3); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.card h3 { margin: 18px 0 12px; font-size: 1.34rem; letter-spacing: -.035em; }
.card p { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.045); color: rgba(248,248,248,.8); border-radius: 999px; padding: 6px 10px; font-size: .78rem; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}
.project-visual {
  min-height: 210px;
  position: relative;
  padding: 18px;
  background:
    radial-gradient(circle at 25% 25%, rgba(52,160,224,.30), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border-bottom: 1px solid var(--line);
}
.mini-ui {
  height: 174px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  background: rgba(5,7,11,.58);
  padding: 14px;
}
.mini-ui .line { height: 10px; border-radius: 99px; background: rgba(255,255,255,.1); margin-bottom: 10px; }
.mini-ui .line:nth-child(1) { width: 42%; background: rgba(52,160,224,.66); }
.mini-ui .line:nth-child(2) { width: 76%; }
.mini-ui .line:nth-child(3) { width: 58%; }
.mini-ui .mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 18px; }
.mini-ui .mini-box { height: 58px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); }
.project-content { padding: 24px; }
.project-content small { color: var(--blue-3); text-transform: uppercase; letter-spacing: .14em; }
.project-content h3 { margin: 12px 0; font-size: 1.42rem; letter-spacing: -.04em; }
.project-content p { margin: 0; color: var(--muted); }
.project-footer { padding: 0 24px 24px; }
.project-footer a { color: #fff; display: inline-flex; gap: 10px; align-items: center; }
.project-footer a::after { content: "→"; color: var(--blue-3); transition: transform .2s ease; }
.project-footer a:hover::after { transform: translateX(4px); }

.process {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
  counter-reset: step;
}
.step {
  counter-increment: step;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: rgba(255,255,255,.04);
}
.step::before {
  content: "0" counter(step);
  display: block;
  color: var(--blue-3);
  margin-bottom: 28px;
  letter-spacing: .15em;
  font-size: .78rem;
}
.step h3 { margin: 0 0 10px; letter-spacing: -.03em; }
.step p { margin: 0; color: var(--muted); }

.about-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 38px;
  padding: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.028));
  box-shadow: var(--shadow);
}
.about-avatar {
  min-height: 420px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 50% 30%, rgba(52,160,224,.32), transparent 38%),
    linear-gradient(155deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  display: grid;
  place-items: center;
}
.about-avatar img { width: min(64%, 290px); filter: drop-shadow(0 32px 56px rgba(16,117,187,.36)); }
.about-content h2 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.06em; line-height: 1; }
.about-content p { color: var(--muted); font-size: 1.05rem; }
.stack-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.stack-list span { border: 1px solid rgba(127,210,255,.16); background: rgba(16,117,187,.08); color: rgba(248,248,248,.86); border-radius: 999px; padding: 8px 11px; font-size: .86rem; }

.cta-panel {
  text-align: center;
  border: 1px solid rgba(127,210,255,.18);
  border-radius: 42px;
  padding: clamp(40px, 8vw, 90px) 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(52,160,224,.24), transparent 45%),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
}
.cta-panel h2 { margin: 0; font-size: clamp(2.2rem, 5.8vw, 6rem); letter-spacing: -.07em; line-height: .95; }
.cta-panel p { margin: 22px auto 0; color: var(--muted); max-width: 690px; font-size: 1.1rem; }
.cta-panel .hero-actions { justify-content: center; }

.page-hero { padding: 82px 0 44px; }
.page-hero h1 { max-width: 1000px; }
.breadcrumb { color: var(--muted); font-size: .92rem; margin-bottom: 26px; }
.breadcrumb a { color: var(--blue-3); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; }
.filter-chip { border: 1px solid var(--line); color: rgba(248,248,248,.82); background: rgba(255,255,255,.05); border-radius: 999px; padding: 9px 12px; }
.case-list { display: grid; gap: 24px; }
.case-card {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 22px;
  background: var(--panel);
  overflow: hidden;
}
.case-card .project-visual { border: 0; min-height: 320px; border-radius: 26px; }
.case-copy { padding: 10px 10px 10px 0; }
.case-copy small { color: var(--blue-3); letter-spacing: .14em; text-transform: uppercase; }
.case-copy h2 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; letter-spacing: -.055em; margin: 14px 0; }
.case-copy p { color: var(--muted); }
.case-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 18px; }
.case-meta div { border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 14px; background: rgba(255,255,255,.03); }
.case-meta strong { display: block; font-size: .82rem; color: var(--blue-3); margin-bottom: 4px; }
.case-meta span { color: var(--muted); font-size: .9rem; }

.service-table {
  display: grid;
  gap: 12px;
}
.service-row {
  display: grid;
  grid-template-columns: 260px 1fr 170px;
  gap: 20px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background: rgba(255,255,255,.04);
}
.service-row h2 { margin: 0; font-size: 1.2rem; letter-spacing: -.03em; }
.service-row p { margin: 0; color: var(--muted); }
.service-row strong { color: var(--blue-3); font-size: .84rem; text-transform: uppercase; letter-spacing: .1em; }

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.contact-card,
.form-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.contact-card h2, .form-card h2 { margin-top: 0; letter-spacing: -.04em; }
.contact-card p { color: var(--muted); }
.contact-list { display: grid; gap: 12px; margin-top: 24px; }
.contact-item { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: rgba(255,255,255,.035); }
.contact-item strong { display: block; color: var(--blue-3); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-item span { display: block; margin-top: 5px; color: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: rgba(248,248,248,.82); font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255,255,255,.055);
  color: #fff;
  outline: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(127,210,255,.5); box-shadow: 0 0 0 4px rgba(52,160,224,.09); }
.form-note { margin-top: 14px; color: var(--muted); font-size: .88rem; }

.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lab-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  min-height: 290px;
  padding: 22px;
  background: var(--panel);
  overflow: hidden;
}
.lab-card h2 { margin: 0 0 10px; letter-spacing: -.04em; }
.lab-card p { color: var(--muted); }
.kpi-demo { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 20px; }
.kpi-demo div { border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: rgba(255,255,255,.04); }
.kpi-demo strong { display: block; font-size: 1.3rem; }
.kpi-demo span { color: var(--muted); font-size: .82rem; }

.site-footer { padding: 46px 0; border-top: 1px solid var(--line); background: rgba(0,0,0,.18); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); }
.footer-links a:hover { color: #fff; }
.footer-note { color: var(--muted); font-size: .9rem; margin-top: 8px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .hero-grid, .split, .about-panel, .contact-layout, .case-card { grid-template-columns: 1fr; }
  .hero-stage { min-height: 560px; order: -1; }
  .project-grid, .lab-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .sticky-note { position: relative; top: auto; }
}

@media (max-width: 780px) {
  :root { --header: 72px; }
  .container { width: min(100% - 28px, var(--container)); }
  .site-header { height: auto; min-height: var(--header); }
  .nav-shell { min-height: var(--header); }
  .mobile-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(var(--header) + 8px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(6, 10, 16, .95);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { border-radius: 14px; }
  .nav-actions .btn { display: none; }
  .hero { padding-top: 42px; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-stage { min-height: 470px; }
  .device { inset: 58px 0 auto 0; min-height: 390px; transform: rotateX(0) rotateY(0) rotateZ(0); }
  .float-card.one { top: 10px; left: 10px; }
  .float-card.two { right: 6px; bottom: 18px; }
  .float-card.three { left: 8px; bottom: 76px; }
  .logo-orb { right: 8px; width: 92px; height: 92px; border-radius: 24px; }
  .logo-orb img { width: 58px; height: 58px; }
  .metric-row, .grid-cards, .project-grid, .process, .lab-grid, .case-meta, .form-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head .section-copy { margin-top: 18px; }
  section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  h1, .h1 { letter-spacing: -.06em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* === IPT iProTalent: ajustes de portafolio, contacto, footer y WhatsApp === */
.brand span span { color: var(--muted); }
.tag {
  border-color: rgba(52,160,224,.55);
  background: linear-gradient(135deg, rgba(16,117,187,.38), rgba(52,160,224,.16));
  color: #e8f7ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.tag:hover {
  transform: translateY(-2px);
  border-color: rgba(127,210,255,.9);
  background: linear-gradient(135deg, rgba(16,117,187,.75), rgba(52,160,224,.34));
  box-shadow: 0 10px 26px rgba(16,117,187,.22);
}
.service-tags { margin-top: 14px; }
.project-visual img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: inherit; }
.case-card .project-visual { display: block; padding: 0; background: transparent; }
.website-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.website-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow: 0 18px 44px rgba(0,0,0,.20);
}
.website-card small { color: var(--blue-3); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; }
.website-card h3 { margin: 12px 0 10px; font-size: 1.35rem; letter-spacing: -.04em; }
.website-card p { color: var(--muted); margin: 0; }
.lab-grid-expanded { grid-template-columns: repeat(3, 1fr); }
.lab-card .tags { margin-top: 20px; }
.field select { color-scheme: dark; appearance: auto; }
.field select option { background-color: #10141b; color: #f8f8f8; }
.field select option:hover, .field select option:checked { background-color: #1075bb; color: #fff; }
.contact-item a { color: #fff; text-decoration: none; }
.contact-item a:hover { color: var(--blue-3); }
.contact-map { display: grid; grid-template-columns: 1fr 92px; gap: 14px; align-items: center; }
.contact-map strong, .contact-map span { grid-column: 1; }
.contact-map img { grid-column: 2; grid-row: 1 / span 2; width: 92px; height: 92px; border-radius: 12px; padding: 6px; background: #fff; }
.toast {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 90;
  max-width: 420px;
  border: 1px solid rgba(127,210,255,.38);
  border-radius: 20px;
  padding: 16px 18px;
  background: rgba(10,16,24,.94);
  color: #fff;
  box-shadow: var(--shadow), 0 0 34px rgba(16,117,187,.20);
  opacity: 0;
  transform: translateY(16px) scale(.98);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.toast strong { display: block; margin-bottom: 4px; }
.toast span { display: block; color: var(--muted); }
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 88;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 18px 44px rgba(18,140,126,.34);
  border: 1px solid rgba(255,255,255,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 22px 54px rgba(37,211,102,.38); }
.whatsapp-float svg { width: 26px; height: 26px; fill: currentColor; }
.whatsapp-float span { font-weight: 700; }
.footer-grid-enhanced { grid-template-columns: 1.1fr .9fr 120px auto; align-items: center; }
.footer-contact-block { display: grid; gap: 6px; color: var(--muted); font-size: .92rem; }
.footer-contact-block a:hover { color: #fff; }
.footer-qr-block { display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: .72rem; text-align: center; }
.footer-qr-block img { width: 88px; height: 88px; border-radius: 12px; padding: 6px; background: #fff; }
@media (max-width: 1020px) {
  .website-grid, .lab-grid-expanded, .footer-grid-enhanced { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .website-grid, .lab-grid-expanded, .footer-grid-enhanced { grid-template-columns: 1fr; }
  .contact-map { grid-template-columns: 1fr; }
  .contact-map img { grid-column: 1; grid-row: auto; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { width: 58px; height: 58px; justify-content: center; padding: 0; }
  .toast { left: 14px; right: 14px; bottom: 92px; }
}

/* === Ajuste responsive index: evita encimes del hero en móvil y da efecto a la gota principal === */
.hero-copy { position: relative; z-index: 3; }
.hero-stage { z-index: 1; }
.eyebrow {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 26px rgba(16,117,187,.10);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.eyebrow:hover {
  transform: translateY(-2px);
  border-color: rgba(127,210,255,.72);
  background: linear-gradient(135deg, rgba(16,117,187,.42), rgba(52,160,224,.18));
  box-shadow: 0 14px 34px rgba(16,117,187,.24), inset 0 1px 0 rgba(255,255,255,.10);
  color: #e8f7ff;
}
.eyebrow:hover .pulse-dot {
  box-shadow: 0 0 0 9px rgba(52,160,224,.22), 0 0 30px rgba(52,160,224,1);
}

@media (max-width: 780px) {
  .hero {
    min-height: auto;
    padding: 34px 0 64px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
  }
  .hero-copy {
    order: 1;
  }
  .hero-stage {
    order: 2;
    width: 100%;
    min-height: 540px;
    margin-top: 4px;
    overflow: hidden;
    perspective: none;
  }
  .orbit-canvas {
    inset: -18px;
    width: calc(100% + 36px);
    height: calc(100% + 36px);
    opacity: .55;
  }
  .device {
    inset: 86px 0 auto 0;
    width: 100%;
    min-height: 360px;
    border-radius: 26px;
  }
  .device-body { padding: 18px; }
  .dashboard-title { gap: 14px; }
  .dashboard-title h2 { font-size: .95rem; }
  .hero-stage .metric-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-stage .metric { padding: 11px 8px; border-radius: 14px; }
  .hero-stage .metric small { font-size: .72rem; }
  .hero-stage .metric strong { font-size: 1.05rem; }
  .flow-panel { padding: 12px; border-radius: 18px; }
  .flow-line { grid-template-columns: 54px 1fr 42px; gap: 8px; padding: 9px 0; }
  .flow-tag, .flow-value { font-size: .72rem; }
  .float-card { padding: 12px 14px; border-radius: 16px; }
  .float-card.one { top: 8px; left: 0; }
  .float-card.two { right: 0; bottom: 26px; }
  .float-card.three { left: 0; bottom: 96px; }
  .logo-orb { top: 8px; right: 0; width: 86px; height: 86px; }
  .eyebrow {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }
  h1, .h1 {
    font-size: clamp(2.75rem, 12vw, 4.25rem);
    line-height: .94;
    letter-spacing: -.055em;
  }
  .lead {
    font-size: 1.04rem;
    line-height: 1.65;
  }
}

@media (max-width: 420px) {
  .container { width: min(100% - 24px, var(--container)); }
  .brand { gap: 9px; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: .84rem; }
  .brand span { font-size: .66rem; letter-spacing: .10em; }
  .mobile-toggle { padding: 9px 11px; }
  .hero-stage { min-height: 505px; }
  .device { top: 76px; }
  .float-card.two { bottom: 18px; }
  .float-card.three { bottom: 88px; }
  .flow-line { grid-template-columns: 46px 1fr 38px; }
  h1, .h1 { font-size: clamp(2.55rem, 14vw, 3.45rem); }
}

/* Contact form production helper */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.toast.is-error {
  border-color: rgba(255, 92, 92, .45);
  box-shadow: 0 20px 60px rgba(255, 92, 92, .12), 0 0 0 1px rgba(255,255,255,.05) inset;
}

/* === Ajustes solicitados 2026-06-26: anchors, tags flotantes y hero móvil === */
.case-card,
.website-portfolio {
  scroll-margin-top: calc(var(--header) + 34px);
}

.page-hero {
  overflow: hidden;
}

.portfolio-floating-tags {
  position: absolute;
  right: max(20px, calc((100vw - var(--container)) / 2));
  bottom: 34px;
  z-index: 3;
  max-width: 720px;
  justify-content: flex-end;
}

.portfolio-floating-tags .filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-color: rgba(52,160,224,.58);
  background: linear-gradient(135deg, rgba(16,117,187,.42), rgba(52,160,224,.14));
  box-shadow: 0 10px 24px rgba(16,117,187,.14), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}

.portfolio-floating-tags .filter-chip:hover,
.portfolio-floating-tags .filter-chip:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(127,210,255,.92);
  background: linear-gradient(135deg, rgba(16,117,187,.82), rgba(52,160,224,.34));
  box-shadow: 0 16px 36px rgba(16,117,187,.28), 0 0 0 4px rgba(52,160,224,.08);
  color: #fff;
}

@media (min-width: 781px) {
  .page-hero:has(.portfolio-floating-tags) {
    padding-bottom: 130px;
  }
}

@media (max-width: 780px) {
  body { overflow-x: hidden; }
  .site-header { position: sticky; }
  .hero {
    display: block;
    min-height: auto;
    padding: 38px 0 68px;
    overflow: hidden;
  }
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px;
  }
  .hero-copy {
    order: 1 !important;
    position: relative;
    z-index: 4;
  }
  .hero-stage {
    order: 2 !important;
    position: relative;
    width: 100%;
    min-height: 500px;
    margin: 10px 0 0;
    overflow: hidden;
    z-index: 1;
    perspective: none;
  }
  .hero-stage * {
    max-width: 100%;
  }
  .hero-copy .eyebrow {
    max-width: 100%;
    font-size: .72rem;
    letter-spacing: .02em;
    padding: 8px 11px;
  }
  .hero-copy h1 {
    font-size: clamp(2.65rem, 13.6vw, 4.1rem);
    line-height: .92;
    max-width: 100%;
  }
  .hero-copy .lead {
    max-width: 100%;
  }
  .hero-stage .device {
    position: absolute;
    left: 0;
    right: 0;
    top: 88px;
    width: 100%;
    min-height: 356px;
    transform: none !important;
  }
  .hero-stage .float-card.one { top: 2px; left: 0; }
  .hero-stage .float-card.two { right: 0; bottom: 26px; }
  .hero-stage .float-card.three { left: 0; bottom: 88px; }
  .hero-stage .logo-orb { top: 0; right: 0; }
  .portfolio-floating-tags {
    position: static;
    margin-top: 26px;
    justify-content: flex-start;
    max-width: none;
  }
  .page-hero:has(.portfolio-floating-tags) {
    padding-bottom: 44px;
  }
}

@media (max-width: 420px) {
  .hero-stage {
    min-height: 470px;
  }
  .hero-stage .device {
    top: 82px;
    min-height: 336px;
  }
  .hero-stage .float-card {
    padding: 10px 12px;
    max-width: 72%;
  }
  .hero-stage .float-card.two {
    max-width: 62%;
    bottom: 20px;
  }
  .hero-stage .float-card.three {
    bottom: 78px;
  }
}


/* === Ajustes 2026-06-26: portafolio lateral, LinkedIn y FormSubmit === */
.profile-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.profile-link {
  min-height: 44px;
}
.profile-qr {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(52,160,224,.42);
  border-radius: 16px;
  padding: 8px 12px 8px 8px;
  background: linear-gradient(135deg, rgba(16,117,187,.18), rgba(255,255,255,.035));
  color: rgba(248,248,248,.9);
  box-shadow: 0 12px 30px rgba(16,117,187,.12);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.profile-qr:hover,
.profile-qr:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(127,210,255,.88);
  box-shadow: 0 18px 40px rgba(16,117,187,.24);
}
.profile-qr img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}
.profile-qr span {
  color: var(--blue-3);
  font-weight: 800;
  letter-spacing: .02em;
}

@media (min-width: 1100px) {
  .portfolio-floating-tags {
    position: fixed !important;
    right: 22px !important;
    top: 50% !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 55;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
    width: 190px;
    max-width: 190px;
    margin: 0;
    pointer-events: none;
  }
  .portfolio-floating-tags .filter-chip {
    pointer-events: auto;
    width: auto;
    max-width: 190px;
    justify-content: flex-end;
    min-height: 38px;
    padding: 8px 12px;
    font-size: .88rem;
    backdrop-filter: blur(18px);
  }
  .page-hero:has(.portfolio-floating-tags) {
    padding-bottom: 64px !important;
  }
}

@media (max-width: 1099px) {
  .portfolio-floating-tags {
    position: static !important;
    transform: none !important;
    max-width: none !important;
    width: auto !important;
    justify-content: flex-start !important;
    margin-top: 24px !important;
  }
}

@media (max-width: 780px) {
  .profile-actions {
    align-items: stretch;
  }
  .profile-link,
  .profile-qr {
    width: 100%;
    justify-content: center;
  }
}


/* === Pulido mínimo final desde v2.1 correcta === */

/* Index: reducir H1 para evitar cortes visuales. */
#hero-title {
  font-size: clamp(2.9rem, 7.1vw, 6.85rem);
}

/* Los overlays del hero se retiraron del HTML; esta regla evita residuos si hay caché o edición manual. */
.hero-stage .float-card,
.hero-stage .logo-orb {
  display: none !important;
}

/* Index: tarjetas destacadas sin imagen temporal, conservando formato de card. */
.project-card--text {
  min-height: 340px;
}
.project-card--text .project-content {
  padding-top: 30px;
}

/* Método: alineación de número con título + hover visual. */
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 16px;
  align-items: start;
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(127,210,255,.34);
  background: linear-gradient(145deg, rgba(16,117,187,.12), rgba(255,255,255,.035));
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}
.step::before {
  margin: 0 !important;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding-top: 2px;
}
.step h3 {
  margin: 0 !important;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}
.step p {
  grid-column: 1 / -1;
}

/* Dirección técnica: hover para tags. */
.stack-list span {
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease, color .22s ease;
}
.stack-list span:hover {
  transform: translateY(-3px);
  border-color: rgba(127,210,255,.72);
  background: linear-gradient(135deg, rgba(16,117,187,.34), rgba(52,160,224,.16));
  color: #fff;
  box-shadow: 0 14px 30px rgba(16,117,187,.22);
}

/* Botones flotantes: WhatsApp arriba, volver arriba abajo. */
.whatsapp-float {
  bottom: 96px !important;
}
.scroll-top-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 88;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(12,18,27,.92);
  border: 1px solid rgba(127,210,255,.22);
  box-shadow: 0 18px 44px rgba(0,0,0,.30);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease, border-color .22s ease, background .22s ease;
}
.scroll-top-float.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top-float:hover {
  border-color: rgba(127,210,255,.72);
  background: rgba(16,117,187,.28);
  transform: translateY(-3px);
}
.scroll-top-float svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}
.scroll-top-float span {
  display: none;
}

/* Portafolio: conservar índice visible durante scroll en desktop. */
@media (min-width: 781px) {
  .portfolio-floating-tags {
    position: fixed !important;
    right: 22px !important;
    top: 50% !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 55;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
    width: 190px;
    max-width: 190px;
    margin: 0;
    pointer-events: none;
  }
  .portfolio-floating-tags .filter-chip {
    pointer-events: auto;
    max-width: 190px;
    justify-content: flex-end;
  }
}

@media (max-width: 780px) {
  #hero-title {
    font-size: clamp(2.45rem, 12.2vw, 3.75rem);
  }
  .whatsapp-float {
    bottom: 88px !important;
  }
  .scroll-top-float {
    right: 22px;
    bottom: 22px;
  }
}


/* === Language switch === */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(127,210,255,.24);
  background: rgba(255,255,255,.055);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.lang-switch:hover,
.lang-switch:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(127,210,255,.72);
  background: linear-gradient(135deg, rgba(16,117,187,.36), rgba(52,160,224,.14));
  box-shadow: 0 12px 28px rgba(16,117,187,.22);
}
@media (max-width: 780px) {
  .lang-switch {
    min-height: 40px;
    padding: 8px 12px;
  }
}

/* IPT SMTP honeypot */
.hp-field{
  position:absolute!important;
  left:-9999px!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* === Conversión, privacidad y componentes v3 === */
.section-actions { display: flex; justify-content: center; margin-top: 30px; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.service-group-heading { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; margin: 42px 0 4px; padding: 22px; border: 1px solid rgba(127,210,255,.22); border-radius: 24px; background: linear-gradient(135deg, rgba(16,117,187,.20), rgba(255,255,255,.025)); scroll-margin-top: calc(var(--header) + 24px); }
.service-group-heading:first-child { margin-top: 0; }
.service-group-heading > span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; color: #06111b; background: var(--blue-3); font-weight: 900; }
.service-group-heading h2 { margin: 0; font-size: clamp(1.55rem,3vw,2.5rem); letter-spacing: -.045em; }
.service-group-heading p { margin: 4px 0 0; color: var(--muted); }
.flow-line { grid-template-columns: 86px 1fr 92px; }
.google-proof {
  display: inline-grid;
  gap: 2px;
  min-height: 64px;
  padding: 10px 15px;
  border: 1px solid rgba(127,210,255,.35);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16,117,187,.18), rgba(255,255,255,.035));
}
.google-proof strong { color: #fff; font-size: .9rem; }
.google-proof span { color: var(--blue-3); font-size: .78rem; }
.faq-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 34px; }
.faq-grid details { border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; background: var(--panel); }
.faq-grid summary { cursor: pointer; color: #fff; font-weight: 750; letter-spacing: -.02em; }
.faq-grid p { color: var(--muted); margin: 14px 0 0; }
.page-hero--contact { padding: 54px 0 18px; }
.page-hero--contact h1 { max-width: 850px; font-size: clamp(3.4rem, 7vw, 7rem); }
.page-hero--contact + section { padding-top: 34px; }
.optional-label { color: var(--soft); font-weight: 400; }
.consent-field label { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.consent-field input { width: 20px !important; height: 20px; min-width: 20px; margin-top: 2px; accent-color: var(--blue-2); }
.consent-field a { color: var(--blue-3); text-decoration: underline; text-underline-offset: 3px; }
.contact-map > a { display: inline-block; margin-top: 8px; color: var(--blue-3); }
.project-visual { aspect-ratio: 5 / 3; min-height: 0 !important; }
.project-visual img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.case-card .project-visual::after { content: "Vista conceptual anonimizada"; position: absolute; left: 14px; bottom: 14px; padding: 7px 10px; border: 1px solid rgba(127,210,255,.3); border-radius: 999px; color: #dff5ff; background: rgba(5,10,16,.78); backdrop-filter: blur(10px); font-size: .7rem; letter-spacing: .04em; }
html[lang^="en"] .case-card .project-visual::after { content: "Anonymized conceptual view"; }
.legal-page { max-width: 920px; border: 1px solid var(--line); border-radius: 34px; padding: clamp(24px,5vw,54px); background: var(--panel); box-shadow: var(--shadow); }
.legal-page h2 { margin: 38px 0 12px; font-size: clamp(1.35rem,2.4vw,2rem); letter-spacing: -.035em; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page a { color: var(--blue-3); text-decoration: underline; text-underline-offset: 3px; }
.legal-page li + li { margin-top: 7px; }
.legal-callout { display: grid; gap: 5px; margin-top: 42px; padding: 20px; border: 1px solid rgba(127,210,255,.28); border-radius: 20px; background: rgba(16,117,187,.12); }
.legal-callout span { color: var(--blue-3); }
.page-hero--compact { padding-bottom: 24px; }
.page-hero--compact h1 { font-size: clamp(3rem,7vw,6.8rem); }
.success-section { min-height: calc(100vh - var(--header)); display: grid; place-items: center; padding: 70px 0; }
.success-card { max-width: 880px; text-align: center; border: 1px solid rgba(127,210,255,.22); border-radius: 40px; padding: clamp(36px,8vw,86px); background: var(--panel); box-shadow: var(--shadow); }
.success-card h1 { font-size: clamp(2.8rem,7vw,6.2rem); }
.success-card .lead { margin-inline: auto; }
.success-card .hero-actions { justify-content: center; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; color: #06131c; background: var(--success); font-size: 32px; font-weight: 900; box-shadow: 0 18px 46px rgba(94,225,165,.25); }

@media (max-width: 780px) {
  .faq-grid { grid-template-columns: 1fr; }
  .flow-line { grid-template-columns: 62px 1fr 76px; }
  .page-hero--contact { padding: 36px 0 10px; }
  .page-hero--contact h1 { font-size: clamp(2.7rem,13vw,4rem); }
  .page-hero--contact + section { padding-top: 24px; }
  .contact-layout .form-card { order: -1; }
  .google-proof { width: 100%; }
  .contact-map img, .footer-qr-block { display: none; }
  .legal-page { padding: 24px 20px; }
}
