:root {
  --as-bg: #07090f;
  --as-ink: #141821;
  --as-muted: #6a7380;
  --as-red: #dd2727;
  --as-red-dark: #a81720;
  --as-line: rgba(20, 24, 33, 0.1);
  --as-radius: 8px;
  --as-shadow: 0 24px 60px rgba(7, 9, 15, 0.16);
}

html {
  scroll-behavior: smooth;
}

.acustodio-modern-server {
  background: #f4f6f8;
}

.acustodio-modern-server #contents.main-page {
  padding: 0;
}

.acustodio-modern-server #contents.main-page,
.acustodio-modern-server .main-page.content,
.acustodio-modern-server .container > .row > .main-page {
  width: 100%;
}

.acustodio-modern-server #header,
.acustodio-modern-server header.header,
.acustodio-modern-server .header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.25s ease, background-color 0.25s ease, backdrop-filter 0.25s ease;
}

.acustodio-modern-server #header.am-header-scrolled,
.acustodio-modern-server header.header.am-header-scrolled,
.acustodio-modern-server .header.am-header-scrolled {
  background: rgba(10, 12, 18, 0.92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.as-container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.as-section {
  padding: 72px 0;
}

.as-page {
  color: var(--as-ink);
}

.as-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(221, 39, 39, 0.34), transparent 30%),
    linear-gradient(135deg, #07090f 0%, #171d29 48%, #090a10 100%);
  isolation: isolate;
}

.as-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateY(var(--am-parallax-y, 0));
  background:
    linear-gradient(120deg, rgba(221, 39, 39, 0.22), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 92px);
  opacity: 0.68;
  z-index: -1;
}

.as-hero-inner {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 540px);
  gap: 48px;
  align-items: center;
  padding: 80px 0;
}

.as-kicker,
.as-section-heading span,
.as-capability-panel span {
  display: inline-flex;
  color: var(--as-red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.as-hero h1 {
  margin: 18px 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 850;
}

.as-hero p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.7;
}

.as-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.as-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: var(--as-radius);
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.as-button:hover {
  transform: translateY(-2px);
}

.as-button-primary {
  background: var(--as-red);
  color: #fff;
  box-shadow: 0 16px 34px rgba(221, 39, 39, 0.26);
}

.as-button-primary:hover {
  background: var(--as-red-dark);
  color: #fff;
}

.as-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.as-hero-visual,
.as-skill-card,
.as-tool-card,
.as-achievement-card,
.as-capability-panel {
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 15, 22, 0.06);
}

.as-hero-visual {
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.as-hero-visual img {
  width: 100%;
  height: 360px;
  display: block;
  object-fit: cover;
  border-radius: var(--as-radius);
}

.as-section-heading {
  margin-bottom: 28px;
}

.as-section-heading h2,
.as-capability-panel h2 {
  margin: 8px 0 0;
  color: var(--as-ink);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 850;
}

.as-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: end;
}

.as-heading-row p {
  color: var(--as-muted);
  font-size: 15px;
  line-height: 1.7;
}

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

.as-skill-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.as-skill-card:hover,
.as-tool-card:hover,
.as-achievement-card:hover {
  transform: translateY(-5px);
  border-color: rgba(221, 39, 39, 0.25);
  box-shadow: var(--as-shadow);
}

.as-skill-image {
  height: 280px;
  background: #10131a;
  overflow: hidden;
}

.as-skill-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.as-skill-card:hover .as-skill-image img {
  transform: scale(1.04);
}

.as-skill-body {
  padding: 22px;
}

.as-skill-body h3,
.as-achievement-card h3 {
  margin: 0 0 10px;
  color: var(--as-ink);
  font-size: 21px;
  line-height: 1.25;
}

.as-skill-body p,
.as-achievement-card p {
  margin: 0;
  color: var(--as-muted);
  line-height: 1.7;
}

.as-tools {
  background: #fff;
}

.as-tool-card {
  padding: 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.as-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.as-chip-list span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(221, 39, 39, 0.2);
  border-radius: 999px;
  background: rgba(221, 39, 39, 0.07);
  color: var(--as-ink);
  font-weight: 800;
}

.as-achievements {
  padding-top: 0;
}

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

.as-achievement-card {
  padding: 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.as-achievement-card > span {
  display: block;
  margin-bottom: 12px;
  color: var(--as-red);
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
}

.as-capability {
  padding-top: 0;
}

.as-capability-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 28px;
  align-items: end;
  padding: clamp(28px, 5vw, 56px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(221, 39, 39, 0.36), transparent 34%),
    linear-gradient(135deg, #11141c, #07090f);
}

.as-capability-panel h2,
.as-capability-panel p {
  color: #fff;
}

.as-capability-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.as-original {
  padding-top: 0;
}

.as-original > .as-container {
  padding: 34px;
  border-radius: var(--as-radius);
  background: #fff;
  box-shadow: 0 16px 40px rgba(12, 15, 22, 0.07);
}

.acustodio-modern-server .as-original .elementor-section:first-child {
  display: none;
}

.am-js [data-am-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.am-js [data-am-reveal].am-in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .as-hero-inner,
  .as-heading-row,
  .as-skill-grid,
  .as-achievement-grid,
  .as-capability-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .as-section {
    padding: 48px 0;
  }

  .as-hero-inner {
    min-height: auto;
    padding: 60px 0;
  }

  .as-hero h1 {
    font-size: 42px;
  }

  .as-hero p {
    font-size: 16px;
  }

  .as-actions,
  .as-button {
    width: 100%;
  }

  .as-hero-visual img,
  .as-skill-image {
    height: 240px;
  }

  .as-original > .as-container {
    padding: 18px;
  }
}

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

  .am-js [data-am-reveal],
  .as-button,
  .as-skill-card,
  .as-tool-card,
  .as-achievement-card {
    transition: none;
    transform: none;
  }
}
