/* MG Mobiliario — single stylesheet, no frameworks */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #211d19;
  --text: #433c35;
  --muted: #7a7168;
  --paper: #ffffff;
  --cream: #f7f4ef;
  --sand: #e9e2d8;
  --line: #e3dcd2;
  --accent: #a4713f;
  --accent-dark: #85562a;
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
}

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

a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.4rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* Kicker with accent dash */
.kicker {
  display: flex; align-items: center; gap: .7rem;
  text-transform: uppercase; letter-spacing: .22em;
  font-size: .74rem; font-weight: 700; color: var(--accent);
  margin: 0 0 .9rem;
}
.kicker::before {
  content: ""; width: 2.2rem; height: 2px; background: var(--accent);
  flex: none;
}

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--ink); color: #cfc6bb;
  font-size: .8rem; letter-spacing: .04em;
}
.top-bar .wrap {
  display: flex; justify-content: flex-end; gap: 1.8rem;
  padding-top: .4rem; padding-bottom: .4rem;
}
.top-bar a { color: #fff; text-decoration: none; font-weight: 600; }
.top-bar a:hover { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 1rem;
}
.logo img { width: 200px; height: auto; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: .5rem .65rem; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { display: block; }

.site-nav > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 2rem;
}
.site-nav a, .sub-toggle {
  text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: .84rem;
  text-transform: uppercase; letter-spacing: .1em;
  padding: .5rem 0; display: block;
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.site-nav > ul > li > a, .sub-toggle {
  position: relative;
}
.site-nav > ul > li > a::after, .sub-toggle::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: .1rem;
  height: 2px; background: var(--accent);
  transition: right .25s ease;
}
.site-nav > ul > li > a:hover::after,
.site-nav > ul > li > a[aria-current="page"]::after,
.sub-toggle:hover::after,
.has-sub.open .sub-toggle::after,
.sub-toggle[data-active="true"]::after { right: 0; }

.site-nav a:hover, .sub-toggle:hover { color: var(--accent-dark); }

.sub-toggle .chev {
  display: inline-block; margin-left: .35rem;
  transition: transform .2s ease;
  font-size: .72em; vertical-align: .1em;
}
.has-sub.open .chev { transform: rotate(180deg); }

.has-sub { position: relative; }
.sub {
  list-style: none; margin: 0; padding: .6rem 0;
  position: absolute; top: calc(100% + .4rem); left: -1.2rem; min-width: 265px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent);
  box-shadow: 0 18px 44px rgba(33, 24, 15, .14);
  display: none;
}
.has-sub.open .sub { display: block; }
.sub a {
  padding: .5rem 1.4rem; font-weight: 500; font-size: .82rem;
  text-transform: none; letter-spacing: .02em;
}
.sub a:hover, .sub a[aria-current="page"] { background: var(--cream); color: var(--accent-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(78vh, 680px);
  display: grid; align-items: center;
  color: #fff;
  isolation: isolate;
}
.hero-slide {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.4s ease, transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(24, 17, 10, .78) 0%, rgba(24, 17, 10, .45) 55%, rgba(24, 17, 10, .15) 100%);
}
.hero-inner {
  padding: 6rem 0 6.5rem; max-width: 40rem;
}
.hero .kicker { color: #e5c9a8; }
.hero .kicker::before { background: #e5c9a8; }
.hero h1 { color: #fff; }
.hero p.hero-sub {
  font-size: 1.13rem; line-height: 1.7; margin: 0 0 2rem;
  color: rgba(255, 255, 255, .92); max-width: 32rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 0; }

.hero-dots {
  position: absolute; bottom: 1.6rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: .55rem;
}
.hero-dots button {
  width: 26px; height: 3px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .35);
}
.hero-dots button.is-active { background: #fff; }

.btn {
  display: inline-block; text-decoration: none;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: .84rem;
  text-transform: uppercase; letter-spacing: .12em;
  padding: .95rem 1.9rem; border-radius: 3px;
  border: 0; cursor: pointer; font-family: inherit;
  transition: background .2s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; border: 1px solid rgba(255, 255, 255, .75);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 47rem; margin-bottom: 2.6rem; }
.lead { font-size: 1.1rem; }

/* Showroom cards: title over the image */
.cards {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.card {
  position: relative; display: block; overflow: hidden;
  text-decoration: none; color: #fff;
  aspect-ratio: 4 / 3;
}
.card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 14, 8, 0) 35%, rgba(20, 14, 8, .82) 100%);
  transition: background .3s ease;
}
.card:hover img { transform: scale(1.06); }
.card-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 1.4rem 1.5rem 1.3rem;
}
.card-overlay h3 {
  color: #fff; margin: 0 0 .2em; font-size: 1.25rem; letter-spacing: -.01em;
}
.card-overlay p {
  margin: 0; font-size: .86rem; color: rgba(255, 255, 255, .85);
  max-width: 30rem;
}
.card-overlay .card-more {
  display: inline-block; margin-top: .65rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #e5c9a8;
}
.card:hover .card-more { color: #fff; }

/* Gallery */
.gallery {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.gallery a { display: block; overflow: hidden; position: relative; }
.gallery img {
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
  transition: transform .5s ease, filter .5s ease;
}
.gallery a:hover img { transform: scale(1.05); filter: brightness(1.05); }

dialog.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh;
}
dialog.lightbox::backdrop { background: rgba(12, 9, 6, .88); }
dialog.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; }
dialog.lightbox .close-lb {
  position: fixed; top: 1rem; right: 1.25rem;
  background: rgba(15, 11, 8, .78); border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%; width: 2.6rem; height: 2.6rem;
  color: #fff; font-size: 1.7rem; cursor: pointer; line-height: 1;
  display: grid; place-items: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .5);
}
dialog.lightbox .close-lb:hover { background: var(--accent); border-color: var(--accent); }

/* Inner page header */
.page-head {
  background:
    linear-gradient(rgba(33, 26, 18, .05), rgba(33, 26, 18, .05)),
    var(--cream);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--line);
}
.page-head p { max-width: 46rem; margin: 0; font-size: 1.1rem; color: var(--muted); }

/* Media + text blocks */
.split {
  display: grid; gap: 3rem; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}
.split .photo { box-shadow: 0 24px 60px rgba(33, 24, 15, .16); }

/* Feature lists */
.features {
  list-style: none; padding: 0; margin: 1.2rem 0;
  display: grid; gap: .6rem;
}
.features li { padding-left: 1.7rem; position: relative; }
.features li::before {
  content: "—"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 800;
}

/* Perks */
.perks {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 2.4rem;
}
.perk {
  background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 1.6rem 1.6rem 1.5rem;
}
.section-alt .perk { border-color: var(--sand); border-top-color: var(--accent); }
.perk h3 { margin-bottom: .35em; font-size: 1.02rem; }
.perk p { margin: 0; font-size: .9rem; color: var(--muted); }

/* FAQ / pricing */
.faq details {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  padding: 1.05rem 1.4rem; margin-bottom: .8rem; background: var(--paper);
}
.faq summary { font-weight: 700; color: var(--ink); cursor: pointer; }
.faq details[open] summary { margin-bottom: .5rem; }

/* CTA band */
.cta-band {
  background:
    linear-gradient(100deg, rgba(24, 17, 10, .92), rgba(24, 17, 10, .78)),
    url("../img/hero-salon-1600.webp") center/cover;
  color: #d9d0c5; text-align: center;
  padding: 4.5rem 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 40rem; margin: 0 auto 1.8rem; }
.cta-band a.tel {
  color: #fff; font-weight: 800; text-decoration: none; font-size: 1.35rem;
  letter-spacing: .02em;
}
.cta-band a.tel:hover { color: #e5c9a8; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}
.contact-data address { font-style: normal; }
.contact-data h3 {
  margin-top: 1.6rem; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--accent-dark);
}
.contact-data a { text-decoration: none; font-weight: 600; }

form.contact-form { display: grid; gap: 1.05rem; align-content: start; }
.contact-form label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .8rem .95rem; margin-top: .35rem;
  border: 1px solid var(--line); border-radius: 3px;
  font: inherit; color: var(--text); background: var(--paper);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-status { font-weight: 600; }
.form-status.ok { color: #2c6e3d; }
.form-status.error { color: #a33a2a; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: #b9b0a5;
  padding: 4rem 0 0; font-size: .92rem;
}
.site-footer a { color: #f1ebe3; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid {
  display: grid; gap: 2.8rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  padding-bottom: 3rem;
}
.site-footer h3 {
  color: #fff; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .18em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer address { font-style: normal; }
.footer-logo { width: 185px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 1.1rem; }
.legal-bar {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.2rem 0; font-size: .8rem;
}
.legal-bar .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none; padding: .6rem 1.4rem 1.5rem;
    box-shadow: 0 22px 34px rgba(0, 0, 0, .1);
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a, .sub-toggle { padding: .8rem 0; width: 100%; text-align: left; }
  .site-nav > ul > li { border-bottom: 1px solid var(--cream); }
  .site-nav > ul > li > a::after, .sub-toggle::after { content: none; }
  .sub {
    position: static; border: 0; box-shadow: none; border-top: 0;
    padding: 0 0 .4rem 1.1rem; min-width: 0; background: none;
  }
  .sub a { padding: .5rem 0; }
  .hero { min-height: 66vh; }
  .hero-inner { padding: 4.5rem 0 5rem; }
  .top-bar .wrap { justify-content: center; gap: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: opacity .3s ease; transform: none; }
  .hero-slide.is-active { transform: none; }
  .card img, .gallery img, .btn { transition: none; }
}

/* ---------- Animations ---------- */

/* Hero entrance on load */
.hero-inner > * {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .7s ease forwards;
}
.hero-inner > .kicker { animation-delay: .15s; }
.hero-inner > h1 { animation-delay: .3s; }
.hero-inner > .hero-sub { animation-delay: .45s; }
.hero-inner > .hero-actions { animation-delay: .6s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Header shadow on scroll */
.site-header { transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(33, 24, 15, .1); }

/* ---------- Stats band ---------- */
.stats {
  background: var(--ink); color: #b9b0a5;
  padding: 3.2rem 0;
}
.stats-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: center;
}
.stat-n {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-n .suffix { color: var(--accent); }
.stat p {
  margin: .5rem 0 0; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
}

/* ---------- Floating call button ---------- */
.fab-call {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 60;
  display: flex; align-items: center; gap: .6rem;
  background: var(--accent); color: #fff;
  text-decoration: none; font-weight: 700; font-size: .9rem;
  padding: .85rem 1.15rem; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(133, 86, 42, .45);
  transition: background .2s ease, transform .2s ease;
}
.fab-call:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.fab-call svg { flex: none; }
.fab-call::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(164, 113, 63, .55);
  animation: fab-pulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(164, 113, 63, .55); }
  70% { box-shadow: 0 0 0 18px rgba(164, 113, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(164, 113, 63, 0); }
}
@media (max-width: 600px) {
  .fab-call span { display: none; }           /* icon only on mobile */
  .fab-call { padding: .95rem; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: .78rem; letter-spacing: .04em;
  margin: 0 0 1.1rem; color: var(--muted);
}
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.breadcrumbs li + li::before { content: "›"; margin-right: .45rem; color: var(--sand); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-dark); }
.breadcrumbs [aria-current="page"] { color: var(--accent-dark); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .hero-inner > * { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab-call::before { animation: none; }
}

/* ---------- How we work ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  counter-reset: paso;
}
.step {
  position: relative;
  background: var(--cream); border: 1px solid var(--line);
  padding: 1.7rem 1.6rem 1.5rem;
}
.step-n {
  display: inline-grid; place-items: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: 1.05rem;
  margin-bottom: .9rem;
}
.step h3 { font-size: 1rem; margin-bottom: .35em; }
.step p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.review {
  margin: 0; background: var(--paper); border: 1px solid var(--line);
  padding: 1.6rem 1.7rem;
}
.review-stars { color: #d9a441; letter-spacing: .15em; margin: 0 0 .6rem; }
.review blockquote {
  margin: 0 0 .9rem; font-size: .95rem; font-style: italic;
}
.review figcaption {
  font-size: .8rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em;
}

/* ---------- WhatsApp / floating button stack ---------- */
.fab-stack {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 60;
  display: flex; flex-direction: column; gap: .7rem; align-items: flex-end;
}
.fab-stack .fab-call { position: static; }
.fab-wa { background: #25d366; box-shadow: 0 10px 28px rgba(37, 211, 102, .4); }
.fab-wa:hover { background: #1eb958; }
.fab-wa::before { animation: none; }

/* ---------- Form select ---------- */
.contact-form select {
  width: 100%; padding: .8rem .95rem; margin-top: .35rem;
  border: 1px solid var(--line); border-radius: 3px;
  font: inherit; color: var(--text); background: var(--paper);
}
.contact-form select:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}

/* ---------- Header CTA ---------- */
.nav-cta {
  padding: .62rem 1.2rem; font-size: .76rem;
  white-space: nowrap; flex: none;
}

/* Link under the reviews */
.reviews-more { margin: 1.8rem 0 0; text-align: center; }
.reviews-more a { font-weight: 600; text-decoration: none; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 1080px) {
  .nav-cta { display: none; }  /* medium screens: the menu needs the room */
}

@media (max-width: 640px) {
  .wrap { padding: 0 1.1rem; }
  .section { padding: 3.4rem 0; }
  .page-head { padding: 2.8rem 0 2.2rem; }
  .hero { min-height: 60vh; }
  .hero-inner { padding: 3.6rem 0 4.2rem; }
  .hero p.hero-sub { font-size: 1.02rem; }
  .btn { padding: .85rem 1.4rem; letter-spacing: .09em; }
  .hero-actions { gap: .7rem; }
  .logo img { width: 168px; }
  .top-bar .mail { display: none; }        /* phone only on mobile */
  .stats { padding: 2.6rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
  .split { gap: 1.8rem; }
  .footer-grid { gap: 2rem; padding-bottom: 2.2rem; }
  .cta-band { padding: 3.4rem 0; }
  .card-overlay { padding: 1.1rem 1.2rem 1rem; }
  .step { padding: 1.3rem 1.2rem 1.2rem; }
}

@media (max-width: 380px) {
  .stats-grid { gap: 1.4rem .6rem; }
  .stat-n { font-size: 2.1rem; }
  .gallery { grid-template-columns: 1fr; }
}

/* ---------- Gallery photo treatment ----------
   Inward crop (scale) + inner vignette: hides the rough edges of
   phone-taken photos and unifies the set. */
.gallery a { position: relative; background: var(--ink); }
.gallery a::after {
  content: ""; position: absolute; inset: 0;
  box-shadow:
    inset 0 0 0 1px rgba(20, 14, 8, .12),
    inset 0 0 18px rgba(20, 14, 8, .18),
    inset 0 0 46px rgba(20, 14, 8, .22);
  pointer-events: none;
}
.gallery img { transform: scale(1.07); }
.gallery a:hover img { transform: scale(1.12); }

/* ---------- Lightbox navigation ---------- */
.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(15, 11, 8, .78); border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  width: 3.2rem; height: 3.2rem; line-height: 1;
  color: #fff; font-size: 2.1rem; cursor: pointer;
  display: grid; place-items: center; padding-bottom: .35rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .5);
  transition: background .2s ease;
}
.lb-nav:hover { background: var(--accent); border-color: var(--accent); }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-counter {
  position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%);
  background: rgba(15, 11, 8, .7); border-radius: 999px;
  padding: .2rem .9rem;
  text-align: center; color: #fff;
  font-size: .85rem; letter-spacing: .1em; margin: 0;
}
@media (max-width: 600px) {
  .lb-nav { width: 2.5rem; height: 2.5rem; font-size: 1.7rem; }
  .lb-prev { left: .4rem; }
  .lb-next { right: .4rem; }
}

/* ---------- Photos embedded next to text ----------
   Same treatment as galleries: inward crop + vignette. */
.photo {
  position: relative; overflow: hidden; margin: 0;
  background: var(--ink);
}
.photo img { width: 100%; transform: scale(1.06); }
.photo::after {
  content: ""; position: absolute; inset: 0;
  box-shadow:
    inset 0 0 0 1px rgba(20, 14, 8, .12),
    inset 0 0 18px rgba(20, 14, 8, .18),
    inset 0 0 46px rgba(20, 14, 8, .22);
  pointer-events: none;
}

/* ---------- Full-width photo bands ---------- */
.photo-band {
  position: relative; overflow: hidden;
  height: min(46vh, 440px);
}
.photo-band img {
  position: absolute; left: 0; top: -12%;
  width: 100%; height: 124%; object-fit: cover;
}
.photo-band::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 60px rgba(20, 14, 8, .28);
  pointer-events: none;
}
/* Subtle parallax only where scroll-driven animations are supported */
@supports (animation-timeline: view()) {
  .photo-band img {
    animation: band-drift linear both;
    animation-timeline: view();
  }
  @keyframes band-drift {
    from { transform: translateY(-5%); }
    to   { transform: translateY(5%); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-band img { animation: none; }
}

/* ---------- Visible focus for keyboard navigation ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.site-nav a:focus-visible, .sub-toggle:focus-visible { outline-offset: -1px; }

/* ---------- Terms checkbox ---------- */
.contact-form .check {
  display: flex; align-items: flex-start; gap: .8rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: 3px;
  padding: .9rem 1rem;
  font-weight: 400; font-size: .88rem; line-height: 1.55;
  cursor: pointer;
  transition: border-color .2s ease;
}
.contact-form .check:hover { border-color: var(--accent); }
.contact-form .check:has(input:checked) {
  border-color: var(--accent);
  background: #fff;
}
.contact-form .check input[type="checkbox"] {
  width: 1.3rem; height: 1.3rem; flex: none;
  margin: .1rem 0 0; padding: 0;
  accent-color: var(--accent); cursor: pointer;
}
