/* ============================================================
   ALTO HOME — Stylesheet Principal (Mobile-First)
   ============================================================ */

/* ---- Google Fonts loaded async in HTML head (non-blocking) ---- */

/* ---- Variabile ---- */
:root {
  --gold:        #BFA46A;
  --gold-light:  #D4BA87;
  --gold-dark:   #9E8750;
  --dark:        #0D0D0D;
  --dark-2:      #161616;
  --dark-3:      #222222;
  --off-white:   #F5F2ED;
  --white:       #FFFFFF;
  --gray:        #888888;
  --gray-light:  #E8E4DD;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Montserrat', Arial, sans-serif;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius:      2px;
  --shadow:      0 4px 30px rgba(0,0,0,0.35);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--dark);
  color: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-sans); }
ul { list-style: none; }

/* ---- Tipografie ---- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 8vw, 5rem); }
h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p  { font-size: clamp(0.88rem, 2.2vw, 1rem); color: var(--gray); line-height: 1.8; }

/* ---- Utilitare ---- */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 80px 0; }
.section--dark  { background: var(--dark); }
.section--dark2 { background: var(--dark-2); }
.section--dark3 { background: var(--dark-3); }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  margin-bottom: 16px;
  color: var(--white);
}
.section-subtitle {
  max-width: 560px;
  margin-bottom: 48px;
}
.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 20px 0 36px;
}
.divider--center { margin: 20px auto 36px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: var(--transition);
  cursor: pointer;
}
.btn:hover, .btn:focus-visible {
  background: var(--gold);
  color: var(--dark);
}
.btn--solid {
  background: var(--gold);
  color: var(--dark);
}
.btn--solid:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn--white {
  border-color: var(--white);
  color: var(--white);
}
.btn--white:hover {
  background: var(--white);
  color: var(--dark);
}

/* ---- Animații ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ================================================================
   NAVIGAȚIE
   ================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(13, 13, 13, 0.96);
  padding: 12px 20px;
  box-shadow: 0 1px 20px rgba(0,0,0,0.5);
  /* backdrop-filter adaugat doar pe desktop — pe mobil creeaza containing block
     pentru .nav-menu position:fixed, cauzand afisare gresita a meniului */
}
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1001;
}
.nav-logo-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
}
.nav-logo-tagline {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  margin-top: 3px;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menu overlay */
.nav-menu {
  position: fixed;
  inset: 0;
  background: rgb(13, 13, 13);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 999;
}
.nav-menu.open {
  opacity: 1;
  pointer-events: all;
}

.nav-menu a {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--off-white);
  letter-spacing: 0.05em;
  padding: 12px 24px;
  transition: color var(--transition);
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-menu-contact {
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gray);
  text-transform: uppercase;
}

/* ================================================================
   HERO — VIDEO BACKGROUND
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0D0D0D 0%, #1a1508 50%, #0D0D0D 100%);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,13,0.3) 0%,
    rgba(13,13,13,0.55) 50%,
    rgba(13,13,13,0.85) 100%
  );
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 80px 16px 24px;
  max-width: 800px;
}
.hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
  animation: fadeDown 1s ease 0.3s both;
}
.hero-title {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 300;
  animation: fadeDown 1s ease 0.5s both;
}
.hero-title span { color: var(--gold); font-style: italic; }
.hero-desc {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: rgba(245,242,237,0.75);
  margin-bottom: 40px;
  animation: fadeDown 1s ease 0.7s both;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  animation: fadeDown 1s ease 0.9s both;
}
.hero-scroll {
  display: none;
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  animation: fadeDown 1s ease 1.2s both;
}
.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ================================================================
   DESPRE NOI
   ================================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.about-image-wrap:hover img { transform: scale(1.04); }
.about-image-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--gold);
  z-index: -1;
}
.about-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border: 1px solid var(--gold);
  margin-bottom: 24px;
}
.about-badge-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}
.about-badge-text {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: center;
  line-height: 1.3;
  padding: 0 6px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.about-feature-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold);
  margin-top: 2px;
}
.about-feature-text {
  font-size: 0.82rem;
  color: var(--off-white);
  line-height: 1.5;
}

/* ================================================================
   CARACTERISTICI
   ================================================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.feature-card {
  background: var(--dark-2);
  padding: 36px 28px;
  transition: var(--transition);
  border-bottom: 1px solid rgba(191,164,106,0.1);
}
.feature-card:hover {
  background: var(--dark-3);
  border-bottom-color: var(--gold);
}
.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--gold);
}
.feature-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 10px;
  font-weight: 400;
}
.feature-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ================================================================
   APARTAMENTE
   ================================================================ */
.apartments-intro {
  text-align: center;
  margin-bottom: 56px;
}
.apartments-intro .section-subtitle { margin-left: auto; margin-right: auto; }

.apartments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.apt-card {
  background: var(--dark-2);
  overflow: hidden;
  transition: var(--transition);
}
.apt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.apt-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--dark-3);
}
.apt-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.apt-card:hover .apt-card-image img { transform: scale(1.06); }
.apt-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(13,13,13,0.85);
  border: 1px solid var(--gold);
  padding: 5px 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  backdrop-filter: blur(8px);
}
.apt-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-2));
}
.apt-card-img-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--gold);
  opacity: 0.3;
}
.apt-card-body {
  padding: 28px 24px 32px;
}
.apt-card-type {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.apt-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 16px;
}
.apt-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.apt-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--off-white);
}
.apt-spec svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex-shrink: 0;
}
.apt-card-desc {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}
.apt-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.apt-tag {
  background: rgba(191,164,106,0.08);
  border: 1px solid rgba(191,164,106,0.2);
  padding: 4px 10px;
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}
.apt-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px;
}
.apt-price-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}
.apt-price {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
}

/* Pagina Apartamente — header */
.page-hero {
  min-height: 40svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
  background: linear-gradient(to bottom, var(--dark), var(--dark-2));
  padding-top: 100px;
}
.page-hero-content { text-align: center; }

/* Full apartment detail (apartments page) */
.apt-detail {
  border-top: 1px solid rgba(191,164,106,0.12);
  padding: 56px 0;
}
.apt-detail:first-child { border-top: none; }
.apt-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
/* Pe mobil, poza apare mereu prima indiferent de pozitia din DOM */
@media (max-width: 767px) {
  .apt-detail-grid .apt-photo-gallery { order: -1; }
}
.apt-detail-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.apt-detail-images .main-img {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark-3);
}
.apt-detail-images .thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--dark-3);
}
.apt-detail-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.apt-detail-number {
  font-family: var(--font-serif);
  font-size: 5rem;
  color: rgba(191,164,106,0.08);
  line-height: 1;
  margin-bottom: -20px;
  display: block;
}
.apt-detail-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.apt-detail-specs-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.apt-detail-specs-table td {
  padding: 10px 0;
  font-size: 0.85rem;
}
.apt-detail-specs-table td:first-child { color: var(--gray); }
.apt-detail-specs-table td:last-child { color: var(--off-white); font-weight: 500; text-align: right; }

/* ================================================================
   GALERIE
   ================================================================ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.gallery-filter-btn {
  padding: 8px 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--gray);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark-3);
}
.gallery-item.wide { grid-column: 1 / -1; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  transition: transform 0.6s ease;
  display: block;
}
.gallery-item.wide img { aspect-ratio: 16/7; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

/* Upload section */
.gallery-upload-section {
  margin-top: 64px;
  padding: 36px 28px;
  border: 1px dashed rgba(191,164,106,0.3);
  text-align: center;
}
.gallery-upload-section h3 { color: var(--white); margin-bottom: 12px; font-size: 1.2rem; }
.gallery-upload-section p { margin-bottom: 24px; font-size: 0.85rem; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-inner {
  position: relative;
  max-width: 95vw;
  max-height: 90svh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85svh;
  object-fit: contain;
  display: block;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
  z-index: 2001;
}
.lightbox-close:hover { background: var(--gold); color: var(--dark); }
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  z-index: 2001;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); color: var(--dark); }
.lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gray);
  z-index: 2001;
}

/* ================================================================
   CONTACT / FORMULAR
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(191,164,106,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-top: 2px;
}
.contact-item-icon svg { width: 18px; height: 18px; }
.contact-item-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}
.contact-item-value {
  font-size: 0.95rem;
  color: var(--off-white);
  font-weight: 400;
}

/* HubSpot form overrides */
.hubspot-form-wrap {
  background: var(--dark-2);
  padding: 36px 28px;
  border: 1px solid rgba(191,164,106,0.1);
}
.hubspot-form-wrap h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 8px;
}
.hubspot-form-wrap > p {
  font-size: 0.85rem;
  margin-bottom: 28px;
  color: var(--gray);
}

/* Override HubSpot default styles */
.hs-form-field label {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--gray) !important;
  display: block !important;
  margin-bottom: 6px !important;
}
.hs-form-field input,
.hs-form-field select,
.hs-form-field textarea {
  width: 100% !important;
  background: var(--dark-3) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: var(--off-white) !important;
  padding: 12px 14px !important;
  font-family: var(--font-sans) !important;
  font-size: 0.9rem !important;
  outline: none !important;
  transition: border-color 0.3s !important;
  border-radius: 0 !important;
  margin-bottom: 16px !important;
}
.hs-form-field input:focus,
.hs-form-field select:focus,
.hs-form-field textarea:focus {
  border-color: var(--gold) !important;
}
.hs-button {
  background: var(--gold) !important;
  color: var(--dark) !important;
  border: none !important;
  padding: 14px 36px !important;
  font-family: var(--font-sans) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background 0.3s !important;
  border-radius: 0 !important;
  width: 100% !important;
  margin-top: 8px !important;
}
.hs-button:hover { background: var(--gold-light) !important; }
.hs-error-msgs { color: #e07070 !important; font-size: 0.78rem !important; }

/* Formular de rezervă (dacă HubSpot nu e configurat) */
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--off-white);
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  border-radius: 0;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--gold); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23BFA46A' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 36px; cursor: pointer; }
.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--gold);
  color: var(--dark);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}
.form-submit:hover { background: var(--gold-light); }

/* ================================================================
   STATISTICI / NUMERE
   ================================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(191,164,106,0.1);
}
.stat-item {
  background: var(--dark-2);
  padding: 36px 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  background: var(--dark-2);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to top, transparent, var(--gold));
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { max-width: 480px; margin: 0 auto 36px; font-size: 0.9rem; }
.cta-banner .btn { min-width: 220px; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(191,164,106,0.12);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}
.footer-logo-tag {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-desc {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 300px;
}
.footer-col-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--gray);
}
.footer-contact-item svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--gold);
  margin-top: 3px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.footer-bottom-text {
  font-size: 0.75rem;
  color: var(--gray);
}
.footer-bottom-text a { color: var(--gold); transition: color var(--transition); }
.footer-bottom-text a:hover { color: var(--gold-light); }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover { background: var(--gold-light); }
.back-to-top svg { width: 18px; height: 18px; color: var(--dark); }

/* ================================================================
   MEDIA QUERIES — TABLET (768px+)
   ================================================================ */
@media (min-width: 768px) {
  .section { padding: 100px 0; }

  /* Pe desktop nav-menu e position:static, deci backdrop-filter e sigur */
  .nav.scrolled { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    flex-direction: row;
    opacity: 1;
    pointer-events: all;
    background: transparent;
    gap: 4px;
    width: auto;
  }
  .nav-menu a {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    padding: 8px 14px;
  }
  .nav-menu a::after {
    bottom: 4px;
    left: 14px;
    right: 14px;
  }
  .nav-menu a:hover { color: var(--gold); }
  .nav-menu-contact {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 8px 14px;
    border: 1px solid rgba(191,164,106,0.35);
    transition: background 0.3s;
    margin-top: 0;
  }
  .nav-menu-contact:hover { background: rgba(191,164,106,0.08); }

  .hero-actions { flex-direction: row; justify-content: center; }
  .hero-content { padding: 100px 20px 60px; }
  .hero-scroll { display: flex; }

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

  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .feature-card { border-bottom: none; border-right: 1px solid rgba(191,164,106,0.1); }

  .apartments-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }

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

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

  .contact-grid { grid-template-columns: 1fr 1.4fr; }

  .stats-grid { grid-template-columns: repeat(4, 1fr); }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ================================================================
   MEDIA QUERIES — DESKTOP (1024px+)
   ================================================================ */
@media (min-width: 1024px) {
  .section { padding: 120px 0; }
  .container { padding: 0 40px; }

  .features-grid { grid-template-columns: repeat(3, 1fr); }

  .apartments-grid { grid-template-columns: repeat(3, 1fr); }

  .gallery-grid { grid-template-columns: repeat(4, 1fr); }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ================================================================
   PAGE HEADER (pages other than index)
   ================================================================ */
.page-header {
  padding: 140px 20px 60px;
  background: var(--dark);
  border-bottom: 1px solid rgba(191,164,106,0.1);
  text-align: center;
}
.page-header .section-label { justify-content: center; display: block; }

/* ================================================================
   COOKIE NOTICE
   ================================================================ */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13,13,13,0.97);
  border-top: 1px solid rgba(191,164,106,0.2);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1500;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-bar.show { transform: translateY(0); }
.cookie-text { font-size: 0.8rem; color: var(--gray); }
.cookie-text a { color: var(--gold); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-btn {
  padding: 9px 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-btn-accept {
  background: var(--gold);
  color: var(--dark);
  border: 1px solid var(--gold);
}
.cookie-btn-accept:hover { background: var(--gold-light); }
.cookie-btn-decline {
  background: transparent;
  color: var(--gray);
  border: 1px solid rgba(255,255,255,0.1);
}
.cookie-btn-decline:hover { border-color: var(--gray); }
@media (min-width: 600px) {
  .cookie-bar { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ======================================================
   SPECS BLOCK — Full features list
   ====================================================== */
.specs-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 2px;
  padding: 48px 32px;
}
.specs-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 400;
  color: var(--off-white);
  margin-top: 10px;
  margin-bottom: 36px;
  line-height: 1.3;
}
.specs-title .gold { color: var(--gold); }
.specs-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--gray);
  letter-spacing: 0.01em;
  line-height: 1.5;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.specs-list li:last-child { border-bottom: none; padding-bottom: 0; }
.specs-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}
@media (min-width: 640px) {
  .specs-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .specs-block { padding: 56px 56px; }
}

/* ======================================================
   WHATSAPP FLOATING BUTTON
   ====================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  animation: waBounceIn 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
  animation-delay: 1.2s;
}
@keyframes waBounceIn {
  from { opacity:0; transform: scale(0.4) translateY(20px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}
.whatsapp-float__bubble {
  background: #25D366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.whatsapp-float__bubble svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  flex-shrink: 0;
}
/* Pulse ring */
.whatsapp-float__bubble::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.45);
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
.whatsapp-float__label {
  background: #1a1a1a;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-float__bubble {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55), 0 4px 12px rgba(0,0,0,0.3);
}
.whatsapp-float:hover .whatsapp-float__label {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 480px) {
  .whatsapp-float { bottom: 84px; right: 18px; }
  .whatsapp-float__bubble { width: 54px; height: 54px; }
  .whatsapp-float__bubble svg { width: 26px; height: 26px; }
  .whatsapp-float__label { display: none; }
}

/* ======================================================
   APARTMENT TITLE — bigger, white, no gold label
   ====================================================== */
/* Bigger title on apt detail page (apartamente.html) */
.apt-main-title {
  font-size: clamp(2rem, 5vw, 3rem) !important;
  font-weight: 400;
  color: var(--white) !important;
  margin-bottom: 18px;
  line-height: 1.15;
}

/* Bigger title on apt cards (index.html) */
.apt-card-title {
  font-size: 1.85rem !important;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.15;
}

/* "Tip 1 / Tip 2A / Tip 2B" inline badge — white, smaller */
.apt-tip-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.65em;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 3px 10px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 8px;
  position: relative;
  top: -4px;
}

/* ======================================================
   NEARBY BRANDS STRIP
   ====================================================== */
.nearby-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.nearby-logo {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 14px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}
.nearby-logo:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(200,169,110,0.4);
  transform: translateY(-3px);
}
.nearby-logo img {
  width: 100%;
  max-height: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.nearby-logo:hover img { transform: scale(1.05); }

@media (min-width: 540px) {
  .nearby-strip { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
@media (min-width: 768px) {
  .nearby-strip { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .nearby-logo { padding: 20px 14px; min-height: 110px; }
  .nearby-logo img { max-height: 110px; }
}
@media (min-width: 1100px) {
  .nearby-strip { grid-template-columns: repeat(7, 1fr); }
}

/* ======================================================
   TGC FEATURE BLOCK
   ====================================================== */
.tgc-feature {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(191,164,106,0.06);
  border: 1px solid rgba(191,164,106,0.25);
  border-radius: 12px;
  padding: 28px 24px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .tgc-feature {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 36px 40px;
  }
}
.tgc-feature__logo {
  flex-shrink: 0;
}
.tgc-feature__logo img {
  max-height: 72px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  filter: brightness(1.1);
}
@media (min-width: 768px) {
  .tgc-feature__logo img { max-height: 90px; max-width: 240px; }
}
.tgc-feature__info { flex: 1; }
.tgc-feature__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.tgc-feature__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.tgc-projects { margin-bottom: 16px; }
.tgc-projects__title {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}
.tgc-projects__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.tgc-projects__list li {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.tgc-projects__list li::before {
  content: '·';
  margin-right: 5px;
  color: var(--gold);
  opacity: 0.7;
}
.tgc-feature__link {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(191,164,106,0.35);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.tgc-feature__link:hover { color: #fff; border-color: rgba(255,255,255,0.5); }
.tgc-strip-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-bottom: 20px;
}

/* ======================================================
   PARTNERS & MATERIALS STRIP
   ====================================================== */
.partners-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.partner-logo {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 18px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}
.partner-logo:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(200,169,110,0.4);
  transform: translateY(-3px);
}
.partner-logo img {
  width: 100%;
  max-height: 56px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.partner-logo:hover img {
  transform: scale(1.06);
}
@media (min-width: 480px) {
  .partners-strip { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
@media (min-width: 768px) {
  .partners-strip { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .partner-logo { padding: 22px 18px; min-height: 90px; }
  .partner-logo img { max-height: 58px; }
}
@media (min-width: 1100px) {
  .partners-strip { grid-template-columns: repeat(7, 1fr); }
}

/* ======================================================
   APT CARD — TWO BUTTONS
   ====================================================== */
.apt-card-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.apt-card-btns .btn {
  flex: 1;
  text-align: center;
  white-space: nowrap;
}
a.apt-card-image {
  display: block;
  text-decoration: none;
  overflow: hidden;
}
a.apt-card-image img {
  transition: transform 0.5s ease;
}
a.apt-card-image:hover img {
  transform: scale(1.04);
}

/* ======================================================
   STICKY APT NAV (apartamente.html)
   ====================================================== */
.apt-sticky-nav {
  position: sticky;
  top: var(--nav-h, 86px);
  z-index: 90;
  overflow: visible;
  background: #111111;
  background: rgba(13, 13, 13, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(191, 164, 106, 0.2);
}
.apt-sticky-nav-inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 4px;
  padding: 6px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.apt-sticky-nav-inner::-webkit-scrollbar { display: none; }
.apt-sticky-nav--wrap .apt-sticky-nav-inner {
  flex-wrap: wrap;
  overflow-x: visible;
  padding: 6px 0 8px;
}
.apt-nav-btn {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 5px 8px;
  border: 1px solid rgba(191, 164, 106, 0.2);
  border-radius: 2px;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.apt-nav-btn:hover,
.apt-nav-btn:focus {
  color: var(--gold-light);
  border-color: rgba(191, 164, 106, 0.5);
}
.apt-nav-btn.active {
  color: var(--dark);
  background: var(--gold);
  border-color: var(--gold);
}
@media (min-width: 768px) {
  .apt-sticky-nav-inner { flex-wrap: nowrap; gap: 8px; padding: 12px 0; }
  .apt-nav-btn { font-size: 0.72rem; padding: 9px 18px; letter-spacing: 0.12em; }
}

/* ======================================================
   APARTMENT PHOTO GALLERY (apartamente.html)
   ====================================================== */
.apt-photo-gallery {
  margin-top: 28px;
}

/* Hero image — the .gallery-item itself is the hero */
.apt-gallery-hero {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 10px;
  cursor: zoom-in;
  display: block;
}
.apt-gallery-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: unset;
  transition: transform 0.4s ease;
  display: block;
}
.apt-gallery-hero:hover img {
  transform: scale(1.03);
}

/* Thumbnails grid */
.apt-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* Each thumb — the .gallery-item itself is the thumb */
.apt-gallery-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 3px;
  cursor: zoom-in;
  display: block;
}
.apt-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: unset;
  transition: transform 0.4s ease;
  display: block;
}
.apt-gallery-thumb:hover img {
  transform: scale(1.06);
}

@media (min-width: 540px) {
  .apt-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) {
  .apt-gallery-thumbs { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .apt-gallery-hero { margin-bottom: 12px; }
}
@media (min-width: 1100px) {
  .apt-gallery-thumbs { grid-template-columns: repeat(6, 1fr); gap: 12px; }
}
