/* Morales Barbearia — identidade visual (variáveis para troca fácil) */
:root {
  /* Paleta oficial (logo): azul royal + ouro + branco + grafite */
  --color-bg: #0a0c10;
  --color-bg-elevated: #10141c;
  --color-bg-card: #151a24;
  --color-surface: #1a2230;
  --color-border: #2a3344;
  --color-brand: #2a5ba8;
  --color-brand-dark: #1e4580;
  --color-brand-light: #3d74c9;
  --color-gold: #c8913a;
  --color-gold-light: #dbab5a;
  --color-gold-dim: #8a6428;
  --color-text: #f7f9fc;
  --color-text-muted: #a8b0c0;
  --color-text-dim: #6b7385;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1ebe57;
  --color-danger: #c44;
  --font-display: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --max-width: 1120px;
  --header-h: 72px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--color-gold-light);
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-gold);
  color: var(--color-bg);
  padding: 0.75rem 1rem;
  z-index: 1000;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 11, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.logo:hover {
  color: var(--color-gold-light);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: var(--color-gold);
  flex-shrink: 0;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.25rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.25rem 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-list a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--color-gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), color var(--transition);
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-bg);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-gold-light);
  color: var(--color-bg);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
}

.btn-outline:hover {
  background: rgba(201, 162, 39, 0.12);
  color: var(--color-gold-light);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  color: #fff;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201, 162, 39, 0.06), transparent 50%),
    var(--color-bg);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-eyebrow {
  display: inline-block;
  color: var(--color-gold);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
}

.brand-chip + .hero-eyebrow {
  display: block;
  margin-top: 1rem;
}

.club-cta {
  margin-top: 1.5rem;
}

.consent-note {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-text-dim);
  max-width: 38rem;
  margin-top: 1.15rem;
}

.consent-note a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-band .consent-note {
  margin-inline: auto;
  margin-top: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero h1 span {
  color: var(--color-gold);
}

.hero-lead {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 480px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.hero-visual .placeholder-art {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(201, 162, 39, 0.03) 12px,
      rgba(201, 162, 39, 0.03) 24px
    ),
    linear-gradient(160deg, var(--color-bg-elevated), var(--color-bg-card));
  color: var(--color-gold-dim);
  text-align: center;
  padding: 2rem;
}

.hero-visual .placeholder-art strong {
  color: var(--color-gold);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
}

.hero-visual .placeholder-art small {
  color: var(--color-text-dim);
  font-size: 0.8rem;
  max-width: 14rem;
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--color-bg-elevated);
  border-block: 1px solid var(--color-border);
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section-header .eyebrow {
  color: var(--color-gold);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-text-muted);
}

.about-content {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.about-text p.lead {
  color: var(--color-text);
  font-size: 1.15rem;
  font-weight: 600;
}

.about-highlight {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.about-highlight p {
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.about-highlight p:last-child {
  margin-bottom: 0;
  color: var(--color-gold);
  font-weight: 700;
}

/* —— Cards / Services —— */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards.cards-5 {
    grid-template-columns: repeat(5, 1fr);
  }

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

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

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}

.card:hover {
  border-color: var(--color-gold-dim);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-gold-dim);
  display: grid;
  place-items: center;
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* —— Club Morales —— */
.club {
  position: relative;
  overflow: hidden;
}

.club-panel {
  background:
    linear-gradient(135deg, rgba(201, 162, 39, 0.15), transparent 50%),
    var(--color-bg-card);
  border: 1px solid var(--color-gold-dim);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem 1.75rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .club-panel {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 3rem;
    align-items: center;
  }
}

.club-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.club-panel .tagline {
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 1rem;
}

.club-panel p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.club-benefits {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.club-benefits li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.club-benefits li::before {
  content: "◆";
  color: var(--color-gold);
  font-size: 0.65rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* —— Units / Hours / Contact —— */
.info-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.info-card h3 {
  color: var(--color-gold);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.info-card address {
  font-style: normal;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.info-card .todo {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-dim);
  background: var(--color-surface);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px dashed var(--color-border);
}

.info-card .map-link {
  margin-top: 0.85rem;
}

.info-card .map-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gold);
}

.info-card .map-link a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list strong {
  color: var(--color-text);
  font-weight: 600;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.contact-list a {
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-list a:hover {
  color: var(--color-gold);
}

.contact-list .label {
  color: var(--color-text-dim);
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.15rem;
}

/* —— Gallery —— */
.gallery {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

a.gallery-item {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  overflow: hidden;
  position: relative;
  display: block;
  padding: 0;
  color: inherit;
  cursor: zoom-in;
}

a.gallery-item:hover,
a.gallery-item:focus-visible {
  color: inherit;
}

.gallery-item picture,
.about-photo picture,
.hero-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

/* —— Legal pages —— */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.page-hero .meta {
  color: var(--color-text-dim);
  font-size: 0.9rem;
}

.legal-content {
  padding: 3rem 0 4rem;
  max-width: 720px;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-gold-light);
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* —— Footer —— */
.site-footer {
  background: #080706;
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-col h3 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-col a {
  color: var(--color-text-muted);
}

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

.business-data {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.business-data h3 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.business-data dl {
  display: grid;
  gap: 0.65rem;
}

.business-data dt {
  color: var(--color-text-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.business-data dd {
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
  word-break: break-word;
}

@media (min-width: 600px) {
  .business-data dl {
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1.25rem;
  }

  .business-data dd {
    margin-bottom: 0;
  }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-dim);
  font-size: 0.85rem;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: var(--color-text-muted);
}

/* —— Floating WhatsApp —— */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), background var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background: var(--color-whatsapp-hover);
  color: #fff;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.whatsapp-float .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— Mobile nav —— */
@media (max-width: 799px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(12, 11, 10, 0.98);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-list .btn {
    margin-top: 0.75rem;
    width: 100%;
  }
}

/* —— Utility —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.cta-band {
  text-align: center;
  padding: 3.5rem 0;
}

.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-inline: auto;
}


/* —— Brand logo & real photos —— */
.logo img.logo-img {
  width: auto;
  height: 48px;
  max-width: 160px;
  object-fit: contain;
  border-radius: 6px;
}

.logo-text-fallback {
  display: none;
}

.hero-visual img,
.about-photo img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual {
  padding: 0;
  position: relative;
}

.hero-visual picture,
.hero-visual img {
  position: absolute;
  inset: 0;
}

.about-photo {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 520px;
  box-shadow: var(--shadow);
  background: var(--color-bg-card);
}

.gallery-item {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--color-text);
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(42, 91, 168, 0.2);
  border: 1px solid rgba(42, 91, 168, 0.45);
  color: var(--color-gold-light);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.club-panel {
  background:
    linear-gradient(135deg, rgba(42, 91, 168, 0.28), transparent 48%),
    linear-gradient(225deg, rgba(200, 145, 58, 0.12), transparent 40%),
    var(--color-bg-card);
  border-color: rgba(200, 145, 58, 0.45);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dim));
  color: #0a0c10;
}

.hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(42, 91, 168, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(200, 145, 58, 0.08), transparent 50%),
    var(--color-bg);
}


/* —— Lightbox —— */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 3.5rem 3rem;
  background: rgba(5, 6, 10, 0.94);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-figure {
  margin: 0;
  max-width: min(96vw, 1100px);
  max-height: 88vh;
  text-align: center;
}

.lightbox-figure img {
  max-width: min(96vw, 1100px);
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.lightbox-caption {
  margin-top: 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 2;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  background: rgba(200, 145, 58, 0.35);
  color: #fff;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev {
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 599px) {
  .lightbox {
    padding: 4rem 0.75rem 1.5rem;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }
}
