/* ============================================================
   LendWave — custom theme on top of Bootstrap 5  (v2 palette)
   Purple #6527BE · Light purple #9681EB · Cyan #45CFDD · Mint #A7EDE7
   ============================================================ */

:root {
  --purple:       #6527BE;
  --purple-light: #9681EB;
  --cyan:         #45CFDD;
  --mint:         #A7EDE7;

  --purple-deep:  #4A1690;
  --purple-darker:#33105F;
  --ink:          #1E1340;   /* dark purple text */
  --muted:        rgba(30, 19, 64, 0.62);
  --muted-2:      rgba(30, 19, 64, 0.48);
  --line:         rgba(101, 39, 190, 0.12);

  --surface:      #F7F5FE;   /* light purple tint */
  --surface-2:    #ECFAFA;   /* light mint tint */
  --faq-bg:       #F0ECFC;   /* light purple */

  --grad: linear-gradient(115deg, #6527BE 0%, #9681EB 100%);
  --grad-soft: linear-gradient(135deg, #F7F5FE 0%, #ECFAFA 100%);

  --shadow-soft: 0 12px 38px -14px rgba(101, 39, 190, 0.28);
  --shadow-card: 0 22px 55px -22px rgba(101, 39, 190, 0.38);
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-2xl: 2rem;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Krub', 'Inter', sans-serif;
  letter-spacing: -0.01em;
}
a { text-decoration: none; }

.shell {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 576px) { .shell { padding-inline: 1.5rem; } }

/* color utilities (class names kept; recolored to new palette) */
.text-navy      { color: var(--ink) !important; }
.text-navy-60   { color: var(--muted) !important; }
.text-navy-55   { color: var(--muted) !important; }
.text-navy-45   { color: var(--muted-2) !important; }
.text-blue      { color: var(--purple-light) !important; }
.text-gold      { color: var(--cyan) !important; }
.text-purple    { color: var(--purple) !important; }
.bg-surface     { background: var(--surface) !important; }

/* ---------- Buttons ---------- */
.btn-navy,
.btn-gold,.btn-prev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.9rem;
  padding: 0.9rem 1.7rem;
  font-weight: 700;
  font-size: 0.92rem;
  border: 0;
  cursor: pointer;
  transition: all .3s ease;
  white-space: nowrap;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(5px);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    transition: all 0.4s ease;
    z-index: 9999;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

.loader-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 40px;
    border-radius: 20px;
    text-align: center;

    box-shadow: 0 15px 40px rgba(0,0,0,0.2);

    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.overlay.show .loader-card {
    transform: scale(1);
}

.spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;

    border: 5px solid #e5e7eb;
    border-top: 5px solid #2563eb;

    border-radius: 50%;

    animation: girar 1s linear infinite;
}

@keyframes girar {
    100% {
        transform: rotate(360deg);
    }
}

.loader-card h3 {
    margin: 0;
    color: #1f2937;
}

.loader-card p {
    margin-top: 8px;
    color: #6b7280;
}

.overlay-proceso {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 9999;
}

.contenedor-progreso {
    background: white;
    width: 80%;
    height: 80%;
    max-width: 90%;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
    text-align: center;
}

.processbarrhed {
    height: 30px;
}

.processbarr {
    transition: width .8s ease;
    font-weight: bold;
}


.processbarr {                       /* primary = purple gradient */
  background: var(--grad) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px -12px rgba(101, 39, 190, 0.6) !important;
  font-size: 25px;
  font-weight: bold;
  border-radius: 50px;
}

.processbarrhed{
  height: 35px;
  border-radius: 50px;
}


.btn-navy {                       /* primary = purple gradient */
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(101, 39, 190, 0.6);
}


.btn-navy:hover {
  color: #fff;
  filter: brightness(1.06);
  box-shadow: 0 18px 38px -12px rgba(101, 39, 190, 0.7);
  transform: translateY(-2px);
}

.btn-prev {                       /* primary = purple gradient */
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(214, 193, 243, 0.6);
}

.btn-prev:hover {
  color: #fff;
  filter: brightness(1.06);
  box-shadow: 0 18px 38px -12px rgba(214, 193, 243, 0.7);
  transform: translateY(-2px);
}


.btn-gold {                       /* accent = cyan */
  background: var(--cyan);
  color: #0c2f33;
  box-shadow: 0 14px 30px -14px rgba(69, 207, 221, 0.7);
}
.btn-gold:hover {
  background: #34c2d2;
  color: #0c2f33;
  transform: translateY(-2px);
}
.btn-navy .bi,
.btn-gold .bi { font-size: 0.95rem; transition: transform .3s ease; }
.btn-navy:hover .bi,
.btn-gold:hover .bi { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: .9rem; padding: .9rem 1.5rem;
  font-weight: 700; font-size: .92rem;
  color: var(--purple);
  background: rgba(101, 39, 190, 0.07);
  border: 1px solid var(--line);
  transition: all .25s ease;
}
.btn-ghost:hover { background: rgba(101, 39, 190, 0.12); color: var(--purple); }

/* ---------- Eyebrow / pills ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: rgba(69, 207, 221, 0.18);
  color: var(--purple);
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(69, 207, 221, 0.4);
}
.eyebrow .bi { color: #16a9bb; }

/* ---------- Sections ---------- */
.section-pad { padding-block: 4.5rem; }
@media (min-width: 768px) { .section-pad { padding-block: 5.5rem; } }

.section-shell {
  border-radius: var(--r-2xl);
  background: var(--grad-soft);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.section-title {
  font-weight: 700;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.5rem);
  color: var(--ink);
}
.section-sub { color: var(--muted); }
.divider-line { height: 1px; background: var(--line); border: 0; opacity: 1; }

/* small kicker above section titles */
.kicker {
  display: inline-block;
  font-size: .72rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: .6rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.lw-nav-wrap { position: sticky; top: 0; z-index: 1030; padding: 1rem; }
.lw-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  padding: 0.65rem 1.2rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .3s ease;
}
.lw-nav.is-scrolled { box-shadow: var(--shadow-card); }

.lw-logo { display: flex; align-items: center; gap: 0.65rem; }
.lw-logo-mark {
  position: relative; display: grid; place-items: center;
  height: 2.4rem; width: 2.4rem; border-radius: 0.85rem;
  background: var(--grad);
  box-shadow: 0 10px 22px -8px rgba(101, 39, 190, 0.6);
}
.lw-logo-mark .dot {
  position: absolute; top: -2px; right: -2px;
  height: 0.55rem; width: 0.55rem; border-radius: 999px;
  background: var(--cyan); box-shadow: 0 0 0 2px #fff;
}
.lw-logo-word { line-height: 1; }
.lw-logo-name { font-family: 'Krub', sans-serif; font-weight: 800; font-size: 1.2rem; }
.lw-logo-kicker {
  display: block; font-size: 0.56rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--purple-light); margin-top: 2px;
}

.lw-menu { display: none; align-items: center; gap: 0.1rem; }
@media (min-width: 992px) { .lw-menu { display: flex; } }
.lw-menu-link {
  border-radius: 0.65rem; padding: 0.5rem 0.85rem;
  font-size: 0.88rem; font-weight: 600; color: var(--muted);
  background: transparent; border: 0;
  display: inline-flex; align-items: center; gap: 0.25rem;
  transition: all .2s ease;
}
.lw-menu-link:hover, .lw-menu-link.show, .lw-menu-link.active {
  background: rgba(101, 39, 190, 0.08); color: var(--purple);
}
.lw-menu-link .bi { font-size: 0.72rem; opacity: 0.7; }

.lw-dropdown {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); padding: 0.4rem; min-width: 14rem;
}
.lw-dropdown .dropdown-item {
  border-radius: 0.6rem; padding: 0.55rem 0.75rem;
  font-size: 0.86rem; color: var(--ink); font-weight: 500;
}
.lw-dropdown .dropdown-item:hover { background: var(--surface); color: var(--purple); }

.lw-burger {
  display: grid; place-items: center; height: 2.6rem; width: 2.6rem;
  border-radius: 0.75rem; border: 1px solid var(--line);
  background: #fff; color: var(--purple);
}
@media (min-width: 992px) { .lw-burger { display: none; } }
.lw-nav-cta { display: none; }
@media (min-width: 576px) { .lw-nav-cta { display: inline-flex; } }

.lw-offcanvas { width: min(88%, 22rem); }
.lw-off-link {
  display: block; border-radius: 0.6rem; padding: 0.65rem 0.75rem;
  font-size: 0.95rem; font-weight: 600; color: var(--muted);
}
.lw-off-link:hover { background: var(--surface); color: var(--purple); }
.lw-off-group {
  padding: 1rem 0.75rem 0.25rem; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-light);
}

/* ============================================================
   HERO  (image LEFT, form RIGHT)
   ============================================================ */
.hero-card {
  position: relative; overflow: hidden; border-radius: 2.25rem;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 2.5rem 1.5rem;
}
@media (min-width: 576px) { .hero-card { padding: 2.75rem; } }
@media (min-width: 992px) { .hero-card { padding: 3.5rem; } }

.hero-blob { position: absolute; border-radius: 999px; filter: blur(64px); pointer-events: none; }
.hero-blob.gold { top: -6rem; right: -5rem; height: 20rem; width: 20rem; background: rgba(69, 207, 221, 0.22); }
.hero-blob.blue { bottom: -8rem; left: -4rem; height: 20rem; width: 20rem; background: rgba(150, 129, 235, 0.22); }

.hero-title {
  font-weight: 800;
  font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.1rem);
  line-height: 1.07; color: var(--ink);
}
.hero-title em { font-style: normal; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }

.hero-art { width: 100%; max-width: 34rem; }

/* calculator (form) card */
.calc-card {
  border-radius: 1.6rem; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-card);
  padding: 1.6rem;
}
@media (min-width: 576px) { .calc-card { padding: 1.9rem; } }
.calc-display {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 1.1rem; border: 1.5px solid var(--line);
  background: var(--surface); padding: 0.95rem 1.15rem;
}
.calc-amount { display: flex; align-items: center; font-size: 1.85rem; font-weight: 800; color: var(--purple); }
.calc-amount .cur { color: var(--purple-light); margin-right: 0.25rem; }

.amount-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
.amount-chip {
  border-radius: 0.85rem; padding: 0.8rem; font-weight: 700; font-size: 0.92rem;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: all .2s ease; cursor: pointer;
}
.amount-chip:hover { border-color: var(--purple-light); background: var(--surface); }
.amount-chip.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-soft); }
.amount-chip.span-2 { grid-column: span 2; }

.trust-row {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line);
}

/* ============================================================
   NEEDS  (horizontal cards, left-aligned, 2-up)
   ============================================================ */
.need-card {
  display: flex; align-items: center; gap: 1.1rem;
  border-radius: 1.25rem; border: 1px solid var(--line);
  background: #fff; padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft); transition: all .3s ease; height: 100%;
}
.need-card:hover {
  transform: translateY(-4px);
  border-color: rgba(69, 207, 221, 0.6);
  box-shadow: var(--shadow-card);
}
.need-ico {
  display: grid; place-items: center; height: 3.6rem; width: 3.6rem; flex: none;
  border-radius: 1rem; background: var(--surface-2); color: var(--purple);
  font-size: 1.55rem; transition: all .3s ease;
}
.need-card:hover .need-ico { background: var(--grad); color: #fff; }
.need-label { font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.need-sub { font-size: .82rem; color: var(--muted-2); margin-top: 2px; }

/* ============================================================
   HOW IT WORKS  (3 cards in a row)
   ============================================================ */
.step-card {
  position: relative; height: 100%;
  border-radius: 1.5rem; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-soft);
  padding: 2rem 1.6rem 1.8rem; text-align: center;
  transition: all .3s ease;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.step-num {
  position: absolute; top: -1.1rem; left: 50%; transform: translateX(-50%);
  display: grid; place-items: center; height: 2.7rem; width: 2.7rem;
  border-radius: 999px; background: var(--grad); color: #fff;
  font-family: 'Krub', sans-serif; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 10px 22px -8px rgba(101, 39, 190, 0.6);
}
.step-art {
  border-radius: 1.1rem; background: var(--grad-soft);
  padding: 1rem; margin: .75rem 0 1.1rem;
}
.step-art img { width: 100%; max-width: 220px; margin-inline: auto; display: block; }
.step-badge {
  display: inline-block; border-radius: 999px;
  background: rgba(101, 39, 190, 0.08); color: var(--purple);
  padding: 0.2rem 0.8rem; font-size: 0.72rem; font-weight: 700;
}
.step-heading { margin-top: .65rem; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.step-heading sup { color: var(--cyan); }
.step-note { margin-top: .5rem; font-size: 0.9rem; line-height: 1.6; color: var(--muted); }

/* connector arrows between step cards (desktop) */
.step-arrow {
  display: none; align-items: center; justify-content: center;
  color: var(--purple-light); font-size: 1.4rem;
}
@media (min-width: 992px) { .step-arrow { display: flex; } }

/* ============================================================
   LOAN COST  (2-col: total left, metrics right)
   ============================================================ */
.cost-tabs {
  display: inline-flex; gap: 0.25rem; border-radius: 0.95rem;
  border: 1px solid var(--line); background: #fff; padding: 0.3rem;
  box-shadow: var(--shadow-soft);
}
.cost-tab {
  border: 0; background: transparent; border-radius: 0.7rem;
  padding: 0.55rem 1.35rem; font-weight: 700; font-size: 0.9rem;
  color: var(--muted); cursor: pointer; transition: all .2s ease;
}
.cost-tab:hover { color: var(--purple); }
.cost-tab.is-active { background: var(--grad); color: #fff; box-shadow: var(--shadow-soft); }

.cost-card {
  border-radius: 1.6rem; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-card); overflow: hidden;
}
.cost-left {
  background: var(--grad); color: #fff; padding: 2.4rem 2rem; text-align: center;
  display: flex; flex-direction: column; justify-content: center;
}
.cost-total { font-family: 'Krub', sans-serif; font-weight: 800; font-size: clamp(2.6rem, 1.8rem + 3vw, 3.6rem); line-height: 1; }
.cost-total-label { margin-top: .5rem; font-size: .9rem; color: rgba(255,255,255,.85); font-weight: 600; }
.cost-right { padding: 1.8rem; }
.cost-metric { border-radius: 1rem; border: 1px solid var(--line); background: var(--surface); padding: 1.1rem 0.8rem; text-align: center; height: 100%; }
.cost-figure { font-family: 'Krub', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--purple); }
.cost-caption { font-size: 0.74rem; color: var(--muted-2); margin-top: 0.25rem; }

/* ============================================================
   ELIGIBILITY  (2-col: media left, checklist right)
   ============================================================ */
.qualify-media {
  position: relative; border-radius: 1.6rem; overflow: hidden;
  background: var(--grad); padding: 2.5rem; min-height: 100%;
  display: flex; flex-direction: column; justify-content: center; color: #fff;
}
.qualify-media img { width: 100%; max-width: 18rem; margin: 0 auto 1.25rem; display: block; }
.qualify-note-light { border-radius: 1.1rem; background: rgba(255,255,255,0.14); padding: 1.25rem; backdrop-filter: blur(4px); }

.qualify-card {
  border-radius: 1.6rem; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-card); padding: 1.9rem; height: 100%;
}
@media (min-width: 576px) { .qualify-card { padding: 2.4rem; } }
.qualify-item { display: flex; align-items: center; gap: 0.9rem; }
.qualify-ico {
  display: grid; place-items: center; height: 2.8rem; width: 2.8rem; flex: none;
  border-radius: 0.85rem; background: var(--surface-2); color: var(--purple);
  font-size: 1.25rem;
}
.qualify-text { font-size: 0.95rem; font-weight: 600; color: var(--ink); }

/* ============================================================
   FAQ  (accordion left, intro right)
   ============================================================ */
.faq-panel { border: 1px solid var(--line); border-radius: 1.1rem !important; background: var(--faq-bg); overflow: hidden; margin-bottom: 0.85rem; }
.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  text-align: left; border: 0; background: transparent; padding: 1.1rem 1.3rem;
  font-family: 'Krub', sans-serif; font-weight: 700; font-size: 1rem; color: var(--ink); cursor: pointer;
}
.faq-btn .chev { transition: transform .3s ease; color: var(--purple); flex: none; }
.faq-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-btn[aria-expanded="true"] { color: var(--purple); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-body-inner { padding: 0 1.3rem 1.2rem; font-size: 0.92rem; line-height: 1.65; color: var(--muted); }

/* ============================================================
   CTA  (illustration left, text right)
   ============================================================ */
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--r-2xl);
  background: var(--grad); color: #fff; box-shadow: var(--shadow-card);
  padding: 2.25rem;
}
@media (min-width: 768px) { .cta-card { padding: 3rem; } }
.cta-card .eyebrow { background: rgba(255,255,255,0.18); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); }
.cta-card .eyebrow .bi { color: #d8fbff; }
.cta-title { font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 1.9vw, 2.4rem); color: #fff; }
.cta-art { width: 100%; max-width: 17rem; }
.cta-blob { position: absolute; border-radius: 999px; filter: blur(60px); background: rgba(69,207,221,0.4); height: 16rem; width: 16rem; top: -5rem; right: -3rem; pointer-events: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.lw-footer { background: linear-gradient(180deg, #33105F 0%, #25094A 100%); color: rgba(255,255,255,0.75); }
.footnote-card { border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-card); padding: 1.9rem; }
@media (min-width: 768px) { .footnote-card { padding: 2.1rem; } }
.footnote-title { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--purple); }
.footnote-ref { font-family: 'Krub', sans-serif; font-weight: 800; color: var(--cyan); font-size: 1.15rem; }
.footnote-body { font-size: 0.82rem; line-height: 1.55; color: var(--muted); }

.footer-col-title { font-size: 0.85rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.footer-link { display: block; color: rgba(255,255,255,0.62); font-size: 0.86rem; padding: 0.32rem 0; transition: color .2s ease; }
.footer-link:hover { color: var(--cyan); }
.legal-block h6 { font-size: 0.85rem; font-weight: 800; color: #fff; margin-bottom: 0.4rem; }
.legal-block p  { font-size: 0.74rem; line-height: 1.55; color: rgba(255,255,255,0.5); }
.footer-rule { border-color: rgba(255,255,255,0.12); }
.footer-bottom a { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.footer-bottom a:hover { color: var(--cyan); }

/* ============================================================
   INNER PAGES (hero band + article + forms)
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden;
  border-radius: 2rem; background: var(--grad); color: #fff;
  padding: 3rem 1.75rem;
}
@media (min-width: 768px) { .page-hero { padding: 3.5rem 3rem; } }
.page-hero .crumbs { font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: .75rem; }
.page-hero .crumbs a { color: rgba(255,255,255,.9); }
.page-hero h1 { font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem); }
.page-hero p { color: rgba(255,255,255,.85); max-width: 42rem; }
.page-hero .pg-blob { position: absolute; border-radius: 999px; filter: blur(60px); background: rgba(69,207,221,.4); height: 16rem; width: 16rem; top: -5rem; right: -3rem; pointer-events: none; }

.article-card {
  border-radius: 1.5rem; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-soft); padding: 1.75rem;
}
@media (min-width: 768px) { .article-card { padding: 2.5rem; } }
.article-card h2 { font-size: 1.3rem; font-weight: 800; color: var(--ink); margin-top: 1.75rem; }
.article-card h2:first-child { margin-top: 0; }
.article-card p { color: var(--muted); line-height: 1.7; font-size: .95rem; margin-top: .6rem; }
.article-card ul { color: var(--muted); line-height: 1.7; font-size: .95rem; }
.article-card .lead { font-size: 1.05rem; color: var(--ink); font-weight: 500; }

.info-card {
  border-radius: 1.25rem; border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-soft); padding: 1.6rem; height: 100%; transition: all .3s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(69,207,221,.6); }
.info-ico {
  display: grid; place-items: center; height: 3.2rem; width: 3.2rem;
  border-radius: 0.9rem; background: var(--surface-2); color: var(--purple);
  font-size: 1.4rem; margin-bottom: 1rem;
}
.info-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.info-card p { font-size: .9rem; color: var(--muted); margin-top: .4rem; line-height: 1.6; }

/* forms */
.form-card {
  border-radius: 1.5rem; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-card); padding: 1.75rem;
}
@media (min-width: 768px) { .form-card { padding: 2.4rem; } }
.lw-label { font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: .35rem; }
.lw-input, .lw-select, .lw-textarea {
  width: 100%; border-radius: 0.85rem; border: 1.5px solid var(--line);
  background: var(--surface); padding: 0.8rem 1rem; font-size: 0.95rem; color: var(--ink);
  transition: all .2s ease;
}
.lw-input:focus, .lw-select:focus, .lw-textarea:focus {
  outline: none; border-color: var(--purple-light); background: #fff;
  box-shadow: 0 0 0 4px rgba(150, 129, 235, 0.18);
}
.lw-textarea { min-height: 8rem; resize: vertical; }
.form-note { font-size: .78rem; color: var(--muted-2); }

.alert-success {
  border-radius: 1rem; background: rgba(69, 207, 221, 0.14);
  border: 1px solid rgba(69, 207, 221, 0.5); color: #0c5560;
  padding: 1rem 1.25rem; font-weight: 600; font-size: .92rem;
  display: flex; align-items: center; gap: .6rem;
}

/* ---------- Animations ---------- */
@keyframes lwFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lwFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fade-up { animation: lwFadeUp .7s ease-out both; }
.floaty  { animation: lwFloat 6s ease-in-out infinite; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .floaty, .fade-up { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
