:root {
  --dark: #3d3233;
  --dark-2: #2e2526;
  --green: #7BA909;
  --green-dark: #668f06;
  --ink: #221A33;
  --text: #554F62;
  --line: #e6e3e1;
  --radius: 10px;
  --font: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; background: #f4f2f1; color: var(--text);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--green-dark); text-decoration: none; transition: color .15s, background-color .15s; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
h1, h2, h3 { color: var(--ink); font-family: var(--font); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: 2.4rem; font-weight: 300; letter-spacing: -.03em; }
h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.5rem; font-weight: 300; }
.text-red { color: #d62d20; }
.inner { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-block; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--green); color: #fff; font: 600 .95rem/1 var(--font);
  padding: .85em 1.9em; letter-spacing: .01em;
  box-shadow: 0 2px 8px rgba(123, 169, 9, .35);
  transition: background-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--green-dark); color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(123, 169, 9, .45); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* Header */
#site-header {
  background: var(--dark) url("../images/body.png") 0 0; position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
#site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
#homelink {
  display: block; flex: none; width: 227px; height: 89px;
  background: url("../images/sprites.png") no-repeat -16px -12px; transform: scale(.85); transform-origin: left center;
  margin-right: -34px;
}
#menu ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; margin: 0; padding: 0; list-style: none; }
#menu a {
  display: block; padding: .5em .8em; border-radius: 999px; white-space: nowrap;
  color: #e9e4e2; font-size: .9rem; font-weight: 600;
}
#menu a:hover { background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; }
#menu li.active a { background: var(--green); color: #fff; }

#tagline { background: var(--dark-2); color: #d8d1cf; }
#tagline .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
#header-text { font-size: 1rem; font-weight: 600; letter-spacing: .01em; }
#header-contact { padding: .6em 1.4em; font-size: .85rem; box-shadow: none; }

/* Content */
#container-middle {
  max-width: 992px; margin: 32px auto; padding: 40px 48px 48px;
  background: #fff; border-radius: var(--radius); box-shadow: 0 6px 30px rgba(61, 50, 51, .08);
}
#textarea { overflow: hidden; }
#textarea img { display: block; margin: 0 0 24px; border-radius: var(--radius); }
#textarea ul { margin: 0 0 2em 1.5em; list-style: disc; }
#textarea p { margin: 0 0 1em; }

#our-services { float: left; width: 42%; margin: 24px 0 0; padding: 24px 28px; background: #f4f2f1; border-radius: var(--radius); }
#our-services h2 { margin-top: 0; }
#our-services ul { list-style: none; margin: 0; padding: 0; }
#our-services li { background: url("../images/our-services.png") no-repeat left center; padding: .45em 0 .45em 36px; text-transform: uppercase; }
#our-services li a { color: var(--green-dark); font-weight: 700; font-size: .95rem; }
#info-box { float: right; width: 52%; margin: 24px 0 0; }
#info-box h2 { margin-top: 0; }

/* RPVS */
.rpvs { margin: 1.2em 0; padding: 24px 28px; background: #f4f2f1; border-left: 5px solid var(--green); border-radius: var(--radius); }
.rpvs h2 { margin-top: 0; }
.rpvs-price { display: inline-flex; align-items: center; gap: 14px; margin: .2em 0 1em; padding: 10px 26px 10px 20px; background: var(--green); color: #fff; border-radius: 999px; box-shadow: 0 4px 14px rgba(123, 169, 9, .4); }
.rpvs-price-label { font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .95; }
.rpvs-price-value { font-size: 2.4rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.rpvs-price-value small { font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-right: .2em; }
.rpvs ul { margin-bottom: 1.2em; }
.rpvs li { margin-bottom: .3em; }

/* Contact form */
#contact-form { clear: both; margin: 0; padding-top: 40px; }
#contact-form h3 { font-size: 1.6rem; margin-bottom: .4em; }
#contact-form .info { min-height: 1.4em; margin: 0 0 8px; font-weight: 600; }
#contact-form .info.ok { color: #3b7d1e; }
#contact-form .info.error { color: #c00; }
#form-contact-form { display: grid; grid-template-columns: 1fr 1.6fr; gap: 14px 16px; margin-top: 8px; }
#form-contact-form .fields { display: grid; gap: 14px; align-content: start; }
#form-contact-form input[type=text], #form-contact-form input[type=email], #form-contact-form textarea {
  width: 100%; border: 1px solid #d9d4d2; border-radius: 8px; background: #fbfaf9; color: var(--ink);
  font: 400 .95rem var(--font); padding: .8em 1em; transition: border-color .15s, box-shadow .15s, background .15s;
}
#form-contact-form textarea { height: 100%; min-height: 160px; resize: vertical; }
#form-contact-form input:focus, #form-contact-form textarea:focus {
  outline: 0; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(123, 169, 9, .2);
}
#form-contact-form ::placeholder { color: #9a9399; }
#form-contact-form .form-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
#form-contact-form .hp { position: absolute; left: -9999px; }

/* Footer */
#footer { background: var(--dark) url("../images/body.png") 0 0; color: #cfc8c6; padding: 28px 0; font-size: .8rem; }
#footer .inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
#footer a { color: #e9e4e2; }
#footer p { margin: 0; line-height: 1.5; }
#footer-customer { flex: none; width: 116px; height: 32px; background: url("../images/sprites.png") no-repeat -23px -210px; filter: brightness(0) invert(1); opacity: .85; }
#footer-site { flex: 1; }
#footer-webstudio { text-align: right; }
#footer-neonus { flex: none; width: 105px; height: 23px; background: url("../images/sprites.png") no-repeat -160px -214px; filter: brightness(0) invert(1); opacity: .85; }
#footer-customer:hover, #footer-neonus:hover { opacity: 1; }

/* Cookie consent (TermsFeed) */
body .termsfeed-com---palette-dark.termsfeed-com---nb {
  position: fixed; right: 2rem; left: unset; bottom: 2rem; width: 290px; height: auto;
  box-sizing: border-box; border-radius: 12px; box-shadow: 0 1px 20px rgb(61 50 51 / 56%);
  background-color: #3d3233; color: #fff; font-family: var(--font);
}
body .termsfeed-com---palette-dark.termsfeed-com---nb .cc-nb-main-container { padding: 2rem; }
body .termsfeed-com---palette-dark.termsfeed-com---nb .cc-nb-buttons-container .cc-nb-okagree,
body .termsfeed-com---palette-dark.termsfeed-com---nb .cc-nb-buttons-container .cc-nb-reject {
  background-color: #e51c2f; color: #fff; border-radius: 999px;
}
.termsfeed-com---palette-dark .cc-nb-changep { background-color: #eaeaea; color: #3d3233; border-radius: 999px; }
@media screen and (max-width: 400px) {
  body .termsfeed-com---palette-dark.termsfeed-com---nb { left: 1rem; bottom: 1rem; width: calc(100% - 2rem); }
  body .termsfeed-com---palette-dark.termsfeed-com---nb .cc-nb-main-container { padding: 1.2rem; }
}

/* Hamburger */
#menu-toggle {
  display: none; flex: none; width: 44px; height: 44px; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .1); border: 0; border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: background-color .15s;
}
#menu-toggle:hover { background: rgba(255, 255, 255, .2); }
#menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-open #menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open #menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open #menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Responsive */
@media (max-width: 860px) {
  #site-header { position: static; }
  #site-header .inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; gap: 0; min-height: 0; }
  #homelink { margin-right: 0; }
  #menu-toggle { display: flex; }
  #menu { display: none; flex-basis: 100%; padding-top: 12px; }
  .menu-open #menu { display: block; }
  #menu ul { flex-direction: column; gap: 2px; }
  #menu a { padding: .75em 1em; font-size: 1rem; }
  #container-middle { margin: 16px 12px; padding: 24px 20px 32px; }
  #our-services, #info-box { float: none; width: auto; }
  #info-box { margin-top: 24px; }
  #form-contact-form { grid-template-columns: 1fr; }
  #form-contact-form .form-actions { justify-content: stretch; flex-wrap: wrap; }
  h1 { font-size: 1.9rem; }
  #tagline .inner { flex-direction: column; align-items: flex-start; }
  #footer-webstudio { text-align: left; }
}
