:root {
  color-scheme: light;
  --ink: #080d14;
  --muted: #5c6975;
  --line: #dce5ea;
  --paper: #ffffff;
  --mist: #f3f8fa;
  --aqua: #008fb5;
  --aqua-dark: #006f8d;
  --green: #1f9d65;
  --stone: #eef1ec;
  --shadow: 0 16px 46px rgba(8, 32, 45, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 229, 234, 0.86);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: min(182px, 44vw);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #263643;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.icon-button {
  width: 44px;
  color: var(--aqua-dark);
  background: #edf8fb;
  border-color: #d2eef5;
}

.button {
  gap: 9px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--aqua-dark);
}

.button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.72);
}

.button.ghost {
  color: var(--aqua-dark);
  background: #ffffff;
  border-color: #bfe1ea;
}

.mobile-toggle {
  display: none;
}

.hero {
  min-height: min(760px, calc(100vh - 70px));
  min-height: min(760px, calc(100dvh - 70px));
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 13, 20, 0.72), rgba(5, 13, 20, 0.42) 48%, rgba(5, 13, 20, 0.1)),
    url("pool-hero.webp") center / cover no-repeat;
}

.page-hero {
  padding: clamp(58px, 8vw, 92px) 0 clamp(42px, 6vw, 66px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(5, 13, 20, 0.84), rgba(3, 72, 91, 0.64)),
    url("pool-hero.webp") center / cover no-repeat;
}

.page-hero h1 {
  max-width: 780px;
}

.page-hero .hero-lead {
  max-width: 760px;
  margin-bottom: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  padding: 64px 0 96px;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #d8f7ff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: #55c7dd;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 26px;
  color: #effbff;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.68;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  max-width: 640px;
}

.hero-point {
  min-height: 68px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: #f7fcff;
}

.hero-point strong {
  display: block;
  font-size: 0.95rem;
}

.contact-bar {
  position: relative;
  z-index: 2;
  margin-top: -36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.contact-item {
  min-height: 82px;
  padding: 16px 18px;
  background: #ffffff;
}

.label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.value {
  color: var(--ink);
  font-weight: 800;
}

.section {
  padding: clamp(54px, 7vw, 84px) 0;
}

.section.tight {
  padding-top: 34px;
}

.section.mist {
  background: var(--mist);
}

.section.stone {
  background: var(--stone);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 26px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--aqua-dark);
  font-weight: 800;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-copy {
  max-width: 740px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.service-grid,
.knowledge-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.knowledge-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.service-card,
.knowledge-card {
  padding: 20px;
}

.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border-radius: var(--radius);
  color: var(--aqua-dark);
  background: #e9f8fb;
}

.service-card h3,
.knowledge-card h3 {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.service-card p,
.knowledge-card p {
  color: var(--muted);
  line-height: 1.65;
}

.tech-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.feature-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.plain-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.62;
}

.plain-list li:last-child {
  border-bottom: 0;
}

.plain-list strong {
  color: var(--ink);
}

.article-list {
  display: grid;
  gap: 14px;
}

.article-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--aqua-dark);
  background: #e9f8fb;
  font-weight: 800;
}

.article-row p {
  color: var(--muted);
  line-height: 1.66;
}

.article-row h2 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.3;
}

a.article-row {
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

a.article-row:hover {
  transform: translateY(-2px);
  border-color: #a7d7e3;
  box-shadow: 0 14px 34px rgba(8, 32, 45, 0.08);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #dff9ff;
  font-size: 0.88rem;
  font-weight: 700;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body {
  color: var(--muted);
  line-height: 1.76;
}

.article-body h2 {
  margin: 26px 0 10px;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.65vw, 1.45rem);
  line-height: 1.25;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  color: var(--muted);
  line-height: 1.76;
}

.answer-box {
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid #bfe1ea;
  border-radius: var(--radius);
  background: #f0fbfd;
}

.answer-box strong {
  display: block;
  margin-bottom: 7px;
  color: var(--aqua-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.topic-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.topic-list a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--aqua-dark);
  font-weight: 800;
}

.topic-list li:last-child a {
  border-bottom: 0;
}

.cta-panel {
  padding: 24px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(90deg, rgba(5, 13, 20, 0.9), rgba(3, 72, 91, 0.84));
}

.cta-panel p {
  max-width: 760px;
  color: #effbff;
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.map-link {
  display: block;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.tech-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.tech-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--aqua-dark);
  font-weight: 800;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process-step {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.process-step strong {
  display: block;
  margin-bottom: 12px;
  color: var(--aqua-dark);
  font-size: 1.12rem;
}

.process-step p {
  color: var(--muted);
  line-height: 1.55;
}

.knowledge-card {
  min-height: 178px;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  padding: 17px 18px;
  font-weight: 800;
}

.faq-item p {
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.65;
}

.contact-section {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(5, 13, 20, 0.88), rgba(3, 72, 91, 0.78)),
    url("pool-hero.webp") center / cover no-repeat;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.contact-section .section-copy,
.contact-section .section-kicker {
  color: #dff9ff;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-detail {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form {
  padding: 20px;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #354553;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfdde4;
  border-radius: var(--radius);
  padding: 11px 12px;
  font: inherit;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-logo {
  width: 170px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 18px 42px rgba(31, 157, 101, 0.34);
}

.arkon-ai {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 40;
  font-family: inherit;
}

.arkon-ai-button {
  width: 72px;
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 1px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--aqua-dark);
  box-shadow: 0 18px 42px rgba(0, 111, 141, 0.32);
  cursor: pointer;
}

.arkon-ai-button span {
  font-size: 1rem;
  font-weight: 900;
}

.arkon-ai-button small {
  font-size: 0.62rem;
  font-weight: 800;
}

.arkon-ai-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(380px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(8, 32, 45, 0.22);
}

.arkon-ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 15px;
  color: #ffffff;
  background: linear-gradient(90deg, #063744, var(--aqua-dark));
}

.arkon-ai-head strong,
.arkon-ai-head span {
  display: block;
}

.arkon-ai-head strong {
  font-size: 0.98rem;
}

.arkon-ai-head span {
  color: #dff9ff;
  font-size: 0.78rem;
}

.arkon-ai-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.25rem;
  cursor: pointer;
}

.arkon-ai-messages {
  max-height: 300px;
  overflow: auto;
  display: grid;
  gap: 9px;
  padding: 14px;
  background: #f6fafb;
}

.arkon-ai-msg {
  max-width: 92%;
  padding: 10px 11px;
  border-radius: var(--radius);
  white-space: pre-wrap;
  font-size: 0.9rem;
  line-height: 1.48;
}

.arkon-ai-msg.assistant {
  justify-self: start;
  color: #243542;
  background: #ffffff;
  border: 1px solid var(--line);
}

.arkon-ai-msg.user {
  justify-self: end;
  color: #ffffff;
  background: var(--aqua-dark);
}

.arkon-ai-msg.pending {
  color: var(--muted);
}

.arkon-ai-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 10px 12px 0;
}

.arkon-ai-chips button {
  flex: 0 0 auto;
  border: 1px solid #cde5ec;
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--aqua-dark);
  background: #effafd;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
}

.arkon-ai-form,
.arkon-ai-lead-form {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.arkon-ai-form {
  grid-template-columns: 1fr auto;
}

.arkon-ai-form textarea,
.arkon-ai-lead-form input,
.arkon-ai-lead-form select,
.arkon-ai-lead-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cfdde4;
  border-radius: var(--radius);
  padding: 10px 11px;
  font: inherit;
  font-size: 0.9rem;
}

.arkon-ai-form textarea,
.arkon-ai-lead-form textarea {
  resize: vertical;
}

.arkon-ai-form button,
.arkon-ai-lead-form button {
  border: 0;
  border-radius: var(--radius);
  padding: 0 14px;
  color: #ffffff;
  background: var(--aqua-dark);
  font-weight: 800;
  cursor: pointer;
}

.arkon-ai-lead {
  border-top: 1px solid var(--line);
}

.arkon-ai-lead summary {
  cursor: pointer;
  padding: 12px;
  color: var(--aqua-dark);
  font-weight: 900;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 16px;
  }

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

  .nav-links a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .contact-grid,
  .service-grid,
  .knowledge-grid,
  .faq-grid,
  .process,
  .tech-wrap,
  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .article-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 64px;
  }

  .brand img {
    width: min(154px, 46vw);
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .icon-button:not(.mobile-toggle) {
    display: none;
  }

  .nav-actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 54px 0 78px;
    width: min(100%, 342px);
  }

  h1 {
    font-size: clamp(1.28rem, 6vw, 1.65rem);
    line-height: 1.16;
  }

  .page-hero {
    padding: 46px 0 38px;
  }

  .hero-lead {
    font-size: 0.92rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .hero-points {
    margin-top: 22px;
  }

  .contact-bar {
    margin-top: 0;
  }

  .contact-grid {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .section-head,
  .footer-row {
    display: block;
  }

  .footer-logo {
    margin-bottom: 16px;
  }

  .contact-item {
    min-height: auto;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
  }

  .arkon-ai {
    right: 14px;
    bottom: 78px;
  }

  .arkon-ai-button {
    width: 64px;
    min-height: 52px;
  }

  .arkon-ai-panel {
    bottom: 64px;
  }
}
