:root {
  --navy: #0b1b3a;
  --navy-deep: #071226;
  --indigo: #4f46e5;
  --indigo-hover: #4338ca;
  --cyan: #22d3ee;
  --white: #ffffff;
  --bg: #f8fafc;
  --heading: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #eef2ff;
  --whatsapp: #0f766e;
  --danger: #b91c1c;
  --header: 4.25rem;
  --max: 1160px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 10px 24px rgba(15, 23, 42, 0.07), 0 28px 56px rgba(15, 23, 42, 0.08);
  --font-display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: Inter, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--heading);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
}

a {
  color: var(--indigo);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--indigo-hover);
}

p,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(3.25rem, 4.6vw, 4.5rem);
  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.25rem, 3vw, 2.75rem);
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
}

.hero :focus-visible,
.section-dark :focus-visible,
.contact-band :focus-visible,
.instagram-panel :focus-visible,
.about-panel :focus-visible,
.site-footer :focus-visible,
.page-hero :focus-visible {
  outline-color: var(--cyan);
}

::selection {
  background: #e0e7ff;
  color: var(--navy);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 50;
  background: var(--white);
  color: var(--navy);
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 0.75rem;
}

.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;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.narrow {
  width: min(760px, calc(100% - 2.5rem));
}

section[id],
article[id] {
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: var(--indigo);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.15rem;
  height: 1px;
  background: currentColor;
}

.lead {
  margin: 0;
  max-width: 65ch;
  color: var(--body);
  font-size: 1.125rem;
  line-height: 1.7;
}

.section {
  padding: 4.5rem 0;
  background: var(--bg);
}

.section.band {
  background: var(--white);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head p,
.note {
  color: var(--body);
  max-width: 65ch;
}

.note {
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.brand-sub {
  margin-top: 0.18rem;
  color: var(--indigo);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.2s ease, top 0.2s ease, background 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.nav-list,
.footer-links,
.footer-legal {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list a {
  color: var(--body);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-list a:hover {
  color: var(--navy);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.icon-link:hover {
  color: var(--indigo);
  border-color: #c7d2fe;
  background: var(--soft);
}

.icon-link svg,
.btn svg,
.card-link svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.ig-label {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 1.05rem;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.btn svg,
.card-link svg {
  transition: transform 0.22s ease;
}

.btn:hover svg,
.card-link:hover svg {
  transform: translateX(3px);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset, 0 8px 18px rgba(79, 70, 229, 0.22);
}

.btn-primary:hover {
  background: var(--indigo-hover);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover {
  background: #f8fafc;
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: #13284f;
  color: var(--white);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #115e59;
  color: var(--white);
}

.hero {
  position: relative;
  color: var(--white);
  background: var(--navy);
  padding: 5.25rem 0 4.75rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 48% at 88% 8%, rgba(79, 70, 229, 0.55), transparent 62%),
    radial-gradient(ellipse 32% 28% at 8% 100%, rgba(34, 211, 238, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  gap: 2.75rem;
  align-items: center;
}

.hero h1,
.hero h2 {
  color: var(--white);
}

.hero .eyebrow {
  color: #c7d2fe;
}

.hero .lead {
  color: #dbe4f0;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero-figure figcaption {
  margin-top: 0.75rem;
  color: #e2e8f0;
  font-size: 0.86rem;
}

.card-grid,
.principles,
.steps,
.solutions,
.about-grid,
.contact-grid,
.footer-grid,
.form-grid,
.instagram-panel,
.hero-grid {
  display: grid;
  gap: 1rem;
}

.card-grid > *,
.principles > *,
.steps > *,
.solutions > *,
.about-grid > *,
.contact-grid > *,
.footer-grid > *,
.form-grid > *,
.hero-grid > * {
  min-width: 0;
}

.card,
.principle,
.step,
.solution {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.25rem;
  box-shadow: var(--shadow);
}

.card,
.solution,
.principle,
.step {
  position: relative;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card:hover,
.solution:hover,
.principle:hover,
.step:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.service-icon,
.solution-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 12px;
  color: var(--indigo);
  background: var(--soft);
  border: 1px solid #e0e7ff;
}

.service-icon svg,
.solution-icon svg {
  width: 20px;
  height: 20px;
}

.card p,
.solution p,
.principle p,
.step p {
  color: var(--body);
  font-size: 0.98rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1.15rem;
  color: var(--indigo);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.card-link:hover {
  color: var(--indigo-hover);
}

.solution h3,
.principle h3,
.step h3 {
  margin-top: 0.15rem;
}

.steps {
  counter-reset: none;
}

.step-index {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  border: 1px solid #e0e7ff;
  background: var(--soft);
  color: var(--indigo);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
}

.about-grid,
.contact-grid {
  gap: 1.75rem;
  align-items: start;
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
  padding: 0;
  list-style: none;
}

.focus-list li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #e0e7ff;
  background: var(--soft);
  color: #312e81;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
}

.about-panel {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(79, 70, 229, 0.35), transparent 55%),
    var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-panel p {
  color: #dbe4f0;
}

.about-panel p + p,
.stack-text {
  margin-top: 0.8rem;
}

.about-panel strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #c7d2fe;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.instagram-panel {
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 16px;
  color: var(--white);
  background:
    radial-gradient(ellipse 40% 80% at 100% 0%, rgba(79, 70, 229, 0.4), transparent 55%),
    var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.instagram-panel h2 {
  margin-bottom: 0.45rem;
  color: var(--white);
}

.instagram-panel p {
  margin: 0;
  color: #dbe4f0;
  max-width: 62ch;
}

.instagram-panel .eyebrow {
  color: #c7d2fe;
}

.instagram-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.instagram-mark svg {
  width: 26px;
  height: 26px;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark .eyebrow {
  color: #c7d2fe;
}

.section-dark .section-head p,
.section-dark .principle p {
  color: #cbd5e1;
}

.section-dark .principle {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.section-dark .principle:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(199, 210, 254, 0.45);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.15rem 1.15rem;
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  padding: 1rem 1.6rem 1rem 0;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 0.2rem;
  top: 1.35rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid var(--indigo);
  border-bottom: 1.5px solid var(--indigo);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  top: 1.45rem;
  transform: rotate(225deg);
}

.faq-list details p {
  margin: 0 0 1rem;
  max-width: 70ch;
  color: var(--body);
}

.contact-band {
  background:
    radial-gradient(ellipse 42% 70% at 100% 0%, rgba(34, 211, 238, 0.16), transparent 55%),
    linear-gradient(128deg, #0b1b3a 0%, #1e1b4b 52%, #4f46e5 100%);
  color: var(--white);
}

.contact-band h2 {
  color: var(--white);
}

.contact-band .eyebrow {
  color: #c7d2fe;
}

.contact-band .contact-copy p,
.contact-band .stack-text {
  color: #e2e8f0;
  max-width: 42rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.form-card {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 1.35rem;
  color: var(--heading);
  box-shadow: 0 24px 50px rgba(7, 18, 38, 0.22);
  container-type: inline-size;
}

.form-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.form-grid {
  gap: 0.9rem;
  margin-top: 1rem;
}

@container (min-width: 34rem) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }

  .span-2 {
    grid-column: 1 / -1;
  }
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--heading);
}

.optional {
  color: var(--muted);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  background: var(--white);
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  min-height: 46px;
  color: var(--heading);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.field-error {
  min-height: 1.2rem;
  margin: 0.3rem 0 0;
  color: var(--danger);
  font-size: 0.88rem;
}

.form-status {
  margin-top: 0.9rem;
  color: var(--body);
}

.form-status.is-visible {
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: var(--soft);
  color: #312e81;
}

.form-card .btn {
  width: 100%;
  border: 0;
  margin-top: 0.35rem;
}

.site-footer {
  background: var(--navy-deep);
  color: #cbd5e1;
  padding: 4.5rem 0 1.35rem;
}

.site-footer a {
  color: #e2e8f0;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-grid {
  gap: 2rem;
}

.footer-brand p {
  margin-top: 0.85rem;
  max-width: 28rem;
  color: #94a3b8;
}

.tagline {
  color: #c7d2fe;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-heading {
  margin: 0 0 0.85rem;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-legal {
  gap: 1rem;
}

.site-footer .brand-name {
  color: var(--white);
}

.site-footer .brand-sub {
  color: #c7d2fe;
}

.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 4.25rem 0 3.25rem;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 100% 0%, rgba(79, 70, 229, 0.4), transparent 60%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.page-hero p {
  margin: 0.75rem 0 0;
  max-width: 65ch;
  color: #dbe4f0;
}

.prose {
  padding: 3.5rem 0 5rem;
  background: var(--white);
}

.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.45rem;
}

.prose p,
.prose li {
  color: var(--body);
  max-width: 70ch;
}

.prose p + p,
.prose ul {
  margin-top: 0.8rem;
}

.prose ul {
  padding-left: 1.15rem;
}

.missing {
  padding: 4.5rem 0 5.5rem;
  background: var(--bg);
}

.missing h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.missing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-stage {
  min-width: 0;
}

.slider-viewport {
  overflow: hidden;
  border-radius: 16px;
  background: rgba(7, 18, 38, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.slide {
  display: none;
  padding: 0.85rem 0.85rem 1.1rem;
}

.slide.is-active {
  display: block;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.slide-kicker {
  margin: 0.95rem 0.35rem 0.25rem;
  color: #c7d2fe;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slide h2 {
  margin: 0 0.35rem 0.3rem;
  font-size: 1.35rem;
}

.slide p:last-child {
  margin: 0 0.35rem;
  color: #dbe4f0;
  font-size: 0.95rem;
}

.slider-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
}

.slider-status {
  margin: 0;
  color: #dbe4f0;
  font-size: 0.84rem;
}

.slider-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.slider-btn,
.slider-pause,
.slider-dots button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-radius: 999px;
  font-family: var(--font-mono);
}

.slider-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
}

.slider-btn svg {
  width: 18px;
  height: 18px;
}

.slider-dots {
  display: flex;
  gap: 0.35rem;
}

.slider-dots button {
  width: 2rem;
  height: 2rem;
  font-size: 0.72rem;
}

.slider-dots button[aria-selected="true"] {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.slider-pause {
  min-height: 40px;
  padding: 0 0.85rem;
  font-size: 0.72rem;
}

.mock {
  display: grid;
  gap: 0.7rem;
  min-height: 220px;
  padding: 1.15rem;
  border-radius: 12px;
  background: #f8fafc;
}

.mock-bar,
.mock-panel,
.mock-cloud,
.mock-server {
  display: block;
  border-radius: 10px;
  background: #e0e7ff;
}

.mock-bar {
  height: 14px;
  width: 62%;
}

.mock-bar.wide {
  width: 88%;
  background: var(--navy);
}

.mock-panel {
  height: 72px;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
}

.mock-panel.accent {
  background: linear-gradient(135deg, #312e81, #4f46e5);
  border: 0;
}

.mock-cloud {
  width: 92px;
  height: 58px;
  border-radius: 40px;
  background: var(--indigo);
}

.mock-server {
  height: 46px;
  background: var(--navy);
  position: relative;
}

.mock-server::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.ribbon {
  overflow: hidden;
  background: var(--navy-deep);
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ribbon-track {
  display: flex;
  width: max-content;
  gap: 0.35rem;
  padding: 0.9rem 0;
  animation: ribbon-move 42s linear infinite;
}

.ribbon:hover .ribbon-track {
  animation-play-state: paused;
}

.ribbon span {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding-right: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ribbon span::after {
  content: "";
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--indigo);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.card.reveal.is-visible:hover,
.solution.reveal.is-visible:hover,
.principle.reveal.is-visible:hover {
  transform: translateY(-4px);
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ribbon-move {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 720px) {
  .card-grid,
  .principles,
  .solutions {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }

  .instagram-panel {
    grid-template-columns: auto 1fr;
  }

  .instagram-panel .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .section {
    padding: 7rem 0;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.25rem;
  }

  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }

  .solutions,
  .principles {
    grid-template-columns: repeat(6, 1fr);
  }

  .solutions .solution,
  .principles .principle {
    grid-column: span 2;
  }

  .solutions .solution:nth-child(4),
  .solutions .solution:nth-child(5),
  .principles .principle:nth-child(4),
  .principles .principle:nth-child(5) {
    grid-column: span 3;
  }

  .steps {
    position: relative;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 1.15rem;
    left: 4%;
    right: 4%;
    height: 1px;
    background: #e0e7ff;
  }

  .step {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    padding-top: 0;
  }

  .step:hover,
  .step.reveal.is-visible:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
  }

  .step-index {
    position: relative;
    z-index: 1;
    background: var(--white);
    box-shadow: 0 0 0 8px var(--white);
  }

  .instagram-panel {
    grid-template-columns: auto 1fr auto;
    padding: 1.75rem 1.6rem;
  }

  .instagram-panel .btn {
    grid-column: auto;
    justify-self: end;
  }

  .footer-grid {
    grid-template-columns: 1.45fr 0.7fr 1.15fr 0.85fr;
  }
}

@media (min-width: 1100px) {
  .card-grid.services {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: calc(var(--header) + 0.4rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin: 0;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    backdrop-filter: blur(16px);
    max-height: calc(100dvh - var(--header) - 1.25rem);
    max-height: calc(100svh - var(--header) - 1.25rem);
    overflow: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .nav-list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 0.65rem;
    border-radius: 10px;
  }

  .nav-list a:hover {
    background: var(--bg);
  }

  .nav-actions {
    padding-top: 0.45rem;
    border-top: 1px solid var(--line);
  }

  .nav-list a,
  .nav-actions .btn,
  .nav-actions .icon-link {
    width: 100%;
  }

  .icon-link {
    justify-content: flex-start;
    gap: 0.6rem;
    width: auto;
    height: 44px;
    padding-inline: 0.7rem;
  }

  .ig-label {
    display: inline;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(2.15rem, 9vw, 2.75rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .slider-bar {
    align-items: stretch;
  }

  .slider-controls {
    width: 100%;
    justify-content: space-between;
  }

  .container {
    width: min(var(--max), calc(100% - 2rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ribbon-track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: 1rem;
  }

  .ribbon-track span:nth-child(n + 9) {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .slide.is-active {
    animation: slide-in 0.4s ease;
  }
}
