/* Royal Barber Multisite v2 additions and overrides */
:root {
  --rb-copper: #b77745;
  --rb-copper-light: #d9a26c;
  --rb-cream: #f2eadf;
  --rb-ink: #10100f;
  --rb-ink-soft: #191816;
  --rb-line: rgba(242, 234, 223, .16);
  --rb-muted: #afa79d;
}

body { background: var(--rb-ink); }
body.rb-network-main, body.rb-network-branch { overflow-x: hidden; }
.site-main { min-height: 60vh; }
.rb-v2 { background: var(--rb-ink); color: var(--rb-cream); }
.rb-v2 .section { position: relative; }
.rb-v2 .section:nth-of-type(even)::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 0 55%, rgba(183,119,69,.035) 55% 100%); }

.site-header { border-bottom-color: transparent; transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled, body:not(.has-transparent-header) .site-header { background: rgba(16,16,15,.96); border-bottom-color: rgba(255,255,255,.09); box-shadow: 0 10px 35px rgba(0,0,0,.25); backdrop-filter: blur(16px); }
.site-header__inner { min-height: 86px; }
.text-logo { line-height: .9; letter-spacing: .16em; }
.text-logo span, .text-logo strong { display: block; }
.text-logo span { color: var(--rb-copper-light); font-size: .68rem; }
.text-logo strong { color: var(--rb-cream); font-size: 1.05rem; }
.header-phone { white-space: nowrap; font-size: .83rem; color: var(--rb-cream); }
.primary-navigation .menu > li > a { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.language-switcher { display: flex; gap: 5px; align-items: center; font-size: .7rem; text-transform: uppercase; }

.rb-editorial-hero { min-height: 820px; isolation: isolate; }
.rb-editorial-hero::after { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(circle at 72% 38%, rgba(183,119,69,.2), transparent 30%), linear-gradient(130deg, #0b0b0a 0%, #141311 55%, #090909 100%); }
.rb-editorial-hero__portrait { background-image: linear-gradient(180deg, rgba(10,10,9,.05), rgba(10,10,9,.55)), var(--rb-hero-image, linear-gradient(145deg,#45362b,#161412)); background-size: cover; background-position: center; }
.rb-editorial-hero__arch { border: 1px solid rgba(217,162,108,.4); box-shadow: 0 0 90px rgba(183,119,69,.12); }
.rb-editorial-hero__copy h1 { text-wrap: balance; }
.rb-editorial-hero__copy p { max-width: 650px; }
.rb-editorial-hero__serial { max-width: 44vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-editorial-hero__side { backdrop-filter: blur(12px); background: rgba(8,8,8,.48); }

.rb-marquee { border-top: 1px solid var(--rb-line); border-bottom: 1px solid var(--rb-line); background: #0c0c0b; }
.rb-marquee__track { animation-duration: 34s; }

.rb-discount-strip { padding-top: 90px; background: #181512; }
.rb-discount-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.rb-discount-card { min-height: 290px; padding: 34px; display: flex; flex-direction: column; align-items: flex-start; background: #11100f; position: relative; overflow: hidden; }
.rb-discount-card::before { content: "%"; position: absolute; right: -12px; bottom: -55px; font-family: "Playfair Display",serif; font-size: 12rem; color: rgba(183,119,69,.08); }
.rb-discount-card > span { color: var(--rb-copper-light); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.rb-discount-card h3 { margin: 28px 0 18px; font-size: 1.55rem; }
.rb-discount-card .text-link { margin-top: auto; }

.rb-price { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rb-price strong { color: var(--rb-copper-light); font-size: 1.15rem; }
.rb-price del { color: var(--rb-muted); font-size: .85rem; }
.rb-discount-badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--rb-copper); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .05em; }
.rb-service-row__price .rb-price { justify-content: flex-end; }
.rb-service-row__price .rb-discount-badge { display: none; }
.rb-discount-period { color: var(--rb-muted); }
.rb-discount-period strong { color: var(--rb-copper-light); }

.rb-network-card { --rb-card-image: linear-gradient(135deg,#493729,#181512); }
.rb-network-card__visual { background-image: linear-gradient(180deg,transparent 30%,rgba(5,5,5,.8)), var(--rb-card-image); background-size: cover; background-position: center; }
.rb-network-card:hover .rb-network-card__visual { transform: scale(.985); filter: saturate(1.08); }
.rb-network-card__actions { display: flex; flex-wrap: wrap; gap: 18px; }

.card-grid--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.card-grid--gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
.card-grid--gallery .content-card:nth-child(3n+2) { transform: translateY(35px); }
.content-card__media { overflow: hidden; }
.content-card__media img { transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .55s ease; }
.content-card:hover .content-card__media img { transform: scale(1.045); filter: contrast(1.04); }
.content-card__meta .rb-price { margin-left: auto; }
.content-card__meta .rb-price strong { font-size: .95rem; }
.content-card__meta .rb-discount-badge { display: none; }

.rb-products-section { background: #f1e9dd; color: #1b1814; }
.rb-products-section .eyebrow, .rb-products-section .text-link { color: #8a5731; }
.rb-products-section .content-card { background: #fffaf3; color: #1b1814; border-color: rgba(20,18,15,.12); }
.rb-products-section .content-card p, .rb-products-section .content-card__meta { color: #756b60; }
.rb-products-section .content-card a { color: inherit; }
.rb-products-note { margin: 28px 0 0; padding: 17px 20px; border-left: 3px solid var(--rb-copper); background: rgba(183,119,69,.1); }

.rb-review-embed { min-height: 260px; }
.rb-review-placeholder { min-height: 260px; display: grid; place-content: center; text-align: center; padding: 40px; border: 1px dashed rgba(242,234,223,.25); background: rgba(255,255,255,.025); }
.rb-review-placeholder strong { font-family: "Playfair Display",serif; font-size: 1.45rem; }

.page-hero--booking { min-height: 520px; display: flex; align-items: end; background: radial-gradient(circle at 80% 30%,rgba(183,119,69,.18),transparent 30%),#10100f; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(260px,.6fr); gap: 70px; align-items: end; }
.rb-booking-contact { border-left: 1px solid rgba(255,255,255,.2); padding-left: 32px; display: flex; flex-direction: column; gap: 12px; }
.rb-booking-contact span { color: var(--rb-copper-light); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.rb-booking-contact a { color: var(--rb-cream); font-size: 1.3rem; }
.rb-booking-process { padding: 0; background: #1b1713; }
.rb-process-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.rb-process-grid > div { padding: 28px 30px; border-right: 1px solid rgba(255,255,255,.1); display: flex; gap: 18px; align-items: center; }
.rb-process-grid strong { color: var(--rb-copper-light); font-family: "Playfair Display",serif; font-size: 1.8rem; }
.rb-process-grid span { color: var(--rb-cream); }
.section--booking { background: #eee5d9; color: #1a1714; }
.rb-booking-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 45px; align-items: start; }
.rb-booking-main { min-width: 0; padding: 38px; background: #fffaf3; box-shadow: 0 18px 60px rgba(33,25,18,.12); }
.rb-booking-aside { position: sticky; top: 120px; padding: 30px; color: var(--rb-cream); background: #161412; }
.rb-booking-aside h2 { margin-top: 0; }
.rb-booking-aside ul { padding-left: 19px; color: #c6bdb2; }
.rb-booking-aside li + li { margin-top: 13px; }
.rb-booking-state { padding: 55px; text-align: center; border: 1px dashed rgba(30,25,20,.25); }
.rb-booking-state h2 { color: #1a1714; }
.rb-booking-state p { max-width: 660px; margin: 15px auto 25px; color: #6f655a; }
.rb-booking-state--warning { border-color: #bb773f; background: rgba(183,119,69,.08); }
.rb-booking-embed input, .rb-booking-embed select, .rb-booking-embed textarea { max-width: 100%; }

.rb-about-hero { min-height: 720px; padding-top: 150px; display: flex; align-items: center; background: #11100f; }
.rb-about-hero__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.8fr); gap: 80px; align-items: center; }
.rb-about-hero h1 { font-size: clamp(3.6rem,8vw,8.5rem); }
.rb-about-hero__image { min-height: 520px; border-radius: 45% 45% 4px 4px; background-image: linear-gradient(180deg,transparent,rgba(8,8,8,.45)), var(--rb-about-image,linear-gradient(145deg,#4c3828,#161412)); background-size: cover; background-position: center; border: 1px solid rgba(217,162,108,.3); }
.rb-about-intro { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: 100px; }
.rb-about-values { background: #efe6da; color: #1a1714; }
.rb-value-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; background: rgba(31,25,20,.16); }
.rb-value-grid article { min-height: 310px; padding: 30px; background: #f8f1e7; }
.rb-value-grid strong { font-size: 2rem; color: #a66b3e; font-family: "Playfair Display",serif; }
.rb-value-grid h3 { margin: 70px 0 15px; }
.rb-value-grid p { color: #6e6257; }
.rb-about-steps { background: #141311; }
.rb-timeline { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--rb-line); }
.rb-timeline > div { padding: 28px 28px 20px 0; border-right: 1px solid var(--rb-line); }
.rb-timeline > div:not(:first-child) { padding-left: 28px; }
.rb-timeline span { color: var(--rb-copper-light); }
.rb-timeline p { color: var(--rb-muted); }

.product-detail-hero, .gallery-detail-hero { padding: 170px 0 95px; background: #11100f; }
.product-detail-hero__grid, .gallery-detail-hero__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 75px; align-items: center; }
.product-detail-hero__media, .gallery-detail-hero__media { min-height: 580px; overflow: hidden; }
.product-detail-hero__media img, .gallery-detail-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-hero__content h1, .gallery-detail-hero__content h1 { font-size: clamp(3rem,6vw,6.6rem); }
.rb-product-facts { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--rb-line); border-bottom: 1px solid var(--rb-line); color: var(--rb-muted); }
.rb-product-facts strong { color: var(--rb-copper-light); }
.rb-product-price { margin: 25px 0; display: flex; flex-direction: column; }
.rb-product-price small { color: var(--rb-muted); }
.rb-product-price strong { font-size: 2rem; color: var(--rb-copper-light); }
.rb-contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.info-row { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.info-row span { color: var(--rb-muted); }
.info-row a { color: inherit; }

.site-footer { background: #080808; }
.site-footer__top { padding: 90px 0 70px; border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr .9fr .8fr 1.1fr; gap: 55px; }
.footer-brand p { max-width: 370px; color: #9f978e; }
.text-logo--footer { display: inline-block; margin-bottom: 20px; }
.footer-column h2 { margin: 0 0 20px; font-size: 1.15rem; }
.footer-column p { color: #9f978e; }
.footer-column .menu { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.footer-column .menu a, .footer-column a { color: #c8beb4; }
.footer-column--cta { padding: 28px; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(145deg,rgba(183,119,69,.13),rgba(255,255,255,.02)); }
.footer-socials { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-socials a { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rb-copper-light); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.site-footer__bottom .container { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #827a72; font-size: .75rem; }
.site-footer__bottom .container > div { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer__bottom a { color: #a69e95; }

.rb-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 50px; }
.rb-lightbox[hidden] { display: none; }
.rb-lightbox img { max-width: min(1100px,92vw); max-height: 86vh; object-fit: contain; }
.rb-lightbox button { position: absolute; top: 20px; right: 25px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: transparent; color: #fff; font-size: 2rem; cursor: pointer; }
.rb-lightbox-open { overflow: hidden; }

@media (max-width: 1180px) {
  .card-grid--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rb-value-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .header-phone, .header-actions .language-switcher { display: none; }
  .page-hero__grid, .rb-booking-layout, .rb-about-hero__grid, .rb-about-intro, .product-detail-hero__grid, .gallery-detail-hero__grid { grid-template-columns: 1fr; }
  .rb-booking-aside { position: static; }
  .rb-process-grid { grid-template-columns: 1fr; }
  .rb-process-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .rb-discount-grid { grid-template-columns: 1fr; }
  .rb-about-hero { min-height: auto; padding-bottom: 80px; }
  .rb-about-hero__image { min-height: 420px; }
  .rb-timeline { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .card-grid--gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .card-grid--gallery .content-card:nth-child(3n+2) { transform: none; }
}

@media (max-width: 640px) {
  .site-header__inner { min-height: 72px; }
  .header-actions .button { display: none; }
  .rb-editorial-hero { min-height: 730px; }
  .rb-editorial-hero__serial { max-width: 75vw; }
  .rb-service-row__price .rb-price { justify-content: flex-start; }
  .card-grid--4, .card-grid--gallery, .rb-value-grid, .rb-timeline, .site-footer__grid { grid-template-columns: 1fr; }
  .rb-timeline > div, .rb-timeline > div:not(:first-child) { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--rb-line); }
  .rb-booking-main { padding: 22px; }
  .rb-booking-state { padding: 34px 20px; }
  .product-detail-hero, .gallery-detail-hero { padding-top: 120px; }
  .product-detail-hero__media, .gallery-detail-hero__media { min-height: 380px; }
  .site-footer__top { padding: 65px 0 90px; }
  .site-footer__bottom .container { padding: 22px 0 90px; align-items: flex-start; flex-direction: column; }
  .rb-lightbox { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .rb-marquee__track { animation: none !important; }
  .content-card__media img, .rb-network-card__visual { transition: none !important; }
}
