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

html {
  scroll-behavior: smooth;
}

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

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

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

.acustodio-modern-web #header,
.acustodio-modern-web header.header,
.acustodio-modern-web .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-web #header.am-header-scrolled,
.acustodio-modern-web header.header.am-header-scrolled,
.acustodio-modern-web .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);
}

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

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

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

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

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

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

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

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

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

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

.aw-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: var(--aw-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;
}

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

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

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

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

.aw-hero-screen {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--aw-radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.aw-hero-screen::before {
  content: "";
  display: block;
  height: 28px;
  border-radius: 6px 6px 0 0;
  background:
    radial-gradient(circle at 16px 14px, var(--aw-red) 0 4px, transparent 5px),
    radial-gradient(circle at 34px 14px, rgba(255, 255, 255, 0.55) 0 4px, transparent 5px),
    radial-gradient(circle at 52px 14px, rgba(255, 255, 255, 0.32) 0 4px, transparent 5px),
    rgba(255, 255, 255, 0.12);
}

.aw-hero-screen img {
  width: 100%;
  height: 330px;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 0 0 var(--aw-radius) var(--aw-radius);
}

.aw-zealfit-hero-shot {
  position: relative;
  height: 330px;
  overflow: hidden;
  border-radius: 0 0 var(--aw-radius) var(--aw-radius);
  background-color: #ee5581;
  background-image: linear-gradient(120deg, rgba(239, 79, 124, 0.9), rgba(236, 85, 133, 0.84)), var(--aw-zealfit-back);
  background-size: cover;
  background-position: center;
}

.aw-zealfit-copy {
  position: absolute;
  left: 10%;
  top: 50%;
  z-index: 2;
  max-width: 360px;
  color: #fff;
  transform: translateY(-50%) rotate(-9deg);
  text-shadow: 0 12px 32px rgba(136, 16, 62, 0.3);
}

.aw-zealfit-copy span {
  display: block;
  margin-bottom: 14px;
  font-size: 26px;
  font-weight: 950;
  font-style: italic;
  letter-spacing: 0;
}

.aw-zealfit-copy strong {
  display: block;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.96;
  font-weight: 950;
}

.aw-zealfit-copy em {
  display: block;
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.45;
  font-style: normal;
}

.aw-zealfit-phone {
  position: absolute;
  width: min(46%, 300px) !important;
  height: auto !important;
  max-width: none !important;
  border-radius: 28px !important;
  filter: drop-shadow(0 24px 26px rgba(103, 14, 50, 0.28));
}

.aw-zealfit-phone-left {
  left: -11%;
  top: -13%;
  transform: rotate(-31deg);
}

.aw-zealfit-phone-right {
  right: -9%;
  top: 2%;
  transform: rotate(28deg);
}

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

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

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

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

.aw-zealfit-note {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin: -6px 0 28px;
  padding: 22px;
  border: 1px solid var(--aw-line);
  border-left: 5px solid #eb4f7b;
  border-radius: var(--aw-radius);
  background: linear-gradient(135deg, #fff, #fff6f9);
  box-shadow: 0 16px 38px rgba(12, 15, 22, 0.06);
}

.aw-zealfit-note span {
  display: block;
  margin-bottom: 8px;
  color: #eb4f7b;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.aw-zealfit-note h3 {
  margin: 0;
  color: var(--aw-ink);
  font-size: 24px;
  line-height: 1.18;
}

.aw-zealfit-note p {
  margin: 0;
  color: var(--aw-muted);
  font-size: 16px;
  line-height: 1.75;
}

.aw-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.aw-service-card,
.aw-project-card,
.aw-workflow-card,
.aw-stack-panel {
  border: 1px solid var(--aw-line);
  border-radius: var(--aw-radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 15, 22, 0.06);
}

.aw-service-card {
  min-height: 340px;
  padding: 14px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.aw-service-card:hover,
.aw-project-card:hover,
.aw-workflow-card:hover {
  transform: translateY(-5px);
  border-color: rgba(221, 39, 39, 0.25);
  box-shadow: var(--aw-shadow);
}

.aw-service-image {
  height: 160px;
  margin-bottom: 18px;
  border-radius: var(--aw-radius);
  background: #10131a;
  overflow: hidden;
}

.aw-service-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.25s ease;
}

.aw-service-card:hover .aw-service-image img {
  transform: scale(1.04);
}

.aw-service-card h3,
.aw-project-body h3,
.aw-workflow-card h3 {
  margin: 0 10px 10px;
  color: var(--aw-ink);
  font-size: 20px;
  line-height: 1.25;
}

.aw-service-card p,
.aw-project-body p,
.aw-workflow-card p {
  margin: 0 10px 10px;
  color: var(--aw-muted);
  line-height: 1.7;
}

.aw-projects {
  background: #fff;
}

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

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

.aw-project-image {
  height: 240px;
  padding: 12px;
  background: #10131a;
}

.aw-project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
}

.aw-project-body {
  padding: 18px;
}

.aw-project-body span,
.aw-workflow-card > span {
  display: block;
  margin-bottom: 8px;
  color: var(--aw-red);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.aw-project-body h3,
.aw-project-body p {
  margin-left: 0;
  margin-right: 0;
}

.aw-workflow {
  padding-top: 0;
}

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

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

.aw-workflow-card h3,
.aw-workflow-card p {
  margin-left: 0;
  margin-right: 0;
}

.aw-stack {
  padding-top: 0;
}

.aw-stack-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);
}

.aw-stack-panel h2,
.aw-stack-panel p {
  color: #fff;
}

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

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

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

.acustodio-modern-web .aw-original .elementor-section:first-child,
.acustodio-modern-web .aw-original .elementor-section:nth-child(2) {
  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: 1199px) {
  .aw-service-grid,
  .aw-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .aw-hero-inner,
  .aw-heading-row,
  .aw-project-grid,
  .aw-workflow-grid,
  .aw-stack-panel {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .aw-hero-screen img {
    height: 250px;
  }

  .aw-zealfit-hero-shot {
    height: 250px;
  }

  .aw-zealfit-copy {
    left: 12%;
    max-width: 230px;
  }

  .aw-zealfit-copy span {
    font-size: 18px;
  }

  .aw-zealfit-copy em {
    font-size: 14px;
  }

  .aw-zealfit-phone {
    width: min(52%, 210px) !important;
  }

  .aw-zealfit-phone-left {
    left: -20%;
  }

  .aw-zealfit-phone-right {
    right: -24%;
  }

  .aw-zealfit-note {
    grid-template-columns: 1fr;
  }

  .aw-service-grid {
    grid-template-columns: 1fr;
  }

  .aw-service-card {
    min-height: auto;
  }

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

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

  .am-js [data-am-reveal],
  .aw-button,
  .aw-service-card,
  .aw-project-card,
  .aw-workflow-card {
    transition: none;
    transform: none;
  }
}
