:root {
  --color-primary: #0F2341;
  --color-gold: #D4AF37;
  --color-white: #FFFFFF;
  --color-light: #F5F5F5;
  --color-ink: #18263b;
  --color-soft: #6f7885;
  --color-line: rgba(15, 35, 65, 0.12);
  --color-line-light: rgba(255, 255, 255, 0.14);
  --color-cream: #fbfaf7;
  --color-header: #0F2341;
  --color-deep: #0b1b33;
  --color-deep-soft: #122744;
  --section-padding-lg: 84px;
  --section-padding-md: 68px;
  --section-padding-sm: 52px;
  --container: min(1180px, calc(100% - 48px));
  --transition: 200ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--color-light);
  background: var(--color-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 4px;
}

body.menu-open {
  overflow: hidden;
}

body.property-lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-header);
  border-bottom: 1px solid rgba(15, 35, 65, 0.12);
}

.header-inner {
  max-width: 1220px;
  margin: 0 auto;
  min-height: 76px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  flex: none;
}

.brand img {
  width: clamp(150px, 14vw, 220px);
  height: auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(212, 175, 55, 0.72);
  color: var(--color-gold);
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  color: var(--color-primary);
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand-text small {
  color: rgba(15, 35, 65, 0.72);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: lowercase;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 38px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav a,
.nav-link-group > a,
.submenu-toggle {
  position: relative;
  padding: 8px 0;
  color: var(--color-primary);
}

.site-nav a::after,
.nav-link-group > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.site-nav a.is-active::after,
.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.nav-link-group > a:hover::after,
.nav-link-group > a:focus-visible::after,
.nav-item--has-submenu:focus-within .nav-link-group > a::after,
.nav-item--has-submenu:hover .nav-link-group > a::after {
  transform: scaleX(1);
}

.site-nav a.is-active,
.nav-item--has-submenu:hover .nav-link-group > a,
.nav-item--has-submenu:focus-within .nav-link-group > a {
  color: var(--color-gold);
}

.nav-item {
  position: relative;
}

.nav-link-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.submenu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

.submenu-toggle:hover,
.submenu-toggle:focus-visible {
  color: var(--color-gold);
}

.submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  min-width: 260px;
  padding: 14px 0;
  background: #F7F3EA;
  border: 1px solid rgba(15, 35, 65, 0.12);
  box-shadow: 0 18px 45px rgba(15, 35, 65, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 100;
}

.nav-item--has-submenu:hover .submenu,
.nav-item--has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 11px 20px;
  color: #0F2341;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.submenu a::after {
  display: none;
}

.submenu a:hover,
.submenu a:focus-visible {
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.08);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid rgba(15, 35, 65, 0.18);
  color: var(--color-gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--color-gold);
  color: var(--color-primary);
  border-color: var(--color-gold);
}

.header-cta-mobile {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex: none;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-primary);
}

.hero {
  padding: 84px 0 68px;
  background:
    radial-gradient(circle at 75% 20%, rgba(212, 175, 55, 0.08), transparent 30%),
    linear-gradient(180deg, #0F2341 0%, #0B1D36 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(360px, 0.42fr) minmax(0, 0.58fr);
  gap: 64px;
  align-items: center;
}

.hero-content {
  max-width: 520px;
}

.section-label {
  margin: 0 0 18px;
  color: var(--color-gold);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-content h1,
.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1,
.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero-content h1 {
  max-width: 9ch;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  max-width: 16ch;
}

h2,
.section-title {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero-intro,
.section-heading p,
.about-copy p,
.contact-copy p,
.property-caption p,
.testimonial-list p,
.hero-card span {
  color: inherit;
}

.hero-intro {
  max-width: 32rem;
  margin: 22px 0 0;
  color: rgba(245, 245, 245, 0.82);
  font-size: 1.02rem;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.button-primary {
  background: var(--color-gold);
  color: #17263d;
  font-weight: 700;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #dfbc51;
}

.button-link {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.16);
}

.button-link:hover,
.button-link:focus-visible {
  border-color: rgba(212, 175, 55, 0.48);
  color: var(--color-gold);
}

.hero-note {
  margin: 24px 0 0;
  max-width: 31rem;
  padding-left: 18px;
  border-left: 1px solid rgba(212, 175, 55, 0.72);
  color: rgba(245, 245, 245, 0.68);
  font-size: 0.95rem;
  line-height: 1.66;
}

.hero-media {
  position: relative;
  padding: 18px 0 22px 18px;
}

.hero-image,
.media-block,
.property-photo {
  background-size: cover;
  background-position: center;
}

.hero-image {
  min-height: 560px;
  aspect-ratio: 5 / 4;
  background-image:
    linear-gradient(180deg, rgba(9, 20, 36, 0.06), rgba(9, 20, 36, 0.34)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80");
  background-repeat: no-repeat;
  border: 1px solid rgba(212, 175, 55, 0.16);
}

.hero-media::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 84px;
  height: 84px;
  border-top: 1px solid rgba(212, 175, 55, 0.45);
  border-left: 1px solid rgba(212, 175, 55, 0.45);
}

.hero-card {
  position: absolute;
  left: 32px;
  bottom: 0;
  max-width: 290px;
  padding: 18px 20px;
  border-left: 2px solid rgba(212, 175, 55, 0.72);
  background: rgba(19, 39, 68, 0.94);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card strong {
  margin-bottom: 8px;
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-card span {
  color: rgba(245, 245, 245, 0.8);
  font-size: 0.92rem;
  line-height: 1.6;
}

.section {
  padding: var(--section-padding-lg) 0;
}

.section-light {
  background: var(--color-cream);
  color: var(--color-ink);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(360px, 1fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: center;
}

.about-photo {
  position: relative;
  max-width: 460px;
  overflow: hidden;
}

.about-photo-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-image: url("/assets/images/david-vrzal.jpg");
  background-size: cover;
  background-position: center top;
  border: 1px solid rgba(15, 35, 65, 0.12);
}

.about-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(to top, rgba(15, 35, 65, 0.86), rgba(15, 35, 65, 0));
  pointer-events: none;
}

.about-photo-caption {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
}

.about-photo-caption strong,
.about-photo-caption span {
  display: block;
}

.about-photo-caption strong {
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.about-photo-caption span {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.about-copy h2,
.contact-copy h2,
.section-heading h2 {
  margin-bottom: 12px;
}

.section-subtitle {
  margin: 0 0 20px;
  color: var(--color-primary);
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.35;
}

.about-copy p,
.contact-copy p,
.section-heading p {
  margin: 0 0 18px;
  color: var(--color-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.about-copy h2 {
  font-size: clamp(2.5rem, 4vw, 3rem);
  line-height: 1.08;
}

.about-points {
  margin-top: 34px;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(15, 35, 65, 0.12);
}

.about-point {
  padding: 20px 0;
  border-bottom: 1px solid rgba(15, 35, 65, 0.12);
}

.about-point h3 {
  margin: 0 0 6px;
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: 18px;
  line-height: 1.3;
  color: var(--color-primary);
}

.about-point p {
  margin: 0;
  line-height: 1.6;
  color: var(--color-soft);
}

.section-heading.narrow {
  max-width: 520px;
}

.section--compact {
  padding: var(--section-padding-md) 0;
}

.financing-section {
  background: #F7F3EA;
  padding: 56px 0 42px;
}

.properties.section {
  padding-top: 62px;
}

.properties-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 35, 65, 0.16);
  background: #0F2341;
  color: #D4AF37;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.carousel-btn:hover {
  background: #102B50;
  border-color: rgba(212, 175, 55, 0.5);
}

.properties-carousel {
  overflow: hidden;
  width: 100%;
}

.properties-track {
  display: flex;
  gap: 32px;
  transition: transform .35s ease;
  will-change: transform;
}

.property-card {
  flex: 0 0 calc((100% - 64px) / 3);
}

.property-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.property-card-link .property-card {
  transition: transform .25s ease;
}

.property-card-link:hover .property-card,
.property-card-link:focus-visible .property-card {
  transform: translateY(-4px);
}

.services-section {
  background: #0F2341;
  color: #fff;
}

.services-head {
  max-width: 560px;
  margin-bottom: 38px;
}

.services-head h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  margin: 0 0 14px;
}

.services-head p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  padding: 28px 26px;
  min-height: 180px;
  transition: border-color var(--transition), background-color var(--transition), transform var(--transition);
}

.service-card-link {
  display: block;
}

.service-card-link:hover .service-card,
.service-card-link:focus-visible .service-card,
.service-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-2px);
}

.service-line {
  display: block;
  width: 36px;
  height: 2px;
  background: #D4AF37;
  margin-bottom: 22px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
  color: #fff;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.financing-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 38px 44px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(15, 35, 65, 0.10);
  border-left: 2px solid #D4AF37;
}

.financing-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3vw, 42px);
}

.financing-copy p:last-child {
  max-width: 420px;
  margin: 0;
  color: var(--color-soft);
  line-height: 1.65;
}

.financing-person {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  align-items: start;
}

.financing-person img {
  width: 88px;
  height: 112px;
  object-fit: cover;
}

.financing-person h3 {
  margin: 0 0 4px;
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-ink);
}

.financing-person p {
  margin: 0 0 14px;
  color: var(--color-soft);
}

.financing-person ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.financing-person li {
  margin-bottom: 6px;
  color: var(--color-ink);
}

.financing-person a {
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #0F2341;
  font-weight: 700;
}

.financing-person a:hover,
.financing-person a:focus-visible {
  color: var(--color-gold);
}

.service-item h3,
.property-caption h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.property-item {
  transition: transform var(--transition);
}

.property-item:hover {
  transform: translateY(-4px);
}

.property-photo {
  position: relative;
  min-height: auto;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
}

.property-card__image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 18px;
  background: rgba(15, 35, 65, 0.08);
}

.property-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.property-photo-one {
  background-image:
    linear-gradient(180deg, rgba(12, 22, 39, 0.08), rgba(12, 22, 39, 0.22)),
    url("https://images.unsplash.com/photo-1600607687644-c7171b42498f?auto=format&fit=crop&w=1400&q=80");
}

.property-photo-two {
  background-image:
    linear-gradient(180deg, rgba(12, 22, 39, 0.08), rgba(12, 22, 39, 0.22)),
    url("https://images.unsplash.com/photo-1600047509807-ba8f99d2cdde?auto=format&fit=crop&w=1400&q=80");
}

.property-photo-three {
  background-image:
    linear-gradient(180deg, rgba(12, 22, 39, 0.08), rgba(12, 22, 39, 0.22)),
    url("https://images.unsplash.com/photo-1600607686527-6fb886090705?auto=format&fit=crop&w=1400&q=80");
}

.property-photo-four {
  background-image:
    linear-gradient(180deg, rgba(12, 22, 39, 0.1), rgba(12, 22, 39, 0.24)),
    url("https://images.unsplash.com/photo-1572120360610-d971b9d7767c?auto=format&fit=crop&w=1400&q=80");
}

.property-photo-five {
  background-image:
    linear-gradient(180deg, rgba(12, 22, 39, 0.1), rgba(12, 22, 39, 0.24)),
    url("https://images.unsplash.com/photo-1605146769289-440113cc3d00?auto=format&fit=crop&w=1400&q=80");
}

.property-photo-six {
  background-image:
    linear-gradient(180deg, rgba(12, 22, 39, 0.1), rgba(12, 22, 39, 0.24)),
    url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1400&q=80");
}

.property-status {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--color-primary);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-left: 2px solid rgba(212, 175, 55, 0.92);
}

.property-caption h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.22;
}

.property-caption p {
  margin: 0 0 8px;
  color: var(--color-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.property-caption strong {
  color: inherit;
  font-size: 1rem;
  font-weight: 700;
}

.property-card__body {
  padding-top: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  background: rgba(15, 35, 65, 0.18);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--color-gold);
}

.completed .property-caption p,
.completed .property-caption strong {
  color: rgba(245, 245, 245, 0.78);
}

.realizations-section {
  background: #0F2341;
  color: #fff;
  padding: 76px 0;
}

.section-cta {
  margin-top: 28px;
}

.section-cta .button-link {
  border-color: rgba(255, 255, 255, 0.2);
}

.section-head--dark h2 {
  color: #fff;
}

.section-head--dark p {
  color: rgba(255, 255, 255, 0.62);
}

.case-list {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.case-item {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(360px, 0.58fr);
  gap: 36px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.case-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.case-image .property-photo {
  margin-bottom: 0;
  aspect-ratio: 16 / 9;
}

.case-image .property-card__image {
  margin-bottom: 0;
  aspect-ratio: 16 / 9;
}

.case-content {
  max-width: 620px;
}

.case-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #D4AF37;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-status::before {
  content: "";
  width: 26px;
  height: 1px;
  background: #D4AF37;
}

.case-content h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.15;
}

.case-location {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.65);
}

.case-price {
  display: block;
  margin-bottom: 18px;
  color: #fff;
  font-size: 17px;
}

.case-result {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.case-result p {
  margin: 0;
}

.case-result p + p {
  margin-top: 10px;
}

.success-page {
  background: #F7F3EA;
  color: #0F2341;
  padding: 72px 0 90px;
}

.success-page .section-head {
  max-width: 760px;
}

.success-page .section-head h1 {
  margin: 0 0 14px;
  color: #0F2341;
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  line-height: 1.06;
}

.success-page .section-head p {
  margin: 0;
  color: rgba(15, 35, 65, 0.72);
  line-height: 1.72;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin-top: 42px;
}

.success-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 35, 65, 0.10);
}

.success-card__image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(15, 35, 65, 0.08);
}

.success-card__image img,
.success-card__image .property-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.success-card:hover .success-card__image img,
.success-card:hover .success-card__image .property-photo {
  transform: scale(1.035);
}

.success-card__status {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: #0F2341;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  border-left: 2px solid #D4AF37;
}

.success-card__body {
  padding: 24px 26px 28px;
}

.success-card__body h2 {
  margin: 0 0 8px;
  color: #0F2341;
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.12;
}

.success-card__body h2 a {
  color: inherit;
}

.success-card__location {
  margin: 0 0 10px;
  color: rgba(15, 35, 65, 0.62);
}

.success-card__price {
  display: block;
  margin-bottom: 16px;
  color: #0F2341;
  font-size: 16px;
}

.success-card__text {
  margin: 0;
  color: rgba(15, 35, 65, 0.72);
  line-height: 1.65;
}

.success-card__text p {
  margin: 0;
}

.success-card__text p + p {
  margin-top: 10px;
}

.references-section {
  background: #F7F3EA;
  padding: 72px 0;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.references-carousel {
  overflow: hidden;
  width: 100%;
  margin-top: 34px;
}

.references-track {
  display: flex;
  gap: 24px;
  transition: transform .35s ease;
  will-change: transform;
}

.reference-slide {
  flex: 0 0 calc((100% - 48px) / 3);
}

.reference-card {
  position: relative;
  padding: 34px 32px 30px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(15, 35, 65, 0.10);
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.reference-quote {
  display: block;
  color: #D4AF37;
  font-size: 54px;
  line-height: 0.7;
  font-family: serif;
  margin-bottom: 22px;
}

.reference-card p {
  margin: 0 0 26px;
  color: rgba(15, 35, 65, 0.82);
  line-height: 1.7;
  font-size: 16px;
}

.reference-card strong {
  margin-top: auto;
  color: #0F2341;
  font-size: 15px;
}

.references-dots {
  margin-top: 22px;
}

.references-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.references-add-button {
  white-space: nowrap;
}

.reference-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 24px;
}

.reference-modal[hidden] {
  display: none !important;
}

.reference-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 35, 65, 0.76);
}

.reference-modal__dialog {
  position: relative;
  width: min(100%, 760px);
  background: #F7F3EA;
  border: 1px solid rgba(15, 35, 65, 0.12);
  padding: 40px 42px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.reference-modal__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.reference-modal__head h3 {
  margin: 0;
  color: #0F2341;
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
}

.reference-modal__close {
  border: 0;
  background: transparent;
  color: #0F2341;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.reference-modal__close:hover {
  color: #D4AF37;
  background: rgba(15, 35, 65, 0.05);
}

.reference-modal__intro {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(15, 35, 65, 0.72);
  line-height: 1.65;
  font-size: 17px;
}

.reference-modal__form {
  display: grid;
  gap: 18px;
  padding: 28px 30px 30px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 35, 65, 0.1);
}

.reference-modal__form .form-field {
  margin: 0;
}

.reference-modal__form label {
  display: block;
  margin-bottom: 8px;
  color: #0F2341;
  font-size: 14px;
  font-weight: 700;
}

.reference-modal__form input,
.reference-modal__form textarea {
  width: 100%;
  border: 1px solid rgba(15, 35, 65, 0.16);
  background: #fff;
  padding: 14px 16px;
  color: #0F2341;
  font: inherit;
}

.reference-modal__form input::placeholder,
.reference-modal__form textarea::placeholder {
  color: rgba(15, 35, 65, 0.48);
}

.reference-modal__form input:focus,
.reference-modal__form textarea:focus {
  border-color: #D4AF37;
  outline: none;
}

.reference-modal__form textarea {
  min-height: 180px;
  resize: vertical;
}

.reference-modal__form button {
  justify-self: start;
  min-width: 160px;
  margin-top: 4px;
}

.form-field--recaptcha {
  margin-top: 6px;
}

.form-field--recaptcha .g-recaptcha {
  transform-origin: left top;
}

.contact-details {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.contact-details div {
  display: grid;
  gap: 4px;
}

.contact-details span {
  display: block;
  margin-bottom: 6px;
  color: var(--color-gold);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-details strong,
.contact-details a,
.contact-details p {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.62;
}

.contact-note {
  margin-top: 22px;
  padding-left: 14px;
  border-left: 1px solid rgba(212, 175, 55, 0.55);
  color: rgba(255, 255, 255, 0.7);
}

.contact-section {
  background: #0F2341;
  color: #fff;
  padding: 66px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 0.75fr);
  gap: clamp(56px, 8vw, 110px);
  align-items: center;
}

.contact-copy h2 {
  max-width: 520px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  margin: 0 0 18px;
}

.contact-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.contact-form {
  width: 100%;
  max-width: 460px;
  justify-self: end;
  align-self: center;
  padding: 32px 34px;
  background: #F7F3EA;
  border: 1px solid rgba(212, 175, 55, 0.24);
  color: var(--color-ink);
}

.form-field {
  margin-bottom: 19px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: #0F2341;
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(15, 35, 65, 0.22);
  background: transparent;
  padding: 10px 0 12px;
  color: #0F2341;
  outline: none;
}

.contact-form textarea {
  min-height: 96px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(15, 35, 65, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: #D4AF37;
}

.contact-form button {
  margin-top: 6px;
  background: #D4AF37;
  color: #0F2341;
  border: 1px solid #D4AF37;
  padding: 13px 20px;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover {
  background: #0F2341;
  color: #D4AF37;
}

@media (max-width: 820px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-form {
    max-width: none;
    justify-self: stretch;
  }
}

.site-footer {
  background: #0F2341;
  color: rgba(255, 255, 255, 0.78);
}

.legal-body {
  background: var(--color-header);
  color: var(--color-primary);
}

.legal-page {
  background: var(--color-header);
  color: var(--color-primary);
}

.legal-hero {
  padding: 72px 0 36px;
}

.legal-container {
  max-width: 900px;
}

.legal-hero h1 {
  margin: 0 0 14px;
  color: var(--color-primary);
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.375rem, 5vw, 3.875rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.legal-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(15, 35, 65, 0.72);
}

.legal-content {
  padding-bottom: 84px;
}

.legal-content h2 {
  margin: 42px 0 14px;
  color: var(--color-primary);
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: 28px;
  line-height: 1.2;
}

.legal-content p,
.legal-content li {
  color: rgba(15, 35, 65, 0.78);
  line-height: 1.75;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration-color: var(--color-gold);
  text-underline-offset: 3px;
}

.legal-richtext {
  color: rgba(15, 35, 65, 0.78);
  line-height: 1.75;
  white-space: pre-line;
}

/* Legal pages must stay readable even if darker global section styles change. */
.legal-page {
  background: #f7f3ea;
  color: #0f2341;
}

.legal-hero,
.legal-content {
  background: transparent;
}

.legal-hero h1,
.legal-hero p,
.legal-content,
.legal-content h2,
.legal-content p,
.legal-content li,
.legal-richtext,
.legal-richtext h2,
.legal-richtext h3,
.legal-richtext p,
.legal-richtext li {
  color: #0f2341;
}

.legal-richtext a,
.legal-content a {
  color: #0f2341;
  text-decoration-color: #d4af37;
}

.service-page,
.contact-page,
.realizations-page {
  background: var(--color-header);
  color: var(--color-ink);
}

.service-hero,
.page-hero {
  padding: 72px 0 36px;
  background: var(--color-header);
}

.service-hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--color-primary);
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.375rem, 5vw, 3.875rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.service-hero p,
.page-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(15, 35, 65, 0.72);
}

.service-content,
.page-content {
  padding: 0 0 84px;
}

.service-content__grid,
.contact-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.service-main,
.page-main {
  max-width: 900px;
}

.service-main h2,
.page-main h2,
.contact-page__copy h2 {
  margin: 0 0 14px;
  color: var(--color-primary);
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.14;
}

.service-main h2 + p,
.page-main h2 + p,
.contact-page__copy h2 + p {
  margin-top: 0;
}

.service-main p,
.service-main li,
.page-main p,
.page-main li,
.contact-page__copy p,
.contact-page__copy li,
.company-data p {
  color: rgba(15, 35, 65, 0.78);
  line-height: 1.75;
}

.service-main ul,
.page-main ul,
.contact-page__copy ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.service-main p,
.page-main p,
.contact-page__copy p {
  margin: 0 0 16px;
}

.service-aside,
.contact-page__aside {
  padding: 28px 26px;
  border: 1px solid rgba(15, 35, 65, 0.12);
  background: rgba(255, 255, 255, 0.56);
}

.service-aside h3,
.contact-page__aside h3 {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: 1.5rem;
}

.service-aside p,
.contact-page__aside p {
  margin: 0 0 18px;
  color: var(--color-soft);
}

.service-related {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 35, 65, 0.12);
}

.service-related h3 {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-related li + li {
  margin-top: 8px;
}

.service-related a,
.page-main a,
.contact-page a {
  color: var(--color-primary);
  text-decoration-color: var(--color-gold);
  text-underline-offset: 3px;
}

.service-related a:hover,
.page-main a:hover,
.contact-page a:hover {
  color: var(--color-gold);
}

.company-data {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.company-data__block {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15, 35, 65, 0.12);
}

.company-data__block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.company-data__label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.company-data__block strong,
.company-data__block a {
  color: var(--color-primary);
}

.contact-page__aside .contact-form {
  max-width: none;
  width: 100%;
  justify-self: stretch;
}

.legal-cookie-settings {
  margin-top: 10px;
  border: 1px solid rgba(15, 35, 65, 0.18);
  padding: 12px 16px;
  background: transparent;
  color: var(--color-primary);
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.legal-cookie-settings:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.08);
}

.cookie-consent[hidden],
.cookie-modal[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
}

.cookie-consent__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
  background: #0F2341;
  color: #fff;
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.cookie-consent__text strong {
  display: block;
  margin-bottom: 6px;
  color: #D4AF37;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cookie-consent__text p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.cookie-consent__text a {
  color: #D4AF37;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions,
.cookie-modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  border: 1px solid transparent;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.cookie-btn--primary {
  background: #D4AF37;
  border-color: #D4AF37;
  color: #0F2341;
}

.cookie-btn--primary:hover {
  background: #0F2341;
  color: #D4AF37;
}

.cookie-btn--secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

.cookie-btn--secondary:hover {
  border-color: #D4AF37;
  color: #D4AF37;
}

.cookie-btn--outline {
  background: transparent;
  border-color: rgba(212,175,55,0.45);
  color: #D4AF37;
}

.cookie-btn--outline:hover {
  background: rgba(212,175,55,0.12);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 35, 65, 0.76);
}

.cookie-modal__dialog {
  position: relative;
  width: min(100%, 660px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #F7F3EA;
  color: #0F2341;
  border: 1px solid rgba(212,175,55,0.35);
  padding: 34px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.35);
}

.cookie-modal__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.cookie-modal__head h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
}

.cookie-modal__close {
  border: 0;
  background: transparent;
  color: #0F2341;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.cookie-modal__intro {
  margin: 0 0 24px;
  color: rgba(15,35,65,0.72);
  line-height: 1.65;
}

.cookie-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(15,35,65,0.12);
}

.cookie-option strong {
  display: block;
  margin-bottom: 6px;
}

.cookie-option p {
  margin: 0;
  color: rgba(15,35,65,0.70);
  line-height: 1.55;
}

.cookie-switch {
  position: relative;
  display: inline-flex;
  width: 52px;
  height: 30px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch span {
  position: absolute;
  inset: 0;
  background: rgba(15,35,65,0.22);
  cursor: pointer;
  transition: .2s;
}

.cookie-switch span::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 4px;
  top: 4px;
  background: #fff;
  transition: .2s;
}

.cookie-switch input:checked + span {
  background: #D4AF37;
}

.cookie-switch input:checked + span::before {
  transform: translateX(22px);
}

.cookie-switch input:disabled + span {
  opacity: .65;
  cursor: not-allowed;
}

.cookie-modal__actions {
  margin-top: 26px;
  justify-content: flex-end;
}

.cookie-modal .cookie-btn--secondary {
  color: #0F2341;
  border-color: rgba(15,35,65,0.25);
}

.cookie-modal .cookie-btn--secondary:hover {
  border-color: #D4AF37;
  color: #0F2341;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding: 58px 0 46px;
}

.footer-brand img {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  margin: 0 0 6px;
  color: #fff;
  font-weight: 700;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.62);
}

.footer-col h3 {
  margin: 0 0 18px;
  color: #D4AF37;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p,
.footer-cookie-settings {
  display: block;
  margin: 0 0 11px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
}

.footer-col a:hover,
.footer-cookie-settings:hover {
  color: #D4AF37;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.42);
}

.footer-cookie-settings {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.12);
}

.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.5;
}

body.is-cookie-modal-open {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .hero-inner,
  .about-grid,
  .contact-layout,
  .testimonial-layout {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 560px;
  }

  .hero-content h1 {
    font-size: clamp(2.8rem, 5.4vw, 3.35rem);
  }

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 4vw, 2.45rem);
  }

  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-card {
    flex-basis: calc((100% - 32px) / 2);
  }

  .realizations-layout {
    grid-template-columns: 1fr;
  }

  .realization-card--compact .property-photo {
    aspect-ratio: 16 / 10;
  }

  .case-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .references-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-slide {
    flex-basis: calc((100% - 24px) / 2);
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px;
  }

}

@media (max-width: 780px) {
  .header-inner {
    min-height: 72px;
    padding: 0 24px;
    gap: 18px;
  }

  .menu-toggle {
    display: inline-block;
    position: relative;
    z-index: 30;
  }

  .header-cta-desktop {
    display: none;
  }

  .header-cta-mobile {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: grid;
    gap: 18px;
    padding: 28px 24px 32px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: rgba(247, 243, 234, 0.99);
    border-top: 1px solid rgba(15, 35, 65, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition);
    box-shadow: 0 18px 36px rgba(5, 12, 24, 0.22);
    margin-left: 0;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    font-size: 14px;
    letter-spacing: 0.12em;
    color: var(--color-primary);
  }

  .nav-item {
    display: grid;
    gap: 10px;
  }

  .nav-link-group {
    justify-content: space-between;
    align-items: center;
  }

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

  .submenu {
    position: static;
    min-width: 0;
    padding: 0 0 0 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: grid;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .2s ease;
  }

  .nav-item--has-submenu:hover .submenu,
  .nav-item--has-submenu:focus-within .submenu {
    max-height: 0;
  }

  .nav-item--has-submenu.is-open .submenu {
    max-height: 420px;
    padding-top: 6px;
  }

  .submenu a {
    padding: 4px 0;
    font-size: 13px;
    background: transparent;
  }

  .site-nav a::after {
    bottom: -6px;
  }

  .references-grid {
    grid-template-columns: 1fr;
  }

  .references-section {
    padding: 56px 0;
  }

  .references-actions {
    width: 100%;
    justify-content: space-between;
  }

  .reference-modal__dialog {
    padding: 24px 20px;
  }

  .reference-modal__form {
    padding: 20px;
  }

  .reference-slide {
    flex-basis: 100%;
  }

  .hero {
    padding: 56px 0 44px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1,
  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    max-width: 16ch;
    font-size: 2.2rem;
    line-height: 1.06;
  }

  .hero-intro,
  .section-heading p,
  .about-copy p,
  .contact-copy p {
    font-size: 0.98rem;
  }

  .hero-image {
    min-height: 380px;
  }

  .media-block {
    min-height: 380px;
  }

  .section {
    padding: 54px 0;
  }

  .properties.section {
    padding-top: 48px;
  }

  .properties-head {
    display: block;
  }

  .carousel-controls {
    margin-top: 20px;
  }

  .property-grid {
    grid-template-columns: 1fr;
  }

  .realizations-section {
    padding: 56px 0;
  }

  .realization-content h3 {
    font-size: 20px;
  }

  .case-content h3 {
    font-size: 20px;
  }

  .properties-track {
    gap: 20px;
  }

  .property-card {
    flex-basis: 100%;
  }

  .property-photo {
    min-height: 300px;
  }

  .property-card__image {
    margin-bottom: 18px;
  }

  .contact-form {
    padding: 26px 22px;
  }

  .contact-section {
    padding: 54px 0;
  }

  .hero-media {
    padding: 0 0 22px;
  }

  .about-photo {
    max-width: 100%;
  }

  .site-logo img {
    width: clamp(130px, 34vw, 160px);
    margin: 0 14px;
  }

  .legal-hero {
    padding: 54px 0 28px;
  }

  .legal-content {
    padding-bottom: 58px;
  }

  .legal-hero h1 {
    max-width: 100%;
  }

  .legal-content h2 {
    margin-top: 34px;
    font-size: 24px;
  }

  .service-hero,
  .page-hero {
    padding: 54px 0 28px;
  }

  .service-content,
  .page-content {
    padding-bottom: 58px;
  }

  .service-content__grid,
  .contact-page__grid {
    grid-template-columns: 1fr;
  }

  .cookie-consent {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .cookie-consent__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .cookie-consent__actions,
  .cookie-modal__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .cookie-btn {
    width: 100%;
    padding: 11px 14px;
    font-size: 12px;
  }

  #cookieCustomize {
    grid-column: 1 / -1;
  }

  .cookie-consent__text p {
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .cookie-modal__dialog {
    padding: 24px;
  }

  .cookie-option {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 44px 0 34px;
    gap: 30px;
  }

  .footer-bottom__inner {
    display: grid;
    gap: 8px;
  }

  .footer-brand img {
    width: 180px;
  }
}

@media (max-width: 560px) {
  .hero-content h1 {
    max-width: 13ch;
    font-size: 2rem;
    line-height: 1.08;
  }

  .section-heading h2,
  .text-block h2,
  .contact-copy h2 {
    max-width: 15ch;
    font-size: 1.85rem;
    line-height: 1.08;
  }

  .section-label {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
  }

  .hero-inner,
  .about-grid,
  .contact-layout {
    gap: 34px;
  }

  .financing-panel {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    gap: 28px;
  }

  .financing-person {
    grid-template-columns: 72px 1fr;
  }

  .financing-person img {
    width: 72px;
    height: 92px;
  }

  .services-section {
    padding: 56px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }

  .brand-text strong {
    font-size: 1.05rem;
  }

  .brand-text small {
    font-size: 0.68rem;
  }

  .service-aside,
  .contact-page__aside {
    padding: 24px 20px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.contact-page {
  background: #F7F3EA;
  color: #0F2341;
}

.contact-page-hero {
  padding: 72px 0 34px;
}

.contact-page-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--color-primary);
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.contact-page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(15, 35, 65, 0.72);
  line-height: 1.7;
  font-size: 18px;
}

.contact-page-section {
  padding: 36px 0 84px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: start;
}

.contact-page-info {
  display: grid;
  gap: 24px;
}

.contact-info-card {
  padding: 30px 32px;
  border: 1px solid rgba(15, 35, 65, 0.12);
  background: rgba(255, 255, 255, 0.45);
  border-left: 2px solid #D4AF37;
}

.contact-info-card span {
  display: block;
  margin-bottom: 14px;
  color: #D4AF37;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-info-card h2,
.contact-info-card h3 {
  margin: 0 0 10px;
  color: #0F2341;
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
}

.contact-info-card h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.contact-info-card h3 {
  font-size: 1.45rem;
  line-height: 1.18;
}

.contact-info-card p {
  margin: 0 0 8px;
  color: rgba(15, 35, 65, 0.74);
  line-height: 1.6;
}

.contact-info-card a {
  display: block;
  margin-top: 8px;
  color: #0F2341;
  font-weight: 700;
  text-decoration: none;
}

.contact-info-card a:hover,
.contact-info-card a:focus-visible {
  color: #D4AF37;
}

.contact-page-form {
  width: 100%;
  max-width: 460px;
  justify-self: end;
}

.contact-page-note {
  margin: 6px 0 0;
  color: rgba(15, 35, 65, 0.68);
  line-height: 1.65;
}

.contact-page-note a {
  color: #0F2341;
  text-decoration-color: #D4AF37;
  text-underline-offset: 3px;
}

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

  .contact-page-form {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .contact-page-hero {
    padding: 54px 0 28px;
  }

  .contact-page-hero h1 {
    font-size: clamp(36px, 12vw, 46px);
  }

  .contact-page-section {
    padding: 28px 0 60px;
  }

  .contact-info-card {
    padding: 24px;
  }
}

.form-field-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-message {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 35, 65, 0.12);
  background: rgba(255, 255, 255, 0.6);
  color: var(--color-primary);
}

.form-message.is-success {
  border-color: rgba(67, 139, 92, 0.28);
  background: rgba(67, 139, 92, 0.08);
}

.form-message.is-error {
  border-color: rgba(172, 63, 63, 0.28);
  background: rgba(172, 63, 63, 0.08);
}

.service-aside-links {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 35, 65, 0.12);
}

.service-aside-links ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--color-primary);
}

.service-aside-links li + li {
  margin-top: 8px;
}

.legal-cookie-settings {
  padding-left: 0;
}

.admin-body,
.admin-login-body {
  background: #f2eee5;
  color: #0F2341;
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  padding: 28px 24px;
  background: #0F2341;
  color: #fff;
}

.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.admin-nav {
  display: grid;
  gap: 6px;
}

.admin-nav a {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.76);
  border-left: 2px solid transparent;
}

.admin-nav a:hover,
.admin-nav a:focus-visible,
.admin-nav a.is-active {
  color: #D4AF37;
  border-left-color: #D4AF37;
  background: rgba(255, 255, 255, 0.04);
}

.admin-main {
  min-width: 0;
}

.admin-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 36px 22px;
  border-bottom: 1px solid rgba(15, 35, 65, 0.08);
}

.admin-header h1 {
  margin: 0;
  color: var(--color-primary);
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(15, 35, 65, 0.72);
}

.admin-user a {
  color: var(--color-primary);
  font-weight: 700;
}

.admin-content {
  padding: 28px 36px 42px;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.admin-card,
.admin-panel {
  border: 1px solid rgba(15, 35, 65, 0.1);
  background: rgba(255, 255, 255, 0.66);
  padding: 24px;
}

.admin-card strong {
  display: block;
  margin-top: 8px;
  color: var(--color-primary);
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: 2rem;
}

.admin-panel + .admin-panel {
  margin-top: 24px;
}

.admin-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-panel h2,
.admin-panel h3 {
  margin: 0 0 16px;
  color: var(--color-primary);
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 35, 65, 0.1);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 35, 65, 0.68);
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-actions form {
  margin: 0;
}

.admin-actions button,
.admin-actions a {
  color: var(--color-primary);
  font-size: 0.95rem;
}

.admin-actions button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.admin-form {
  display: grid;
  gap: 18px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-form textarea,
.admin-form input,
.admin-form select {
  width: 100%;
  border: 1px solid rgba(15, 35, 65, 0.16);
  background: #fff;
  color: var(--color-primary);
  padding: 12px 14px;
}

.admin-form .form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-weight: 600;
}

.form-field-checkbox {
  display: flex;
  align-items: center;
}

.form-field-checkbox label {
  margin: 0;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.admin-panel--narrow {
  max-width: 760px;
}

.admin-panel--inner {
  margin: 0;
}

.admin-pages-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.admin-pages-list {
  background: #fff;
  border: 1px solid rgba(15, 35, 65, 0.12);
  padding: 14px;
}

.admin-pages-list a {
  display: block;
  padding: 13px 14px;
  color: #0F2341;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.admin-pages-list a:hover,
.admin-pages-list a:focus-visible {
  background: rgba(15, 35, 65, 0.05);
}

.admin-pages-list a.is-active {
  background: rgba(15, 35, 65, 0.07);
  border-left-color: #D4AF37;
  font-weight: 700;
}

.admin-pages-editor {
  background: #fff;
  border: 1px solid rgba(15, 35, 65, 0.12);
  padding: 28px 32px;
  min-width: 0;
}

.admin-editor-head {
  margin-bottom: 28px;
}

.admin-editor-head h2 {
  margin: 0 0 8px;
}

.admin-editor-head--compact {
  margin-bottom: 16px;
}

.admin-editor-head--compact p {
  margin: 0;
}

.admin-fieldset {
  padding: 24px 0;
  border-top: 1px solid rgba(15, 35, 65, 0.12);
}

.admin-fieldset:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.admin-fieldset h3 {
  margin: 0 0 18px;
  font-size: 20px;
}

.admin-field {
  margin-bottom: 18px;
}

.admin-field:last-child {
  margin-bottom: 0;
}

.admin-field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  color: #0F2341;
}

.admin-field input,
.admin-field textarea {
  width: 100%;
  border: 1px solid rgba(15, 35, 65, 0.16);
  background: #fff;
  padding: 12px 14px;
  color: #0F2341;
  font: inherit;
}

.admin-field textarea {
  min-height: 110px;
  resize: vertical;
}

.admin-form-actions {
  position: sticky;
  bottom: 0;
  margin-top: 28px;
  padding: 18px 0 0;
  background: #fff;
  border-top: 1px solid rgba(15, 35, 65, 0.12);
}

.admin-note {
  margin: 0;
  color: rgba(15, 35, 65, 0.72);
}

.property-form-section {
  background: #fff;
  border: 1px solid rgba(15, 35, 65, 0.12);
  padding: 28px;
  margin-bottom: 24px;
}

.property-edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.property-edit-main,
.property-edit-side {
  display: grid;
  gap: 24px;
}

.property-edit-section {
  background: #fff;
  border: 1px solid rgba(15, 35, 65, 0.12);
  padding: 28px;
}

.property-edit-section h2 {
  margin: 0 0 8px;
}

.property-edit-section .section-help {
  margin: 0 0 22px;
  color: rgba(15, 35, 65, 0.65);
}

.property-edit-form {
  gap: 0;
}

.property-form-section h2 {
  margin: 0 0 8px;
}

.property-form-section .section-help {
  margin: 0 0 22px;
  color: rgba(15, 35, 65, 0.65);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-inline-unit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 10px;
}

.form-grid .form-field--full {
  grid-column: 1 / -1;
}

.field-help {
  margin: 8px 0 0;
  color: rgba(15, 35, 65, 0.62);
  font-size: 13px;
  line-height: 1.55;
}

.field-help--file {
  word-break: break-all;
}

.admin-image-preview {
  width: 220px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin-top: 12px;
  border: 1px solid rgba(15, 35, 65, 0.12);
}

.admin-image-preview--wide {
  width: 100%;
  max-width: 280px;
}

.property-advanced-field {
  padding-top: 8px;
  border-top: 1px solid rgba(15, 35, 65, 0.08);
}

.property-side-stack {
  display: grid;
  gap: 18px;
}

.property-edit-section select {
  width: 100%;
  border: 1px solid rgba(15, 35, 65, 0.16);
  background: #fff;
  color: #0F2341;
  padding: 12px 14px;
}

.property-side-stack .form-field-checkbox {
  display: grid;
  gap: 8px;
  align-items: start;
}

.property-side-stack .form-field-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.property-side-stack .form-field-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: none;
}

.property-side-stack .form-field-checkbox .field-help {
  margin: 0 0 0 26px;
}

.property-save-button {
  width: 100%;
}

.property-preview-button {
  width: auto;
  color: #0F2341;
  border-color: rgba(15, 35, 65, 0.18);
}

.property-preview-button:hover,
.property-preview-button:focus-visible {
  color: #0F2341;
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(212, 175, 55, 0.08);
}

.property-preview-button--footer {
  min-width: 240px;
}

.gallery-upload-box {
  border: 2px dashed rgba(15, 35, 65, 0.26);
  background: rgba(15, 35, 65, 0.035);
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  transition: border-color .2s ease, background .2s ease;
}

.gallery-upload-box.is-dragover {
  border-color: #D4AF37;
  background: rgba(212, 175, 55, 0.10);
}

.gallery-upload-box--disabled {
  opacity: 0.82;
}

.gallery-upload-box__inner {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 34px;
}

.gallery-upload-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #0F2341;
  color: #D4AF37;
  font-size: 24px;
}

.gallery-upload-box strong {
  font-size: 22px;
  color: #0F2341;
}

.gallery-upload-box span {
  color: rgba(15, 35, 65, 0.55);
}

.gallery-upload-box small {
  color: rgba(15, 35, 65, 0.62);
  max-width: 420px;
  line-height: 1.5;
}

.gallery-upload-button {
  min-height: 48px;
  padding-inline: 20px;
  color: #0F2341;
  border-color: rgba(15, 35, 65, 0.18);
}

.gallery-upload-button:hover,
.gallery-upload-button:focus-visible {
  color: #0F2341;
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(212, 175, 55, 0.08);
}

.gallery-selected-files {
  margin-top: 16px;
}

.gallery-selected-files__box {
  padding: 16px 18px;
  border: 1px solid rgba(15, 35, 65, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.gallery-selected-files__title {
  margin-bottom: 10px;
  color: #0F2341;
  font-weight: 700;
}

.gallery-selected-files ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(15, 35, 65, 0.78);
}

.gallery-selected-files li + li {
  margin-top: 6px;
}

.property-gallery-current {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 35, 65, 0.12);
}

.property-gallery-current__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.property-gallery-current__head h3 {
  margin: 0;
  color: #0F2341;
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
}

.property-edit-section select {
  width: 100%;
  border: 1px solid rgba(15, 35, 65, 0.16);
  background: #fff;
  color: #0F2341;
  padding: 12px 14px;
}

.admin-panel .property-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.property-gallery-item {
  border: 1px solid rgba(15, 35, 65, 0.12);
  background: #fff;
  padding: 10px;
}

.property-gallery-frame {
  position: relative;
}

.property-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.property-gallery-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  background: rgba(15, 35, 65, 0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-gallery-name {
  margin: 10px 0 0;
  color: rgba(15, 35, 65, 0.72);
  font-size: 12px;
  line-height: 1.45;
  word-break: break-word;
}

.property-gallery-actions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.property-gallery-order {
  margin-top: 10px;
}

.property-gallery-actions .button-link,
.property-gallery-actions .button-link:hover,
.property-gallery-actions .button-link:focus-visible {
  min-height: 40px;
  color: var(--color-primary);
  border-color: rgba(15, 35, 65, 0.18);
}

.button-small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
}

.button-danger,
.button-danger:hover,
.button-danger:focus-visible {
  color: #8f2b2b !important;
  border-color: rgba(143, 43, 43, 0.28) !important;
}

.admin-hidden-form {
  display: none;
}

.admin-form-actions--property {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.admin-form-actions--property .button-primary {
  margin-left: auto;
}

.admin-rich-editor {
  border: 1px solid rgba(15, 35, 65, 0.16);
  background: #fff;
}

.admin-rich-editor__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid rgba(15, 35, 65, 0.1);
  background: rgba(15, 35, 65, 0.03);
}

.admin-rich-editor__toolbar button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(15, 35, 65, 0.16);
  background: #fff;
  color: #0F2341;
  cursor: pointer;
}

.admin-rich-editor__toolbar button:hover,
.admin-rich-editor__toolbar button:focus-visible {
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(212, 175, 55, 0.08);
}

.admin-rich-editor__surface {
  min-height: 220px;
  padding: 14px;
  color: #0F2341;
  line-height: 1.65;
}

.admin-rich-editor__surface:focus {
  outline: none;
}

.admin-rich-editor__surface p {
  margin: 0 0 14px;
}

.admin-rich-editor__surface ul,
.admin-rich-editor__surface ol {
  margin: 0 0 14px 22px;
}

.admin-rich-textarea {
  display: none;
}

.admin-gallery-list {
  display: grid;
  gap: 10px;
}

.admin-gallery-list a {
  color: var(--color-primary);
  word-break: break-all;
}

.property-detail-page {
  background: #F7F3EA;
  color: #0F2341;
}

.property-detail-hero {
  padding: 72px 0 34px;
}

.property-detail-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: rgba(15, 35, 65, 0.72);
  text-decoration: none;
}

.property-detail-back:hover,
.property-detail-back:focus-visible {
  color: #D4AF37;
}

.property-detail-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.property-detail-head h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
}

.property-detail-location {
  margin: 0;
  color: rgba(15, 35, 65, 0.72);
  font-size: 1.05rem;
}

.property-detail-price {
  min-width: 220px;
  text-align: right;
}

.property-detail-price span {
  display: block;
  margin-bottom: 10px;
  color: #D4AF37;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.property-detail-price strong {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.property-detail-content {
  padding: 16px 0 84px;
}

.property-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.property-gallery,
.property-detail-card,
.property-detail-section {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 35, 65, 0.1);
}

.property-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(15, 35, 65, 0.08);
}

.property-gallery-main-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-gallery-zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  background: rgba(15, 35, 65, 0.88);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-gallery-zoom:hover,
.property-gallery-zoom:focus-visible {
  background: #0F2341;
  color: #D4AF37;
}

.property-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(15, 35, 65, 0.86);
  color: #D4AF37;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.property-gallery-arrow--prev {
  left: 16px;
}

.property-gallery-arrow--next {
  right: 16px;
}

.property-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.property-gallery-thumb {
  border: 2px solid transparent;
  padding: 0;
  background: transparent;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.property-gallery-thumb.is-active {
  border-color: #D4AF37;
}

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

.property-lightbox[hidden] {
  display: none !important;
}

.property-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.property-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 15, 28, 0.9);
}

.property-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 48px;
}

.property-lightbox__image {
  display: block;
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 96px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.property-lightbox__close,
.property-lightbox__arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  background: rgba(15, 35, 65, 0.9);
  color: #D4AF37;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.property-lightbox__close {
  top: 20px;
  right: 20px;
}

.property-lightbox__arrow--prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.property-lightbox__arrow--next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.property-lightbox__close:hover,
.property-lightbox__close:focus-visible,
.property-lightbox__arrow:hover,
.property-lightbox__arrow:focus-visible {
  background: #102B50;
}

.property-detail-placeholder {
  margin-bottom: 0;
  aspect-ratio: 16 / 10;
}

.property-detail-section,
.property-detail-card {
  padding: 28px;
}

.property-detail-section + .property-detail-section,
.property-detail-card + .property-detail-card {
  margin-top: 24px;
}

.property-detail-section h2,
.property-detail-card h2 {
  margin: 0 0 16px;
}

.property-detail-section p {
  margin: 0;
  color: rgba(15, 35, 65, 0.78);
  line-height: 1.75;
}

.property-meta {
  margin: 0;
  display: grid;
  gap: 16px;
}

.property-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 35, 65, 0.1);
}

.property-meta dt {
  color: rgba(15, 35, 65, 0.7);
}

.property-meta dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.property-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.property-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-login-card {
  width: min(100%, 460px);
  padding: 32px;
  border: 1px solid rgba(15, 35, 65, 0.12);
  background: rgba(255, 255, 255, 0.78);
}

.admin-login-card h1 {
  margin: 18px 0 10px;
  color: var(--color-primary);
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
}

@media (max-width: 1100px) {
  .admin-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .property-edit-layout {
    grid-template-columns: 1fr;
  }
}

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

  .admin-header,
  .admin-content {
    padding-inline: 20px;
  }

  .admin-form-grid,
  .admin-grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-inline-unit {
    grid-template-columns: 1fr;
  }

  .admin-pages-layout {
    grid-template-columns: 1fr;
  }

  .property-detail-grid {
    grid-template-columns: 1fr;
  }

  .property-gallery-current__head {
    display: grid;
    justify-content: start;
  }

  .property-detail-head {
    flex-direction: column;
    align-items: start;
  }

  .property-detail-price {
    text-align: left;
  }

  .success-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 640px) {
  .admin-cards {
    grid-template-columns: 1fr 1fr;
  }

  .admin-login-card,
  .admin-card,
  .admin-panel {
    padding: 20px;
  }

  .admin-header {
    display: grid;
    align-items: start;
  }

  .property-detail-hero {
    padding: 54px 0 24px;
  }

  .property-detail-content {
    padding: 8px 0 60px;
  }

  .property-detail-section,
  .property-detail-card {
    padding: 22px;
  }

  .success-page {
    padding: 54px 0 64px;
  }

  .success-card__body {
    padding: 20px;
  }

  .gallery-upload-box {
    min-height: 220px;
  }

  .gallery-upload-box__inner,
  .property-edit-section {
    padding: 24px;
  }

  .admin-form-actions--property {
    display: grid;
    gap: 12px;
  }

  .admin-form-actions--property .button-primary {
    margin-left: 0;
  }

  .property-gallery-main {
    aspect-ratio: 4 / 3;
  }

  .property-gallery-arrow {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .property-gallery-thumbs {
    grid-auto-flow: column;
    grid-auto-columns: 92px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

.site-header {
  background:
    radial-gradient(circle at 12% 0%, rgba(212, 175, 55, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
    #0F2341;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  box-shadow: 0 18px 38px rgba(6, 17, 33, 0.24);
}

.site-header::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.58) 18%, rgba(212, 175, 55, 0.1) 100%);
}

.header-inner {
  min-height: 98px;
  gap: 28px;
}

.brand {
  display: grid;
  gap: 4px;
  color: #fff;
  margin-right: 22px;
}

.brand img {
  width: clamp(360px, 31vw, 390px);
  filter: brightness(1.2) contrast(1.04) saturate(1.02);
}

.brand-tagline {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.site-nav,
.site-nav a,
.nav-link-group > a,
.submenu-toggle {
  color: rgba(255, 255, 255, 0.84);
}

.site-nav {
  font-size: 11px;
  letter-spacing: 0.16em;
  gap: 30px;
  color: rgba(255, 255, 255, 0.74);
}

.site-nav a.is-active,
.site-nav a:hover,
.site-nav a:focus-visible,
.nav-item--has-submenu:hover .nav-link-group > a,
.nav-item--has-submenu:focus-within .nav-link-group > a,
.submenu-toggle:hover,
.submenu-toggle:focus-visible {
  color: #e3c46a;
}

.submenu {
  background: rgba(14, 31, 57, 0.98);
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 24px 50px rgba(3, 10, 21, 0.5);
}

.submenu a {
  color: rgba(255, 255, 255, 0.84);
}

.submenu a:hover,
.submenu a:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  color: #D4AF37;
}

.header-cta {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: rgba(227, 196, 106, 0.9);
  color: #f1d788;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 82px;
}

.hero::before {
  content: "";
  position: absolute;
  left: clamp(10px, 5vw, 88px);
  top: 44px;
  width: clamp(250px, 30vw, 320px);
  aspect-ratio: 1.2 / 1.5;
  background: url("../images/pismeno-v.png") center / contain no-repeat;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-media {
  position: relative;
  padding-left: 8px;
}

.hero-image {
  min-height: 680px;
  aspect-ratio: 14 / 11;
  border-color: rgba(212, 175, 55, 0.24);
}

.hero-inner {
  grid-template-columns: minmax(360px, 0.46fr) minmax(0, 0.54fr);
  gap: 36px;
  align-items: center;
}

.hero-title,
.hero-content h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 6vw, 5rem);
  line-height: 0.96;
}

.hero-intro {
  max-width: 35rem;
  margin-top: 18px;
  font-size: 1.08rem;
}

.hero-note {
  margin-top: 20px;
}

.hero-card {
  left: 26px;
  bottom: 18px;
  max-width: 320px;
}

.section-light {
  background: #FFFFFF;
}

.references-section {
  background: #fbfaf7;
}

.contact-form {
  background: #fff;
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    #0F2341;
}

.footer-brand img {
  width: 240px;
}

.financing-section {
  padding: 70px 0 66px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}

.financing-panel {
  max-width: 1180px;
  margin: 0 auto;
  gap: 54px;
  padding: 44px 48px;
  background: rgba(255, 255, 255, 0.82);
}

.financing-copy p:last-child {
  max-width: 500px;
}

.footer-main {
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 52px 0 38px;
}

.footer-brand p {
  margin-bottom: 4px;
}

.footer-col {
  min-width: 0;
}

.footer-col--contact {
  justify-self: end;
  text-align: left;
}

.footer-legal-links {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 1100px) {
  .header-inner {
    min-height: 90px;
    gap: 24px;
    padding: 0 24px;
  }

  .brand img {
    width: clamp(300px, 34vw, 360px);
  }

  .site-nav {
    gap: 22px;
    font-size: 10px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 84px;
  }

  .brand img {
    width: clamp(245px, 46vw, 320px);
  }

  .brand-tagline {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .hero::before {
    display: none;
  }

  .hero {
    padding: 68px 0 54px;
  }

  .hero-inner {
    gap: 28px;
  }

  .hero-image {
    min-height: 500px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-col--contact {
    justify-self: start;
  }
}

.contact-copy h2,
.contact-copy h2 * {
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none;
}

@media (max-width: 768px) {
  .header-inner {
    position: relative;
    min-height: 88px;
    justify-content: center;
    padding: 0 20px;
    gap: 0;
  }

  .brand {
    margin: 0 auto;
    justify-items: center;
  }

  .brand img {
    width: auto;
    max-width: calc(100vw - 112px);
    max-height: 90px;
    object-fit: contain;
  }

  .menu-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 80;
  }

  .menu-toggle span {
    background: #ffffff !important;
  }

  .site-nav {
    inset: 88px 0 auto;
    margin-left: 0;
    gap: 0;
    padding: 18px 0 24px;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    background: #0F2341;
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }

  .site-nav.is-open {
    background: #0F2341;
    opacity: 1;
  }

  .site-nav a,
  .nav-link-group > a,
  .submenu-toggle {
    color: #ffffff !important;
    opacity: 1;
  }

  .site-nav > a,
  .site-nav > .nav-item,
  .site-nav > .header-cta-mobile {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-nav > a,
  .nav-link-group > a {
    display: block;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav a::after,
  .nav-link-group > a::after {
    display: none;
  }

  .nav-link-group {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .submenu-toggle {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: transparent;
    font-size: 14px;
  }

  .submenu {
    background: #10294d;
    border: 0;
    box-shadow: none;
    padding: 4px 0 8px;
  }

  .submenu a {
    display: block;
    padding: 12px 0 12px 14px;
    font-size: 14px;
    line-height: 1.45;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .nav-link-group > a:hover,
  .nav-link-group > a:focus-visible,
  .submenu-toggle:hover,
  .submenu-toggle:focus-visible,
  .submenu a:hover,
  .submenu a:focus-visible {
    color: #D4AF37 !important;
  }

  .header-cta-mobile {
    display: inline-flex;
    width: calc(100% - 48px);
    justify-content: center;
    margin: 18px 24px 0;
    padding: 14px 18px;
    border: 1px solid #D4AF37;
    color: #ffffff !important;
    background: transparent;
    text-align: center;
  }
}

@media (min-width: 901px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background:
      radial-gradient(circle at 12% 0%, rgba(212, 175, 55, 0.1), transparent 24%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
      #0F2341;
    border-bottom: 1px solid rgba(212, 175, 55, 0.45);
    z-index: 20;
  }

  .site-header + main {
    padding-top: 132px;
  }

  .site-header::after {
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.68) 18%, rgba(212, 175, 55, 0.14) 100%);
  }

  .header-inner {
    position: relative;
    min-height: 122px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 42px;
    gap: 0;
  }

  .site-nav-desktop {
    display: contents;
  }

  .site-nav-left,
  .site-nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
  }

  .site-nav-left {
    grid-column: 1;
    justify-content: flex-start;
    padding-right: min(180px, 16vw);
  }

  .site-nav-right {
    grid-column: 3;
    justify-content: flex-end;
    padding-left: min(180px, 16vw);
  }

  .site-logo {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -44%);
      z-index: 3;
      display: block;
      margin: 0;
      padding-top: 11px;
      transition: transform 0.32s ease, filter 0.32s ease;
  }

  .site-logo img {
      width: clamp(380px, 33vw, 560px);
      max-height: 150px;
      height: auto;
      object-fit: contain;
      transition: transform 0.32s ease, filter 0.32s ease;
      filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 18px rgba(212, 175, 55, 0.12));
  }

  .site-logo:hover,
  .site-logo:focus-visible {
      transform: translate(-50%, -46%);
  }

  .site-logo:hover img,
  .site-logo:focus-visible img {
      transform: scale(1.035);
      filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 26px rgba(212, 175, 55, 0.22));
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav-left a,
  .site-nav-right > a,
  .site-nav-right .nav-link-group > a {
    position: relative;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 10px 12px;
  }

  .site-nav-left a::after,
  .site-nav-right > a::after,
  .site-nav-right .nav-link-group > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.95) 50%, transparent 100%);
  }

  .site-nav-left a:hover,
  .site-nav-left a:focus-visible,
  .site-nav-right > a:hover,
  .site-nav-right > a:focus-visible,
  .site-nav-right .nav-link-group > a:hover,
  .site-nav-right .nav-link-group > a:focus-visible,
  .nav-item--desktop:hover .nav-link-group > a,
  .nav-item--desktop:focus-within .nav-link-group > a {
    color: #D4AF37;
  }

  .site-nav-left a:hover::after,
  .site-nav-left a:focus-visible::after,
  .site-nav-right > a:hover::after,
  .site-nav-right > a:focus-visible::after,
  .site-nav-right .nav-link-group > a:hover::after,
  .site-nav-right .nav-link-group > a:focus-visible::after,
  .nav-item--desktop:hover .nav-link-group > a::after,
  .nav-item--desktop:focus-within .nav-link-group > a::after {
    transform: scaleX(1);
  }

  .nav-item--desktop .submenu {
    background: rgba(14, 31, 57, 0.98);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 24px 50px rgba(3, 10, 21, 0.5);
  }

  .nav-item--desktop .submenu a {
    color: rgba(255, 255, 255, 0.84);
  }

  .nav-item--desktop .submenu a:hover,
  .nav-item--desktop .submenu a:focus-visible {
    color: #D4AF37;
    background: rgba(255, 255, 255, 0.04);
  }

  .header-cta-desktop {
    display: inline-flex;
    min-height: 50px;
    padding: 0 26px;
    border: 1px solid rgba(212, 175, 55, 0.55);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    color: #fff !important;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .header-cta-desktop:hover,
  .header-cta-desktop:focus-visible {
    border-color: rgba(227, 196, 106, 0.9);
    color: #f1d788 !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  }

  .footer-brand img {
    width: min(420px, 100%);
  }
}

@media (max-width: 999px) {
  .site-nav-desktop,
  .site-nav-left,
  .site-nav-right,
  .desktop-nav,
  .primary-nav {
    display: none !important;
  }

  .header-inner {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    position: relative;
  }

  .site-logo {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    padding-top: 0 !important;
    z-index: 2;
  }

  .site-logo:hover,
  .site-logo:focus-visible {
    transform: none !important;
  }

  .site-logo img,
  .site-logo:hover img,
  .site-logo:focus-visible img {
    width: auto !important;
    max-width: min(280px, calc(100vw - 104px));
    max-height: 90px !important;
    height: auto;
    margin: 0 !important;
    object-fit: contain;
    transform: none !important;
  }

  .menu-toggle,
  .nav-toggle,
  .mobile-menu-toggle,
  .hamburger {
    display: inline-flex !important;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
  }

  .menu-toggle span,
  .nav-toggle span,
  .mobile-menu-toggle span,
  .hamburger span {
    background: #ffffff !important;
  }

  .site-nav {
    position: fixed;
    top: 97px;
    right: 0;
    left: 0;
    display: block !important;
    padding: 18px 0 24px;
    margin-left: 0;
    max-height: calc(100vh - 97px);
    overflow-y: auto;
    background: #0F2341 !important;
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 40;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a,
  .site-nav > .nav-item,
  .site-nav > .header-cta-mobile {
    display: block;
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-nav a,
  .site-nav .nav-link-group > a,
  .site-nav .submenu-toggle {
    color: #ffffff !important;
    opacity: 1;
  }

  .site-nav > a,
  .site-nav .nav-link-group > a {
    display: block;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  .site-nav a::after,
  .site-nav .nav-link-group > a::after {
    display: none !important;
  }

  .nav-link-group {
    align-items: center;
  }

  .submenu-toggle {
    margin-left: auto;
    padding: 16px 0 16px 16px;
    border: 0;
    background: transparent;
    font-size: 13px;
  }

  .submenu {
    position: static;
    display: none;
    padding: 0 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-item.is-open .submenu {
    display: block;
  }

  .submenu a {
    display: block;
    padding: 12px 24px 12px 36px;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav .nav-link-group > a:hover,
  .site-nav .nav-link-group > a:focus-visible,
  .site-nav .submenu-toggle:hover,
  .site-nav .submenu-toggle:focus-visible,
  .submenu a:hover,
  .submenu a:focus-visible {
    color: #D4AF37 !important;
  }

  .header-cta-mobile {
    display: inline-flex !important;
    width: calc(100% - 48px);
    justify-content: center;
    margin: 18px 24px 0;
    padding: 14px 18px;
    border: 1px solid #D4AF37;
    color: #ffffff !important;
    background: transparent;
    text-align: center;
  }
}
