#ed-cc * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#ed-cc {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 99999;
  width: calc(100% - 32px);
  max-width: 620px;
  transform: translateX(-50%);
  animation: ed-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#ed-cc.hiding {
  animation: ed-out 0.3s ease forwards;
}

#ed-box {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  color: #fff;
  background: #111110;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid #e8440a;
  border-radius: 4px;
}

#ed-content {
  flex: 1;
  min-width: 0;
}

#ed-label {
  margin-bottom: 5px;
  color: #e8440a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#ed-text {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
}

#ed-text a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#ed-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  align-items: center;
}

#ed-cc .ed-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s, transform 0.1s;
}

#ed-cc .ed-btn:active {
  transform: scale(0.96);
}

#ed-cc .ed-btn:focus-visible,
#ed-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

#ed-accept {
  color: #fff;
  background: #e8440a;
}

#ed-accept:hover {
  background: #ff5520;
}

#ed-cc #ed-decline {
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

#ed-cc #ed-decline:hover {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.28);
}

#ed-close {
  flex-shrink: 0;
  padding: 4px;
  color: rgba(255, 255, 255, 0.35);
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  background: transparent;
  border: 0;
  transition: color 0.15s;
}

#ed-close:hover {
  color: rgba(255, 255, 255, 0.75);
}

#contact-form {
  scroll-margin-top: 100px;
}

.form-status {
  display: none;
  margin-top: 12px;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #1f6b3b;
  background: #e8f7ee;
}

.form-status.is-error {
  color: #8d2515;
  background: #fff0ec;
}

.form-status.is-success,
.form-status.is-error {
  padding: 14px 16px;
  border-radius: 3px;
}

.form-status a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-field-label {
  display: block;
  margin-bottom: -8px;
  color: #262522;
  font-size: 12px;
  font-weight: 600;
}

.contact-field-label span {
  color: #74716a;
  font-weight: 400;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #5f5c55;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #e8440a;
}

.privacy-check a {
  color: #262522;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.privacy-section {
  background: #f7f5f0;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.privacy-summary {
  position: sticky;
  top: 110px;
}

.privacy-summary h2 {
  margin-top: 16px;
  margin-bottom: 18px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
}

.privacy-summary p {
  color: #615e57;
  line-height: 1.7;
}

.privacy-summary .privacy-updated {
  margin-top: 22px;
  color: #8a867d;
  font-size: 13px;
}

.privacy-content {
  max-width: 820px;
}

.privacy-content section {
  padding: 0 0 42px;
  margin: 0 0 42px;
  border-bottom: 1px solid rgba(38, 37, 34, 0.14);
}

.privacy-content section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.privacy-content h2 {
  margin-bottom: 18px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
}

.privacy-content h3 {
  margin-top: 25px;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
}

.privacy-content p,
.privacy-content li {
  color: #55524c;
  line-height: 1.75;
}

.privacy-content p + p {
  margin-top: 14px;
}

.privacy-content ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.privacy-content a {
  color: #bc3508;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-content code {
  padding: 2px 6px;
  color: #262522;
  font-size: 0.9em;
  background: #ebe7df;
  border-radius: 3px;
}

@keyframes ed-up {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes ed-out {
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

@media (max-width: 560px) {
  #ed-cc {
    position: fixed;
  }

  #ed-box {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 18px 16px;
  }

  #ed-actions {
    width: 100%;
  }

  #ed-accept,
  #ed-decline {
    flex: 1;
  }

  #ed-close {
    position: absolute;
    top: 14px;
    right: 14px;
  }
}

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-summary {
    position: static;
    max-width: 720px;
  }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
  .hero-1 .blur-box h1 {
    font-size: clamp(50px, 5.2vw, 56px);
    white-space: nowrap;
  }

  .section-content.metrics .metric-grid-quarters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 24px;
  }

  .section-content.metrics .bordered-metric {
    min-width: 0;
  }

  .section-content.metrics .metric-text {
    font-size: clamp(52px, 7vw, 72px);
  }
}

.hero-1 > .navbar {
  z-index: 3;
  width: 100%;
}

.hero-1 > .background-video {
  z-index: 0;
}

/* Naslovnica koristi video preko cijelog ruba preglednika bez bijelog okvira. */
.home-page .hero-wrap {
  padding: 0;
}

.home-page .hero-1 {
  border-radius: 0;
}

/* Keep the portrait winery mark at its natural aspect ratio. Webflow's generic
   .image rule only constrained its width, leaving the HTML height fixed. */
.content.testimonial > img.image {
  width: auto;
  height: auto;
  max-width: 110px;
  max-height: 132px;
  object-fit: contain;
  object-position: left center;
}

/* Fleet testimonial: protect the quote and brand mark from stretching or
   clipping at wide and intermediate desktop widths. */
.large-quote-box {
  box-sizing: border-box;
  column-gap: clamp(36px, 3vw, 48px);
  align-items: center;
  padding-right: clamp(36px, 3vw, 48px);
  padding-left: clamp(36px, 3vw, 48px);
}

.large-quote-box-text {
  flex: 1 1 0;
  min-width: 0;
}

.large-quote-box .quote-text {
  max-width: 100%;
  font-size: clamp(24px, 1.55vw, 32px);
  line-height: 1.22;
  overflow-wrap: break-word;
}

.large-quote-box .quote-author {
  box-sizing: border-box;
  flex: 0 1 300px;
  min-width: 0;
  padding-right: 0;
  padding-left: clamp(24px, 2.5vw, 48px);
}

.large-quote-box .small-logo {
  display: block;
  width: auto;
  height: 75px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

@media screen and (max-width: 767px) {
  .large-quote-box {
    row-gap: 36px;
    align-items: stretch;
  }

  .large-quote-box .quote-text {
    font-size: 20px;
    line-height: 1.3;
  }

  .large-quote-box .quote-author {
    flex: none;
    width: 100%;
    border-top: 1px dotted var(--_colors---ui--dark-faded);
    border-left: 0;
    padding-top: 24px;
    padding-left: 0;
  }
}

/* site.js opens the mobile menu itself, so Webflow's overlay never stretches
   it and its icon interaction never runs. Span the full width and swap the
   hamburger for the cross icon next to it in .menu-icon-wrapper. */
@media screen and (max-width: 991px) {
  .navbar .w-nav-menu.w--open {
    left: 0;
    right: 0;
  }

  .menu-icon {
    transition: transform 0.2s ease;
  }

  .w-nav-button.w--open .menu-icon {
    transform: translateX(-100%);
  }
}

/* The navbar's backdrop-filter makes it the containing block of the fixed
   mobile menu, so the hero wrapper's overflow clipped the menu at the bottom
   of the hero. Keep the horizontal clip while the menu is open. */
.dark-hero-wrapper:has(.w-nav-menu.w--open) {
  overflow-x: clip;
  overflow-y: visible;
}
