/* Design tokens */
:root {
  --font-base: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --accent: #c8102e;
  --accent-soft: rgba(200, 16, 46, 0.12);
  --success: #22c55e;
  --bg: #fdf7f7;
  --bg-alt: #ffffff;
  --text: #14151f;
  --muted: #55596b;
  --hero-text: #fefefe;
  --hero-muted: rgba(255, 255, 255, 0.85);
  --hero-stat-muted: rgba(255, 255, 255, 0.72);
  --card: #ffffff;
  --border: rgba(15, 19, 36, 0.08);
  --field-bg: #ffffff;
  --field-border: rgba(15, 19, 36, 0.12);
  --hero-overlay: rgba(4, 6, 12, 0.62);
  --section-accent-bg: linear-gradient(135deg, rgba(200, 16, 46, 0.08), rgba(14, 16, 20, 0.02));
  --card-shadow: 0 25px 55px rgba(15, 19, 36, 0.07);
  --text-on-accent: #ffffff;
  --ghost-border: rgba(255, 255, 255, 0.35);
  --ghost-bg: rgba(255, 255, 255, 0.08);
  --nav-glass: rgba(5, 7, 12, 0.55);
  --nav-link: rgba(255, 255, 255, 0.85);
  --nav-link-muted: rgba(255, 255, 255, 0.6);
  --nav-shadow: 0 18px 45px rgba(4, 4, 8, 0.45);
  --hero-panel-bg: rgba(6, 8, 14, 0.56);
  --hero-panel-border: rgba(255, 255, 255, 0.15);
}

body[data-theme='dark'] {
  --bg: #0e1014;
  --bg-alt: #151820;
  --text: #f4f5f7;
  --muted: #c0c4cf;
  --hero-text: #fdfdff;
  --hero-muted: rgba(249, 250, 255, 0.78);
  --hero-stat-muted: rgba(249, 250, 255, 0.65);
  --card: #1d2029;
  --border: rgba(255, 255, 255, 0.08);
  --field-bg: rgba(255, 255, 255, 0.02);
  --field-border: rgba(255, 255, 255, 0.18);
  --hero-overlay: rgba(7, 9, 13, 0.7);
  --section-accent-bg: linear-gradient(135deg, rgba(200, 16, 46, 0.18), rgba(14, 16, 20, 0.9));
  --card-shadow: 0 20px 45px rgba(5, 5, 8, 0.65);
  --nav-glass: rgba(7, 9, 15, 0.65);
  --nav-link: rgba(255, 255, 255, 0.88);
  --nav-link-muted: rgba(255, 255, 255, 0.68);
  --nav-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
  --ghost-border: rgba(255, 255, 255, 0.4);
  --ghost-bg: rgba(255, 255, 255, 0.06);
  --hero-panel-bg: rgba(4, 6, 10, 0.55);
  --hero-panel-border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-family: var(--font-base);
  transition: background 0.3s ease, color 0.3s ease;
}



a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.hero {
  min-height: 100vh;
  padding: 2rem clamp(1.5rem, 6vw, 5rem) 4rem;
  background: radial-gradient(circle at top right, rgba(200, 16, 46, 0.35), transparent 45%);
  position: relative;
  isolation: isolate;
  color: var(--hero-text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  overflow: hidden;
  transition: color 0.3s ease;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 0;
  pointer-events: none;
}


.hero__bg-layer,
.hero__bg-transition {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero__bg-layer {
  z-index: -2;
}

.hero__bg-transition {
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: -1;
}

.hero__bg-transition.visible {
  opacity: 1;
}

.hero__top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 1;
}

.hero__logo {
  flex: 0 0 auto;
  min-width: 220px;
  display: inline-flex;
  align-items: center;
}

.hero__logo img {
  max-width: clamp(260px, 35vw, 420px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  width: 100%;
  margin-left: auto;
  min-width: 0;
  gap: 1.25rem;
  padding: 0.85rem clamp(1.2rem, 4vw, 2rem);
  background: var(--nav-glass);
  border: none;
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 40;
}

.nav__list {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0 auto 0 0;
}

.nav__list a {
  font-weight: 500;
  color: var(--nav-link-muted);
  transition: color 0.2s ease;
}

.nav__list a:hover,
.nav__list a:focus-visible {
  color: var(--nav-link);
}

.nav__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__socials {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-right: 0.25rem;
}

.nav__social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav__social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav__social-link:hover,
.nav__social-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.quick-cta {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: inline-flex;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: 999px;
  background: var(--nav-glass);
  box-shadow: var(--nav-shadow);
  backdrop-filter: blur(20px);
  z-index: 60;
}

.quick-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.quick-cta__link:hover,
.quick-cta__link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.15);
}

.quick-cta__link--accent {
  background: var(--accent);
  border-color: transparent;
  color: var(--text-on-accent);
}

.quick-cta__link--accent:hover,
.quick-cta__link--accent:focus-visible {
  background: #a50d25;
  border-color: #a50d25;
}

.quick-cta__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quick-cta__icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
}

.map-link[hidden] {
  display: none;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}

.nav__toggle span {
  width: 26px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
}

.theme-toggle,
.lang-toggle {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle__icon {
  font-size: 1rem;
}

.theme-toggle:hover,
.theme-toggle:focus-visible,
.lang-toggle:hover,
.lang-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.lang-toggle {
  min-width: 3rem;
  justify-content: center;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

@media (max-width: 1400px) {
  .hero__top {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero__logo {
    flex: 0 0 auto;
  }

  .hero__logo img {
    max-width: clamp(220px, 28vw, 360px);
  }

  .nav {
    width: auto;
    margin-left: auto;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    align-self: flex-end;
  }

  .nav__list {
    flex-wrap: wrap;
    gap: 0.85rem;
  }

  .nav__controls {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav__social-link {
    width: 36px;
    height: 36px;
  }

  .nav__social-link img {
    width: 16px;
    height: 16px;
  }
}



.hero__content {
  max-width: clamp(520px, 40vw, 760px);
  width: 100%;
  margin: 0 auto 0 0;
  padding: clamp(1rem, 2.2vw, 1.8rem);
  background: rgba(5, 6, 12, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  box-shadow: 0 35px 85px rgba(3, 4, 10, 0.35);
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero__content::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.08));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}


@media (min-width: 1600px) {
  .hero__content {
    max-width: 620px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  color: var(--hero-muted);
  font-size: clamp(1rem, 1.8vw, 1.08rem);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0 1.25rem;
}

.btn {
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--text-on-accent);
}

.btn--ghost {
  border-color: var(--ghost-border);
  color: var(--hero-text);
  background: var(--ghost-bg);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.hero__stats {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 2rem 0 0;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero__stats strong {
  display: block;
  font-size: 2rem;
  color: var(--hero-text);
}

.hero__stats li {
  min-width: 140px;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  text-align: center;
}

.hero__stats span {
  color: var(--hero-stat-muted);
}

main {
  background: var(--bg);
}

.section {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 7vw, 5rem);
  border-bottom: 1px solid var(--border);
  width: min(1200px, 100%);
  margin: 0 auto;
}

.section--split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.section__header {
  max-width: 680px;
  margin-bottom: 2rem;
}

.section__header h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1rem;
}

.reviews-badge__icon svg {
  width: 36px;
  height: 36px;
  display: block;
}

.reviews-badge__content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-weight: 500;
}

.reviews-badge__content strong {
  font-size: 1.15rem;
}

.reviews-stars {
  display: inline-flex;
  gap: 0.2rem;
  color: #facc15;
  font-size: 1rem;
  letter-spacing: 0.1rem;
}

.reviews-badge__meta {
  font-size: 0.85rem;
  color: var(--hero-muted);
}

.section__cta-text {
  margin: 0;
  font-weight: 500;
  color: var(--muted);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.link--accent {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.link--accent:hover,
.link--accent:focus-visible {
  opacity: 0.85;
  transform: translateY(-1px);
}

.section--accent {
  background: var(--section-accent-bg);
}

.section--contact {
  background: var(--bg-alt);
}

.section__content h2 {
  margin-bottom: 1rem;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-grid span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

.highlight-card,
.cta-card,
.contact-card,
.service-card,
.testimonials figure {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.contact-card__list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contact-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 0.85rem;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-card__label {
  margin: 0;
  font-weight: 600;
}

.contact-card__value {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

.highlight-card ul {
  padding-left: 1rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.service-card h3 {
  margin-top: 0;
}

.testimonials blockquote {
  margin: 0 0 1rem;
  font-style: italic;
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.gallery-controls button {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.gallery-controls button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-on-accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  cursor: pointer;
  min-height: 260px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card::after {
  content: attr(data-caption);
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent);
  font-weight: 600;
  color: #ffffff;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.checklist li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.checklist--compact {
  margin-top: 0.5rem;
}

.checklist--compact li {
  margin-bottom: 0.35rem;
}

.checklist li::before {
  content: '✔';
  color: var(--success);
  left: 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero__bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: none;
  z-index: -2;
}


.contact-intro {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: 0.6rem;
  padding: 0.75rem 1rem;
  color: var(--text);
  font: inherit;
}

body[data-theme='dark'] .contact-form input,
body[data-theme='dark'] .contact-form textarea {
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-status {
  min-height: 1.2rem;
  color: var(--accent);
  font-weight: 600;
}

.map-wrapper iframe {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.map-placeholder {
  border: 1px dashed var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: inset 0 0 0 1px rgba(15, 19, 36, 0.02);
}

.map-placeholder p {
  margin: 0;
  color: var(--muted);
}

.footer {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__credits {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer__credits a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}


.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal.open {
  display: flex;
}

.modal__image-wrapper {
  position: relative;
  border-radius: 0.8rem;
  overflow: hidden;
}

.modal__image-wrapper img {
  width: 100%;
  display: block;
}

.modal__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: var(--text-on-accent);
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(200, 16, 46, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal__arrow span {
  pointer-events: none;
}

.modal__arrow:hover,
.modal__arrow:focus-visible {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 18px 35px rgba(200, 16, 46, 0.45);
}

.modal__arrow--prev {
  left: 1rem;
}

.modal__arrow--next {
  right: 1rem;
}

.modal__counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(6, 8, 12, 0.65);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.modal__close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero__top {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .hero__logo {
    justify-content: center;
  }

  .nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 1.5rem;
  }

  .nav__controls {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav__socials {
    width: 100%;
    justify-content: center;
    padding-right: 0;
  }

  .nav__list {
    position: static;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    background: rgba(5, 6, 12, 0.92);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, max-height 0.35s ease;
    box-shadow: 0 20px 50px rgba(3, 4, 10, 0.35);
    max-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .nav__list.open {
    opacity: 1;
    pointer-events: auto;
    max-height: 420px;
    padding: 1rem;
  }

  .nav__list li {
    width: 100%;
  }

  .nav__list a {
    display: block;
    width: 100%;
    padding: 0.35rem 0.25rem;
  }

  .nav__toggle {
    display: flex;
  }

  .theme-toggle,
  .lang-toggle {
    width: 100%;
    justify-content: center;
  }

  .hero__content {
    width: 100%;
  }

  .quick-cta {
    left: 50%;
    right: initial;
    transform: translateX(-50%);
    width: min(90%, 420px);
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .quick-cta__link {
    flex: 1 1 48%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero__logo {
    width: 100%;
    justify-content: center;
  }

  .hero__logo img {
    max-width: 220px;
  }

  .modal__arrow {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .modal__arrow--prev {
    left: 0.5rem;
  }

  .modal__arrow--next {
    right: 0.5rem;
  }
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal__content {
  position: relative;
  background: #050608;
  border-radius: 1.2rem;
  padding: 1rem;
  max-width: min(90vw, 900px);
  width: 100%;
}

.modal__body {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal__image-wrapper {
  position: relative;
  border-radius: 0.8rem;
  overflow: hidden;
}

.modal__image-wrapper img {
  width: 100%;
  display: block;
}

.modal__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: var(--text-on-accent);
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(200, 16, 46, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal__arrow span {
  pointer-events: none;
}

.modal__arrow:hover,
.modal__arrow:focus-visible {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 18px 35px rgba(200, 16, 46, 0.45);
}

.modal__arrow--prev {
  left: 1rem;
}

.modal__arrow--next {
  right: 1rem;
}

.modal__counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(6, 8, 12, 0.65);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.modal__close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
