@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;700;800&family=Nunito:wght@400;600;700;800&display=swap");

:root {
  --primary: #A61113;
  --secondary: #b7abab;
  --accent: #FFCE03;
  --blue: #2A5EA8;
  --warm: #f7931e;
  --background: #fdf8f1;
  --surface: #ffffff;
  --text: #2b2b2b;
  --muted: #555555;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  font-family: "Nunito", "Trebuchet MS", sans-serif;
  background: radial-gradient(circle at top left, rgba(255, 206, 3, 0.18), transparent 22%),
              radial-gradient(circle at 90% 10%, rgba(42, 94, 168, 0.12), transparent 25%),
              linear-gradient(180deg, #fffdf7 0%, #fdf8f1 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 58px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(166, 17, 19, 0.16);
}

.brand span {
  font-family: "Baloo 2", "Verdana", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.35rem;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  display: block;
  padding: 3rem 2rem;
}

.hero-copy {
  max-width: 50rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 206, 3, 0.18);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero h1 {
  margin: 0;
  font-family: "Baloo 2", "Verdana", sans-serif;
  font-size: clamp(2.7rem, 4vw, 4.25rem);
  line-height: 1.02;
  color: #651114;
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 39rem;
  margin: 1.5rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.95rem 1.7rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(166, 17, 19, 0.18);
}

.btn:disabled,
.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: rgba(42, 94, 168, 0.14);
  color: var(--blue);
}

.visual-tag {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #3b2b02;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.section {
  padding: 3rem 2rem;
  scroll-margin-top: 7rem;
}

.section h2 {
  font-family: "Baloo 2", "Verdana", sans-serif;
}

.section-soft {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.section-spotlight {
  background: linear-gradient(135deg, rgba(166, 17, 19, 0.08), rgba(255, 206, 3, 0.16));
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(2rem, 3vw, 2.55rem);
  margin-bottom: 1rem;
}

.section p {
  margin: 0 0 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.spotlight-box {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  align-items: center;
}

.spotlight-quote {
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(166, 17, 19, 0.94), rgba(42, 94, 168, 0.88));
  color: #ffffff;
  box-shadow: 0 28px 60px rgba(166, 17, 19, 0.18);
}

.spotlight-quote p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.25rem;
  font-weight: 800;
}

.section-split .split-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 2rem;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card-glow {
  box-shadow: 0 28px 60px rgba(42, 94, 168, 0.08);
}

.card h2 {
  margin-top: 0;
}

.card ul {
  padding-left: 1.2rem;
  margin: 1rem 0 0;
}

.card ul li {
  margin-bottom: 0.8rem;
}

.section-actions {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 206, 3, 0.08));
}

.actions-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.section-impact {
  background: linear-gradient(180deg, rgba(42, 94, 168, 0.08), rgba(255, 255, 255, 0.95));
}

.impact-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.impact-card {
  border-radius: 24px;
  padding: 1.8rem;
  background: #ffffff;
  border: 1px solid rgba(42, 94, 168, 0.12);
  text-align: center;
}

.impact-card strong {
  display: block;
  font-size: 2rem;
  color: var(--blue);
}

.impact-card span {
  color: var(--muted);
  font-weight: 700;
}

.testimonials-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.section-accent {
  background: linear-gradient(180deg, rgba(255, 206, 3, 0.15), rgba(255, 255, 255, 0.8));
}

.steps-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

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

.steps-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
  padding: 1.8rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(167, 17, 19, 0.08);
  box-shadow: 0 16px 32px rgba(42, 94, 168, 0.06);
}

.step-number {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: rgba(255, 206, 3, 0.3);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.section-contact {
  padding-bottom: 4rem;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
}

.feature-card {
  padding: 2rem;
  border-radius: 28px;
  background: #ffffff;
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 206, 3, 0.28);
  color: var(--primary);
  font-weight: 800;
}

.feature-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 0.8rem;
}

.section-final-cta {
  background: linear-gradient(110deg, rgba(166, 17, 19, 0.92), rgba(42, 94, 168, 0.9));
  color: #ffffff;
}

.final-cta-box {
  text-align: center;
  max-width: 760px;
}

.section-final-cta p {
  color: rgba(255, 255, 255, 0.9);
}

.section-final-cta .btn-primary {
  background: var(--accent);
  color: #3b2b02;
  box-shadow: none;
}

.section-instagram {
  background: transparent;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.instagram-box {
  text-align: center;
  max-width: 760px;
  padding: 1.5rem 0 0.5rem;
}

.support-proof {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.support-proof-box {
  text-align: center;
}

.support-proof-box p {
  margin: 0.4rem 0;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
}

.contact-card {
  padding: 2rem;
}

.contact-form-card {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 1.7rem;
}

.form-helper {
  margin-top: 0.2rem;
  color: var(--muted);
}

.form-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem 0.9rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.form-field {
  min-width: 0;
}

.form-field label {
  margin-top: 0;
}

.form-field input,
.form-field textarea {
  margin-top: 0.45rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-choice-layout {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-group-wide {
  grid-column: 1 / -1;
}

.text-group label {
  margin-top: 0;
}

.text-group textarea {
  margin-top: 0.55rem;
}

#contact-form {
  scroll-margin-top: 7rem;
}

.contact-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.contact-list strong {
  display: block;
  margin-bottom: 0.4rem;
}

.contact-list a {
  color: var(--blue);
  text-decoration: none;
}

label {
  display: block;
  margin-top: 1.35rem;
  font-weight: 600;
}

.required-mark {
  color: var(--primary);
  font-weight: 800;
}

input, textarea {
  width: 100%;
  margin-top: 0.55rem;
  padding: 1rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
}

input.is-invalid,
textarea.is-invalid {
  border-color: #b00020;
  box-shadow: 0 0 0 3px rgba(176, 0, 32, 0.14);
}

textarea {
  resize: vertical;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-fallback-note {
  margin-top: 1.6rem !important;
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.form-fallback-note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-fallback-note a:hover {
  color: var(--primary);
}

.choice-group {
  margin-top: 0;
  padding: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
}

.choice-group legend {
  padding: 0 0.35rem;
  font-weight: 700;
}

.choice-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0;
  font-weight: 600;
  line-height: 1.45;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.choice-group label.is-disabled {
  opacity: 0.5;
  filter: grayscale(0.2);
  cursor: not-allowed;
}

.choice-other.is-disabled {
  opacity: 0.55;
}

.choice-other.is-disabled input {
  background: rgba(0, 0, 0, 0.04);
  cursor: not-allowed;
}

.choice-options {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.55rem 0.9rem;
}

.choice-options-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-options-one {
  grid-template-columns: 1fr;
}

.choice-group input[type="checkbox"],
.choice-group input[type="radio"] {
  width: auto;
  margin: 0;
}

.choice-group input[type="text"] {
  margin-top: 0;
}

.choice-other {
  margin-top: 0.85rem;
}

.field-error {
  margin: 0.45rem 0 0 !important;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #b00020;
}

.choice-other.has-error input {
  border-color: #b00020;
  box-shadow: 0 0 0 3px rgba(176, 0, 32, 0.14);
}

.form-status {
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.form-status.is-error {
  color: #b00020;
}

.form-status.is-success {
  color: #1f6f2f;
}

.success-modal {
  border: none;
  border-radius: var(--radius);
  padding: 0;
  max-width: 420px;
  width: calc(100% - 2rem);
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
  animation: fadeInUp 0.35s ease both;
}

.error-modal {
  border: none;
  border-radius: var(--radius);
  padding: 0;
  max-width: 460px;
  width: calc(100% - 2rem);
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
  animation: fadeInUp 0.35s ease both;
}

.success-modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.error-modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.success-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2.5rem 2rem 2rem;
  background: #fffbe6;
}

.error-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2.5rem 2rem 2rem;
  background: #fff5ef;
}

.success-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #2b2b2b;
  flex-shrink: 0;
}

.error-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f7931e;
  color: #2b2b2b;
  flex-shrink: 0;
}

.success-modal-icon svg {
  width: 34px;
  height: 34px;
}

.error-modal-icon svg {
  width: 34px;
  height: 34px;
}

.success-modal h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2b2b2b;
  margin: 0;
}

.error-modal h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2b2b2b;
  margin: 0;
}

.success-modal p {
  margin: 0 !important;
  color: #555555;
  font-size: 1rem;
  line-height: 1.5;
}

.error-modal p {
  margin: 0 !important;
  color: #555555;
  font-size: 1rem;
  line-height: 1.5;
}

.success-modal .btn {
  margin-top: 0.75rem;
  min-width: 140px;
}

.modal-inline-link {
  color: var(--primary);
  font-weight: 700;
}

.modal-actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

.modal-actions a {
  text-decoration: none;
}

.modal-actions .btn {
  min-width: 140px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.site-footer {
  text-align: center;
  padding: 1.25rem 2rem 2.25rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0.4rem 0;
}

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 35;
  text-decoration: none;
  background: var(--primary);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(166, 17, 19, 0.28);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-cta:hover {
  background: #8e0f11;
}

.floating-cta.is-hidden-mobile {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

@media (max-width: 960px) {
  .hero {
    padding-top: 3rem;
  }
  .spotlight-box,
  .feature-grid,
  .section-split .split-grid,
  .actions-grid,
  .impact-grid,
  .testimonials-grid,
  .steps-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-grid,
  .form-choice-layout,
  .choice-options-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
    align-items: center;
  }
  .brand {
    flex: 1;
    min-width: 0;
  }
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }
  .nav-links {
    display: none;
    width: 100%;
    margin-top: 0.85rem;
    padding: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    gap: 0.65rem;
  }
  .site-header.menu-open .nav-links {
    display: flex;
  }
  .nav-links a {
    white-space: nowrap;
    padding: 0.45rem 0.35rem;
  }
  .hero {
    padding: 2.5rem 1.25rem;
  }
  .hero p,
  .section p {
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .section-final-cta {
    padding: 2rem 1.25rem;
  }
  .final-cta-box {
    max-width: 640px;
  }
  .section-final-cta h2 {
    font-size: clamp(1.6rem, 6vw, 2rem);
    margin-bottom: 0.7rem;
    line-height: 1.12;
  }
  .section-final-cta p {
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 0 0 0.6rem;
  }
  .section-final-cta .btn-primary {
    margin-top: 0.35rem;
  }
  .section {
    padding: 2.5rem 1.25rem;
    scroll-margin-top: 1.5rem;
  }
  .steps-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .actions-grid {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.15rem 0.1rem 0.35rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .actions-grid::-webkit-scrollbar {
    display: none;
  }
  .actions-grid .step-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }
  .section-actions .step-card,
  #participar .step-card {
    padding: 1.2rem;
    border-radius: 18px;
  }
  .section-actions .step-card h3,
  #participar .step-card h3 {
    font-size: 1rem;
    margin: 0.4rem 0 0.45rem;
  }
  .section-actions .step-card p,
  #participar .step-card p {
    font-size: 0.92rem;
    line-height: 1.45;
  }
  #participar .step-icon {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
  }
  .floating-cta {
    text-align: center;
  }
  #contact-form {
    scroll-margin-top: 1.5rem;
  }

  .choice-group-multi .choice-options {
    gap: 0.55rem 0.9rem;
  }

  .choice-group-multi .choice-options label {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .choice-group-multi input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.18rem;
    border: 1.5px solid  rgba(0, 0, 0, 0.4);
    border-radius: 999px;
    background: #ffffff;
    flex-shrink: 0;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  }

  .choice-group-multi input[type="checkbox"]:checked {
    border-color: #0078d4;
    background: #0078d4;
    box-shadow: inset 0 0 0 2px #ffffff;
  }

  .choice-group-multi input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 94, 168, 0.18);
  }

  .choice-group-multi label.is-disabled {
    background: transparent;
    box-shadow: none;
  }
}

/* Gallery Section */
.section-gallery {
  background-color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.section-gallery h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-gallery p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

/* Carousel Section - Updated for better UX */
.carousel {
  --carousel-gap: 0.75rem;
  --carousel-peek-desktop: 2rem;
  --carousel-peek-tablet: 1.4rem;
  --carousel-peek-mobile: 1.2rem;
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2.9rem;
}

.carousel-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  gap: var(--carousel-gap);
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-item {
  flex: 0 0 calc((100% - var(--carousel-peek-desktop) - (4 * var(--carousel-gap))) / 4);
}

.carousel-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  cursor: zoom-in;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: rgba(166, 17, 19, 0.92);
  color: #fff;
  border: none;
  padding: 0;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.carousel-control.prev {
  left: -0.25rem;
}

.carousel-control.next {
  right: -0.25rem;
}

.gallery-lightbox {
  border: none;
  padding: 0;
  background: transparent;
  overflow: hidden;
  overscroll-behavior: contain;
}

.gallery-lightbox[open] {
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
}

.gallery-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.gallery-lightbox-content {
  position: relative;
  touch-action: none;
}

.gallery-lightbox img {
  width: auto;
  max-width: min(94vw, 1080px);
  max-height: 88vh;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  border-radius: 999px;
  font-size: 1.65rem;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.48);
  cursor: pointer;
}

.gallery-lightbox-nav.prev {
  left: 0.8rem;
}

.gallery-lightbox-nav.next {
  right: 0.8rem;
}

.gallery-lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

@media (max-width: 560px) {
  .gallery-lightbox-nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .carousel-item {
    flex-basis: calc((100% - var(--carousel-peek-tablet) - (2 * var(--carousel-gap))) / 2);
  }
}

@media (max-width: 560px) {
  .carousel {
    padding: 0;
  }

  .carousel-item {
    flex-basis: calc(100% - var(--carousel-peek-mobile) - var(--carousel-gap));
  }

  .carousel-control {
    display: none;
  }
}
