@font-face {
  font-family: "Kunstler Script";
  src: url("../assets/fonts/kunstler-script.woff2") format("woff2"),
       url("../assets/fonts/kunstler-script.woff") format("woff"),
       url("../assets/fonts/kunstler-script.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #b90f1c;
  --red-dark: #8d0b15;
  --red-deep: #6f0810;
  --gold: #d1ab62;
  --gold-soft: rgba(209, 171, 98, 0.18);
  --red-soft: rgba(185, 15, 28, 0.1);
  --dark: #161616;
  --dark-2: #222;
  --dark-3: #0f0f0f;
  --text: #5c5c5c;
  --muted: #7a7a7a;
  --light: #f7f4ef;
  --white: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 26px 70px rgba(0, 0, 0, 0.14);
  --shadow-soft: 0 18px 40px rgba(185, 15, 28, 0.12);
  --shadow-gold: 0 18px 44px rgba(209, 171, 98, 0.12);
  --script-font: "Kunstler Script", "Snell Roundhand", "Brush Script MT", cursive;
  --heading-font: "Playfair Display", serif;
  --body-font: "Montserrat", Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background: #111;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("/assets/images/trieste.jpg") center center / cover no-repeat;
  z-index: -2;
  transform: scale(1.03);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(12, 12, 12, 0.48), rgba(12, 12, 12, 0.18)),
    radial-gradient(circle at top left, rgba(185, 15, 28, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(209, 171, 98, 0.1), transparent 24%);
  z-index: -1;
}

.container {
  width: min(1160px, 91%);
  margin: 0 auto;
}

img {
  display: block;
  max-width: 100%;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 252, 247, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.045);
  animation: navReveal 0.8s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 20px;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  height: 94px;
  animation: fadeLeft 1s ease both;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.nav-logo:hover {
  transform: scale(1.035);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
}

.jubilee-image-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  animation: fadeRight 1s ease both;
}

.jubilee-image {
  height: 128px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 10px 24px rgba(0, 0, 0, 0.12))
    drop-shadow(0 4px 10px rgba(209, 171, 98, 0.12));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.jubilee-image:hover {
  transform: scale(1.04);
  filter:
    drop-shadow(0 14px 28px rgba(0, 0, 0, 0.16))
    drop-shadow(0 4px 14px rgba(209, 171, 98, 0.18));
}

.hero {
  position: relative;
  min-height: 620px;
  padding: 118px 0 100px;
  overflow: hidden;
  color: var(--white);
  background: transparent;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(12, 12, 12, 0.8), rgba(12, 12, 12, 0.35)),
    linear-gradient(to top, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.1));
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 90%);
  z-index: 1;
  opacity: 0.65;
}

.hero-luxure {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.hero-luxure-1 {
  width: 280px;
  height: 280px;
  background: rgba(209, 171, 98, 0.18);
  top: 50px;
  left: -70px;
  animation: floatGlow 10s ease-in-out infinite;
}

.hero-luxure-2 {
  width: 340px;
  height: 340px;
  background: rgba(185, 15, 28, 0.18);
  right: -90px;
  bottom: -90px;
  animation: floatGlow 12s ease-in-out infinite reverse;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  text-align: center;
  max-width: 860px;
}

.hero-copy {
  max-width: 920px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 0.95s ease forwards;
  animation-delay: 0.2s;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 20px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.description {
  font-family: var(--script-font);
  font-size: clamp(2.35rem, 4.6vw, 3.8rem);
  line-height: 1.12;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.hero-signature {
  font-family: var(--script-font);
  font-size: clamp(2.7rem, 5vw, 4.25rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 9px 22px rgba(0, 0, 0, 0.24);
  display: block;
  width: fit-content;
  margin: 12px 7% 0 auto;
  position: relative;
}

.hero-signature::after {
  content: "";
  position: absolute;
  left: 10%;
  bottom: -8px;
  width: 92%;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.95));
  transform: rotate(-2deg);
  opacity: 0.82;
}

main {
  position: relative;
  z-index: 2;
}

.contact-section {
  padding: 88px 0 34px;
  position: relative;
}

.form-container {
  display: flex;
  justify-content: center;
}

.info-card {
  position: relative;
  width: 100%;
  max-width: 920px;
  text-align: center;
  padding: 52px 50px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(255, 252, 247, 0.88));
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(24px);
  opacity: 0;
  animation: cardReveal 1s ease forwards;
  animation-delay: 0.15s;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(209, 171, 98, 0.13), transparent 30%),
    radial-gradient(circle at bottom left, rgba(185, 15, 28, 0.07), transparent 28%);
  pointer-events: none;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.16);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(185, 15, 28, 0.08), rgba(209, 171, 98, 0.14));
  color: var(--red);
  font-family: var(--body-font);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border: 1px solid rgba(209, 171, 98, 0.2);
  position: relative;
  z-index: 1;
}

.info-card h2 {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  color: #1d1b1a;
  font-weight: 700;
}

.info-card p {
  color: var(--text);
  position: relative;
  z-index: 1;
  font-family: var(--body-font);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 34px 0 26px;
  position: relative;
  z-index: 1;
}

.feature {
  position: relative;
  text-align: left;
  padding: 26px 24px 24px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 238, 0.93));
  border: 1px solid rgba(209, 171, 98, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px);
  animation: featureReveal 0.8s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature:nth-child(1) {
  animation-delay: 0.3s;
}

.feature:nth-child(2) {
  animation-delay: 0.45s;
}

.feature:nth-child(3) {
  animation-delay: 0.6s;
}

.feature:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(209, 171, 98, 0.35);
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--red), var(--gold), transparent);
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.feature-line {
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--red), var(--gold));
  transition: width 0.3s ease;
}

.feature:hover .feature-line {
  width: 68px;
}

.feature-number {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #a58856;
}

.feature h3 {
  color: var(--red);
  margin-bottom: 10px;
  font-family: var(--heading-font);
  font-size: 1.55rem;
  line-height: 1.12;
  font-weight: 700;
}

.feature p {
  font-family: var(--body-font);
  font-size: 0.94rem;
  color: #666;
  line-height: 1.72;
  text-align: left;
  word-spacing: normal;
  letter-spacing: 0;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
  max-width: 32ch;
  margin: 0 auto;
}

.info-bottom {
  margin-top: 10px;
  font-size: 1rem;
  font-family: var(--body-font);
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.75s;
}

.map-section {
  padding: 18px 0 86px;
}

.map-header {
  text-align: center;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.85s ease forwards;
  animation-delay: 0.2s;
}

.map-header h2 {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin-top: 12px;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.map-header .section-badge {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

.map-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.58);
  transform: translateY(24px);
  opacity: 0;
  animation: cardReveal 1s ease forwards;
  animation-delay: 0.35s;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.map-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 80px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.map-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
}

.map-wrapper iframe {
  display: block;
  transition: transform 0.7s ease;
}

.map-wrapper:hover iframe {
  transform: scale(1.018);
}

footer {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(185, 15, 28, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(209, 171, 98, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(29, 27, 25, 0.94), rgba(18, 17, 16, 0.96));
  color: var(--white);
  padding: 52px 0 36px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.38;
  pointer-events: none;
}

.footer-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.footer-glow-1 {
  width: 220px;
  height: 220px;
  background: rgba(185, 15, 28, 0.18);
  top: -40px;
  left: -40px;
}

.footer-glow-2 {
  width: 220px;
  height: 220px;
  background: rgba(209, 171, 98, 0.12);
  right: -40px;
  bottom: -40px;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr;
  gap: 42px;
  align-items: start;
}

.footer-col {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.footer-col:nth-child(1) {
  animation-delay: 0.15s;
}

.footer-col:nth-child(2) {
  animation-delay: 0.3s;
}

.footer-col:nth-child(3) {
  animation-delay: 0.45s;
}

.footer-heading {
  font-size: 18px;
  font-family: var(--body-font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-hours-title {
  font-size: 18px;
  font-family: var(--body-font);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-col p,
.footer-col a {
  color: #d4d0c9;
  text-decoration: none;
  font-family: var(--body-font);
  font-size: 0.95rem;
  margin-bottom: 7px;
  display: block;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-registry p strong {
  color: #fff;
  font-weight: 600;
}

.footer-hours-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-cnsd-slot {
  margin-top: 26px;
  width: 150px;
  min-height: 58px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.cnsd-link {
  width: 150px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(209, 171, 98, 0.22);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.cnsd-link:hover {
  transform: translateY(-2px);
  border-color: rgba(209, 171, 98, 0.42);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.05)
  );
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.18),
    0 0 22px rgba(209, 171, 98, 0.08);
}

.cnsd-logo {
  max-width: 130px;
  max-height: 50px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  filter: brightness(1.02);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 16px;
  font-size: 0.86rem;
  font-family: var(--body-font);
  color: #b0aaa1;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.55s;
}

@keyframes navReveal {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes featureReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatGlow {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(14px, -18px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}


@media (max-width: 980px) {
  .features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature {
    text-align: center;
  }

  .feature-top {
    justify-content: center;
  }

  .feature p {
    text-align: center;
    max-width: 100%;
  }

  .footer-col,
  .footer-hours-col {
    text-align: center;
    align-items: center;
  }

  .footer-cnsd-slot {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 12px 0;
    gap: 12px;
  }

  .nav-logo {
    height: 66px;
  }

  .jubilee-image {
    height: 86px;
  }

  .hero {
    min-height: 520px;
    padding: 96px 0 74px;
  }

  .hero-signature {
    font-size: clamp(2.35rem, 9vw, 3.7rem);
    margin-top: 8px;
    margin-right: 4%;
  }

  .description {
    font-size: clamp(1.75rem, 8vw, 2.65rem);
    line-height: 1.18;
  }

  .info-card {
    padding: 32px 22px;
    border-radius: 24px;
  }

  .info-card h2,
  .map-header h2 {
    font-size: clamp(1.85rem, 7vw, 2.55rem);
  }

  .map-wrapper {
    border-radius: 22px;
  }
}

@media (max-width: 520px) {
  .nav-container {
    padding: 10px 0;
    gap: 10px;
  }

  .nav-logo {
    height: 54px;
  }

  .jubilee-image {
    height: 68px;
  }

  .hero {
    min-height: 455px;
    padding: 84px 0 58px;
  }

  .hero-signature {
    font-size: 2.45rem;
    margin-right: 2%;
  }

  .description {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .hero-kicker {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
  }

  .info-card h2,
  .map-header h2 {
    line-height: 1.04;
  }

  .feature {
    padding: 22px 18px;
  }

  .footer-heading,
  .footer-hours-title {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}