:root {
  --ink: #101815;
  --deep: #1d332b;
  --olive: #5b6c3d;
  --sage: #99c68e;
  --mint: #dff1da;
  --paper: #fbfcf8;
  --line: rgba(16, 24, 21, 0.12);
  --muted: #5d6b64;
  --white: #fff;
  --gold: #d7b46a;
  --blue: #65b7c8;
  --cyan: #7bd957;
  --shadow: 0 22px 60px rgba(16, 24, 21, 0.14);
  --radius: 20px;
  --mx: 50%;
  --my: 12%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, p, a, span, li, button { overflow-wrap: anywhere; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(123, 217, 87, 0.14), transparent 28rem);
  mix-blend-mode: screen;
  opacity: 0.7;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.9), rgba(251, 252, 248, 0.78)),
    rgba(251, 252, 248, 0.86);
  backdrop-filter: blur(22px) saturate(1.16);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--blue));
  box-shadow: 0 0 22px rgba(123, 217, 87, 0.44);
  transition: width 0.12s linear;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.68;
  background:
    radial-gradient(circle at var(--nav-x, 50%) 0%, rgba(123, 217, 87, 0.18), transparent 22rem),
    linear-gradient(90deg, transparent, rgba(101, 183, 200, 0.08), transparent);
}
.site-header.scrolled {
  border-color: rgba(29, 51, 43, 0.11);
  box-shadow: 0 16px 44px rgba(16, 24, 21, 0.1);
}
.nav-wrap {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--deep);
  transition: transform 0.24s ease, color 0.24s ease;
}
.brand:hover { transform: translateY(-1px); color: var(--olive); }
.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #020506;
  border: 1px solid rgba(123, 217, 87, 0.36);
  box-shadow: 0 12px 28px rgba(123, 217, 87, 0.2), 0 10px 24px rgba(16, 24, 21, 0.14);
  transform: rotate(calc(var(--logo-spin, 0) * 1turn)) scale(var(--logo-scale, 1));
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1), box-shadow 0.32s ease, border-color 0.32s ease;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -35%;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.55), transparent 65%);
  transform: translateX(-95%) rotate(18deg);
  animation: markSweep 4.8s ease-in-out infinite;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.brand-text { display: inline-block; }
.brand:hover .brand-mark {
  --logo-scale: 1.06;
  border-color: rgba(215, 180, 106, 0.58);
  box-shadow: 0 18px 42px rgba(123, 217, 87, 0.34), 0 10px 24px rgba(16, 24, 21, 0.14);
}
.brand-mark.logo-scrolling {
  box-shadow: 0 20px 54px rgba(123, 217, 87, 0.36), 0 0 0 5px rgba(123, 217, 87, 0.08);
}
.brand-mark.logo-transition {
  animation: logoDepart 0.56s cubic-bezier(.2,.8,.2,1) both;
}
.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(29, 51, 43, 0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.62);
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(16, 24, 21, 0.06);
}
.nav-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1fae5b;
  box-shadow: 0 0 0 0 rgba(31, 174, 91, 0.42);
  animation: availabilityPing 1.8s ease-out infinite;
}
.nav-toggle { display: none; }
.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(29, 51, 43, 0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 10px 28px rgba(16, 24, 21, 0.05);
}
.nav-links a {
  position: relative;
  z-index: 1;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--deep);
  padding: 10px 13px;
  border-radius: 999px;
  transition: color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--olive); }
.nav-links a:hover { transform: translateY(-1px); }
.nav-links a.btn-whatsapp {
  color: var(--white);
  background: #1fae5b;
}
.nav-links a.btn-whatsapp:hover {
  color: var(--white);
  background: #178a49;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}
.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after { transform: scaleX(1); }
.nav-indicator {
  position: absolute;
  z-index: 0;
  top: 5px;
  left: var(--nav-indicator-x, 5px);
  width: var(--nav-indicator-w, 0px);
  height: calc(100% - 10px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 0%, rgba(123, 217, 87, 0.22), transparent 60%),
    rgba(91, 108, 61, 0.08);
  box-shadow: inset 0 0 0 1px rgba(123, 217, 87, 0.14);
  opacity: var(--nav-indicator-opacity, 1);
  transition: left 0.28s cubic-bezier(.2,.8,.2,1), width 0.28s cubic-bezier(.2,.8,.2,1), opacity 0.2s ease;
  pointer-events: none;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -45%;
  width: 42%;
  transform: skewX(-18deg) translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.36), transparent);
  transition: transform 0.72s cubic-bezier(.2,.8,.2,1);
}
.btn:hover::after { transform: skewX(-18deg) translateX(420%); }
.btn-primary { background: var(--deep); color: var(--white); box-shadow: 0 15px 35px rgba(29, 51, 43, 0.22); }
.btn-primary:hover { background: var(--olive); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--deep); border-color: var(--line); box-shadow: 0 12px 28px rgba(16, 24, 21, 0.08); }
.btn-whatsapp { background: #1fae5b; color: var(--white); box-shadow: 0 15px 35px rgba(31, 174, 91, 0.22); }
.btn-ghost { color: var(--deep); border-color: rgba(29, 51, 43, 0.28); background: transparent; }
.btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.section {
  padding: 96px 0;
  scroll-margin-top: 94px;
}
.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head h2, .page-title h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: var(--deep);
}
.section-head p, .page-title p {
  max-width: 610px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media video, .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 16, 13, 0.86), rgba(8, 16, 13, 0.52) 46%, rgba(8, 16, 13, 0.18)),
    linear-gradient(0deg, rgba(8, 16, 13, 0.86), rgba(8, 16, 13, 0.1) 48%, rgba(8, 16, 13, 0.36));
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 70px;
}
.hero-logo-orbit {
  position: absolute;
  z-index: 1;
  right: max(24px, calc((100vw - 1180px) / 2));
  top: 18%;
  width: clamp(120px, 22vw, 310px);
  border-radius: 50%;
  opacity: 0.24;
  filter: drop-shadow(0 0 46px rgba(123, 217, 87, 0.42));
  animation: floatMark 8s ease-in-out infinite;
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 0.82;
  letter-spacing: -0.09em;
}
.hero h1, .hero p, .hero-actions, .hero-proof { animation: fadeRise 0.9s cubic-bezier(.2,.8,.2,1) both; }
.hero p { animation-delay: 0.12s; }
.hero-actions { animation-delay: 0.24s; }
.hero-proof { animation-delay: 0.36s; }
.hero h1 span { color: var(--sage); }
.hero p {
  max-width: 650px;
  margin: 28px 0 0;
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  color: rgba(255,255,255,0.86);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 62px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12);
}
.proof-item { padding: 22px; }
.proof-item strong { display: block; font-size: 1.45rem; line-height: 1; color: var(--white); }
.proof-item span { color: rgba(255,255,255,0.72); font-size: 0.9rem; }

.hero-showcase {
  min-height: 100svh;
  align-items: center;
  background: #010204;
  isolation: isolate;
}
.hero-showcase::after {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(1,2,4,0.96) 0%, rgba(1,2,4,0.78) 38%, rgba(1,2,4,0.36) 68%, rgba(1,2,4,0.9) 100%),
    linear-gradient(0deg, rgba(1,2,4,0.9), transparent 48%, rgba(1,2,4,0.28));
}
.hero-beams {
  position: absolute;
  inset: -20% -12% -18% 42%;
  z-index: 0;
  overflow: hidden;
  opacity: 0.9;
  transform: skewX(-18deg);
}
.hero-beams span {
  position: absolute;
  top: -12%;
  width: 22%;
  height: 128%;
  background:
    linear-gradient(180deg, rgba(127,155,255,0.92), rgba(47,125,255,0.32) 46%, transparent 72%),
    linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent);
  filter: blur(0.2px);
  animation: beamFloat 8s ease-in-out infinite alternate;
}
.hero-beams span:nth-child(1) { left: 5%; }
.hero-beams span:nth-child(2) { left: 36%; animation-delay: -1.6s; }
.hero-beams span:nth-child(3) { left: 67%; animation-delay: -3.2s; }
.hero-showcase-wrap {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 132px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: 34px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-kicker {
  margin-bottom: 22px;
  color: rgba(255,255,255,0.72);
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero-slide {
  display: none;
  max-width: 690px;
  min-height: 248px;
  opacity: 0;
  transform: translateY(14px);
}
.hero-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: heroSlideIn 0.72s cubic-bezier(.2,.8,.2,1) both;
}
.hero-showcase h1 {
  max-width: 720px;
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.05rem, 5.2vw, 5.6rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0;
}
.hero-showcase p {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: clamp(1.05rem, 1.4vw, 1.38rem);
  line-height: 1.55;
}
.hero-input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hero-input {
  min-height: 58px;
  min-width: min(270px, 100%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--white);
  color: #8290aa;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 750;
  box-shadow: 0 22px 50px rgba(0,0,0,0.24);
}
.hero-input i { color: #2f7dff; }
.hero-showcase .btn-whatsapp {
  min-height: 58px;
  border-radius: 8px;
  background: #095fdb;
  border-color: rgba(148,83,255,0.82);
  box-shadow: 0 18px 46px rgba(47,125,255,0.28), inset 0 0 0 1px rgba(255,255,255,0.12);
}
.hero-showcase .btn-whatsapp:hover {
  background: #0f70ff;
  color: var(--white);
}
.hero-carousel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.hero-carousel-tabs button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.72);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 0.24s ease, background 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}
.hero-carousel-tabs button:hover,
.hero-carousel-tabs button.active {
  color: var(--white);
  background: rgba(47,125,255,0.25);
  border-color: rgba(47,125,255,0.62);
  transform: translateY(-1px);
}
.hero-product-stage {
  position: relative;
  min-height: 520px;
  perspective: 1400px;
}
.desktop-mockup {
  position: absolute;
  top: 50%;
  right: -2%;
  width: min(680px, 90%);
  transform: translateY(-50%) rotateY(-8deg) rotateX(3deg);
  border-radius: 8px;
  background: #f8faff;
  color: #121826;
  box-shadow: 0 42px 90px rgba(0,0,0,0.44);
  overflow: hidden;
  animation: productFloat 7s ease-in-out infinite;
}
.mockup-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #ffffff;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}
.mockup-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7deea;
}
.mockup-body {
  display: grid;
  grid-template-columns: 82px 1fr;
  min-height: 390px;
}
.mockup-sidebar {
  padding: 22px 18px;
  display: grid;
  align-content: start;
  gap: 16px;
  background: #111a2e;
}
.mockup-sidebar span {
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.26);
}
.mockup-sidebar span.active {
  background: #2f7dff;
  box-shadow: 0 0 22px rgba(47,125,255,0.55);
}
.mockup-dashboard {
  padding: 28px 30px 34px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}
.dash-title small {
  display: block;
  color: #7a8496;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.dash-title strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  line-height: 1;
}
.dash-tabs {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  color: #7a8496;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}
.dash-tabs span.active { color: #121826; }
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.dash-stats div {
  min-height: 80px;
  padding: 15px;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 8px;
  background: #ffffff;
}
.dash-stats small {
  display: block;
  color: #7a8496;
  font-weight: 800;
}
.dash-stats strong {
  display: block;
  margin-top: 4px;
  font-size: 1.55rem;
  line-height: 1;
}
.dash-timeline {
  display: flex;
  height: 28px;
  overflow: hidden;
  margin-top: 22px;
  border-radius: 6px;
  background: #e8eef8;
}
.dash-timeline span {
  width: var(--w);
  background: var(--c);
}
.dash-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.dash-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 8px;
  background: #ffffff;
  color: #455062;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(15,23,42,0.06);
}
.dash-list b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7bd957;
}
.phone-mockup {
  position: absolute;
  right: -6%;
  bottom: 26px;
  width: 178px;
  min-height: 340px;
  padding: 22px 14px 16px;
  border: 8px solid #111827;
  border-radius: 26px;
  background: #ffffff;
  color: #121826;
  box-shadow: 0 32px 68px rgba(0,0,0,0.44);
  animation: phoneFloat 6s ease-in-out infinite;
}
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 54px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 0 0 10px 10px;
  background: #111827;
}
.phone-title small {
  display: block;
  color: #7a8496;
  font-size: 0.66rem;
  font-weight: 900;
}
.phone-title strong {
  display: block;
  margin-top: 3px;
  font-size: 1.05rem;
  line-height: 1.05;
}
.phone-card {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 18px;
  padding: 13px;
  border-radius: 8px;
  background: #eef5ff;
  color: #233047;
  font-size: 0.72rem;
  font-weight: 900;
}
.phone-card span { color: #095fdb; }
.phone-task {
  height: 46px;
  margin-top: 12px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #dfe8f5 0 24%, transparent 24%),
    linear-gradient(#eef2f7, #eef2f7);
}
.phone-task.short { width: 78%; }
.phone-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  justify-content: space-around;
}
.phone-nav span {
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: #d8e0ec;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  border: 1px solid var(--line);
}
.image-frame img,
.image-frame video { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.lead-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(16, 24, 21, 0.08);
  transition: transform 0.34s cubic-bezier(.2,.8,.2,1), box-shadow 0.34s ease, border-color 0.34s ease;
}
.lead-card:hover { transform: translateY(-6px); border-color: rgba(123, 217, 87, 0.28); box-shadow: 0 24px 64px rgba(16, 24, 21, 0.12); }
.lead-card h2 { margin: 0 0 16px; color: var(--deep); font-size: clamp(2rem, 4vw, 3.6rem); line-height: 0.98; letter-spacing: -0.06em; }
.lead-card p { color: var(--muted); margin: 0 0 20px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card, .work-card, .team-card, .contact-panel {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 14px 38px rgba(16, 24, 21, 0.07);
  transition: transform 0.34s cubic-bezier(.2,.8,.2,1), box-shadow 0.34s ease, border-color 0.34s ease;
}
.service-card::after, .work-card::after, .team-card::after, .contact-panel::after, .lead-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 22% 0%, rgba(123, 217, 87, 0.16), transparent 38%);
  transition: opacity 0.34s ease;
}
.service-card:hover, .work-card:hover, .team-card:hover, .contact-panel:hover {
  transform: translateY(-7px);
  border-color: rgba(123, 217, 87, 0.28);
  box-shadow: 0 24px 64px rgba(16, 24, 21, 0.13);
}
.service-card:hover::after, .work-card:hover::after, .team-card:hover::after, .contact-panel:hover::after, .lead-card:hover::after { opacity: 1; }
.service-card { min-height: 260px; display: flex; flex-direction: column; }
.icon-box {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--olive), var(--blue));
  margin-bottom: 24px;
  font-size: 1.35rem;
}
.service-card h3, .work-card h3, .team-card h3 { margin: 0 0 12px; color: var(--deep); letter-spacing: -0.03em; }
.service-card p, .work-card p, .team-card p { color: var(--muted); margin: 0; }
.service-card ul { margin: 22px 0 0; padding: 0; list-style: none; color: var(--deep); font-weight: 750; font-size: 0.94rem; }
.service-card li { margin-top: 8px; }

.band {
  background: var(--deep);
  color: var(--white);
}
.band .section-head h2 { color: var(--white); }
.band .section-head p { color: rgba(255,255,255,0.72); }
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.16);
}
.step { padding: 28px; background: rgba(255,255,255,0.04); }
.step span { color: var(--sage); font-weight: 900; }
.step h3 { margin: 16px 0 8px; }
.step p { color: rgba(255,255,255,0.72); margin: 0; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.work-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(248,252,246,0.92)),
    var(--white);
}
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--card-x, 20%) var(--card-y, 0%), rgba(123, 217, 87, 0.22), transparent 34%),
    linear-gradient(135deg, transparent, rgba(101, 183, 200, 0.12));
  transform: scale(0.96);
  transition: opacity 0.34s ease, transform 0.34s ease;
}
.work-card:hover::before {
  opacity: 1;
  transform: scale(1);
}
.work-card > * {
  position: relative;
  z-index: 1;
}
.work-card:nth-child(2n)::before {
  background:
    radial-gradient(circle at var(--card-x, 20%) var(--card-y, 0%), rgba(101, 183, 200, 0.2), transparent 34%),
    linear-gradient(135deg, transparent, rgba(123, 217, 87, 0.12));
}
.work-card:nth-child(3n)::before {
  background:
    radial-gradient(circle at var(--card-x, 20%) var(--card-y, 0%), rgba(215, 180, 106, 0.2), transparent 34%),
    linear-gradient(135deg, transparent, rgba(123, 217, 87, 0.11));
}
.work-name {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  color: var(--deep);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.work-name i { color: var(--olive); }
.work-meta {
  margin: 18px 0 0;
  color: var(--olive);
  font-weight: 900;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.work-meta::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transform-origin: left;
  transition: transform 0.28s ease;
}
.work-card:hover .work-name i { transform: translate(3px, -3px); }
.work-card:hover .work-meta::before { transform: scaleX(1.45); }
.work-name i { transition: transform 0.24s ease; }

.media-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}
.video-frame video { width: 100%; aspect-ratio: 16/10; object-fit: contain; background: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.38s ease, box-shadow 0.38s ease; }
.video-frame:hover video { transform: translateY(-4px); box-shadow: 0 30px 80px rgba(123, 217, 87, 0.16); }
.project-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.38s ease, box-shadow 0.38s ease, border-color 0.38s ease;
}
.project-carousel:hover { transform: translateY(-4px); border-color: rgba(123, 217, 87, 0.3); box-shadow: 0 30px 80px rgba(123, 217, 87, 0.15); }
.carousel-track {
  display: flex;
  transition: transform 0.48s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.carousel-slide {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(112px, auto);
  min-width: 100%;
  color: var(--white);
  text-decoration: none;
  background: var(--ink);
}
.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  display: block;
  background: #f6f8f4;
}
.carousel-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(0deg, rgba(7,17,14,.9), transparent);
  display: none;
}
.carousel-caption {
  position: static;
  padding: 18px 104px 44px 24px;
  z-index: 1;
  background: linear-gradient(135deg, rgba(7,17,14,.98), rgba(24,56,44,.96));
}
.carousel-caption strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  letter-spacing: -0.05em;
  line-height: 1;
}
.carousel-caption span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.78);
  font-weight: 750;
}
.carousel-controls {
  position: absolute;
  top: auto;
  bottom: 18px;
  right: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.carousel-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(7,17,14,.62);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.carousel-btn:hover { transform: scale(1.06); background: rgba(123, 217, 87, 0.22); border-color: rgba(123, 217, 87, 0.48); }
.carousel-dots {
  position: absolute;
  left: 24px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 7px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.carousel-dot.active {
  width: 24px;
  background: var(--sage);
}

.page-hero {
  padding: 150px 0 70px;
  background:
    linear-gradient(135deg, rgba(223, 241, 218, 0.9), rgba(255,255,255,0.88)),
    var(--paper);
}
.service-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 24%, rgba(123, 217, 87, 0.2), transparent 26rem),
    linear-gradient(135deg, rgba(239, 250, 235, 0.96), rgba(255,255,255,0.9)),
    var(--paper);
}
.service-hero::after {
  content: "";
  position: absolute;
  inset: 78px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 51, 43, 0.2), transparent);
}
.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: end;
}
.page-title {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.page-title h1 { max-width: 880px; }
.service-scoreboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(29, 51, 43, 0.12);
  border-radius: var(--radius);
  background: rgba(29, 51, 43, 0.12);
  box-shadow: 0 22px 60px rgba(16, 24, 21, 0.1);
}
.service-scoreboard div {
  min-height: 128px;
  padding: 22px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px);
}
.service-scoreboard strong {
  display: block;
  color: var(--olive);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}
.service-scoreboard span {
  display: block;
  margin-top: 18px;
  color: var(--deep);
  font-weight: 900;
  line-height: 1.15;
}

.service-suite-section { background: linear-gradient(180deg, var(--paper), #fff); }
.service-grid-premium { align-items: stretch; }
.service-card-premium {
  min-height: 330px;
  isolation: isolate;
}
.service-card-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,0.34) 48%, transparent 58% 100%);
  transform: translateX(-120%);
  transition: opacity 0.28s ease, transform 0.78s cubic-bezier(.2,.8,.2,1);
  z-index: 0;
}
.service-card-premium > * { position: relative; z-index: 1; }
.service-card-premium:hover::before {
  opacity: 1;
  transform: translateX(120%);
}
.service-card-premium:hover .icon-box {
  transform: translateY(-3px) rotate(-4deg) scale(1.06);
  box-shadow: 0 16px 34px rgba(123, 217, 87, 0.25);
}
.service-card-premium.featured {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 12%, rgba(123, 217, 87, 0.22), transparent 16rem),
    linear-gradient(145deg, #102019, #1d332b);
  border-color: rgba(123, 217, 87, 0.34);
}
.service-card-premium.featured h3,
.service-card-premium.featured p,
.service-card-premium.featured li,
.service-card-premium.featured .service-card-top span { color: var(--white); }
.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.service-card-top span,
.tariff-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--olive);
  background: rgba(123, 217, 87, 0.13);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-card-premium .icon-box {
  margin-bottom: 0;
  background: linear-gradient(135deg, var(--deep), var(--cyan));
  transition: transform 0.34s cubic-bezier(.2,.8,.2,1), box-shadow 0.34s ease;
}
.service-card-premium ul li,
.tariff-card ul li {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.service-card-premium ul li::before,
.tariff-card ul li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(123, 217, 87, 0.42);
}

.tariff-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(123, 217, 87, 0.13), transparent 20rem),
    #fff;
}
.tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tariff-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(16, 24, 21, 0.08);
  transition: transform 0.34s cubic-bezier(.2,.8,.2,1), box-shadow 0.34s ease, border-color 0.34s ease;
}
.tariff-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background: linear-gradient(135deg, rgba(123, 217, 87, 0.18), transparent 28%, transparent 72%, rgba(215, 180, 106, 0.14));
  transform: translate3d(-18%, -18%, 0);
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.tariff-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 20% 0%, rgba(123, 217, 87, 0.18), transparent 42%);
  transition: opacity 0.34s ease;
}
.tariff-card:hover {
  transform: translateY(-8px);
  border-color: rgba(123, 217, 87, 0.34);
  box-shadow: 0 26px 72px rgba(16, 24, 21, 0.13);
}
.tariff-card:hover::before {
  opacity: 0.9;
  transform: translate3d(0, 0, 0);
}
.tariff-card:hover::after { opacity: 1; }
.tariff-card.highlighted {
  color: var(--white);
  background:
    radial-gradient(circle at 90% 8%, rgba(123, 217, 87, 0.24), transparent 18rem),
    linear-gradient(145deg, #0b1712, #1d332b);
  border-color: rgba(123, 217, 87, 0.42);
  transform: translateY(-12px);
}
.tariff-card.highlighted:hover { transform: translateY(-18px); }
.tariff-card h3 { margin: 0; color: inherit; font-size: 1.45rem; letter-spacing: -0.04em; }
.tariff-card p { margin: 0; color: var(--muted); }
.tariff-card.highlighted p,
.tariff-card.highlighted li { color: rgba(255,255,255,0.78); }
.price {
  color: var(--deep);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.tariff-card.highlighted .price { color: var(--white); }
.price small {
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0;
}
.tariff-card.highlighted .price small { color: rgba(255,255,255,0.68); }
.tariff-card ul {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--deep);
  font-weight: 800;
}
.tariff-card .btn { margin-top: auto; position: relative; z-index: 1; }
.tariff-card h3,
.tariff-card p,
.tariff-card .price,
.tariff-card .tariff-label { position: relative; z-index: 1; }
.process-premium .step {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, background 0.28s ease;
}
.process-premium .step::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--cyan);
  transition: transform 0.34s ease;
}
.process-premium .step:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.08);
}
.process-premium .step:hover::after { transform: scaleX(1); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.team-showcase {
  display: grid;
  gap: 28px;
}
.team-intro {
  max-width: 760px;
}
.team-intro span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--olive);
  background: rgba(123, 217, 87, 0.13);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.team-intro h2 {
  margin: 16px 0 0;
  color: var(--deep);
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.team-intro p {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}
.team-card {
  text-align: left;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(248,252,246,0.92)),
    radial-gradient(circle at 100% 0%, rgba(123, 217, 87, 0.12), transparent 34%),
    var(--white);
}
.team-card::before {
  content: "DX";
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 0;
  color: rgba(29, 51, 43, 0.06);
  font-size: 4.6rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
  transition: transform 0.38s cubic-bezier(.2,.8,.2,1), color 0.38s ease;
}
.team-card > * {
  position: relative;
  z-index: 1;
}
.team-card:hover::before {
  color: rgba(123, 217, 87, 0.16);
  transform: translateY(-8px) rotate(-5deg) scale(1.06);
}
.team-card:hover .role {
  background: rgba(123, 217, 87, 0.16);
  color: var(--deep);
}
.team-card:hover .member-index {
  color: rgba(91, 108, 61, 0.18);
  transform: translateY(-6px) rotate(-4deg);
}
.team-card:hover .member-tags span {
  border-color: rgba(123, 217, 87, 0.36);
  background: rgba(255,255,255,0.9);
}
.team-card p { font-size: 0.97rem; line-height: 1.62; }
.member-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.member-top h3 {
  font-size: 1.34rem;
  line-height: 1.08;
}
.member-index {
  color: rgba(29, 51, 43, 0.08);
  font-size: 3rem;
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.08em;
  transition: transform 0.34s cubic-bezier(.2,.8,.2,1), color 0.34s ease;
}
.member-focus {
  padding: 15px;
  border: 1px solid rgba(29, 51, 43, 0.08);
  border-radius: 16px;
  background: rgba(251, 252, 248, 0.74);
  color: var(--deep);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.45;
}
.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.member-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(29, 51, 43, 0.09);
  background: rgba(255,255,255,0.64);
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 900;
}
.team-card-lead {
  background:
    radial-gradient(circle at 88% 12%, rgba(123, 217, 87, 0.2), transparent 18rem),
    linear-gradient(145deg, #102019, #1d332b);
  color: var(--white);
  border-color: rgba(123, 217, 87, 0.34);
}
.team-card-lead h3,
.team-card-lead p { color: var(--white); }
.team-card-lead .member-focus {
  color: rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}
.team-card-lead .member-tags span {
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}
.team-card-lead .member-index,
.team-card-lead::before { color: rgba(255,255,255,0.08); }
.role { color: var(--olive); font-size: 0.84rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
.team-card .role {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(91, 108, 61, 0.1);
  transition: background 0.28s ease, color 0.28s ease;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
}
.contact-panel {
  isolation: isolate;
  background:
    radial-gradient(circle at var(--card-x, 18%) var(--card-y, 0%), rgba(123, 217, 87, 0.16), transparent 32%),
    var(--white);
}
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(120deg, transparent 0 35%, rgba(255,255,255,0.62) 48%, transparent 60% 100%);
  transform: translateX(-120%);
  transition: opacity 0.28s ease, transform 0.72s cubic-bezier(.2,.8,.2,1);
}
.contact-panel:hover::before {
  opacity: 1;
  transform: translateX(120%);
}
.contact-panel > * {
  position: relative;
  z-index: 1;
}
.contact-list { display: grid; gap: 12px; margin-top: 22px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--deep);
  text-decoration: none;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  font-weight: 800;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}
.contact-item i { color: var(--olive); transition: transform 0.24s ease, color 0.24s ease; }
.contact-item:hover {
  transform: translateX(5px);
  border-color: rgba(123, 217, 87, 0.38);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 14px 34px rgba(16, 24, 21, 0.09);
}
.contact-item:hover i {
  color: #1fae5b;
  transform: scale(1.12);
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field-full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 7px; color: var(--deep); font-weight: 850; font-size: 0.9rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  min-height: 50px;
  padding: 13px 15px;
  font: inherit;
  background: var(--paper);
  color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(153, 198, 142, 0.35); border-color: var(--olive); }
.toast {
  position: fixed;
  top: 92px;
  right: 20px;
  z-index: 100;
  width: min(420px, calc(100% - 40px));
  padding: 16px 18px;
  border-radius: 16px;
  background: #dff3e6;
  color: #123b27;
  border: 1px solid rgba(31,174,91,0.25);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: 56px 0 28px;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(123, 217, 87, 0.18), transparent 25rem),
    radial-gradient(circle at 86% 32%, rgba(101, 183, 200, 0.12), transparent 22rem);
  animation: footerGlow 9s ease-in-out infinite alternate;
}
.footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent);
  transform: translateX(-30%);
  animation: footerLine 6s cubic-bezier(.2,.8,.2,1) infinite;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}
.footer-grid > div {
  position: relative;
  padding: 18px;
  border-radius: 18px;
  transition: transform 0.28s ease, background 0.28s ease;
}
.footer-grid > div:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.045);
}
.footer .brand-mark {
  animation: brandPulse 4.8s ease-in-out infinite;
}
.footer h3 {
  margin-top: 0;
  color: var(--white);
}
.footer a { color: rgba(255,255,255,0.86); text-decoration: none; }
.footer a:hover { color: var(--sage); }
.footer p { color: rgba(255,255,255,0.78); margin: 12px 0 0; }
.footer-bottom { position: relative; z-index: 1; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.float-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-contact a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(16,24,21,0.2);
}
.float-contact .wa { background: #1fae5b; }
.float-contact .mail { background: var(--deep); }

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 0.78s cubic-bezier(.2,.8,.2,1),
    transform 0.78s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--delay, 0ms);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.tariff-card.highlighted.in-view { transform: translateY(-12px) scale(1); }
.tariff-card.highlighted.in-view:hover { transform: translateY(-18px) scale(1); }

@keyframes fadeRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(-0.5%, 0, 0); }
  to { transform: scale(1.08) translate3d(0.8%, -0.8%, 0); }
}
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes beamFloat {
  from { transform: translate3d(-8px, 0, 0); opacity: 0.72; }
  to { transform: translate3d(12px, -18px, 0); opacity: 1; }
}
@keyframes productFloat {
  0%, 100% { transform: translateY(-50%) rotateY(-8deg) rotateX(3deg); }
  50% { transform: translateY(calc(-50% - 14px)) rotateY(-6deg) rotateX(2deg); }
}
@keyframes phoneFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-8px, -12px, 0); }
}
@keyframes floatMark {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-10px, 18px, 0) rotate(3deg); }
}
@keyframes footerGlow {
  from { opacity: 0.78; transform: translate3d(-1%, 0, 0) scale(1); }
  to { opacity: 1; transform: translate3d(1%, -1%, 0) scale(1.04); }
}
@keyframes footerLine {
  0% { transform: translateX(-45%); opacity: 0.4; }
  50% { opacity: 1; }
  100% { transform: translateX(45%); opacity: 0.4; }
}
@keyframes brandPulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(123, 217, 87, 0.18), 0 10px 24px rgba(16, 24, 21, 0.14); }
  50% { box-shadow: 0 18px 42px rgba(123, 217, 87, 0.36), 0 10px 24px rgba(16, 24, 21, 0.14); }
}
@keyframes logoDepart {
  0% { transform: rotate(calc(var(--logo-spin, 0) * 1turn)) scale(var(--logo-scale, 1)); filter: brightness(1); }
  45% { transform: rotate(calc((var(--logo-spin, 0) * 1turn) + 18deg)) scale(1.18); filter: brightness(1.22); }
  100% { transform: rotate(calc((var(--logo-spin, 0) * 1turn) + 42deg)) scale(0.96); filter: brightness(1); }
}
@keyframes markSweep {
  0%, 52%, 100% { transform: translateX(-95%) rotate(18deg); opacity: 0; }
  62% { opacity: 1; }
  78% { transform: translateX(95%) rotate(18deg); opacity: 0; }
}
@keyframes availabilityPing {
  0% { box-shadow: 0 0 0 0 rgba(31, 174, 91, 0.42); }
  70% { box-shadow: 0 0 0 8px rgba(31, 174, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 174, 91, 0); }
}

@media (max-width: 980px) {
  .nav-badge { display: none; }
  .nav-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    color: var(--deep);
    font-size: 1.35rem;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  }
  .nav-toggle:hover { transform: translateY(-1px); border-color: rgba(123, 217, 87, 0.38); box-shadow: 0 12px 30px rgba(16, 24, 21, 0.09); }
  .nav-toggle .bi { display: none; }
  .nav-toggle::before {
    content: "";
    width: 19px;
    height: 13px;
    background:
      linear-gradient(var(--deep), var(--deep)) 0 0 / 100% 2px no-repeat,
      linear-gradient(var(--deep), var(--deep)) 0 50% / 100% 2px no-repeat,
      linear-gradient(var(--deep), var(--deep)) 0 100% / 100% 2px no-repeat;
    transition: transform 0.24s ease, background 0.24s ease;
  }
  .nav-toggle::after {
    content: "";
    position: absolute;
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: var(--olive);
    opacity: 0;
    transform: rotate(-45deg) scaleX(0.4);
    transition: opacity 0.2s ease, transform 0.24s ease;
  }
  .nav-toggle[aria-expanded="true"]::before {
    height: 2px;
    border-radius: 999px;
    transform: rotate(45deg);
    background: var(--olive);
  }
  .nav-toggle[aria-expanded="true"]::after {
    opacity: 1;
    transform: rotate(-45deg) scaleX(1);
  }
  .nav-links {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.985);
    transform-origin: top;
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s cubic-bezier(.2,.8,.2,1);
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  .nav-links a { padding: 13px 14px; }
  .nav-indicator { display: none; }
  .intro-grid, .media-strip, .contact-grid, .service-hero-grid, .tariff-grid { grid-template-columns: 1fr; }
  .service-grid, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid, .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card { min-height: 330px; }
  .service-hero-grid { align-items: start; }
  .hero-showcase-wrap {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 128px 0 56px;
    gap: 42px;
  }
  .hero-slide {
    min-height: 245px;
  }
  .hero-product-stage {
    min-height: 470px;
  }
  .desktop-mockup {
    right: 8%;
    width: min(680px, 88vw);
  }
  .phone-mockup {
    right: 4%;
  }
  .tariff-card,
  .tariff-card.highlighted { transform: none; min-height: auto; }
  .tariff-card.highlighted.in-view,
  .tariff-card.highlighted.in-view:hover { transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
  .wrap, .nav-wrap, .hero-content, .page-title { width: min(100% - 28px, 1180px); }
  .hero-showcase-wrap { width: min(100% - 28px, 1180px); }
  .section { padding: 64px 0; scroll-margin-top: 82px; }
  .hero-content { padding: 120px 0 46px; }
  .hero-showcase {
    min-height: auto;
  }
  .hero-showcase::after {
    background:
      linear-gradient(180deg, rgba(1,2,4,0.94) 0%, rgba(1,2,4,0.78) 48%, rgba(1,2,4,0.96) 100%),
      linear-gradient(90deg, rgba(1,2,4,0.96), rgba(1,2,4,0.4));
  }
  .hero-beams {
    inset: 28% -48% 2% 18%;
    opacity: 0.55;
  }
  .hero-showcase-wrap {
    padding: 116px 0 44px;
  }
  .hero-kicker {
    margin-bottom: 18px;
    font-size: 0.72rem;
  }
  .hero-slide {
    min-height: 252px;
  }
  .hero-showcase h1 {
    font-size: clamp(2.74rem, 13vw, 3.75rem);
    line-height: 0.95;
  }
  .hero-showcase p {
    max-width: 34ch;
    font-size: 1rem;
  }
  .hero-input-row {
    width: 100%;
    margin-top: 22px;
  }
  .hero-input,
  .hero-showcase .btn-whatsapp {
    width: 100%;
  }
  .hero-product-stage {
    min-height: 330px;
  }
  .desktop-mockup {
    right: -18%;
    width: 118vw;
  }
  .mockup-body {
    grid-template-columns: 56px 1fr;
    min-height: 300px;
  }
  .mockup-dashboard {
    padding: 20px 18px 24px;
  }
  .dash-stats {
    grid-template-columns: 1fr 1fr;
  }
  .dash-stats div:nth-child(3),
  .dash-tabs,
  .dash-list span:nth-child(3) {
    display: none;
  }
  .phone-mockup {
    right: -3%;
    bottom: 4px;
    width: 132px;
    min-height: 252px;
    border-width: 6px;
    border-radius: 22px;
  }
  .phone-card {
    padding: 10px;
  }
  .phone-task {
    height: 34px;
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 13vw, 3.1rem);
    letter-spacing: -0.075em;
  }
  .hero p { font-size: 1rem; max-width: 32ch; }
  .hero.hero-showcase h1 {
    font-size: clamp(2.74rem, 13vw, 3.75rem);
    line-height: 0.95;
    letter-spacing: 0;
  }
  .hero.hero-showcase p {
    max-width: 34ch;
    font-size: 1rem;
  }
  .hero-logo-orbit { width: 118px; top: 16%; right: -10px; opacity: 0.16; }
  .hero-proof { margin-top: 42px; }
  .hero-proof, .service-grid, .work-grid, .team-grid, .process, .contact-form, .footer-grid, .service-scoreboard, .tariff-grid { grid-template-columns: 1fr; }
  .team-card { min-height: auto; }
  .service-card-premium { min-height: auto; }
  .service-card-top { align-items: center; gap: 12px; margin-bottom: 18px; }
  .service-scoreboard div { min-height: auto; padding: 18px; }
  .tariff-card { padding: 24px; gap: 15px; }
  .carousel-caption { padding: 16px 18px 58px; }
  .carousel-controls { right: 14px; bottom: 14px; }
  .carousel-dots { left: 18px; bottom: 30px; }
  .section-head { display: block; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .page-hero { padding-top: 122px; }
  .float-contact { right: 12px; bottom: 12px; }
  .toast {
    top: auto;
    right: 14px;
    bottom: 82px;
    width: calc(100% - 28px);
  }
}

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

.page-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(123, 217, 87, 0.22);
  border-radius: 999px;
  background: rgba(123, 217, 87, 0.12);
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.page-title .page-kicker {
  margin-bottom: 16px;
}

.blog-hero,
.article-hero {
  padding: 128px 0 44px;
  background:
    radial-gradient(circle at 86% 12%, rgba(101, 183, 200, 0.16), transparent 22rem),
    linear-gradient(180deg, rgba(255,255,255,0.55), transparent);
}

.blog-hero .page-title h1,
.article-hero .page-title h1 {
  max-width: 920px;
  font-size: clamp(2.7rem, 6.3vw, 5.4rem);
}

.blog-section,
.article-section {
  padding-top: 54px;
}

.blog-layout,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  align-items: start;
}

.blog-main,
.article-body {
  min-width: 0;
}

.blog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 24, 21, 0.06);
}

.search-box i {
  color: var(--olive);
  font-size: 1.15rem;
}

.search-box input {
  min-height: 54px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.search-box input:focus {
  outline: 0;
  border-color: transparent;
}

.blog-count {
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.blog-categories button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(29, 51, 43, 0.11);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: var(--deep);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.blog-categories button:hover,
.blog-categories button.active {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--white);
  transform: translateY(-1px);
}

.blog-status {
  min-height: 22px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.blog-status[data-type="success"] { color: #1f7a45; }
.blog-status[data-type="error"] { color: #b33232; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(16, 24, 21, 0.07);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(123, 217, 87, 0.34);
  box-shadow: 0 24px 58px rgba(16, 24, 21, 0.11);
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #102019;
  text-decoration: none;
}

.blog-card-media img,
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card:hover img {
  transform: scale(1.035);
}

.blog-card-media img {
  transition: transform 0.38s ease;
}

.blog-card-fallback {
  min-height: 100%;
  display: grid;
  place-items: center;
  gap: 8px;
  background:
    linear-gradient(135deg, rgba(123, 217, 87, 0.16), rgba(101, 183, 200, 0.18)),
    #102019;
  color: var(--white);
  font-size: 2.4rem;
}

.image-fallback {
  padding: 18px;
  text-align: center;
}

.image-fallback span {
  display: block;
  max-width: 220px;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
}

.blog-card-body {
  padding: 22px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(91, 108, 61, 0.09);
}

.blog-card h2 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.blog-card h2 a {
  text-decoration: none;
}

.blog-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.blog-read,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--olive);
  font-weight: 950;
  text-decoration: none;
}

.article-title-block .back-link {
  margin: 0 0 18px;
}

.blog-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 16px;
}

.sidebar-block,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
  box-shadow: 0 14px 38px rgba(16, 24, 21, 0.07);
}

.sidebar-block h2,
.admin-card h2 {
  margin: 0 0 14px;
  color: var(--deep);
  font-size: 1.15rem;
  line-height: 1.1;
}

.suggestion-list {
  display: grid;
  gap: 10px;
}

.suggestion-link {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid rgba(29, 51, 43, 0.09);
  border-radius: 8px;
  background: rgba(251, 252, 248, 0.8);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.suggestion-link:hover {
  transform: translateX(4px);
  border-color: rgba(123, 217, 87, 0.32);
  background: var(--white);
}

.suggestion-link span {
  color: var(--olive);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.suggestion-link strong {
  color: var(--deep);
  line-height: 1.2;
}

.contact-mini p {
  color: var(--muted);
}

.blog-empty,
.blog-skeleton {
  min-height: 210px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px dashed rgba(29, 51, 43, 0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.62);
  color: var(--muted);
  font-weight: 850;
}

.blog-skeleton {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0.8), rgba(255,255,255,0.2)),
    rgba(29, 51, 43, 0.06);
  background-size: 220% 100%;
  animation: skeletonSlide 1.3s ease-in-out infinite;
}

.article-title-block {
  max-width: 920px;
}

.article-meta {
  margin-top: 18px;
}

.article-cover {
  aspect-ratio: 16 / 8;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #102019;
}

.article-fallback {
  min-height: 320px;
}

.article-content {
  max-width: 780px;
  color: var(--ink);
  font-size: 1.08rem;
}

.article-content p {
  margin: 0 0 22px;
}

.admin-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(123, 217, 87, 0.12), transparent 24rem),
    var(--paper);
}

.admin-shell {
  min-height: 100svh;
}

.admin-login-panel {
  width: min(460px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.admin-login-panel h1,
.admin-topbar h1 {
  margin: 22px 0 10px;
  color: var(--deep);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.admin-login-panel p {
  color: var(--muted);
}

.admin-form {
  display: grid;
  gap: 13px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  background: var(--white);
}

.cover-preview {
  min-height: 150px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(29, 51, 43, 0.22);
  border-radius: 8px;
  background: rgba(251, 252, 248, 0.92);
}

.cover-preview.has-image {
  position: relative;
  aspect-ratio: 16 / 9;
  border-style: solid;
  background: #102019;
}

.cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-preview-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.cover-preview-empty i {
  color: var(--olive);
  font-size: 2rem;
}

.cover-preview-note {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(16, 32, 25, 0.76);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
}

.admin-dashboard {
  display: none;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.admin-logged-in .admin-login-panel {
  display: none;
}

.admin-logged-in .admin-dashboard {
  display: block;
}

.admin-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: start;
}

.admin-side {
  display: grid;
  gap: 16px;
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--deep);
  cursor: pointer;
  text-decoration: none;
}

.icon-btn:hover {
  border-color: rgba(123, 217, 87, 0.38);
  background: var(--white);
}

.icon-btn.danger {
  color: #b33232;
}

.icon-btn.danger:hover {
  border-color: rgba(179, 50, 50, 0.32);
  background: rgba(179, 50, 50, 0.07);
}

.admin-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-submit {
  display: flex;
  align-items: end;
}

.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.compact-form {
  grid-template-columns: 1fr;
}

.admin-entity-list {
  display: grid;
  gap: 10px;
}

.admin-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.admin-list-main {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 13px;
  border: 1px solid rgba(29, 51, 43, 0.09);
  border-radius: 8px;
  background: var(--paper);
  color: var(--deep);
  text-align: left;
  cursor: pointer;
}

.admin-list-main:hover {
  border-color: rgba(123, 217, 87, 0.32);
  background: var(--white);
}

.admin-list-main span {
  color: var(--olive);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-list-main strong {
  line-height: 1.18;
}

.admin-list-main small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-list-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

@keyframes skeletonSlide {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

@media (max-width: 980px) {
  .blog-layout,
  .article-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .admin-topbar {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .blog-toolbar,
  .blog-grid,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-list-item {
    grid-template-columns: 1fr;
  }

  .admin-list-actions {
    justify-content: flex-end;
  }

  .blog-count {
    white-space: normal;
  }

  .article-cover {
    aspect-ratio: 4 / 3;
  }

  .blog-hero,
  .article-hero {
    padding: 112px 0 34px;
  }

  .admin-dashboard {
    width: min(100% - 28px, 1180px);
  }
}
