:root {
  --ink: #18222d;
  --muted: #5c6875;
  --paper: #f7f9f8;
  --panel: #ffffff;
  --soft: #edf4f1;
  --line: #d9e2df;
  --primary: #0b4a53;
  --primary-2: #116c73;
  --accent: #f2b84b;
  --accent-2: #d96b3f;
  --success: #0d7b59;
  --shadow: 0 18px 44px rgba(24, 34, 45, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(242, 184, 75, 0.9);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--accent);
  color: #161207;
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 249, 248, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--primary-2);
}

.nav-action {
  padding: 11px 16px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #07151c;
}

.subhero {
  min-height: auto;
  padding: 92px 0 74px;
  background:
    linear-gradient(135deg, rgba(11, 74, 83, 0.95), rgba(24, 34, 45, 0.96)),
    radial-gradient(circle at 80% 20%, rgba(242, 184, 75, 0.22), transparent 32%);
  color: white;
}

.hero-slides,
.hero-slide,
.hero-slide img,
.hero-image {
  position: absolute;
  inset: 0;
}

.hero-slide {
  margin: 0;
  opacity: 0;
  transition: opacity 1200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide.is-active img {
  animation: heroDrift 7600ms ease-out forwards;
}

.hero-slide img,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-main-street img {
  object-position: 64% center;
}

.slide-restaurant img {
  object-position: 66% center;
}

.slide-home-services img {
  object-position: 70% center;
}

.slide-professional-services img {
  object-position: 68% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 18, 26, 0.62) 0%, rgba(5, 18, 26, 0.38) 42%, rgba(5, 18, 26, 0.05) 100%),
    linear-gradient(0deg, rgba(5, 18, 26, 0.08), rgba(255, 255, 255, 0.05));
}

.hero-content,
.subhero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-content {
  padding: 82px 0 96px;
  color: white;
  z-index: 3;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5.3vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.headline-main,
.headline-sub {
  display: block;
  line-height: 1;
}

.headline-main {
  max-width: 760px;
  color: white;
  font-size: clamp(2rem, 3.85vw, 3.95rem);
  line-height: 1.04;
}

.headline-sub {
  max-width: 720px;
  margin-top: 16px;
  color: var(--accent);
  font-size: clamp(1.72rem, 3.45vw, 3.55rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.08;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.22;
  margin-bottom: 10px;
}

.hero-copy,
.subhero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.primary {
  background: var(--accent);
  color: #171205;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: white;
}

.light-secondary {
  border: 1px solid var(--line);
  color: var(--primary);
  background: white;
}

.wide {
  width: 100%;
}

.quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-stats span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
}

.pause {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.intro,
.compare,
.trust-grid,
.contact,
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
  gap: 44px;
  align-items: start;
}

.intro {
  align-items: end;
}

.intro p,
.feature-card p,
.service-card p,
.panel p,
.definition-list p,
.steps p,
.portfolio-card p,
.faq-list p,
.contact p,
.footer p,
.pricing-card p,
.pricing-card li,
.compare-table,
.legal-card p,
.legal-card li,
.helper-card p,
.placeholder-note {
  color: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.feature-grid,
.service-grid,
.portfolio-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.service-card,
.portfolio-card,
.pricing-card,
.helper-card,
.contact-form,
.legal-card,
.definition-list article,
.steps article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-card,
.service-card,
.portfolio-card,
.helper-card,
.definition-list article,
.steps article {
  padding: 26px;
}

.feature-card {
  min-height: 230px;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 900;
}

.service-label,
.portfolio-card span,
.plan-note {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
}

.muted-card {
  background: #fbfcfb;
}

.panel {
  padding: 34px;
  border-radius: 8px;
}

.dark-panel {
  background: var(--primary);
  color: white;
}

.dark-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.dark-panel .button {
  margin-top: 10px;
}

.definition-list {
  display: grid;
  gap: 16px;
}

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

.steps span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary-2);
  font-weight: 900;
}

.portfolio-card {
  min-height: 210px;
}

.trust {
  background: var(--soft);
  width: 100%;
  max-width: none;
  padding: 78px calc((100% - min(1180px, calc(100% - 32px))) / 2);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
}

.contact-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-link {
  color: var(--primary);
  font-weight: 900;
}

.contact-form {
  padding: 26px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: white;
  color: var(--ink);
}

.form-message {
  min-height: 24px;
  margin-bottom: 14px;
  color: var(--primary);
  font-weight: 800;
}

.form-message.error {
  color: #a83c23;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: rgba(17, 108, 115, 0.48);
  box-shadow: 0 18px 50px rgba(17, 108, 115, 0.16);
}

.price {
  margin: 12px 0 18px;
  color: var(--primary);
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 900;
}

.price small {
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-card ul,
.legal-card ul {
  padding-left: 18px;
}

.pricing-card li,
.legal-card li {
  margin-bottom: 9px;
}

.pricing-card .button {
  margin-top: auto;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.compare-table th {
  color: var(--ink);
  background: #fbfcfb;
}

.selector {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: start;
}

.question-group {
  display: grid;
  gap: 12px;
}

.question-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.question-card label {
  display: flex;
  gap: 8px;
  align-items: center;
}

.recommendation {
  position: sticky;
  top: 96px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  padding: 28px;
}

.recommendation p {
  color: rgba(255, 255, 255, 0.78);
}

.legal-card {
  padding: 34px;
}

.legal-card h2 {
  font-size: 1.55rem;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.4%, -0.8%, 0);
  }
}

@media (max-width: 980px) {
  .nav {
    min-height: 68px;
  }

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

  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

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

  .nav-action {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 18, 26, 0.62) 0%, rgba(5, 18, 26, 0.46) 58%, rgba(5, 18, 26, 0.22) 100%),
      linear-gradient(0deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.08));
  }

  .slide-main-street img {
    object-position: 68% center;
  }

  .slide-restaurant img {
    object-position: 68% center;
  }

  .slide-home-services img {
    object-position: 72% center;
  }

  .slide-professional-services img {
    object-position: 72% center;
  }

  .intro,
  .compare,
  .trust-grid,
  .contact,
  .legal-layout,
  .selector {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .service-grid,
  .portfolio-grid,
  .pricing-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recommendation {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav,
  .hero-content,
  .subhero-content,
  .section,
  .footer {
    width: min(100% - 22px, 1180px);
  }

  .brand span:last-child {
    max-width: 176px;
    line-height: 1.1;
  }

  .hero-content {
    padding: 58px 0 76px;
  }

  .hero-slide img,
  .hero-image {
    height: 100%;
  }

  .slide-main-street img {
    object-position: 72% center;
  }

  .slide-restaurant img {
    object-position: 74% center;
  }

  .slide-home-services img {
    object-position: 76% center;
  }

  .slide-professional-services img {
    object-position: 74% center;
  }

  .hero-copy,
  .subhero-copy {
    font-size: 1rem;
  }

  .section {
    padding: 62px 0;
  }

  .trust {
    padding: 62px 11px;
  }

  .feature-grid,
  .service-grid,
  .portfolio-grid,
  .pricing-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer {
    display: block;
  }

  .footer-links {
    margin-top: 20px;
  }
}
