/* ============================================================
   RELLOX SKIN — final override layer
   Loaded LAST. Reshapes Costa Reality into Rellox-inspired editorial style.
   ============================================================ */

/* ---------- 1. GLOBAL ---------- */
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #14233E;
  background: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: #14233E;
}

/* Italic emphasis now in burgundy (not gold) */
h1 em, h2 em, h3 em, .hero__title em,
.stat__value em, .location-card__name em,
.footer-brand em, .contact-band h2 em {
  font-style: italic;
  font-weight: 500;
  color: #9B1C1C !important;
}

/* Generic sharp edges (icon circles & link pills stay round) */
.project-card,
.feature,
.location-card,
.broker__portrait,
.form__field input,
.form__field textarea,
.form__field select,
.btn,
.header-cta,
.page-header,
.project-card__badge {
  border-radius: 0 !important;
}

/* ---------- 2. HEADER ---------- */
.brand__text strong { font-weight: 700; letter-spacing: 0.02em; }
.brand__text em { color: #9B1C1C !important; font-style: italic; font-weight: 500; }

.primary-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.header-cta {
  background: #9B1C1C;
  color: #FFFFFF !important;
  border-color: #9B1C1C !important;
  border-radius: 9999px !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.85rem 1.5rem;
}
.header-cta:hover {
  background: #821414 !important;
  border-color: #821414 !important;
  color: #FFFFFF !important;
}

.site-header.is-scrolled,
.site-header.is-light-bg {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom-color: #E4E4E0;
}

/* For project-hero pages (TM Tower) the photo can be bright — give the
   header a soft white veil so the dark logo and navy nav stay readable. */
body:has(.project-hero) .site-header:not(.is-scrolled) {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
body:has(.project-hero) .site-header:not(.is-scrolled) .brand,
body:has(.project-hero) .site-header:not(.is-scrolled) .brand__text strong { color: #14233E; }
body:has(.project-hero) .site-header:not(.is-scrolled) .primary-nav a { color: #14233E; }

/* On dark-hero pages (index, no .is-light-bg), give the header a soft top-fade
   so brand + nav are readable regardless of what's behind. Removed on scroll. */
.site-header:not(.is-scrolled):not(.is-light-bg) {
  background: linear-gradient(180deg, rgba(8,18,38,0.55) 0%, rgba(8,18,38,0.0) 100%);
}

.site-header:not(.is-scrolled):not(.is-light-bg) .brand__text strong {
  color: #FFFFFF !important;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.site-header:not(.is-scrolled):not(.is-light-bg) .brand__text em {
  color: #F4C9C9 !important;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
.site-header:not(.is-scrolled):not(.is-light-bg) .primary-nav a {
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* ---------- 3. HERO ---------- */
.hero { min-height: 92vh; }

.hero__overlay {
  background:
    /* Strong dark band at top to keep header readable */
    linear-gradient(180deg,
      rgba(8,18,38,0.70) 0%,
      rgba(8,18,38,0.45) 12%,
      rgba(8,18,38,0.15) 30%,
      rgba(8,18,38,0.05) 55%,
      rgba(8,18,38,0.30) 80%,
      rgba(8,18,38,0.70) 100%),
    /* Asymmetric vignette from left to add depth */
    linear-gradient(95deg,
      rgba(8,18,38,0.30) 0%,
      rgba(8,18,38,0.00) 50%);
}

.hero__eyebrow {
  color: #FFFFFF;
  letter-spacing: 0.26em;
  font-weight: 600;
  font-size: 0.78rem;
}
.hero__eyebrow::before { background: #9B1C1C; width: 40px; }

.hero__title {
  font-weight: 500;
  text-align: left;
  margin-inline: 0;
  margin-left: auto;
  max-width: 14ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.55);
  font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  line-height: 1.04;
}
.hero__title em {
  color: #FFFFFF !important;
  font-style: italic;
  position: relative;
  display: inline-block;
}
.hero__title em::after { content: none; }

.hero__content {
  max-width: 1280px;
  margin-inline: auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.hero__lead {
  margin-inline: 0;
  margin-left: auto;
  text-align: left;
  max-width: 48ch;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
.hero__eyebrow {
  margin-left: auto;
  text-align: left;
}
.hero__actions { justify-content: flex-start; }

/* Hero scroll arrow — Rellox style */
.hero__scroll-hint {
  letter-spacing: 0.24em;
  font-weight: 500;
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  border-radius: 9999px !important;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 1rem 2rem;
}
.btn--large { padding: 1.2rem 2.4rem; font-size: 0.82rem; }

.btn--primary,
.btn--accent {
  background: #9B1C1C;
  color: #FFFFFF;
  border-color: #9B1C1C;
}
.btn--primary:hover,
.btn--accent:hover {
  background: #821414;
  border-color: #821414;
  color: #FFFFFF;
}

.btn--outline {
  border-color: #14233E;
  color: #14233E;
}
.btn--outline:hover {
  background: #14233E;
  color: #FFFFFF;
}

.btn--outline-light {
  border-color: #FFFFFF;
  color: #FFFFFF;
}
.btn--outline-light:hover {
  background: #FFFFFF;
  color: #14233E;
}

.btn--ghost {
  border-radius: 0 !important;
  border-bottom: 1px solid #9B1C1C !important;
  color: #9B1C1C !important;
  letter-spacing: 0.18em;
  padding: 0.5rem 0;
}

/* ---------- 5. SECTION HEADS ---------- */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #14233E;
}
.eyebrow::before {
  width: 0; height: 0;
  background: transparent;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 11px solid #9B1C1C;
  transform: rotate(-8deg);
  margin-right: 4px;
}

.section-title {
  font-size: clamp(2rem, 1rem + 3vw, 3.6rem);
  font-weight: 500;
  max-width: 22ch;
  letter-spacing: -0.01em;
  position: relative;
}

.section-head--centered .section-title { max-width: 26ch; }

/* Optional: red dot decorator left of big titles */
.section-title.has-mark::before {
  content: "";
  display: inline-block;
  vertical-align: 0.55em;
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 14px solid #9B1C1C;
  transform: rotate(-8deg);
  margin-right: 0.5em;
}

/* ---------- 6. STATS BAND ---------- */
.stats-band {
  background: #14233E;
}
.stat::before { background: #9B1C1C; }
.stat__value { font-weight: 500; }
.stat__label {
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.65);
}

/* ---------- 7. PROJECT CARDS ---------- */
.project-card {
  background: #FFFFFF;
  border: none !important;
  box-shadow: 0 1px 0 #E4E4E0;
  border-radius: 0 !important;
  transition: transform 320ms cubic-bezier(0.16,1,0.3,1), box-shadow 320ms;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(20,35,62,0.12);
}

.project-card__media { aspect-ratio: 4/3; }

.project-card__body { padding: 1.75rem 1.75rem 2rem; gap: 0.75rem; }

.project-card__location {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #9B1C1C;
  text-transform: uppercase;
}
.project-card__location::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(155,28,28,0.3), transparent);
}

.project-card__title {
  font-size: 1.4rem;
  font-weight: 500;
  color: #14233E;
  line-height: 1.25;
}

.project-card__price {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.05rem;
  font-weight: 600;
  color: #14233E;
  letter-spacing: 0;
}
.project-card__price small {
  font-weight: 500;
  color: #5A6478;
  letter-spacing: 0.14em;
}

.project-card__footer {
  border-top: 1px solid #E4E4E0;
  padding-top: 1.2rem;
}

.project-card__arrow {
  width: 40px; height: 40px;
  background: #14233E;
  color: #FFFFFF;
  border-radius: 9999px !important;
}
.project-card:hover .project-card__arrow {
  background: #9B1C1C;
  color: #FFFFFF;
}

.project-card__badge {
  background: #9B1C1C;
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.5rem 1rem;
  border-radius: 0 !important;
}

/* Section that holds projects — light grey */
.section-projects,
section.projects-section,
.featured-projects {
  background: #F4F4F2;
}

/* ---------- 8. LOCATIONS ---------- */
.location-card { border-radius: 0 !important; }
.location-card::after {
  background: linear-gradient(to top,
    rgba(20,35,62,0.85) 0%,
    rgba(20,35,62,0.15) 60%,
    transparent 100%);
}
.location-card__name {
  font-weight: 500;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.location-card__name em { color: #FFFFFF !important; }

.location-card__tags span {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- 9. FEATURES / BROKERS ---------- */
.feature {
  background: #FFFFFF;
  border: 1px solid #E4E4E0;
  padding: 2.5rem 2rem;
}
.feature:hover { background: #F4F4F2; }

.feature__icon {
  background: rgba(155,28,28,0.08);
  color: #9B1C1C;
  border-radius: 0 !important;
  width: 56px; height: 56px;
}

.feature__title {
  font-weight: 600;
  font-size: 1.15rem;
  color: #14233E;
}

.broker__role { color: #9B1C1C; font-weight: 700; letter-spacing: 0.18em; }
.broker__portrait { border-radius: 0 !important; }
.broker__contacts a:hover { color: #9B1C1C; }

/* ---------- 10. PROCESS ---------- */
.process__step::before {
  font-family: 'Playfair Display', serif;
  color: #9B1C1C;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
}
.process__step:first-child { border-left-color: #9B1C1C; }
.process__step h3 { font-weight: 500; font-size: 1.2rem; }

/* ---------- 11. CONTACT BAND ---------- */
.contact-band { background: #14233E; }
.contact-band::before {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(155,28,28,0.18), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(155,28,28,0.08), transparent 60%);
}
.contact-info svg { color: #9B1C1C; }
.contact-info a:hover { color: #FFFFFF; opacity: 0.85; }
.contact-band h2 em { color: #FFFFFF !important; position: relative; }
.contact-band h2 em::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #9B1C1C;
  margin-top: 0.3em;
}

/* ---------- 12. FORM ---------- */
.form__field input,
.form__field textarea,
.form__field select {
  border-radius: 0 !important;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
}
.form--light .form__field input,
.form--light .form__field textarea,
.form--light .form__field select {
  background: #FFFFFF;
  border: 1px solid #D6D6D0;
}
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus { border-color: #9B1C1C; }

.form__field label {
  font-weight: 700;
  letter-spacing: 0.2em;
}

/* ---------- 13. FOOTER ---------- */
.site-footer { background: #0E1A30; }
.footer-brand em { color: #9B1C1C !important; }
.footer-col h4 {
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
}
.footer-col li a:hover { color: #9B1C1C; }

/* ---------- 14. PAGE HEADER (interior pages) ---------- */
.page-header {
  background: #F4F4F2;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
}
.page-header h1 {
  font-size: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  font-weight: 500;
  max-width: 22ch;
}
.page-header h1 em {
  color: #9B1C1C !important;
  font-weight: 500;
}

.breadcrumb {
  background: #F4F4F2;
  padding-top: calc(var(--header-height) + 1.5rem);
  font-weight: 600;
  letter-spacing: 0.2em;
}
.breadcrumb a:hover { color: #9B1C1C; }

/* ---------- 15. TM TOWER project hero (detail) ---------- */
.project-hero {
  border-radius: 0 !important;
}
.project-hero__overlay,
.project-hero::after {
  background: linear-gradient(to bottom,
    rgba(20,35,62,0.45) 0%,
    rgba(20,35,62,0.30) 35%,
    rgba(20,35,62,0.55) 70%,
    rgba(20,35,62,0.85) 100%) !important;
}
.project-hero h1 {
  font-weight: 500;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.project-hero h1 em { color: #FFFFFF !important; }

/* Location row — better contrast, red icon */
.project-hero__location {
  color: #FFFFFF !important;
  font-weight: 700;
  letter-spacing: 0.18em !important;
  font-size: 0.78rem !important;
}
.project-hero__location svg { color: #9B1C1C; }

.project-hero__breadcrumb {
  color: rgba(255,255,255,0.75) !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.project-hero__breadcrumb a {
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none !important;
}
.project-hero__breadcrumb a:hover { color: #FFFFFF !important; }

.project-hero__tag {
  color: rgba(255,255,255,0.95) !important;
}

.project-hero__meta-label { color: rgba(255,255,255,0.7) !important; font-weight: 600; letter-spacing: 0.18em; }

/* ---------- 16. FILTER BAR (projekty) ---------- */
.filter-bar button,
.filter-pill {
  border-radius: 9999px !important;
  border: 1px solid #D6D6D0;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.7rem 1.4rem;
  color: #14233E;
  background: #FFFFFF;
  transition: all 180ms;
}
.filter-bar button:hover,
.filter-pill:hover {
  border-color: #9B1C1C;
  color: #9B1C1C;
}
.filter-bar button.is-active,
.filter-pill.is-active {
  background: #9B1C1C;
  border-color: #9B1C1C;
  color: #FFFFFF;
}

/* ---------- 17. SPEC GRID (TM TOWER) ---------- */
.spec {
  background: #FFFFFF;
  border: 1px solid #E4E4E0;
  border-top: 3px solid #9B1C1C;
}
.spec__label {
  color: #9B1C1C;
  font-weight: 700;
  letter-spacing: 0.2em;
}

/* ---------- 18. LIGHTBOX & DECORATIVE ---------- */
.lightbox__close,
.lightbox__nav {
  border-radius: 9999px !important;
}

/* Misc red triangle accent for section eyebrow markers */
.red-triangle {
  display: inline-block;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 13px solid #9B1C1C;
  transform: rotate(-8deg);
  margin-right: 0.5em;
  vertical-align: middle;
}

/* ---------- 19. FEE CARDS ---------- */
.fee-card {
  border-radius: 0 !important;
  border-top: 4px solid #9B1C1C;
}
.fee-card.is-featured,
.fee-card--featured {
  background: #14233E !important;
  color: #FFFFFF;
  border-top-color: #9B1C1C;
}

/* ---------- 20. CONTACT CARDS ---------- */
.contact-card {
  border-radius: 0 !important;
  border: 1px solid #E4E4E0;
}
.contact-card__monogram {
  border-radius: 9999px !important;
}

/* ---------- 21. ACCENT-COLOR TEXT swap ---------- */
.text-accent,
[class*="accent"] em {
  color: #9B1C1C;
}

/* Make sure inverse hero text remains light */
.hero__title,
.contact-band h2,
.contact-band p,
.footer-brand,
.site-footer h4,
.location-card__name,
.location-card__desc {
  color: #FFFFFF;
}
.contact-band p { color: rgba(255,255,255,0.78); }

/* ---------- 22. RED TRIANGLE BEFORE BIG SECTION TITLES ---------- */
.section-head .section-title::before,
.section-head--centered .section-title::before {
  content: "";
  display: inline-block;
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 14px solid #9B1C1C;
  transform: rotate(-8deg);
  margin-right: 0.55em;
  vertical-align: 0.5em;
}

/* ---------- 23. SPANISH TEAM ICON PORTRAIT (homepage brokers preview) ---------- */
.broker__portrait--icon {
  background: linear-gradient(140deg, #14233E 0%, #1F3656 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.broker__portrait--icon svg {
  width: 44%;
  height: auto;
  color: rgba(229, 165, 165, 0.9); /* matches hero "Reality" accent */
}
.broker--team:hover .broker__portrait--icon { transform: none; }

/* ---------- 24. SPANISH BROKERS ON THE GROUND (O nás) ---------- */
.spanish-brokers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-10);
}
@media (max-width: 768px) {
  .spanish-brokers { grid-template-columns: 1fr; gap: var(--space-8); }
}
.spanish-broker {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-6);
  align-items: start;
  background: #FFFFFF;
  border: 1px solid var(--color-divider);
  padding: var(--space-6);
}
@media (max-width: 540px) {
  .spanish-broker { grid-template-columns: 130px 1fr; gap: var(--space-4); padding: var(--space-5); }
}
.spanish-broker__portrait {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.spanish-broker__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.spanish-broker__badge {
  position: absolute;
  top: 10px; left: 10px;
  background: #9B1C1C;
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.spanish-broker__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  margin: 0.25rem 0 0.15rem;
  color: var(--color-text);
}
.spanish-broker__role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9B1C1C;
  margin-bottom: 0.85rem;
}
.spanish-broker__content p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

/* ============================================
   25. PARTNERS GRID (Spolupráce page)
   ============================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 1000px) {
  .partners-grid { grid-template-columns: 1fr; gap: var(--space-5); }
}
.partner-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--color-divider);
  padding: var(--space-7) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
}
.partner-card__badge {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  background: #9B1C1C;
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.partner-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
  color: var(--color-brand);
  margin-bottom: var(--space-5);
}
.partner-card__country {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.partner-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 0 0 var(--space-3);
  color: var(--color-text);
}
.partner-card__lead {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-5);
}
.partner-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-4);
}
.partner-card__list li {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-text);
  padding: 0.45rem 0 0.45rem 1.1rem;
  position: relative;
}
.partner-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 1px;
  background: var(--color-accent);
}
.partner-card__footer {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px dashed var(--color-divider);
}
.partner-card__placeholder {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================
   26. SPAIN PRICE CHART (homepage)
   ============================================ */
.price-chart-section {
  background: var(--color-surface);
}
.price-chart-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 900px) {
  .price-chart-wrap { grid-template-columns: 1fr; gap: var(--space-6); }
}
.price-chart-copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  color: var(--color-text);
}
.price-chart-copy h2 em {
  font-style: italic;
  color: var(--color-accent);
}
.price-chart-copy p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-3);
}
.price-chart-source {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--space-4);
}
.price-chart-card {
  background: #FFFFFF;
  border: 1px solid var(--color-divider);
  padding: var(--space-6);
}
.price-chart-card svg {
  width: 100%;
  height: auto;
  display: block;
}
.price-chart-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
}
.price-chart-stat__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #9B1C1C;
  font-weight: 500;
  line-height: 1;
}
.price-chart-stat__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}

/* ============================================================
   DETAIL PAGE — projekt.html  (pdetail-* prefixed)
   ============================================================ */

/* ---- HERO ---- */
.pdetail-hero {
  position: relative;
  height: 520px;
  width: 100%;
  overflow: hidden;
  background: #14233E;
}
.pdetail-hero__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.pdetail-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-7);
  background:
    linear-gradient(
      to bottom,
      rgba(20, 35, 62, 0.35) 0%,
      rgba(20, 35, 62, 0.10) 25%,
      rgba(20, 35, 62, 0.55) 65%,
      rgba(15, 25, 45, 0.92) 100%
    );
}
/* Soft dark band right behind the title block for guaranteed legibility */
.pdetail-hero__overlay::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(8, 15, 28, 0.65) 0%,
    rgba(8, 15, 28, 0.25) 60%,
    rgba(8, 15, 28, 0) 100%
  );
  z-index: 1;
}
.pdetail-hero__inner {
  color: #fff;
  max-width: 880px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.pdetail-hero__back {
  display: inline-block;
  color: rgba(255,255,255,0.92);
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-4);
  transition: color 0.2s ease;
  text-shadow: 0 1px 10px rgba(0,0,0,0.7);
}
.pdetail-hero__back:hover { color: var(--color-accent); }
.pdetail-hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: var(--space-3);
  text-shadow: 0 2px 12px rgba(0,0,0,0.7), 0 0 2px rgba(0,0,0,0.5);
}
.pdetail-hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  vertical-align: middle;
  margin-right: 0.7em;
  transform: translateY(-2px);
}
.pdetail-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 22px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.5);
}
.pdetail-hero__price {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: #FFFFFF;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-left: 3px solid var(--color-accent);
  padding: 0.15rem 0 0.15rem var(--space-3);
  margin-top: var(--space-3);
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
}
@media (max-width: 800px) {
  .pdetail-hero { height: 440px; }
  .pdetail-hero__overlay { padding-bottom: var(--space-5); }
  .pdetail-hero__title { font-size: 1.85rem; }
}

/* ---- STATS ---- */
.pdetail-stats { padding-top: var(--space-6); }
.pdetail-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: #FFFFFF;
  border: 1px solid var(--color-divider);
  border-top: 3px solid var(--color-accent);
}
.pdetail-stat {
  padding: var(--space-5);
  border-right: 1px solid var(--color-divider);
}
.pdetail-stat:last-child { border-right: 0; }
.pdetail-stat__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.pdetail-stat__val {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}
@media (max-width: 800px) {
  .pdetail-stats__grid { grid-template-columns: 1fr; }
  .pdetail-stat { border-right: 0; border-bottom: 1px solid var(--color-divider); }
  .pdetail-stat:last-child { border-bottom: 0; }
}

/* ---- PROSE ---- */
.pdetail-prose { max-width: 760px; }
.pdetail-prose .section-title { margin-bottom: var(--space-4); }
.pdetail-prose p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-3);
}

/* ---- GALLERY ---- */
.pdetail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-3);
}
.pdetail-gallery__item {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface-2);
  cursor: zoom-in;
}
.pdetail-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.pdetail-gallery__item:hover img { transform: scale(1.04); }

/* ---- AMENITIES ---- */
.amen-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 880px;
}
.amen-chip {
  display: inline-block;
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  padding: 0.45rem 0.9rem;
  font-size: 0.86rem;
  color: var(--color-text);
  line-height: 1.4;
}

/* contact-band single column for detail page */
.contact-band__inner--single {
  grid-template-columns: 1fr !important;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact-band__inner--single .btn { margin: 0 auto; }
