@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@500;700&display=swap");

:root {
  --aq-bg: #eaf5fb;
  --aq-paper: #f5fbff;
  --aq-surface: #ffffff;
  --aq-ink: #10253d;
  --aq-muted: #5a718a;
  --aq-line: rgba(16, 37, 61, 0.1);
  --aq-accent: #2a8fdc;
  --aq-accent-soft: #ccecff;
  --aq-deep: #0f2f4a;
  --aq-radius: 32px;
  --aq-radius-sm: 18px;
  --aq-max: 1540px;
  --aq-shadow: 0 26px 80px rgba(16, 47, 74, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 15% 20%, rgba(42, 143, 220, 0.16), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(114, 186, 235, 0.12), transparent 20%),
    linear-gradient(180deg, #f4fbff 0%, #e6f2f9 100%);
  color: var(--aq-ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)),
    url("/wp-content/mu-plugins/assets/aquatec-blueprint-grid.svg") center top / 1320px auto repeat-y;
  opacity: 0.96;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 18%, rgba(42, 143, 220, 0.14), transparent 18%),
    radial-gradient(circle at 78% 24%, rgba(115, 195, 244, 0.12), transparent 16%);
  opacity: 1;
}

body,
button,
input,
select,
textarea {
  font-family: "Manrope", sans-serif;
}

h1,
h2,
h3,
h4,
.aq-hero-copy h1,
.aq-card h2,
.aq-card h3 {
  font-family: "Unbounded", "Manrope", sans-serif;
  color: var(--aq-ink);
  letter-spacing: -0.04em;
}

body .site,
body .site-content,
body .ast-container,
body .ast-separate-container #primary,
body .content-area,
body .site-main {
  width: 100%;
  max-width: none;
}

body .ast-separate-container #primary,
body .ast-container {
  padding-left: 0;
  padding-right: 0;
}

.site-header,
.main-header-bar {
  background: rgba(245, 251, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 47, 74, 0.08);
}

.main-header-menu .menu-link,
.main-header-menu > .menu-item > .menu-link {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--aq-ink);
}

.page .entry-header {
  display: none;
}

.entry-content,
.elementor-location-single .entry-content {
  margin: 0;
}

.aq-page {
  width: 100%;
  padding: 28px 0 90px;
}

.aq-hero,
.aq-section,
.aq-cta {
  width: min(calc(100% - 20px), var(--aq-max));
  margin: 0 auto;
}

.aq-section,
.aq-cta {
  margin-top: 22px;
}

.aq-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 20px;
  align-items: stretch;
}

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

.aq-hero-copy,
.aq-hero-panel,
.aq-card,
.aq-step,
.aq-cta-box {
  border-radius: var(--aq-radius);
  border: 1px solid var(--aq-line);
  box-shadow: var(--aq-shadow);
}

.aq-hero-copy {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, #0f3a5d 0%, #0b2942 62%, #134b72 100%);
  color: #fff;
}

.aq-hero-copy::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -40px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 189, 255, 0.42) 0%, rgba(86, 189, 255, 0) 70%);
  pointer-events: none;
}

.aq-hero-copy::after {
  content: "";
  position: absolute;
  inset: auto 28px 26px auto;
  width: 132px;
  height: 132px;
  border-radius: 28px;
  border: 1px solid rgba(158, 220, 255, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
  pointer-events: none;
}

.aq-hero-copy h1,
.aq-hero-copy h2,
.aq-hero-copy p,
.aq-hero-copy li {
  position: relative;
  color: #fff;
}

.aq-page-home .aq-hero-copy h1,
.aq-hero-copy h1 {
  max-width: 760px;
  margin: 10px 0 14px;
  font-size: clamp(1.46rem, 2.15vw, 2.35rem) !important;
  line-height: 1.08;
}

.aq-lead {
  max-width: 650px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.84);
}

.aq-hero-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(245, 251, 255, 0.84), rgba(255, 255, 255, 0.95)),
    var(--aq-paper);
}

.aq-fact-card {
  position: relative;
  background: rgba(255, 255, 255, 0.84);
  padding: 20px 22px;
}

.aq-fact-card::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 4px;
  height: calc(100% - 36px);
  border-radius: 999px;
  background: linear-gradient(180deg, #73c3f4, #2a8fdc);
}

.aq-fact-label {
  display: block;
  margin-bottom: 8px;
  color: var(--aq-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.aq-fact-card strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.45;
}

.aq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(42, 143, 220, 0.14);
  color: var(--aq-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.aq-hero-copy .aq-eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #9edcff;
}

.aq-point-list,
.aq-card ul,
.aq-detail-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.aq-point-list li,
.aq-card li,
.aq-detail-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.aq-point-list li::before,
.aq-card li::before,
.aq-detail-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aq-accent);
}

.aq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.aq-button,
.aq-button:link,
.aq-button:visited,
.aq-button:hover,
.aq-button:focus,
.aq-button:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--aq-accent), #73c3f4);
  color: #0d2841;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 16px 30px rgba(42, 143, 220, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.aq-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(42, 143, 220, 0.28);
  color: #0d2841;
}

.aq-button-secondary,
.aq-button-secondary:link,
.aq-button-secondary:visited,
.aq-button-secondary:hover,
.aq-button-secondary:focus,
.aq-button-secondary:active {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: none;
  text-decoration: none !important;
}

.aq-button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: #fff;
}

.aq-section {
  padding: 34px;
  border-radius: calc(var(--aq-radius) + 8px);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.aq-section-intro {
  max-width: 840px;
  margin-bottom: 28px;
}

.aq-section-intro h2 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  line-height: 1;
}

.aq-section-intro p,
.aq-card p,
.aq-step p,
.aq-post-card p {
  color: var(--aq-muted);
  line-height: 1.78;
}

.aq-grid {
  display: grid;
  gap: 18px;
}

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

.aq-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aq-card {
  height: 100%;
  padding: 28px;
  background: rgba(255, 255, 255, 0.95);
}

.aq-page-home .aq-service-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 255, 0.98)),
    #fff;
}

.aq-page-home .aq-service-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #73c3f4, #2a8fdc);
  opacity: 0.95;
}

.aq-card h2,
.aq-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.12;
}

.aq-page-home .aq-grid-3,
.aq-page .aq-grid-2 {
  counter-reset: aq-cards;
}

.aq-service-card,
.aq-post-card,
.aq-advantage-card {
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.aq-service-card::before {
  counter-increment: aq-cards;
  content: counter(aq-cards, decimal-leading-zero);
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(22, 22, 22, 0.34);
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.aq-page-home .aq-grid-3 .aq-service-card:nth-child(2),
.aq-page-home .aq-grid-3 .aq-service-card:nth-child(5) {
  transform: translateY(42px);
}

.aq-page-home .aq-grid-3 .aq-service-card:nth-child(2):hover,
.aq-page-home .aq-grid-3 .aq-service-card:nth-child(5):hover {
  transform: translateY(38px);
}

.aq-service-card-full {
  display: flex;
  flex-direction: column;
}

.aq-service-card-full::before {
  color: rgba(42, 143, 220, 0.62);
}

.aq-service-card:hover,
.aq-post-card:hover,
.aq-advantage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 143, 220, 0.22);
  box-shadow: 0 20px 42px rgba(16, 47, 74, 0.11);
}

.aq-service-card a,
.aq-post-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--aq-ink);
  font-weight: 800;
  text-decoration: none;
}

.aq-service-card a::after,
.aq-post-card a::after {
  content: "↗";
  margin-left: 8px;
  font-size: 0.95em;
}

.aq-section-dark {
  background:
    linear-gradient(135deg, #123b5d 0%, #0c2941 42%, #1a5a84 100%);
  border-color: rgba(255, 255, 255, 0.06);
}

.aq-section-dark .aq-eyebrow {
  background: rgba(115, 195, 244, 0.16);
}

.aq-section-dark .aq-section-intro h2,
.aq-section-dark .aq-section-intro p {
  color: #fff;
}

.aq-section-dark .aq-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.aq-section-dark .aq-card h3,
.aq-section-dark .aq-card p {
  color: #fff;
}

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

.aq-step {
  padding: 30px;
  background: #fff;
}

.aq-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--aq-accent-soft);
  color: var(--aq-ink);
  font-weight: 800;
}

.aq-cta-box {
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(42, 143, 220, 0.18), rgba(42, 143, 220, 0.02)),
    rgba(255, 255, 255, 0.92);
}

.aq-cta-box h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 1.02;
}

.aq-page-service .aq-hero-copy,
.aq-page .aq-hero-compact .aq-hero-copy {
  min-height: 0;
  padding: 30px 34px;
}

.aq-page-service .aq-grid-2,
.aq-page .aq-grid-2 {
  gap: 22px;
}

.aq-page-service .aq-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 255, 0.98)),
    #fff;
}

.aq-page-service .aq-card h2 {
  margin-bottom: 16px;
}

.aq-page-service .aq-card:first-child {
  position: relative;
  overflow: hidden;
}

.aq-page-service .aq-card:first-child::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  border: 1px solid rgba(42, 143, 220, 0.18);
  background: linear-gradient(135deg, rgba(115, 195, 244, 0.12), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.aq-page-home .aq-section:first-of-type,
.aq-page .aq-hero-compact .aq-hero-copy {
  position: relative;
}

.aq-page-home .aq-section:first-of-type::after,
.aq-page .aq-hero-compact .aq-hero-copy::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 120px;
  height: 120px;
  border-radius: 24px;
  border: 1px solid rgba(42, 143, 220, 0.28);
  pointer-events: none;
}

.site-footer {
  background: #121212;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer a {
  color: #fff;
}

@media (max-width: 1100px) {
  .aq-hero,
  .aq-grid-2,
  .aq-grid-3,
  .aq-steps {
    grid-template-columns: 1fr;
  }

  .aq-hero-copy {
    min-height: auto;
  }

  .aq-page-home .aq-grid-3 .aq-service-card:nth-child(2),
  .aq-page-home .aq-grid-3 .aq-service-card:nth-child(5) {
    transform: none;
  }
}

@media (max-width: 767px) {
  .aq-page {
    padding-top: 16px;
  }

  .aq-hero,
  .aq-section,
  .aq-cta {
    width: min(calc(100% - 12px), var(--aq-max));
  }

  .aq-hero-copy,
  .aq-card,
  .aq-step,
  .aq-cta-box,
  .aq-section {
    padding: 22px;
  }

  .aq-hero-panel {
    padding: 10px;
  }

  .aq-page-service .aq-hero-copy,
  .aq-page .aq-hero-compact .aq-hero-copy {
    padding: 22px;
  }

  .aq-page-home .aq-hero-copy h1,
  .aq-hero-copy h1 {
    max-width: 100%;
    margin: 8px 0 10px;
    font-size: clamp(1.14rem, 4.7vw, 1.42rem) !important;
    line-height: 1.12;
  }

  .aq-lead {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .aq-actions {
    flex-direction: column;
  }

  .aq-button {
    width: 100%;
  }
}
