:root {
  --black: #090909;
  --charcoal: #181818;
  --text: #252525;
  --muted: #6f6f6f;
  --gold: #b78a32;
  --gold-dark: #8f671f;
  --blue: #263b4b;
  --blue-dark: #1d2e3a;
  --blue-light: #eaf0f3;
  --cream: #f7f5f0;
  --light: #f3f3f3;
  --white: #ffffff;
  --border: #dddddd;
  --max: 1180px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 13, 18, 0.76);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(8, 13, 18, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
}

.header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 190px;
  height: 72px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: #f2f2f2;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #d4aa56;
}

.header-cta,
.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-cta:hover,
.button:hover,
button.button:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.button.secondary:hover {
  background: var(--text);
  color: var(--white);
}

.button.light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.button.light:hover {
  background: var(--white);
  color: var(--black);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: auto;
  background: currentColor;
  content: "";
  position: relative;
}

.menu-button span::before {
  position: absolute;
  top: -7px;
}

.menu-button span::after {
  position: absolute;
  top: 7px;
}

.hero {
  position: relative;
  color: var(--white);
}

.home-hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 184px 0 90px;
  background-image:
    linear-gradient(90deg, rgba(18, 29, 38, 0.95) 0%, rgba(18, 29, 38, 0.82) 42%, rgba(18, 29, 38, 0.22) 76%, rgba(18, 29, 38, 0.08) 100%),
    url("/images/hero.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 0 30px;
  color: #e1e7ea;
  font-size: 1.08rem;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.65rem, 5.8vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-benefits {
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 34px 0;
}

.hero-benefit {
  min-width: 0;
}

.benefit-icon,
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  color: #d7aa54;
}

.benefit-icon svg,
.service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-benefit strong {
  display: block;
  max-width: 120px;
  color: var(--white);
  font-size: 0.78rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.services-preview {
  background: var(--white);
}

.centered {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.service-card {
  text-align: center;
  padding-top: 34px;
  border-top: 4px solid var(--blue);
}

.service-card .service-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
}

.service-card .service-icon svg {
  width: 29px;
  height: 29px;
}

section {
  padding: 84px 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-intro p,
.lead {
  color: var(--muted);
  font-size: 1.07rem;
}

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

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

.dark-section {
  background: var(--charcoal);
  color: #e7e7e7;
}

.dark-section p {
  color: #cfcfcf;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.card-number { display: none; }

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}


.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-item {
  padding: 26px 22px;
  border-top: 3px solid var(--gold);
  background: var(--white);
}

.process-item span {
  display: block;
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
}

.stars {
  color: var(--gold-dark);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.review blockquote {
  margin: 0 0 20px;
  color: #444;
}

.review cite {
  font-style: normal;
  font-weight: 800;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding: 42px;
  background: var(--blue-dark);
  color: var(--white);
}

.cta-panel h2 {
  color: var(--white);
  margin-bottom: 10px;
}

.cta-panel p {
  color: #d3d3d3;
  margin: 0;
}

.page-hero {
  padding: 166px 0 72px;
  background: var(--blue-dark);
  color: var(--white);
}

.page-hero p {
  max-width: 760px;
  color: #d2d2d2;
  font-size: 1.08rem;
}

.service-list {
  display: grid;
  gap: 24px;
}

.service-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 42px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}

.service-row h2 {
  font-size: 1.8rem;
}

.service-row p {
  color: var(--muted);
  margin-top: 0;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-question span:last-child {
  color: var(--gold-dark);
  font-size: 1.4rem;
}

.faq-answer {
  display: none;
  padding: 0 0 24px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.gallery-note {
  padding: 18px 20px;
  margin-bottom: 28px;
  background: var(--cream);
  border-left: 4px solid var(--gold);
  color: #575757;
}

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

.gallery-grid a {
  display: block;
  overflow: hidden;
  background: #ececec;
  aspect-ratio: 4 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.025);
}

.gallery-empty {
  grid-column: 1 / -1;
  padding: 54px 24px;
  text-align: center;
  border: 1px dashed #b8b8b8;
  color: var(--muted);
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: start;
}

.contact-details {
  padding: 34px;
  background: var(--blue-dark);
  color: var(--white);
}

.contact-details h2 {
  color: var(--white);
}

.contact-details a {
  color: #f1f1f1;
}

.contact-details p {
  color: #d0d0d0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.social-links a {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.9rem;
}

form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  background: var(--white);
  color: var(--text);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(183, 138, 50, 0.25);
  border-color: var(--gold);
}

.site-footer {
  background: var(--black);
  color: #d7d7d7;
  padding: 58px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 40px;
}

.footer-logo {
  width: 210px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 18px;
}

.site-footer h3 {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin: 8px 0;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: #a6a6a6;
}

@media (max-width: 940px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 94px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 22px;
    background: rgba(8, 13, 18, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav .header-cta {
    margin-top: 14px;
    border-bottom: 0;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .reviews {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .header-inner {
    min-height: 82px;
  }

  .brand img {
    width: 145px;
    height: 62px;
  }

  .main-nav {
    top: 82px;
  }

  .hero,
  section {
    padding: 64px 0;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    padding: 16px 0;
  }

  .cards,
  .reviews,
  .process-grid,
  .gallery-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 940px) {
  .home-hero { min-height: 620px; background-position: 62% center; }
  .hero-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
}

@media (max-width: 640px) {
  .home-hero { min-height: auto; padding: 156px 0 74px; background-position: 68% center; }
  .home-hero::before { content: ""; position: absolute; inset: 0; background: rgba(18, 29, 38, 0.18); }
  .hero-benefits { gap: 18px 12px; }
  .hero-benefit strong { font-size: 0.72rem; }
  .benefit-icon { width: 42px; height: 42px; }
}

/* Final cleanup: high contrast text and balanced mobile alignment */
:root {
  --text: #111111;
  --muted: #111111;
}

.content-narrow {
  max-width: 880px;
}

.section-intro p,
.lead,
.card p,
.service-row p,
.faq-answer,
.review blockquote,
.gallery-note,
.gallery-empty {
  color: #111111;
}

.dark-section,
.dark-section p,
.page-hero p,
.cta-panel p,
.contact-details p,
.site-footer,
.site-footer p,
.site-footer a,
.footer-bottom,
.hero-content > p:not(.eyebrow) {
  color: #ffffff;
}

.site-footer h2,
.site-footer h3,
.site-footer strong,
.contact-details h2,
.contact-details h3 {
  color: #ffffff;
}

@media (max-width: 640px) {
  body {
    text-align: center;
    overflow-x: hidden;
  }

  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .brand img {
    width: 138px;
    height: 58px;
  }

  .main-nav,
  .main-nav a {
    text-align: center;
  }

  .home-hero,
  .page-hero,
  section {
    text-align: center;
  }

  .hero h1 {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.2rem, 11vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
  }

  .hero-content > p:not(.eyebrow),
  .page-hero p,
  .section-intro,
  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-benefits {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-benefit,
  .service-card,
  .card,
  .review,
  .process-item,
  .service-row,
  .contact-details,
  form,
  .faq-list,
  .footer-grid > div {
    text-align: center;
  }

  .benefit-icon,
  .service-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-benefit strong {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .check-list {
    display: inline-block;
    padding-left: 1.2rem;
    text-align: left;
  }

  .cta-panel {
    align-items: center;
    text-align: center;
  }

  .social-links,
  .footer-bottom {
    justify-content: center;
    align-items: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .faq-question {
    align-items: center;
    text-align: left;
  }

  label {
    text-align: left;
  }

  .site-footer ul {
    text-align: center;
  }
}


/* Mobile layout correction */
@media (max-width: 640px) {
  body {
    text-align: left;
  }

  .home-hero,
  .page-hero,
  section {
    text-align: left;
  }

  .home-hero .hero-content {
    text-align: left;
  }

  .hero h1,
  .hero-content > p:not(.eyebrow) {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .hero-benefits {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-benefit {
    text-align: left;
  }

  .benefit-icon {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .section-intro:not(.centered),
  .service-card,
  .card,
  .review,
  .process-item,
  .service-row {
    text-align: left;
  }
}

/* Visual detail system inspired by the NW mountain mark */
.brand-pattern-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(20, 52, 82, 0.045) 25%, transparent 25%) 0 0 / 42px 42px,
    linear-gradient(225deg, rgba(215, 170, 84, 0.04) 25%, transparent 25%) 0 0 / 42px 42px,
    #f7f8fa;
}

.brand-pattern-section::before,
.brand-pattern-section::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 110px;
  border-top: 2px solid rgba(215, 170, 84, 0.18);
  transform: rotate(-18deg);
  pointer-events: none;
}

.brand-pattern-section::before { top: 28px; left: -90px; }
.brand-pattern-section::after { right: -90px; bottom: 22px; transform: rotate(18deg); }

.feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.feature-tile {
  min-width: 0;
  padding: 28px 22px;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  box-shadow: 0 10px 28px rgba(9, 25, 40, 0.06);
}

.feature-icon,
.value-icon,
.service-row-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: var(--gold);
}

.feature-icon svg,
.value-icon svg,
.service-row-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-tile h3 { margin-bottom: 9px; font-size: 1.12rem; }
.feature-tile p { margin: 0; color: var(--text); font-size: 0.96rem; }

.value-card { position: relative; padding-top: 34px; border-top: 3px solid var(--gold); }
.value-card .value-icon { margin-top: -4px; }
.value-card p { color: var(--text); }

.service-row-enhanced {
  grid-template-columns: 72px 240px 1fr;
  align-items: start;
}

.service-row-enhanced .service-row-icon { margin: 0; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row-enhanced { grid-template-columns: 60px 190px 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-tile { text-align: left; }
  .service-row-enhanced { grid-template-columns: 54px 1fr; gap: 18px; }
  .service-row-enhanced > div:last-child { grid-column: 1 / -1; }
  .service-row-enhanced h2 { margin-top: 12px; }
}


/* v7 refinements */
@media (min-width: 941px) {
  .services-preview .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
  }
}

.page-hero-mark {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(201, 155, 72, 0.75);
  background: rgba(201, 155, 72, 0.12);
  color: var(--gold);
}

.page-hero-mark svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .page-hero-mark {
    margin-left: 0;
    margin-right: auto;
  }
}

/* Home license trust section */
.license-trust-section {
  padding: 68px 0 66px;
  background: var(--white);
}

.license-trust-inner {
  max-width: 790px;
  text-align: center;
}

.license-trust-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--gold);
}

.license-trust-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.license-trust-line {
  width: 54px;
  height: 1px;
  margin: 8px auto 20px;
  background: var(--gold);
}

.license-trust-section .eyebrow {
  margin-bottom: 12px;
}

.license-trust-section h2 {
  max-width: 720px;
  margin: 0 auto 18px;
}

.license-trust-section p:not(.eyebrow) {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
}

.license-numbers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 24px;
  color: var(--text);
  font-size: 0.95rem;
}

.license-numbers strong {
  color: var(--gold-dark);
}

@media (max-width: 640px) {
  .license-trust-section {
    padding: 56px 0;
  }

  .license-trust-inner {
    text-align: center;
  }

  .license-numbers {
    flex-direction: column;
    gap: 8px;
  }
}



/* Gallery slideshow */
.gallery-slideshow {
  max-width: 1040px;
  margin: 0 auto;
}

.gallery-stage {
  position: relative;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 16 / 10;
}

.gallery-main-link,
.gallery-main-image {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-main-image {
  object-fit: cover;
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.gallery-main-image.changing {
  opacity: 0.35;
  transform: scale(0.995);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 0 0 4px;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 50%;
  background: rgba(9,9,9,0.62);
  color: #fff;
  font: inherit;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  background: var(--gold-dark);
  border-color: var(--gold);
}

.gallery-arrow-prev { left: 18px; }
.gallery-arrow-next { right: 18px; }

.gallery-counter {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(9,9,9,0.68);
  color: #fff;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 2px 6px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.gallery-thumbnail {
  flex: 0 0 92px;
  height: 66px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: #e8e8e8;
  cursor: pointer;
  opacity: 0.65;
  scroll-snap-align: center;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
  opacity: 1;
  border-color: var(--gold);
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .gallery-stage { aspect-ratio: 4 / 3; }
  .gallery-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.9rem;
  }
  .gallery-arrow-prev { left: 10px; }
  .gallery-arrow-next { right: 10px; }
  .gallery-counter { right: 10px; bottom: 10px; }
  .gallery-thumbnail { flex-basis: 78px; height: 56px; }
}
