:root {
  --bg: #f8fafc;
  --bg-dark: #0f172a;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --primary: #10b981;
  --primary-dark: #059669;
  --footer: #020617;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

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

.header-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.site-brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-custom-logo {
  display: block;
  max-height: 42px;
  width: auto;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: .55rem;
  background: var(--primary);
  color: #fff;
}

.brand-text {
  font-size: 1.1rem;
}

.menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  font-weight: 700;
  color: #334155;
}

.menu a:hover {
  color: var(--primary);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.2rem;
}

.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: .6rem 1rem 1rem;
}

.mobile-menu {
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
}

.mobile-menu a {
  display: block;
  width: 100%;
  padding: .6rem .2rem;
}

.section {
  padding: 5rem 0;
}

.section-muted {
  background: #f1f5f9;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  align-items: center;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .32rem .75rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-dark);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.dot {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: var(--primary);
}

.hero h1 {
  margin: 1rem 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.hero p {
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.hero-media {
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 2.1rem;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  letter-spacing: -.02em;
}

.section-title p {
  margin: .5rem 0 0;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}

.card-icon {
  display: inline-flex;
  width: 2.7rem;
  height: 2.7rem;
  align-items: center;
  justify-content: center;
  border-radius: .7rem;
  color: var(--primary-dark);
  background: rgba(16, 185, 129, 0.12);
}

.card h3 {
  margin: .9rem 0 .4rem;
  font-size: 1.4rem;
}

.card p {
  color: var(--muted);
  margin: 0 0 .9rem;
}

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

.card li {
  margin: .4rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.card li::before {
  content: "";
  position: absolute;
  top: .62rem;
  left: 0;
  width: .45rem;
  height: .45rem;
  border-radius: 99px;
  background: var(--primary);
}

.contact-box {
  border-radius: 1.2rem;
  border: 1px solid rgba(16, 185, 129, 0.18);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.07), #ffffff);
  padding: clamp(1.2rem, 3.2vw, 2.4rem);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
}

.contact-form-trap {
  position: absolute;
  left: -9999px;
}

.form-feedback {
  margin-bottom: 1rem;
  padding: .8rem 1rem;
  border-radius: .7rem;
  font-weight: 700;
}

.form-feedback-error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.contact-form label {
  display: grid;
  gap: .38rem;
  font-weight: 700;
  font-size: .95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: .7rem;
  padding: .8rem .95rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(16, 185, 129, 0.35);
  border-color: var(--primary);
}

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .78rem 1.15rem;
  border-radius: .72rem;
  font-weight: 800;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #e2e8f0;
  color: #0f172a;
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 2.5rem 0;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #1e293b;
}

.footer-menu a {
  color: #94a3b8;
}

.footer-copy {
  color: #64748b;
  font-size: .82rem;
  margin: 1rem 0 0;
}

.bottom-nav {
  position: sticky;
  bottom: 0;
  z-index: 19;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.bottom-nav a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .65rem .2rem .95rem;
  color: #64748b;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.bottom-nav a.active,
.bottom-nav a:hover {
  color: var(--primary-dark);
}

.content-simple article h1,
.content-simple article h2,
.content-simple > h1 {
  line-height: 1.2;
  letter-spacing: -.02em;
}

.adeviosystem-page-content {
  max-width: 760px;
}

.entry-title {
  margin-top: 0;
  margin-bottom: 1rem;
}

.builder-content {
  min-height: 40vh;
}

.builder-content > *:first-child {
  margin-top: 0;
}

.thanks-page .container {
  width: min(760px, 92%);
}

.thanks-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.thanks-hero {
  height: 220px;
  background: rgba(16, 185, 129, 0.12);
}

.thanks-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thanks-content {
  padding: clamp(1.2rem, 4.2vw, 2.1rem);
}

.thanks-check {
  width: 3rem;
  height: 3rem;
  border-radius: .7rem;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.thanks-content h1 {
  margin: 1rem 0 .6rem;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  line-height: 1.2;
}

.thanks-lead {
  margin: 0;
  color: var(--muted);
}

.thanks-content hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.4rem 0;
}

.thanks-content h2 {
  margin: 0 0 .8rem;
  font-size: 1.2rem;
}

.thanks-services {
  display: grid;
  gap: .75rem;
}

.thanks-service {
  border: 1px solid #f1f5f9;
  border-radius: .8rem;
  background: #f8fafc;
  display: grid;
  grid-template-columns: 2.7rem 1fr;
  gap: .7rem;
  padding: .9rem;
}

.thanks-service h3 {
  margin: .1rem 0 .2rem;
  font-size: 1.05rem;
}

.thanks-service p {
  margin: 0;
  color: var(--muted);
}

.thanks-service-icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: .7rem;
  color: var(--primary-dark);
  background: rgba(16, 185, 129, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.thanks-cta {
  margin-top: 1rem;
  width: 100%;
}

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

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

  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .thanks-hero {
    height: 260px;
  }

  .thanks-cta {
    width: auto;
  }
}

@media (min-width: 960px) {
  .desktop-nav {
    display: inline-flex;
  }

  .mobile-toggle,
  .mobile-nav,
  .bottom-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
  }

  .section {
    padding: 6rem 0;
  }
}
