/* VELTORRA REFORMAS — brand-suffix and small refinements on top of the core VELTORRA styles */

.brand {
  gap: 10px;
  padding-right: 16px;
}

/* Three service groups instead of seven directions: cluster them with a
   measured gap instead of stretching across the full row. */
@media (min-width: 1181px) {
  .head-primary {
    justify-content: flex-start;
    gap: clamp(36px, 5.5vw, 96px);
  }
}

/* Home-page imagery: renovation scenes instead of the parent site's visuals.
   Only background-image is overridden so the responsive position/size tuning
   in style.css keeps applying. */
.hero {
  background-image: url("/images/rn-full-home.webp");
}

/* City-page and service-page geo strips: the city chips are links now. */
a.sp-city {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}

a.sp-city:hover {
  color: var(--copper-light, #d69a5c);
  border-color: var(--copper, #c17b3c);
}

/* Home service-area index entries are links to the city pages. */
a.service-area__place {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

a.service-area__place:hover b {
  color: var(--copper-light, #d69a5c);
}

.va-section {
  background-image: url("/images/rn-apartments.webp");
}

.brand-sub {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper-light, #d69a5c);
  padding-left: 10px;
  border-left: 1px solid var(--line, rgba(193, 123, 60, .28));
  line-height: 1;
  transform: translateY(2px);
}

/* Desktop header: the suffix and the language switch need room the seven-item
   original never reserved — compact the logo and the secondary nav slightly. */
@media (min-width: 1181px) {
  .site-head .brand img {
    height: 66px;
  }

  .head-secondary {
    font-size: 11px;
    letter-spacing: .12em;
    gap: clamp(12px, 1.4vw, 22px);
    padding-right: clamp(14px, 1.6vw, 24px);
  }
}

.veltorra-footer__brand .brand-sub {
  display: inline-block;
  margin-top: 10px;
  border-left: 0;
  padding-left: 0;
  transform: none;
}

/* Tablet header: keep the suffix but slimmer. */
@media (max-width: 1180px) {
  .brand-sub {
    font-size: 14px;
    letter-spacing: .16em;
    padding-left: 8px;
  }

  .brand {
    padding-right: 8px;
  }
}

/* Phone header: the suffix cannot fit next to the language switch without
   forcing horizontal overflow (the brand is white-space: nowrap) — hide it.
   The logo alone carries the identity, as on the parent site. */
@media (max-width: 767px) {
  .brand-sub {
    display: none;
  }

  .brand {
    padding-right: 0;
  }
}

/* Our service names are longer than the parent site's one-word disciplines:
   the two-column hero list collides on narrow phones — stack it. */
@media (max-width: 560px) {
  .hero-disciplines {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

/* Phones load the 800w variants of the two CSS-driven home backgrounds.
   Kept after the base rules above so it wins the cascade. */
@media (max-width: 800px) {
  .hero {
    background-image: url("/images/rn-full-home-800w.webp");
  }

  .va-section {
    background-image: url("/images/rn-apartments-800w.webp");
  }
}

/* ============================================================
   Feature layer: language panel, header phone, sticky mobile
   contact bar, cookie notice, smooth anchors.
   ============================================================ */

html {
  scroll-behavior: smooth;
}

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

/* Language panel — "EN / ES / RU" text switch with a highlighted active language */
.lang-switch {
  border: 0;
  margin-right: 6px;
  gap: 2px;
  font-family: var(--font-body, Manrope, sans-serif);
}

.lang-switch a {
  padding: 5px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(217, 212, 204, .62);
}

.lang-switch a + a {
  border-left: 0;
}

.lang-switch .lang-sep {
  color: rgba(217, 212, 204, .28);
  font-size: 11px;
  padding: 0 1px;
}

.lang-switch a:hover {
  color: var(--copper-light, #d69a5c);
}

.lang-switch a.is-active {
  color: var(--copper-light, #d69a5c);
  background: rgba(193, 123, 60, .16);
}

.lang-switch--drawer {
  display: none;
}

@media (max-width: 1180px) {
  .head-actions > .lang-switch {
    display: none;
  }

  .lang-switch--drawer {
    display: flex;
    margin: 0;
    padding: 16px 0 12px;
    border-bottom: 1px solid var(--line, rgba(193, 123, 60, .28));
  }

  .lang-switch--drawer a {
    font-size: 13px;
    padding: 6px 10px;
  }
}

/* Header phone block (desktop only — the row is too tight below 1400px) */
.head-phone {
  display: none;
}

@media (min-width: 1400px) {
  .head-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    margin-right: 2px;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
  }

  .head-phone small {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(217, 212, 204, .55);
  }

  .head-phone strong {
    font-family: var(--font-body, Manrope, sans-serif);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--ivory, #d9d4cc);
    transition: color .2s ease;
  }

  .head-phone:hover strong {
    color: var(--copper-light, #d69a5c);
  }
}

/* Sticky mobile contact bar: Call now | WhatsApp */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 600;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(12, 13, 12, .96);
  border-top: 1px solid var(--line, rgba(193, 123, 60, .28));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sticky-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font-family: var(--font-body, Manrope, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--copper, #c17b3c);
  color: var(--ivory, #d9d4cc);
}

.sticky-cta a.primary {
  background: var(--copper, #c17b3c);
  color: #14100b;
}

@media (max-width: 760px) {
  .sticky-cta {
    display: flex;
  }

  body {
    padding-bottom: 68px;
  }
}

/* Cookie notice */
.cookie-consent {
  position: fixed;
  z-index: 700;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 20px;
  background: rgba(15, 16, 14, .97);
  border: 1px solid var(--line, rgba(193, 123, 60, .28));
  border-top: 2px solid var(--copper, #c17b3c);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
  color: var(--ivory, #d9d4cc);
  font-family: var(--font-body, Manrope, sans-serif);
  font-size: 13px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: none;
}

.cookie-consent-text {
  margin: 0;
}

.cookie-consent a {
  color: var(--copper-light, #d69a5c);
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}

.cookie-consent-btn {
  padding: 10px 16px;
  font: 600 11px/1 var(--font-body, Manrope, sans-serif);
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--line, rgba(193, 123, 60, .28));
  background: transparent;
  color: var(--ivory, #d9d4cc);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}

.cookie-consent-btn:hover {
  border-color: var(--copper, #c17b3c);
  color: var(--copper-light, #d69a5c);
}

.cookie-consent-btn-accept {
  background: var(--copper, #c17b3c);
  border-color: var(--copper, #c17b3c);
  color: #14100b;
}

.cookie-consent-btn-accept:hover {
  background: var(--copper-light, #d69a5c);
  color: #14100b;
}

@media (max-width: 760px) {
  .cookie-consent {
    bottom: 84px;
  }
}
