﻿:root {
  --c-bg: #e3e8e5;
  --c-dark: #0d2b1d;
  --c-ink: #08150f;
  --c-accent: #374336;
  --c-soft: #ccdfd6;
  --font-display: 'Syncopate', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(90rem 40rem at 0% -10%, #304538 0%, transparent 60%),
    radial-gradient(90rem 50rem at 100% 0%, #1e3528 0%, transparent 62%),
    linear-gradient(180deg, #091710 0%, #0f2218 38%, #13261c 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #e9f0eb;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
}

a { color: inherit; text-decoration: none; }

.container {
  position: relative;
  z-index: 2;
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(9px);
  background: rgba(6, 16, 11, .78);
  border-bottom: 1px solid rgba(204, 223, 214, .15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.brand {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .08em;
  color: #f3f8f5;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid rgba(204, 223, 214, .24);
  border-radius: 999px;
  background: rgba(7, 17, 12, .55);
  color: #f3f8f5;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

nav a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #ccdfd6;
}

nav a:hover,
nav a.active {
  background: #ccdfd6;
  color: #0d2b1d;
  border-color: #ccdfd6;
}

.hero {
  padding: 96px 0 34px;
}

.hero .eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(204, 223, 214, .35);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #d8e7e0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 52px);
  line-height: 1.08;
  margin: 0 0 16px;
  color: #f0f6f2;
}

.hero p {
  max-width: 760px;
  font-size: 18px;
  color: #b6c7bf;
}

.section {
  padding: 30px 0;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 4vw, 30px);
  margin: 0 0 14px;
  color: #f0f6f2;
}

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card,
.media-card {
  background: linear-gradient(160deg, rgba(14, 33, 24, .9), rgba(7, 17, 12, .95));
  border: 1px solid rgba(204, 223, 214, .17);
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .24);
}

.card {
  padding: 18px;
}

.media-card {
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(204, 223, 214, .38);
}

.media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: brightness(.78) saturate(1.05);
  transition: transform .7s ease;
}

.media-card:hover img {
  transform: scale(1.06);
}

.media-card .content {
  padding: 15px;
}

.media-card h3,
.card h3 {
  margin: 0;
  color: #f2f7f4;
}

.media-card p,
.card p {
  margin: 8px 0 0;
  color: #b9c8c1;
}

.cover {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(204, 223, 214, .22);
  box-shadow: 0 24px 34px rgba(0, 0, 0, .28);
}

.cover img {
  display: block;
  width: 100%;
  height: clamp(240px, 42vw, 460px);
  object-fit: cover;
  filter: brightness(.78) saturate(1.06);
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  padding: 12px 17px;
  border-radius: 999px;
  border: 1px solid rgba(204, 223, 214, .45);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: transparent;
  color: #e3efe9;
}

.btn:hover {
  border-color: #ccdfd6;
  background: rgba(204, 223, 214, .1);
}

.btn.primary {
  background: #ccdfd6;
  color: #0d2b1d;
  border-color: #ccdfd6;
}

.btn:disabled,
.btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.tag {
  border: 1px solid rgba(204, 223, 214, .36);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: #d8e7e0;
}

.model-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  align-items: start;
}

.blog-entry-layout {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
}

.blog-entry-layout > aside {
  order: 1;
}

.blog-entry-layout > article {
  order: 2;
}

.blog-entry-layout > article .btns {
  justify-content: flex-end;
}

.blog-content h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}

.blog-content p {
  margin-top: 0;
  margin-bottom: 12px;
}

.gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(204, 223, 214, .2);
  filter: brightness(.82);
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.form-grid label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: #d1dfd8;
}

.phone-inline {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  align-items: end;
}

.phone-inline label {
  display: grid;
  gap: 7px;
}

.access-grid {
  grid-template-columns: 1fr;
  justify-content: stretch;
  align-items: end;
}

.access-input {
  width: 100%;
  max-width: 220px;
}

.access-grid label {
  font-size: 12px;
  letter-spacing: .03em;
}

.access-phone-inline {
  grid-template-columns: minmax(130px, 180px) minmax(170px, 220px);
  justify-content: stretch;
}

.access-card-compact {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.access-pdf-card {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.client-step-compact {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.client-intro {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(204, 223, 214, .22);
  border-radius: 10px;
  background: rgba(7, 15, 11, .45);
}

.client-intro p {
  margin: 0 0 8px;
  color: #dbe8e1;
}

.client-intro p:last-child {
  margin-bottom: 0;
}

.form-grid-client {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .span-2 {
  grid-column: span 2;
}

.hidden {
  display: none !important;
}

#wizard-form {
  position: relative;
}

#wizard-form.wizard-teaser-active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(3, 8, 6, .48);
  backdrop-filter: blur(1px);
  z-index: 6;
}

#wizard-form.wizard-teaser-active #wizard-step-pdf {
  position: relative;
  z-index: 2;
  filter: blur(7px);
  opacity: .55;
  pointer-events: none;
  user-select: none;
}

#wizard-form.wizard-teaser-active #wizard-step-client,
#wizard-form.wizard-teaser-active #wizard-step-channel,
#wizard-form.wizard-teaser-active #wizard-step-verify,
#wizard-form.wizard-teaser-active #wizard-step-limit,
#wizard-form.wizard-teaser-active #wizard-result {
  position: relative;
  z-index: 10;
}

#wizard-form.wizard-teaser-active #wizard-step-client,
#wizard-form.wizard-teaser-active #wizard-step-channel,
#wizard-form.wizard-teaser-active #wizard-step-verify,
#wizard-form.wizard-teaser-active #wizard-step-limit {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(204, 223, 214, .26);
  background: linear-gradient(160deg, rgba(14, 33, 24, .95), rgba(7, 17, 12, .97));
  box-shadow: 0 18px 34px rgba(0, 0, 0, .34);
}

.check-consent {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  gap: 10px;
  margin-top: 14px;
  color: #d1dfd8;
  font-size: 13px;
}

.check-consent input {
  width: auto;
}

.form-legal-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 0;
  font-size: 13px;
  color: #c8d8d1;
}

.form-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(204, 223, 214, .28);
  background: rgba(7, 15, 11, .78);
  color: #ecf5f0;
  font-family: var(--font-body);
}

input::placeholder,
textarea::placeholder {
  color: #9db0a6;
}

#wizard-result,
#access-result {
  margin-top: 16px;
  color: #dbe9e2;
}

.legal-note {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(204, 223, 214, .22);
  background: rgba(7, 15, 11, .42);
  font-size: 13px;
  color: #c8d8d1;
}

.legal-note-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.legal-note-check input {
  width: auto;
  margin-top: 2px;
}

.warning-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffe082;
}

.warning-triangle {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 18px solid #ffd54f;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, .35));
}

.verify-inline-error {
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: #ffe082;
  text-align: right;
}

.surface-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 16px;
}

.surface-question {
  font-size: clamp(18px, 2.2vw, 24px) !important;
}

.surface-option {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(204, 223, 214, .24);
  border-radius: 12px;
  cursor: pointer;
  background: rgba(7, 15, 11, .48);
  transition: border-color .2s ease, transform .2s ease;
}

.surface-option:hover {
  border-color: rgba(204, 223, 214, .5);
  transform: translateY(-2px);
}

.surface-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.surface-option img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(204, 223, 214, .2);
}

#wizard-step-next .surface-option img {
  aspect-ratio: 16 / 10;
  object-position: center;
}

#wizard-step-urgency .surface-option img {
  aspect-ratio: 1 / 1;
  object-position: center;
}

.surface-option span {
  font-size: 16px;
  font-weight: 600;
  color: #dbe8e1;
  width: 100%;
  text-align: right;
}

.channel-grid .surface-option {
  align-items: center;
}

.channel-icon {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  border: 1px solid rgba(204, 223, 214, .2);
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .04em;
}

.channel-icon-wa {
  background: linear-gradient(160deg, #1f8c4f, #0f5a31);
  color: #eff8f2;
}

#edging-selected-label {
  margin: 0 0 10px;
  font-size: 16px;
  color: #dbe8e1;
}

.edging-ml-layout {
  display: grid;
  gap: 16px;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
}

.edging-selected-gallery {
  margin-top: 0;
}

.edging-ml-fields {
  grid-template-columns: 1fr;
  align-content: start;
}

.surface-option:has(input:checked) {
  border-color: #ccdfd6;
  box-shadow: 0 0 0 1px rgba(204, 223, 214, .35) inset;
}

.extras-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 8px;
}

.extra-block {
  border: 1px solid rgba(204, 223, 214, .24);
  border-radius: 12px;
  padding: 12px;
  background: rgba(7, 15, 11, .38);
  margin-top: 16px;
}

.extra-block p {
  margin: 0 0 10px;
  font-size: 16px;
  color: #dbe8e1;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(204, 223, 214, .26);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(7, 15, 11, .52);
  cursor: pointer;
}

.pill-option input {
  width: auto;
}

.surface-selected {
  margin-top: 18px;
  border: 1px solid rgba(204, 223, 214, .22);
  border-radius: 12px;
  padding: 10px;
  background: rgba(7, 15, 11, .4);
}

.surface-m2-layout {
  display: grid;
  gap: 14px;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
}

.surface-selected img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(204, 223, 214, .2);
}

#selected-surface-title {
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: #dbe8e1;
}

#m2-fields-container {
  margin-top: 0;
}

#m2-fields-container .form-grid,
#m2-fields-container.form-grid {
  grid-template-columns: 1fr;
}

#m2-fields-container label {
  font-size: 18px;
  font-weight: 700;
}

#m2-fields-container input {
  font-size: 18px;
  padding: 14px 14px;
}

.retirada-question {
  margin: 18px 0 8px;
  font-size: 16px;
  color: #dbe8e1;
}

#wizard-step-double-mesh img {
  width: 100%;
  max-width: 420px;
  border: 1px solid rgba(204, 223, 214, .2);
  border-radius: 10px;
  margin: 8px 0 12px;
}

@media (max-width: 860px) {
  .surface-m2-layout {
    grid-template-columns: 1fr;
  }
  .edging-ml-layout {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  margin-top: 42px;
  padding: 22px 0 38px;
  border-top: 1px solid rgba(204, 223, 214, .18);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9fb1a8;
}

code {
  background: rgba(204, 223, 214, .14);
  border: 1px solid rgba(204, 223, 214, .2);
  padding: 2px 6px;
  border-radius: 6px;
}

@media (max-width: 860px) {
  nav ul { overflow-x: auto; white-space: nowrap; padding-bottom: 6px; }
  .site-header .container { flex-direction: column; align-items: flex-start; }
  .model-layout { grid-template-columns: 1fr; }
  .hero p { font-size: 16px; }
  .form-grid .span-2 { grid-column: span 1; }
  .phone-inline,
  .access-phone-inline {
    grid-template-columns: 1fr;
  }
  .access-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
  .form-grid-client {
    grid-template-columns: 1fr;
  }
}

.reveal-ready {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity .58s ease, transform .72s cubic-bezier(.19,.75,.23,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready,
  .reveal-ready.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.btns.btns-right {
  width: 100%;
  justify-content: flex-end !important;
  text-align: right;
}

.calculating-card {
  text-align: center;
  padding: 34px 18px;
}

.calc-loader {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.calc-loader span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ccdfd6;
  animation: calc-pulse 1s infinite ease-in-out;
}

.calc-loader span:nth-child(2) { animation-delay: .16s; }
.calc-loader span:nth-child(3) { animation-delay: .32s; }

@keyframes calc-pulse {
  0%, 80%, 100% { transform: scale(.7); opacity: .55; }
  40% { transform: scale(1.05); opacity: 1; }
}

.pdf-frame-wrap {
  margin-top: 14px;
  border: 1px solid rgba(204, 223, 214, .24);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(7, 15, 11, .52);
}

#budget-pdf-frame {
  display: block;
  width: 100%;
  min-height: 760px;
  border: none;
  background: #fff;
}

.pdf-lines {
  margin-top: 14px;
  margin-bottom: 18px;
  display: grid;
  gap: 8px;
}

.pdf-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(204, 223, 214, .2);
  background: rgba(7, 15, 11, .35);
}

.pdf-summary-card {
  position: relative;
  display: grid;
  min-height: 180px;
  margin-bottom: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(14, 33, 24, .9), rgba(7, 17, 12, .95));
}

.pdf-summary-card::before {
  content: "Doncesped.com  Doncesped.com  Doncesped.com\A Doncesped.com  Doncesped.com  Doncesped.com\A Doncesped.com  Doncesped.com  Doncesped.com\A Doncesped.com  Doncesped.com  Doncesped.com\A Doncesped.com  Doncesped.com  Doncesped.com\A Doncesped.com  Doncesped.com  Doncesped.com\A Doncesped.com  Doncesped.com  Doncesped.com\A Doncesped.com  Doncesped.com  Doncesped.com\A Doncesped.com  Doncesped.com  Doncesped.com\A Doncesped.com  Doncesped.com  Doncesped.com";
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  white-space: pre;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 2.1;
  color: rgba(214, 226, 220, .08);
  transform: rotate(-24deg);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.pdf-summary-card > * {
  position: relative;
  z-index: 1;
}

.pdf-summary-totals {
  margin-top: auto;
  margin-left: auto;
  width: auto;
  display: grid;
  gap: 10px;
  justify-items: end;
  justify-content: end;
  text-align: right !important;
}

.pdf-summary-row {
  display: inline-grid;
  grid-template-columns: auto auto;
  column-gap: 2.2rem;
  align-items: center;
  min-width: 290px;
  padding: 9px 12px;
  border: 1px solid rgba(204, 223, 214, .24);
  border-radius: 10px;
  background: rgba(7, 15, 11, .4);
  text-align: right;
  justify-self: end;
}

.pdf-summary-row strong {
  text-align: right !important;
  justify-self: end;
}

.pdf-summary-row strong:last-child {
  text-align: right;
  min-width: 120px;
}

.pdf-viewer-card {
  position: relative;
  margin-top: 16px;
  background: linear-gradient(160deg, rgba(14, 33, 24, .9), rgba(7, 17, 12, .95));
}

.pdf-processing-overlay {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: grid;
  place-items: center;
  background: rgba(7, 15, 11, .62);
  backdrop-filter: blur(3px);
  border-radius: 14px;
}

.pdf-processing-box {
  width: min(92%, 620px);
  text-align: center;
  padding: 20px 16px;
  border-radius: 12px;
  border: 1px solid rgba(204, 223, 214, .28);
  background: rgba(9, 20, 14, .92);
  color: #e6f1eb;
}

.pdf-processing-box p {
  margin: 0 0 10px;
}

.pdf-processing-box p:last-child {
  margin-bottom: 0;
  color: #c9dad2;
}

#access-pdf-frame {
  display: block;
  width: 100%;
  min-height: 840px;
  border: none;
  background: #fff;
}

#access-form input[name="codigo_4"],
#access-form input[name="telefono"] {
  text-align: right;
}

.pdf-summary-card #budget-summary {
  margin-top: 22px;
}

.upload-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.upload-preview-item {
  border: 1px solid rgba(204, 223, 214, .28);
  border-radius: 10px;
  background: rgba(7, 15, 11, .42);
  padding: 8px;
  display: grid;
  gap: 6px;
}

.upload-preview-item img {
  width: 100%;
  height: 95px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(204, 223, 214, .2);
}

.upload-preview-name {
  font-size: 12px;
  line-height: 1.3;
  color: #d9e7e0;
  word-break: break-word;
}

.upload-preview-remove {
  justify-self: end;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 111, 111, .45);
  background: rgba(122, 32, 32, .45);
  color: #ffd7d7;
  font-size: 11px;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 120;
  width: min(460px, calc(100vw - 36px));
  border: 1px solid rgba(204, 223, 214, .18);
  border-radius: 12px;
  background: rgba(233, 236, 233, .96);
  box-shadow: 0 24px 44px rgba(0, 0, 0, .34);
  color: #2d322f;
}

.cookie-banner__content {
  padding: 22px 24px 20px;
}

.cookie-banner__content p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: #3a413d;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.cookie-btn {
  border: 0;
  border-radius: 0;
  padding: 12px 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, background-color .18s ease;
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-btn--secondary {
  background: #d9d9d9;
  color: #4a4a4a;
}

.cookie-btn--primary {
  background: #8aa0b0;
  color: #fff;
}

.cookie-manage {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 119;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(233, 236, 233, .92);
  color: #243028;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
  cursor: pointer;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .48);
}

.cookie-modal__panel {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 32px));
  max-height: min(86vh, 860px);
  margin: 6vh auto 0;
  overflow: hidden;
  border-radius: 14px;
  background: #efefef;
  color: #1f2622;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .42);
}

.cookie-modal__body {
  max-height: calc(min(86vh, 860px) - 82px);
  overflow: auto;
  padding: 18px 18px 0;
}

.cookie-modal__body h3 {
  margin: 0 0 14px;
  font-size: 18px;
  color: #3c4340;
}

.cookie-modal__body p {
  margin: 0 0 16px;
  line-height: 1.45;
  color: #2f3532;
}

.cookie-modal__link {
  display: inline-block;
  margin-bottom: 16px;
  color: #2a2f2c;
  text-decoration: underline;
}

.cookie-groups {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
}

.cookie-group {
  border-radius: 10px;
  background: #e5e5e5;
  overflow: hidden;
}

.cookie-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-size: 16px;
  color: #26302b;
}

.cookie-group p {
  margin: 0;
  padding: 0 18px 16px;
  color: #303633;
}

.cookie-switch {
  position: relative;
  display: inline-flex;
  width: 52px;
  height: 28px;
}

.cookie-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
}

.cookie-switch span {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #b8b8b8;
  transition: background-color .2s ease;
}

.cookie-switch span::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease;
}

.cookie-switch input:checked + span {
  background: #72aa29;
}

.cookie-switch input:checked + span::after {
  transform: translateX(24px);
}

.cookie-switch input:disabled + span {
  opacity: .9;
}

.cookie-modal__footer {
  display: flex;
  justify-content: flex-end;
  padding: 16px 18px 18px;
  background: #efefef;
}

.cookie-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #46504c;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

body.cookie-modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .cookie-banner__content {
    padding: 18px;
  }

  .cookie-banner__content p {
    font-size: 15px;
  }

  .cookie-btn {
    width: 100%;
    text-align: left;
  }

  .cookie-manage {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }

  .cookie-modal__panel {
    width: calc(100vw - 20px);
    margin-top: 2vh;
  }
}

@media (max-width: 860px) {
  .site-header .container {
    position: relative;
    flex-wrap: wrap;
  }

  .site-header nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .site-header.is-nav-open nav {
    display: block;
  }

  .site-header.is-nav-open nav ul,
  .site-header.is-nav-open nav > ul,
  body .site-header.is-nav-open nav ul {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-top: 14px !important;
    padding: 14px !important;
    list-style: none !important;
    border: 1px solid rgba(204, 223, 214, .12);
    border-radius: 18px;
    background: rgba(7, 17, 12, .96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .26);
  }

  .site-header nav a,
  body .site-header nav a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 14px !important;
    border: 1px solid rgba(204, 223, 214, .14) !important;
    border-radius: 14px !important;
    background: rgba(204, 223, 214, .04) !important;
    color: #e3efe9 !important;
    text-decoration: none !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

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

  .site-header.is-nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-header.is-nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-header.is-nav-open nav a:hover,
  .site-header.is-nav-open nav a.active {
    background: #ccdfd6 !important;
    color: #0d2b1d !important;
    border-color: #ccdfd6 !important;
  }
}

