/* AppColors — self-hosted stylesheet. No framework, no external requests. */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #8b5cf6;
  --hero-a: #667eea;
  --hero-b: #764ba2;

  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --border: #e2e8f0;
  --text: #334155;
  --heading: #1e293b;
  --muted: #64748b;

  --radius: 15px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, .1);
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, .15);

  --nav-h: 68px;
  --container: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --surface: #1e293b;
  --surface-alt: #0f172a;
  --border: #334155;
  --text: #cbd5e1;
  --heading: #f1f5f9;
  --muted: #94a3b8;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, .45);
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { color: var(--heading); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .89em; background: var(--surface-alt); padding: .15em .4em;
  border-radius: 4px; border: 1px solid var(--border);
}
pre {
  background: #0f172a; color: #e2e8f0; padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm); overflow-x: auto; font-size: .875rem;
  line-height: 1.6; margin: 0 0 1.25rem;
}
pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.container-narrow { max-width: 760px; }
.section { padding: 5rem 0; }
.section-sm { padding: 3.25rem 0; }
.section-alt { background: var(--bg-alt); }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--muted); }
.stack-sm > * + * { margin-top: .5rem; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 2000;
  background: var(--primary); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Icons ---------- */
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2;
        stroke-linecap: round; stroke-linejoin: round; vertical-align: -.125em; flex: none; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  background: rgba(15, 23, 42, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.scrolled { box-shadow: 0 2px 18px rgba(0, 0, 0, .28); background: rgba(15, 23, 42, .97); }
.nav__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--nav-h); }
.nav__brand {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 1.3rem; font-weight: 700; color: #fff; text-decoration: none; margin-right: auto;
}
.nav__brand .icon { color: var(--primary); font-size: 1.4rem; }
.nav__links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__links li { margin: 0; }
.nav__links a {
  display: block; padding: .5rem .85rem; border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, .85); font-weight: 500; text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav__links a[aria-current="page"] { color: #fff; background: rgba(99, 102, 241, .35); }
.nav__cta {
  background: var(--primary) !important; color: #fff !important;
  padding: .55rem 1.05rem !important; font-weight: 600;
}
.nav__cta:hover { background: var(--secondary) !important; }
.nav__toggle, .theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .1); color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: 1.1rem; transition: background .25s ease, transform .25s ease;
}
.theme-toggle:hover { background: var(--primary); transform: rotate(20deg); }
.nav__toggle { display: none; }
.nav__toggle:hover { background: var(--primary); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; inset: var(--nav-h) 0 auto; flex-direction: column;
    align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem;
    background: rgba(15, 23, 42, .99); border-bottom: 1px solid rgba(255, 255, 255, .1);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: .8rem .6rem; }
  .nav__cta { text-align: center; margin-top: .5rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem; border-radius: var(--radius-sm); border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; font-family: inherit; line-height: 1.3;
  text-decoration: none; cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--secondary); color: #fff; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(99, 102, 241, .4); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-light:hover { background: #fff; color: var(--hero-b); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 255, 255, .3); }
.btn-play { background: #01875f; color: #fff; }
.btn-play:hover { background: #016b4c; color: #fff; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(1, 135, 95, .35); }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 100%);
  color: #fff; padding: calc(var(--nav-h) + 4.5rem) 0 4.5rem;
}
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero p { color: rgba(255, 255, 255, .92); }
.hero .lead { color: rgba(255, 255, 255, .92); font-size: 1.2rem; max-width: 60ch; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.1rem;
  padding: .4rem .95rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28);
}
.hero__proof {
  display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.5rem;
  padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .22);
}
.hero__proof div strong { display: block; font-size: 1.75rem; font-weight: 700; line-height: 1.2; }
.hero__proof div span { font-size: .9rem; color: rgba(255, 255, 255, .82); }
.hero__apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.hero__apps img {
  width: 100%; aspect-ratio: 1; border-radius: 22%; object-fit: cover;
  background: rgba(255, 255, 255, .12); box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  transition: transform .3s ease;
}
.hero__apps a:hover img { transform: translateY(-4px) scale(1.04); }
.page-hero { padding: calc(var(--nav-h) + 3.25rem) 0 3.25rem; }
.page-hero .lead { max-width: 68ch; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__proof { gap: 1.5rem 2rem; }
}

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.card h3 { margin-bottom: .6rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 1rem; border-radius: 14px;
  background: rgba(99, 102, 241, .12); color: var(--primary); font-size: 1.6rem;
}
.card--link { display: block; text-decoration: none; color: inherit; }

/* App cards */
.app-card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.app-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.app-card__media {
  display: flex; align-items: center; justify-content: center;
  height: 190px; padding: 1.5rem; background: var(--surface-alt); transition: background .3s ease;
}
.app-card:hover .app-card__media { background: var(--border); }
.app-card__media img {
  max-width: 118px; width: 100%; border-radius: 22%;
  transition: transform .3s ease; box-shadow: var(--shadow-sm);
}
.app-card:hover .app-card__media img { transform: scale(1.05); }
.app-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem; }
.app-card__body h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.app-card__body h3 a { color: inherit; text-decoration: none; }
.app-card__body h3 a:hover { color: var(--primary); }
.app-card__body p { font-size: .94rem; color: var(--muted); flex: 1; }
.app-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .9rem; }

.badge {
  display: inline-block; padding: .32rem .8rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .01em;
}
.badge-info { background: rgba(6, 182, 212, .14); color: #0e7490; }
.badge-success { background: rgba(16, 185, 129, .14); color: #047857; }
.badge-primary { background: rgba(99, 102, 241, .14); color: #4338ca; }
.badge-secondary { background: rgba(100, 116, 139, .16); color: #475569; }
.badge-warning { background: rgba(245, 158, 11, .16); color: #b45309; }
.badge-danger { background: rgba(239, 68, 68, .14); color: #b91c1c; }
.badge-installs { background: var(--surface-alt); color: var(--muted); border: 1px solid var(--border); }
[data-theme="dark"] .badge-info { color: #67e8f9; }
[data-theme="dark"] .badge-success { color: #6ee7b7; }
[data-theme="dark"] .badge-primary { color: #a5b4fc; }
[data-theme="dark"] .badge-secondary { color: #cbd5e1; }
[data-theme="dark"] .badge-warning { color: #fcd34d; }
[data-theme="dark"] .badge-danger { color: #fca5a5; }

/* ---------- Stats ---------- */
.stat {
  padding: 1.5rem 1.25rem; text-align: center; background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.stat:hover { transform: scale(1.04); background: var(--surface); box-shadow: var(--shadow-md); }
.stat strong { display: block; font-size: 2.1rem; font-weight: 700; color: var(--primary); line-height: 1.2; }
.stat span { font-size: .93rem; color: var(--muted); }

/* ---------- App detail page ---------- */
.app-hero { display: grid; grid-template-columns: 168px 1fr; gap: 2rem; align-items: start; }
.app-hero__icon { width: 168px; border-radius: 24%; box-shadow: var(--shadow-md); }
.app-hero h1 { margin-bottom: .5rem; }
@media (max-width: 640px) {
  .app-hero { grid-template-columns: 1fr; gap: 1.25rem; }
  .app-hero__icon { width: 118px; }
}

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.shots img {
  width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface-alt); box-shadow: var(--shadow-sm);
}

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.feature-list li { margin: 0; padding-left: 2rem; position: relative; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.1rem; height: 1.1rem;
  border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/.72rem no-repeat;
}
.feature-list strong { display: block; color: var(--heading); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips li {
  margin: 0; padding: .35rem .85rem; border-radius: 999px; font-size: .87rem;
  background: var(--surface-alt); border: 1px solid var(--border); color: var(--text);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .85rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq summary {
  padding: 1.1rem 1.35rem; font-weight: 600; color: var(--heading); cursor: pointer;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: .95rem; height: .95rem; flex: none;
  background: currentColor; transition: transform .25s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq__answer { padding: 1.1rem 1.35rem; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 100%);
  color: #fff; border-radius: var(--radius); padding: 3rem 2rem; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .92); max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.75rem; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .89rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: "/"; color: var(--border); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }

/* ---------- Blog ---------- */
.post-card {
  display: flex; flex-direction: column; height: 100%; padding: 1.75rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.post-card h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--primary); }
.post-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-meta { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.75rem; }
.prose h3 { margin-top: 2rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .5rem; }
.prose blockquote {
  margin: 1.75rem 0; padding: .35rem 0 .35rem 1.35rem;
  border-left: 4px solid var(--primary); color: var(--muted); font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .94rem; }
.prose th, .prose td { padding: .7rem .85rem; border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--surface-alt); font-weight: 600; color: var(--heading); }
.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }

.callout {
  padding: 1.25rem 1.5rem; margin: 1.75rem 0; border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, .08); border: 1px solid rgba(99, 102, 241, .3);
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--heading); }

.author-box {
  display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 3rem; padding: 1.6rem;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
}
.author-box__avatar {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 64px; height: 64px; border-radius: 50%; font-size: 1.5rem; font-weight: 700;
  background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); color: #fff;
}
.author-box p { font-size: .95rem; margin-bottom: .5rem; }

/* ---------- Contact ---------- */
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.contact-item:hover { transform: translateY(-4px); background: var(--surface); box-shadow: var(--shadow-md); }
.contact-item .icon { font-size: 1.5rem; color: var(--primary); margin-top: .15rem; }
.contact-item a { color: var(--text); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--primary); }
.contact-item span { display: block; font-size: .84rem; color: var(--muted); font-weight: 400; }

.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .93rem; color: var(--heading); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: .75rem 1rem; font: inherit; font-size: .97rem; color: var(--text);
  background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, .18);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-hint { font-size: .85rem; color: var(--muted); margin-top: .35rem; }

/* ---------- Footer ---------- */
.footer { background: #0f172a; color: #cbd5e1; padding: 3.5rem 0 1.75rem; margin-top: 0; }
.footer h2, .footer h3 { color: #f1f5f9; font-size: 1rem; margin-bottom: .9rem; letter-spacing: .02em; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__brand { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.25rem; font-weight: 700; color: #fff; text-decoration: none; }
.footer__brand .icon { color: var(--primary); }
.footer p { color: #94a3b8; font-size: .94rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .55rem; }
.footer a { color: #cbd5e1; text-decoration: none; font-size: .94rem; }
.footer a:hover { color: var(--primary); }
.footer__social { display: flex; gap: .75rem; margin-top: 1.1rem; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; font-size: 1.05rem;
  background: rgba(255, 255, 255, .08); color: #cbd5e1;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.footer__social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .89rem; color: #94a3b8;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Floating actions ---------- */
.whatsapp-float, .back-to-top {
  position: fixed; bottom: 25px; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; box-shadow: 0 4px 15px rgba(0, 0, 0, .25);
  transition: transform .3s ease, background .3s ease, opacity .3s ease, visibility .3s ease;
}
.whatsapp-float { left: 25px; width: 56px; height: 56px; background: #25d366; color: #fff; font-size: 1.7rem; }
.whatsapp-float:hover { background: #1ebe5a; color: #fff; transform: scale(1.08); }
.back-to-top {
  right: 25px; width: 50px; height: 50px; font-size: 1.2rem; cursor: pointer;
  background: var(--primary); color: #fff; border: 0;
  opacity: 0; visibility: hidden; transform: translateY(20px);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--secondary); transform: translateY(-3px); }
@media (max-width: 520px) {
  .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 18px; left: 18px; }
  .back-to-top { width: 44px; height: 44px; bottom: 18px; right: 18px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.active { opacity: 1; transform: none; }

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

@media print {
  .nav, .footer, .whatsapp-float, .back-to-top, .cta-band { display: none !important; }
  body { color: #000; background: #fff; }
}
