:root {
  --bg: #f3f7f9;
  --surface: #ffffff;
  --surface-soft: #ebf2f5;
  --ink: #0f1f28;
  --ink-soft: #445862;
  --primary: #006f7a;
  --primary-strong: #005159;
  --accent: #ff7b42;
  --line: #d4e1e7;
  --shadow: 0 18px 45px rgba(12, 31, 45, 0.09);
  --input-bg: #fcfeff;
  --card-bg: linear-gradient(160deg, #ffffff, #eff6f9);
  --body-grad-left: #def4ff;
  --body-grad-right: #ffe7d9;
  --topbar-bg: rgba(243, 247, 249, 0.82);
  --topbar-line: rgba(255, 255, 255, 0.65);
  --ambient-left: #8dd8e0;
  --ambient-right: #ffc9ae;
}

html {
  color-scheme: light dark;
}

html[data-theme="dark"] {
  --bg: #0c1419;
  --surface: #132028;
  --surface-soft: #1b2d37;
  --ink: #ecf4f8;
  --ink-soft: #a9bec8;
  --primary: #1ab9c6;
  --primary-strong: #0d8f9b;
  --accent: #ff9a6d;
  --line: #2b4554;
  --shadow: 0 18px 45px rgba(1, 6, 10, 0.35);
  --input-bg: #0f1a20;
  --card-bg: linear-gradient(160deg, #132028, #1b2d37);
  --body-grad-left: #0d2f3a;
  --body-grad-right: #40291d;
  --topbar-bg: rgba(9, 18, 24, 0.88);
  --topbar-line: rgba(63, 94, 112, 0.5);
  --ambient-left: #0f7e8d;
  --ambient-right: #a85832;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --bg: #0c1419;
    --surface: #132028;
    --surface-soft: #1b2d37;
    --ink: #ecf4f8;
    --ink-soft: #a9bec8;
    --primary: #1ab9c6;
    --primary-strong: #0d8f9b;
    --accent: #ff9a6d;
    --line: #2b4554;
    --shadow: 0 18px 45px rgba(1, 6, 10, 0.35);
    --input-bg: #0f1a20;
    --card-bg: linear-gradient(160deg, #132028, #1b2d37);
    --body-grad-left: #0d2f3a;
    --body-grad-right: #40291d;
    --topbar-bg: rgba(9, 18, 24, 0.88);
    --topbar-line: rgba(63, 94, 112, 0.5);
    --ambient-left: #0f7e8d;
    --ambient-right: #a85832;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at -15% -5%, var(--body-grad-left), transparent 60%),
    radial-gradient(1200px 600px at 110% 5%, var(--body-grad-right), transparent 55%), var(--bg);
  line-height: 1.55;
}

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

.ambient {
  position: fixed;
  z-index: -1;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.45;
  pointer-events: none;
}

.ambient-left {
  left: -110px;
  top: 20%;
  background: var(--ambient-left);
}

.ambient-right {
  right: -80px;
  top: 65%;
  background: var(--ambient-right);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px min(4vw, 40px);
  backdrop-filter: blur(14px);
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--topbar-line);
}

.brand {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.topbar nav {
  display: flex;
  gap: min(3vw, 28px);
  font-weight: 600;
  color: var(--ink-soft);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
}

.theme-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
}

.topbar nav a:hover {
  color: var(--ink);
}

main {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.hero {
  padding: clamp(2rem, 4vw, 3.6rem) 0 2.5rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Syne", sans-serif;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2rem, 5.4vw, 4rem);
  max-width: 17ch;
}

.lead {
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  margin: 1.25rem 0 0;
}

.hero-actions {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border: 0;
  border-radius: 13px;
  padding: 0.82rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(130deg, var(--primary), var(--primary-strong));
  color: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  box-shadow: 0 10px 24px rgba(0, 102, 112, 0.28);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-small {
  padding: 0.62rem 0.9rem;
  font-size: 0.92rem;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.kpis {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.kpis article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.kpis span {
  display: block;
  font-weight: 800;
  font-size: 1.38rem;
  font-family: "Syne", sans-serif;
}

.kpis p {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.section {
  margin: clamp(2rem, 5vw, 4rem) 0;
}

.section-head {
  margin-bottom: 1.2rem;
}

.section h2 {
  font-size: clamp(1.6rem, 3.1vw, 2.5rem);
  max-width: 24ch;
}

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.card p {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
}

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

.timeline article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.timeline span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--surface-soft);
  font-weight: 800;
  color: var(--primary-strong);
}

.timeline p {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
}

.review-note {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.reviews-carousel {
  overflow: hidden;
  border-radius: 18px;
}

.reviews-track {
  display: flex;
  gap: 14px;
  will-change: transform;
  transition: transform 520ms ease;
}

.review-card {
  flex: 0 0 calc((100% - 28px) / 3);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.review-image {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.review-meta {
  padding: 0.95rem 1rem 1.05rem;
}

.review-stars {
  margin: 0 0 0.45rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  font-weight: 700;
}

.review-meta p {
  margin: 0;
}

.review-name {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-weight: 650;
  font-size: 0.95rem;
}

.reviews-indicators {
  margin-top: 0.8rem;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.reviews-indicator {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--line);
}

.reviews-indicator.active {
  background: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
}

.contact-form,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.38rem;
  margin-bottom: 0.7rem;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  font: inherit;
  color: inherit;
  background: var(--input-bg);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(0, 111, 122, 0.2);
  border-color: var(--primary);
}

.checkbox {
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 9px;
  font-size: 0.94rem;
}

.checkbox input {
  width: 1rem;
  height: 1rem;
}

.form-status {
  min-height: 1.2rem;
  margin: 0.72rem 0 0;
  color: var(--ink-soft);
}

.form-status.success {
  color: #0c723d;
}

.form-status.error {
  color: #a22525;
}

.contact-card h3 {
  font-size: 1.3rem;
}

.contact-card p {
  color: var(--ink-soft);
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-card li {
  margin-bottom: 0.45rem;
  color: var(--ink-soft);
}

.footer {
  width: min(1180px, 92vw);
  margin: 2.2rem auto 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: 1fr;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    flex-basis: calc((100% - 14px) / 2);
  }

  .kpis {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .topbar {
    flex-wrap: wrap;
  }

  .topbar nav {
    width: 100%;
    order: 2;
    justify-content: space-between;
  }

  .topbar-actions {
    order: 1;
    margin-left: auto;
  }

  h1 {
    max-width: 12ch;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .review-card {
    flex-basis: 100%;
  }
}
