/* ==========================================================
   doMate — Landing v3 (split hero, dark section, modern layout)
   (FULL, coherent with Option 1: solution chooser + benefits block inside #solucion)
   ========================================================== */

:root{
  --brand: #7DB0ED;
  --brand-2: #5E84B2;
  --brand-3: #4B6A8E;
  --brand-ink: #07101C;

  --bg:  #EEF6FF;
  --bg-2:#DFEEFF;
  --bg-3:#CFE6FF;

  --text: #07101C;
  --muted: rgba(7,16,28,.72);
  --muted2: rgba(7,16,28,.56);

  --card: rgba(255,255,255,.82);
  --card-2: rgba(255,255,255,.92);

  --stroke: rgba(7,16,28,.10);
  --stroke2: rgba(7,16,28,.14);

  --shadow: 0 18px 60px rgba(7,16,28,.12);
  --shadow-strong: 0 26px 90px rgba(7,16,28,.18);

  --radius-xl: 28px;
  --radius-lg: 18px;

  --container: 1100px;
  --ease: cubic-bezier(.2,.8,.2,1);

  /* Small additions for consistency */
  --shadow-soft: 0 12px 34px rgba(7,16,28,.10);
  --focus: 0 0 0 4px rgba(125,176,237,.22);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
  line-height:1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.bg-aura{
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}

/* ===== Floating gradient orbs ===== */
.bg-aura::before,
.bg-aura::after{
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}

/* Main top-left orb — blue/indigo */
.bg-aura::before{
  width: 900px; height: 900px;
  top: -18%; left: -12%;
  background: radial-gradient(circle, rgba(125,176,237,.7) 0%, rgba(94,132,178,.45) 40%, transparent 70%);
  animation: orbFloat1 18s ease-in-out infinite;
}

/* Secondary top-right orb — lighter blue/cyan */
.bg-aura::after{
  width: 700px; height: 700px;
  top: -8%; right: -10%;
  background: radial-gradient(circle, rgba(147,197,253,.65) 0%, rgba(125,176,237,.35) 45%, transparent 70%);
  animation: orbFloat2 22s ease-in-out infinite;
}

/* Extra orbs via the page wrapper */
.page::before,
.page::after{
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Bottom-center orb — soft purple-blue */
.page::before{
  width: 800px; height: 600px;
  bottom: -10%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(139,160,237,.4) 0%, rgba(125,176,237,.2) 50%, transparent 70%);
  animation: orbFloat3 20s ease-in-out infinite;
  opacity: .5;
}

/* Mid-right accent orb — teal tint */
.page::after{
  width: 500px; height: 500px;
  top: 35%; right: -6%;
  background: radial-gradient(circle, rgba(110,200,230,.35) 0%, rgba(125,176,237,.15) 50%, transparent 70%);
  animation: orbFloat4 16s ease-in-out infinite;
  opacity: .45;
}

@keyframes orbFloat1{
  0%, 100%{ transform: translate(0, 0) scale(1); }
  33%{ transform: translate(40px, 30px) scale(1.05); }
  66%{ transform: translate(-20px, -15px) scale(.97); }
}

@keyframes orbFloat2{
  0%, 100%{ transform: translate(0, 0) scale(1); }
  33%{ transform: translate(-35px, 25px) scale(.96); }
  66%{ transform: translate(25px, -20px) scale(1.04); }
}

@keyframes orbFloat3{
  0%, 100%{ transform: translateX(-50%) translate(0, 0) scale(1); }
  50%{ transform: translateX(-50%) translate(30px, -25px) scale(1.06); }
}

@keyframes orbFloat4{
  0%, 100%{ transform: translate(0, 0) scale(1); }
  50%{ transform: translate(-20px, 30px) scale(1.08); }
}

.page{ position: relative; z-index: 1; }
img{ display:block; max-width:100%; height:auto; }
a{ color: inherit; text-decoration: none; }

/* Improve default focus for accessibility */
:focus-visible{
  outline: none;
  box-shadow: var(--focus);
  border-radius: 10px;
}

.container{
  width: min(var(--container), calc(100% - 44px));
  margin: 0 auto;
}

.section{ padding: 100px 0; }

/* ================= HEADER ================= */

.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke);
}

.header-inner{
  width: min(var(--container), calc(100% - 44px));
  margin: 0 auto;
  height: 72px;
  display:flex; align-items:center; justify-content:space-between;
  gap: 14px;
}

.brand{
  display:inline-flex; align-items:center; gap: 10px;
}

.brand-logo{
  width: 36px; height: 36px; border-radius: 12px;
  box-shadow: 0 12px 40px rgba(7,16,28,.16);
}

.brand-name{
  font-weight: 950; letter-spacing: -.03em; font-size: 20px;
}

.header-nav{
  display:flex; gap: 28px;
}

.nav-link{
  font-weight: 600; font-size: 14px; color: var(--muted);
  transition: color .16s var(--ease);
}
.nav-link:hover{ color: var(--text); }

/* ================= BUTTONS ================= */

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900; font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer; user-select: none;
  font-family: inherit;
  transition:
    transform .16s var(--ease),
    filter .16s var(--ease),
    background .16s var(--ease),
    box-shadow .16s var(--ease);
}

.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn:focus-visible{ box-shadow: 0 0 0 4px rgba(125,176,237,.28); }

.btn-primary{
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #ffffff;
  border-color: rgba(7,16,28,.10);
  box-shadow: 0 16px 44px rgba(125,176,237,.32);
}
.btn-primary:hover{
  filter: saturate(1.04) brightness(1.03);
  box-shadow: 0 18px 54px rgba(125,176,237,.40);
}

.btn-sm{ padding: 8px 16px; font-size: 14px; }
.btn-xl{ padding: 16px 28px; font-size: 16px; }
.btn-full{ width: 100%; }

/* Optional secondary (kept, may be used elsewhere) */
.btn-secondary{
  background: rgba(255,255,255,.72);
  color: var(--text);
  border: 1px solid var(--stroke2);
  box-shadow: 0 12px 30px rgba(7,16,28,.10);
}
.btn-secondary:hover{
  background: rgba(255,255,255,.90);
  box-shadow: 0 16px 40px rgba(7,16,28,.12);
}

/* ========= CTA button inside solution panel: more dynamic =========
   No HTML changes required: it targets .panel-actions .btn
*/
.panel-actions .btn{
  position: relative;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -.01em;
  box-shadow:
    0 18px 50px rgba(125,176,237,.28),
    0 8px 18px rgba(7,16,28,.10);
  transform: translateZ(0);
}

.panel-actions .btn::after{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.45), transparent 45%);
  opacity: .55;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.panel-actions .btn:hover::after{
  opacity: .85;
  transform: translateY(-1px);
}

.panel-actions .btn:active{
  box-shadow:
    0 12px 34px rgba(125,176,237,.24),
    0 6px 14px rgba(7,16,28,.10);
}

/* ================= HERO (fullscreen + background image) ================= */

.hero{
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-bg{
  position: absolute; inset: 0; z-index: 0;
  background: url('../img/fotoprueba.jpeg') center/cover no-repeat;
  will-change: transform;
}

.hero-bg::after{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(238,246,255,.82) 0%,
    rgba(238,246,255,.68) 45%,
    rgba(238,246,255,.88) 100%
  );
  backdrop-filter: blur(2px);
}

.hero-center{
  position: relative; z-index: 2;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  padding: 120px 0 80px;
  will-change: transform, opacity;
}

/* ----- Hero entrance animations ----- */
.hero-badge{
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(125,176,237,.18);
  border: 1px solid rgba(125,176,237,.40);
  font-size: 13px; font-weight: 800;
  color: var(--brand-3);
  margin-bottom: 20px;
  opacity: 0; animation: heroFadeDown .8s var(--ease) .2s forwards;
}

.hero-title{
  margin: 0 0 16px 0;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 16ch;
  opacity: 0; animation: heroFadeUp 1s var(--ease) .4s forwards;
}

.hero-highlight{
  background: linear-gradient(90deg, var(--brand-2), var(--brand-3));
  background-clip: text; -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle{
  margin: 0 0 28px 0;
  font-size: 18px; color: var(--muted);
  max-width: 58ch;
  opacity: 0; animation: heroFadeIn .9s var(--ease) .7s forwards;
}

.hero-actions{
  margin-bottom: 24px;
  opacity: 0; animation: heroScaleIn .8s var(--ease) .95s forwards;
}

.hero-trust{
  display: flex; align-items: center; gap: 10px;
  opacity: 0; animation: heroFadeIn .8s var(--ease) 1.15s forwards;
}

.trust-avatars{ display: flex; }

.trust-dot{
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
}
.trust-dot:first-child{ margin-left: 0; }

.trust-text{
  margin: 0; font-size: 13px; color: var(--muted2);
}

/* ----- Scroll indicator ----- */
.scroll-indicator{
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0; animation: heroFadeIn .8s var(--ease) 1.4s forwards;
  transition: opacity .4s var(--ease);
}

.scroll-indicator.is-hidden{ opacity: 0; pointer-events: none; }

.scroll-indicator-text{
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted2);
}

.scroll-indicator-arrow{
  width: 24px; height: 24px;
  border-right: 2px solid var(--brand-2);
  border-bottom: 2px solid var(--brand-2);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ----- Hero keyframes ----- */
@keyframes heroFadeDown{
  from{ opacity:0; transform: translateY(-20px); }
  to{ opacity:1; transform: translateY(0); }
}

@keyframes heroFadeUp{
  from{ opacity:0; transform: translateY(32px); }
  to{ opacity:1; transform: translateY(0); }
}

@keyframes heroFadeIn{
  from{ opacity:0; }
  to{ opacity:1; }
}

@keyframes heroScaleIn{
  from{ opacity:0; transform: scale(.92); }
  to{ opacity:1; transform: scale(1); }
}

@keyframes scrollBounce{
  0%, 100%{ transform: rotate(45deg) translate(0, 0); }
  50%{ transform: rotate(45deg) translate(4px, 4px); }
}

/* ================= SECTION HEADERS ================= */

.section-header{
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-kicker{
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(125,176,237,.14);
  border: 1px solid rgba(125,176,237,.35);
  font-size: 12px; font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-3);
  margin-bottom: 14px;
}

.section-title{
  margin: 0 0 12px 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.section-lead{
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

/* ================= PROBLEM CARDS ================= */

.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card-feature{
  background: rgba(255,255,255,.88);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.card-feature:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.card-feature-number{
  font-size: 13px; font-weight: 900;
  color: var(--brand-2);
  margin-bottom: 14px;
  letter-spacing: .04em;
}

.card-feature-title{
  margin: 0 0 8px 0;
  font-weight: 950; font-size: 18px;
  letter-spacing: -.02em;
}

.card-feature-text{
  margin: 0; color: var(--muted); font-size: 15px;
}

/* ==========================================================
   SOLUCIÓN (legacy blocks kept for compatibility)
   ========================================================== */

.section-solution{
  background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(235,245,255,.8) 100%);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  border-radius: 32px;
  margin: 0 20px;
  padding: 80px 0;
}

.tabs-wrapper{
  max-width: 800px;
  margin: 0 auto;
}

.tabs-switch{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: rgba(7,16,28,.06);
  border: 1px solid var(--stroke2);
  margin-bottom: 32px;
}

.tabs-switch-btn{
  appearance: none;
  position: relative; z-index: 2;
  border: none; background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-weight: 900; font-size: 16px;
  padding: 14px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .25s var(--ease);
}
.tabs-switch-btn.is-active{ color: var(--text); }

.tabs-switch-bubble{
  position: absolute; z-index: 1;
  top: 4px; left: 4px;
  width: calc(50% - 4px); height: calc(100% - 8px);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  transition: transform .3s var(--ease);
}
.tabs-switch.is-right .tabs-switch-bubble{ transform: translateX(100%); }

.tabs-panel[hidden]{ display: none; }

.panel-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.panel-visual{ display: flex; justify-content: center; }

.panel-card-stack{
  display: flex; flex-direction: column; gap: 10px;
  width: 100%; max-width: 280px;
}

.panel-card-item{
  background: rgba(255,255,255,.88);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px 20px;
  font-weight: 800; font-size: 15px;
  color: var(--muted);
  box-shadow: 0 4px 16px rgba(7,16,28,.06);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.panel-card-item:hover{
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(7,16,28,.10);
}

.panel-card-item-accent{
  background: linear-gradient(135deg, rgba(125,176,237,.15), rgba(125,176,237,.06));
  border-color: rgba(125,176,237,.35);
  color: var(--brand-3);
}

/* ==========================================================
   ✅ SOLUCIÓN (Option 1) inside #solucion
   - chooser + solution-sub (benefits block) inside .section-soft
   ========================================================== */

.section-soft{
  background: linear-gradient(180deg, rgba(255,255,255,.68) 0%, rgba(235,245,255,.82) 100%);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  border-radius: 32px;
  margin: 0 20px;
  padding: 80px 0;
}

/* Chooser card */
.chooser{
  background: rgba(255,255,255,.86);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 36px 28px;
}

/* Head */
.chooser-head{
  text-align: center;
  max-width: 720px;
  margin: 0 auto 22px;
}

.chooser-title{
  margin: 10px 0 10px 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.chooser-lead{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* Switch */
.chooser-switch{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
  border-radius: 999px;
  background: rgba(7,16,28,.055);
  border: 1px solid rgba(7,16,28,.14);
  max-width: 620px;
  margin: 22px auto 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.chooser-switch-btn{
  appearance: none;
  position: relative;
  z-index: 2;
  border: none;
  background: transparent;
  color: rgba(7,16,28,.62);
  font-family: inherit;
  font-weight: 950;
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: -.01em;
  transition: color .2s var(--ease), transform .16s var(--ease);
}

.chooser-switch-btn:hover{ transform: translateY(-1px); color: rgba(7,16,28,.82); }
.chooser-switch-btn:active{ transform: translateY(0); }
.chooser-switch-btn.is-active{ color: var(--brand-ink); }

.chooser-switch-bubble{
  position: absolute;
  z-index: 1;
  top: 6px; left: 6px;
  width: calc(50% - 6px);
  height: calc(100% - 12px);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(125,176,237,.22) 0%,
    rgba(255,255,255,.92) 60%,
    rgba(255,255,255,.82) 100%
  );
  border: 1px solid rgba(125,176,237,.45);
  box-shadow:
    0 16px 40px rgba(7,16,28,.12),
    0 2px 8px rgba(7,16,28,.07);
  transition: transform .28s var(--ease);
}
.chooser-switch.is-right .chooser-switch-bubble{ transform: translateX(100%); }

/* Panel wrapper */
.panel{
  max-width: 900px;
  margin: 0 auto;
}

/* Panel inner */
.panel-inner{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(7,16,28,.10);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 26px 24px;
}

/* Kicker inside panel */
.panel-kicker{
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(125,176,237,.14);
  border: 1px solid rgba(125,176,237,.35);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-3);
  margin-bottom: 12px;
}

.panel-title{
  margin: 0 0 16px 0;
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -.03em;
  color: var(--text);
}

/* List with “bullet signal” instead of lines */
.panel-inner .panel-list{
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: grid;
  gap: 10px;
}

.panel-inner .panel-list li{
  position: relative;
  padding: 12px 14px 12px 44px;
  border: 1px solid rgba(7,16,28,.10);
  background: rgba(255,255,255,.78);
  border-radius: 16px;
  color: rgba(7,16,28,.88);
  font-weight: 850;
  letter-spacing: -.01em;
  box-shadow: 0 10px 26px rgba(7,16,28,.06);
}

.panel-inner .panel-list li::before{
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 10px 20px rgba(125,176,237,.22);
}

/* Actions: align better (not “too right”), but keep CTA clear */
.panel-actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;   /* <-- derecha */
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Optional hint text (if you add .panel-note later) */
.panel-note{
  margin: 0;
  color: var(--muted2);
  font-size: 13px;
  font-weight: 700;
}

/* -------- Benefits block inside solution section (Option 1) -------- */
.solution-sub{
  margin-top: 26px;
  padding-top: 34px;
  border-top: 1px solid rgba(7,16,28,.08);
}

.solution-sub-head{
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.solution-sub-title{
  margin: 0 0 10px 0;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.solution-sub-lead{
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* grid-4 + mt-24 */
.grid-4{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mt-24{ margin-top: 24px; }

/* mini cards */
.mini{
  background: rgba(255,255,255,.86);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  box-shadow: 0 14px 44px rgba(7,16,28,.10);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.mini:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.mini-title{
  margin: 0 0 8px 0;
  font-weight: 950;
  font-size: 16px;
  letter-spacing: -.02em;
}

.mini-text{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ================= FORM SECTION ================= */

.form-wrapper{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 48px;
}

.form-left .section-kicker{ margin-bottom: 12px; }
.form-left .section-title{ margin-bottom: 12px; }
.form-left .section-lead{ margin-bottom: 24px; }

.form-perks{
  display: flex; flex-wrap: wrap; gap: 8px;
}

.perk{
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(125,176,237,.10);
  border: 1px solid rgba(125,176,237,.25);
  font-size: 13px; font-weight: 800;
  color: var(--brand-3);
}

.form{ display: grid; gap: 16px; }
.fieldset{ border:0; padding:0; margin:0; }
.legend{ font-weight: 950; margin: 0 0 10px 0; }

.role-switch{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
  border-radius: 999px;
  background: rgba(7,16,28,.05);
  border: 1px solid rgba(7,16,28,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.role-switch-btn{
  appearance: none;
  position: relative;
  z-index: 2;
  border: none;
  background: transparent;
  color: rgba(7,16,28,.62);
  font-family: inherit;
  font-weight: 900;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s var(--ease), transform .16s var(--ease);
}

.role-switch-btn:hover{ transform: translateY(-1px); color: rgba(7,16,28,.8); }
.role-switch-btn:active{ transform: translateY(0); }
.role-switch-btn.is-active{ color: var(--brand-ink); }

.role-switch-bubble{
  position: absolute;
  z-index: 1;
  top: 6px; left: 6px;
  width: calc(50% - 6px);
  height: calc(100% - 12px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.82) 100%);
  border: 1px solid rgba(125,176,237,.35);
  box-shadow:
    0 10px 24px rgba(7,16,28,.10),
    0 2px 6px rgba(7,16,28,.06);
  transition: transform .28s var(--ease), opacity .28s var(--ease);
  opacity: 0;
  pointer-events: none;
}

.role-switch.has-selection .role-switch-bubble{ opacity: 1; }
.role-switch.is-right .role-switch-bubble{ transform: translateX(100%); }

.field{ display:grid; gap: 8px; }
.label{ font-weight: 850; font-size: 13px; color: rgba(7,16,28,.78); }

.input{
  width:100%; padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke2);
  background: rgba(255,255,255,.92);
  color: var(--text);
  font-size: 16px; font-family: inherit;
  transition: box-shadow .16s var(--ease), border-color .16s var(--ease);
}

.input::placeholder{ color: rgba(7,16,28,.40); }
.input:focus{
  outline:none;
  border-color: rgba(125,176,237,.85);
  box-shadow: var(--focus);
}

.hint{ margin:0; font-size: 13px; color: var(--muted2); }

.success{
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 14px; padding: 14px;
}

.error{
  background: rgba(239,68,68,.14);
  border: 1px solid rgba(239,68,68,.25);
  border-radius: 14px; padding: 14px;
}

/* ================= FOOTER ================= */

.site-footer{
  padding: 40px 0;
  border-top: 1px solid var(--stroke);
}

.footer-inner{
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}

.footer-brand{
  display: flex; align-items: center; gap: 20px;
}

.footer-copy{
  margin: 0; font-size: 13px; color: var(--muted2);
}

.footer-social{
  display: flex; gap: 16px;
}

.footer-social-link{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  color: var(--muted);
  padding: 6px 12px; border-radius: 10px;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.footer-social-link:hover{
  background: rgba(255,255,255,.6);
  color: var(--text);
}

.footer-social-icon{
  width: 16px; height: 16px;
}

/* ================= REVEAL ANIMATIONS ================= */

.reveal{
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible{
  opacity: 1; transform: translateY(0);
}

.reveal-delay-1{ transition-delay: .1s; }
.reveal-delay-2{ transition-delay: .2s; }
.reveal-delay-3{ transition-delay: .3s; }
.reveal-delay-4{ transition-delay: .4s; }

/* ================= RESPONSIVE ================= */

@media (max-width: 920px){
  .header-nav{ display: none; }
  .hero-center{ padding: 100px 0 60px; }
  .grid-3{ grid-template-columns: 1fr; }

  .section-solution{ margin: 0 12px; border-radius: 24px; }
  .panel-grid{ grid-template-columns: 1fr; }
  .panel-visual{ display: none; }

  .section-soft{ margin: 0 12px; border-radius: 24px; padding: 58px 0; }
  .chooser{ padding: 28px 18px; }

  .panel-inner{ padding: 22px 18px; }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }

  .form-wrapper{ grid-template-columns: 1fr; padding: 28px; }

  .footer-inner{ flex-direction: column; text-align: center; }
  .footer-brand{ flex-direction: column; }
}

@media (max-width: 560px){
  .container{ width: min(var(--container), calc(100% - 28px)); }
  .header-inner{ height: 66px; }
  .brand-name{ font-size: 18px; }
  .scroll-indicator{ bottom: 20px; }

  .section-solution{ margin: 0 8px; border-radius: 20px; padding: 48px 0; }

  .section-soft{ margin: 0 8px; border-radius: 20px; padding: 46px 0; }
  .chooser-switch{ max-width: 100%; }

  .grid-4{ grid-template-columns: 1fr; }

  /* CTA in panel: centered + full width on small screens */
  .panel-actions{ justify-content: center; }
  .panel-actions .btn{ width: 100%; max-width: 320px; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn{ transition:none; }
  .bg-aura{ filter:none; }
  .bg-aura::before, .bg-aura::after,
  .page::before, .page::after{ animation:none; }
  .reveal{ opacity:1; transform:none; transition:none; }
  .hero-badge, .hero-title, .hero-subtitle,
  .hero-actions, .hero-trust, .scroll-indicator{
    opacity:1; animation:none;
  }
  .scroll-indicator-arrow{ animation:none; }
}