:root {
  --bg: #f6f8fb;
  --ink: #17212b;
  --muted: #5d6c7c;
  --line: #d9e2ec;
  --panel: #ffffff;
  --brand: #075f73;
  --brand-2: #0f8b8d;
  --accent: #d9922b;
  --dark: #101820;
  --radius: 8px;
  --shadow: 0 20px 60px rgba(16, 24, 32, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  background: var(--dark);
  color: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: space-between;
  padding: 0.8rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 226, 236, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: var(--radius);
  letter-spacing: 0;
}

.brand__text {
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-nav a,
.lang-switch {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 650;
}

.site-nav a:hover,
.lang-switch:hover {
  color: var(--ink);
  background: #edf5f6;
}

.lang-switch {
  border: 1px solid var(--line);
  background: #fff;
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 4rem);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.9), rgba(16, 24, 32, 0.62) 42%, rgba(16, 24, 32, 0.16)),
    url("/assets/hero-it.png") center / cover;
}

.hero__content,
.subhero {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.hero__content {
  max-width: 720px;
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 5.6rem);
  max-width: 12ch;
}

.hero p {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.button--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button--dark {
  color: var(--ink);
  border-color: rgba(16, 24, 32, 0.16);
  background: #eef3f7;
}

.section,
.subhero,
.cta {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem);
}

.subhero {
  width: auto;
  max-width: none;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 95, 115, 0.96), rgba(16, 24, 32, 0.9)),
    url("/assets/hero-it.png") center / cover;
}

.subhero > * {
  width: min(1100px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.subhero h1 {
  max-width: 14ch;
}

.subhero p:not(.eyebrow) {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.section {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section__head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.4rem;
}

.section__head h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.service-grid,
.three-col,
.problem-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.problem-card,
.package-card,
.detail-card,
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.problem-card {
  min-height: 14rem;
  padding: 1.25rem;
  border-top: 4px solid var(--accent);
}

.problem-card h3,
.package-card h3 {
  font-size: 1.18rem;
}

.problem-card p,
.package-card p {
  color: var(--muted);
}

.service-card {
  min-height: 15rem;
  padding: 1.25rem;
}

.service-card__icon {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  color: #fff;
  background: var(--brand);
  border-radius: var(--radius);
  font-weight: 900;
}

.service-card h3,
.detail-card h2 {
  font-size: 1.35rem;
}

.service-card p,
.detail-card p,
.detail-card li,
.prose p,
.contact-data p {
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 1rem;
}

.packages-head {
  margin-top: 2.5rem;
}

.package-card {
  min-height: 13rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, #ffffff, #f4fbfb);
}

.detail-card {
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.detail-card ul,
.detail-card ol {
  padding-left: 1.2rem;
}

.detail-card li + li {
  margin-top: 0.45rem;
}

.prose {
  max-width: 980px;
  font-size: 1.08rem;
}

.contact-strip,
.cta {
  margin-top: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--dark));
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2rem);
}

.contact-strip a {
  color: #fff;
  font-weight: 800;
}

.cta {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 4rem;
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
  align-self: start;
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form label {
  color: var(--ink);
  font-weight: 750;
}

.consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.consent-row input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.2rem;
}

.consent-row a,
.privacy-block a {
  color: var(--brand);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.privacy-block {
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.privacy-block h2 {
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
}

.cookie-banner,
.cookie-manage {
  position: fixed;
  z-index: 30;
}

.cookie-banner {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(16, 24, 32, 0.18);
}

.cookie-banner__body {
  display: grid;
  gap: 0.35rem;
}

.cookie-banner__title,
.cookie-banner__text {
  margin: 0;
}

.cookie-banner__title {
  font-size: 1.05rem;
  font-weight: 800;
}

.cookie-banner__text {
  color: var(--muted);
}

.cookie-banner__text a {
  color: var(--brand);
  font-weight: 800;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-manage {
  right: 1rem;
  bottom: 1rem;
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--dark);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(16, 24, 32, 0.24);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: rgba(255, 255, 255, 0.76);
  background: #101820;
}

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

.site-footer a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 750;
}

@media (max-width: 920px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .service-grid,
  .three-col,
  .problem-grid,
  .package-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 74vh;
    background:
      linear-gradient(90deg, rgba(16, 24, 32, 0.92), rgba(16, 24, 32, 0.68)),
      url("/assets/hero-it.png") center / cover;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .brand__text {
    display: none;
  }

  .site-nav a,
  .lang-switch {
    padding-inline: 0.65rem;
  }

  h1 {
    font-size: 2.35rem;
  }

}
