:root {
  --gold: #a6844d;
  --text: #444;
  --muted: #666;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family:  "Open Sans", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
}
a {
  color: #8a6c3d;
  text-decoration: none;
    transition: all 0.15s ease;
}
a:hover {
  color: rgb(87, 68, 37);
}
.hero {
  height: 570px;
  background: url("../img/hero.webp") center 58% / cover no-repeat;
  background-position: 0% 84.26083772078805%;
}
.container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}
.section {
  padding: 56px 0;
  text-align: center;
}
.title {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 0 36px;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 400;
}
.title:before,
.title:after {
  content: "";
  height: 1px;
  background: var(--gold);
  flex: 1;
}
.about p {
  max-width: 1280px;
  margin: 0 auto;
  font-size: 18px;
  color: rgb(94, 94, 94);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.gallery-item {
  display: block;
  aspect-ratio: 1.5 / 1;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item.hidden { display: none; }
.show-more {
  margin-top: 40px;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-size: 18px;
}
.pdf-placeholder {
  width: min(520px, 100%);
  margin: 30px auto 0;
}
.pdf-placeholder img {
  width: 100%;
  display: block;
}
.download {
  color: var(--gold);
  text-decoration: none;
  font-size: 18px;
}
.quote {
  min-height: 544px;
  display: grid;
  place-items: center;

  padding: 40px;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%), url(../img/bloqoute.webp);
  background-size: auto, cover;
  background-position: center;
  text-shadow: 0px 2px 30px rgba(0, 0, 0, 0.12);
  
}
.quote h2 {
  color: white;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 48px;
  max-width: 800px;
  font-weight: 400;
  text-align: center;
      line-height: 1.2;

}
h3{
  font-size: 24px;
  font-weight: 400;
}
.contact-text + p {
  font-size: 18px;
  margin-bottom: 48px;
}
.contact-text {
  max-width: 620px;
  margin: 0 auto 26px;
  font-size: 18px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 20px 34px;
    border: 0;
    border-radius: 999px;
    background: var(--gold);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid var(--gold);
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.btn:hover {
    background: #8b6a3d;
    border: 2px solid #8b6a3d;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: white;
    border: 2px solid var(--gold);
}

.btn-secondary-white-border:hover{
  border: 2px solid white;;
}

.form-wrap {
  display: none;
  max-width: 725px;
  margin: 36px auto 0;
  text-align: left;
}

.form-wrap.open {
  display: block;
}

.form-title {
  text-align: center;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 28px;
  color: #111;
}

.form-field {
  position: relative;
  margin-bottom: 26px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  padding: 22px 12px 8px;
}

.form-field input {
  height: 56px;
}

.form-field textarea {
  min-height: 116px;
  resize: vertical;
}

.form-field label {
  position: absolute;
  left: 12px;
  top: 16px;
  color: #8a6c3d;
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
  transition: all 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 1px solid #222;
  border-color: #222;
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: 8px;
  font-size: 12px;
}

.field-error {
  display: none;
  color: red;
  font-size: 16px;
  margin-top: 6px;
}

.form-field input[type="email"]:invalid:not(:placeholder-shown) ~ .field-error {
  display: block;
}

.attach-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8a6c3d;
  font-size: 16px;
  margin: 4px 0 46px;
}

.attach-btn {
  border: 0;
  background: transparent;
  color: #8a6c3d;
  font: inherit;
  padding: 0;
  cursor: pointer;
}

.paperclip {
  display: inline-block;
  margin-right: 6px;
  font-size: 17px;
  transform: rotate(-35deg);
}

.attachments-count {
  color: #4d5963;
  font-size: 14px;
}

.recaptcha-note {
  text-align: center;
  color: #4d5963;
  font-size: 14px;
  margin: 0 auto 36px;
}

.recaptcha-note a {
  color: #8a6c3d;
  text-decoration: none;
}

.form-actions {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

/*.btn.secondary {
  background: transparent;
  color: var(--gold);
  padding-left: 10px;
  padding-right: 10px;
}

.btn.secondary {
  background: transparent;
  color: var(--gold);
  padding-left: 10px;
  padding-right: 10px;
}*/


.attach-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
}

.attach-btn {
  background: none;
  border: 0;
  padding: 0;
  color: #9a6b35;
  cursor: pointer;
  font: inherit;
}

.attachments-count {
  font-size: 14px;
  color: #555;
}

.attachments-list {
  margin-top: 15px;
}

.attachment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f7f7;
  padding: 16px 24px;
  margin-bottom: 8px;
  font-size: 16px;
}

.attachment-remove {
  border: 0;
  background: none;
  color: #9a6b35;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.map {
  height: 320px;
  background: #ddd;
}
.footer {
  background: #f3f3f3;
  text-align: center;
  padding: 46px 20px;
  font-size: 16px;
}
.cookie {
    position: fixed;
    right: 28px;
    bottom: 110px;
    max-width: 400px;
    background: var(--gold);
    color: white;
    padding: 28px;
    z-index: 50;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.cookie h3 {
  margin: 0 0 8px;
  font-size: 24px;
}
.cookie p {
  margin: 0 0 24px;
  font-size: 18px;
}
.cookie button {
    width: 100%;
    height: 50px;
    border-radius: 999px;
    border: 0;
    background: white;
    color: #101010;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    text-transform: uppercase;
}
.chat {
  position: fixed;
  right: 22px;
  bottom: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  display: grid;
  place-items: center;
  font-size: 24px;
  z-index: 40;
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  background: rgba(32, 30, 27, 0.78);
  backdrop-filter: blur(28px);
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-counter {
  position: absolute;
  top: 64px;
  left: 12%;
  color: #fff;
  font-size: 28px;
  font-weight: 300;
}

.gallery-close {
  position: absolute;
  top: 54px;
  right: 11%;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 44px;
  cursor: pointer;
}
.elefant-logo{
  width: 100%;
  max-width: 365px;
}



.gallery-stage {
  width: min(1020px, 70vw);
  height: min(680px, 68vh);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 250ms ease-in-out;
}

.gallery-stage img.fade-out {
  opacity: 0;
}

.quote hr {
    width: 56px;
    border: rgba(255,255,255,.5) 1px solid;
    border-bottom-width: 2px;
}

.quote  p{
      color: rgb(255, 255, 255);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 42px;
  cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}



.gallery-prev { left: 4%; }
.gallery-next { right: 4%; }

body.lightbox-open {
  overflow: hidden;
}
svg.x-el.x-el-svg.c1-1.c1-2.c1-7h.c1-2f.c1-5i.c1-b.c1-c.c1-d.c1-e.c1-f.c1-g {
    fill: rgb(255 255 255 / 40%);
}
footer hr{
  max-width: 48px;
  color: rgb(255 255 255 / 40%);
}


.pdf-viewer {
  text-align: center;
  margin: 30px auto 0;
}

#pdfCanvas {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}

.pdf-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  color: #a6844d;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
}

.pdf-nav button {
  border: 0;
  background: transparent;
  color: #a6844d;
  cursor: pointer;
  font: inherit;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 3px;
}

.pdf-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.pdf-nav .divider {
  width: 1px;
  height: 18px;
  background: #a6844d;
  opacity: 0.65;
}

.map-section {
  width: 100%;
  height: 420px;
}

.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1.5 / 1;
}

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

.gallery-item.hidden {
  display: none;
}

@media (max-width: 768px){
  .quote h2 {
    font-size: 32px;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .cookie {
    left: 20px;
    bottom: 40px;
    max-width: 100%;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 576px){
  .gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

}

.form-success {
  padding: 30px 20px 10px;
  text-align: center;
}

.form-success-icon {
  margin-bottom: 26px;
  color: #3f6bcc;
}

.form-success-text {
  margin: 0;
  color: var(--gold);
  font-size: 32px;
  line-height: 1.4;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
}

.btn.is-loading,
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #bba27a;
  border-color: #bba27a;
}

.form-global-error {
  margin-bottom: 24px;
  padding: 14px 18px;
  border-left: 3px solid #d33;
  background: #fff3f3;
  color: #a40000;
  font-size: 15px;
}