/*
  Mr. Mama — Industrial / construction theme
  Primary: brick red #b22222 | Dark gray | White
*/

:root {
  --color-brick: #b22222;
  --color-brick-dark: #8b1a1a;
  --color-brick-light: #c94a4a;
  --color-dark: #1a1d21;
  --color-dark-soft: #2d3238;
  --color-gray: #5c636a;
  --color-light: #f4f2ef;
  --color-white: #ffffff;
  --font-heading: "Oswald", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --header-height: 71px;
  --transition-smooth: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 12px 40px rgba(26, 29, 33, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-dark);
  background: var(--color-white);
  padding-top: var(--header-height);
}

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

a {
  color: var(--color-brick);
  text-decoration: none;
  transition: color var(--transition-smooth), opacity var(--transition-smooth);
}

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

/* -------- Navbar (sticky) -------- */
.site-header .navbar {
  background: rgba(26, 29, 33, 0.97);
  backdrop-filter: blur(10px);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 0 !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header .navbar.scrolled {
  background: rgba(26, 29, 33, 0.99);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

.brand-mark {
  color: var(--color-brick-light);
}

.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.75rem !important;
  position: relative;
}

.navbar-dark .nav-link::after {
  display: none;
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--color-brick);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.navbar-dark .nav-link:hover::after,
.navbar-dark .nav-link.active::after {
  transform: scaleX(1);
}

.btn-cta-nav {
  background: var(--color-brick);
  color: var(--color-white) !important;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-cta-nav:hover {
  background: var(--color-brick-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(178, 34, 34, 0.35);
  color: var(--color-white) !important;
}

/* -------- Hero -------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
  /* Placeholder: construction / bricks — swap URL in CSS or use local assets/hero-bg.jpg */
  background:
    linear-gradient(120deg, rgba(26, 29, 33, 0.85) 0%, rgba(26, 29, 33, 0.55) 50%, rgba(178, 34, 34, 0.25) 100%),
    url("assets/images/hero-bg.jpg") center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, rgba(26, 29, 33, 0.5) 100%);
  pointer-events: none;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--color-white) 0,
    var(--color-white) 1px,
    transparent 1px,
    transparent 12px
  );
  pointer-events: none;
  /* Offset the stripes so a single line doesn't visually align under the fixed navbar */
  background-position: 0 14px;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 3rem 1rem 5rem;
  max-width: 900px;
}

.hero__eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--color-brick-light);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero__lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 640px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero__actions .btn {
  min-width: 160px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-hero-primary {
  background: var(--color-brick);
  color: var(--color-white);
  border: 2px solid var(--color-brick);
}

.btn-hero-primary:hover {
  background: var(--color-brick-light);
  border-color: var(--color-brick-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(178, 34, 34, 0.45);
}

.btn-hero-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-hero-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

/* Hero scroll cue */
.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.7);
  animation: bounce-scroll 2s ease-in-out infinite;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 36px;
  margin: 0 auto;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8));
  border-radius: 2px;
}

@keyframes bounce-scroll {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

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

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

.section--dark {
  background: linear-gradient(165deg, var(--color-dark) 0%, var(--color-dark-soft) 100%);
  color: var(--color-white);
}

.section-header__tag {
  display: inline-block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--color-brick);
  margin-bottom: 0.5rem;
}

.section-header__tag--light {
  color: var(--color-brick-light);
}

.section-header__title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-header__text {
  max-width: 560px;
  color: var(--color-gray);
}

.section--dark .section-header__text {
  color: rgba(255, 255, 255, 0.65);
}

/* -------- Stats / counters -------- */
.stats {
  margin-top: -3rem;
  position: relative;
  z-index: 4;
}

.stat-card {
  background: var(--color-white);
  padding: 1.75rem 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(178, 34, 34, 0.12);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(26, 29, 33, 0.15);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-brick);
  line-height: 1;
}

.stat-card__suffix {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-brick);
  vertical-align: top;
}

.stat-card__label {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--color-gray);
  font-weight: 500;
}

/* -------- About -------- */
.accent-heading {
  color: var(--color-brick);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about__image-wrap {
  position: relative;
}

.about__img {
  object-fit: cover;
  width: 100%;
  max-height: 420px;
}

.about__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--color-brick);
  color: var(--color-white);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  animation: pulse-soft 3s ease-in-out infinite;
}

.about__badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1;
}

.about__badge span {
  font-size: 0.8rem;
  opacity: 0.95;
}

@keyframes pulse-soft {
  0%,
  100% {
    box-shadow: 0 8px 30px rgba(178, 34, 34, 0.35);
  }
  50% {
    box-shadow: 0 12px 40px rgba(178, 34, 34, 0.5);
  }
}

/* -------- Product cards -------- */
.product-card {
  background: var(--color-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 100%;
  border: 1px solid rgba(26, 29, 33, 0.06);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(26, 29, 33, 0.18);
  border-color: rgba(178, 34, 34, 0.25);
}

.product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card__media img {
  transform: scale(1.08);
}

.product-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.product-card:hover .product-card__shine {
  transform: translateX(100%);
}

.product-card__body {
  padding: 1.35rem 1.25rem 1.5rem;
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: var(--color-dark);
}

.product-card__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-gray);
}

/* -------- Why us / features -------- */
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.75rem 1.35rem;
  height: 100%;
  transition: transform var(--transition-smooth), background 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(178, 34, 34, 0.4);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(178, 34, 34, 0.2);
  color: var(--color-brick-light);
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.05);
  background: rgba(178, 34, 34, 0.35);
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: var(--color-white);
}

.feature-card__text {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

/* -------- Gallery -------- */
.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--color-dark);
  transition: box-shadow var(--transition-smooth), transform 0.3s ease;
}

.gallery__item:focus-visible {
  outline: 3px solid var(--color-brick);
  outline-offset: 3px;
}

.gallery__item:hover {
  box-shadow: 0 16px 40px rgba(26, 29, 33, 0.25);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery__item:hover img {
  transform: scale(1.1);
}

.gallery__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-white);
  background: rgba(178, 34, 34, 0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery__item:hover .gallery__zoom {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(26, 29, 33, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fade-in 0.25s ease;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__img {
  max-width: min(92vw, 1100px);
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  border: none;
  background: var(--color-brick);
  color: var(--color-white);
  font-size: 1.75rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox__close:hover {
  background: var(--color-brick-light);
  transform: scale(1.05);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* -------- Contact -------- */
.contact__card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(26, 29, 33, 0.06);
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--color-dark-soft);
}

.contact-form .form-control {
  border-radius: 8px;
  border: 1px solid rgba(26, 29, 33, 0.15);
  padding: 0.65rem 0.9rem;
}

.contact-form .form-control:focus {
  border-color: var(--color-brick);
  box-shadow: 0 0 0 0.2rem rgba(178, 34, 34, 0.2);
}

.btn-submit {
  background: var(--color-brick);
  color: var(--color-white);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-submit:hover {
  background: var(--color-brick-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(178, 34, 34, 0.35);
}

.form-status {
  min-height: 1.25rem;
}

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

.form-status.is-error {
  color: var(--color-brick);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.btn-whatsapp-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid #25d366;
  color: #128c7e;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  background: rgba(37, 211, 102, 0.08);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn-whatsapp-outline:hover {
  background: #25d366;
  color: var(--color-white);
  transform: translateY(-2px);
}

/* WhatsApp icon (inline SVG as CSS mask for flexibility) */
.whatsapp-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.881 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.881 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.whatsapp-icon--lg {
  width: 28px;
  height: 28px;
}

/* -------- Footer -------- */
.site-footer {
  background: var(--color-dark);
  border-top: 3px solid var(--color-brick);
}

/* -------- Floating WhatsApp -------- */
.fab-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 1030;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fab-pulse 2.5s ease-in-out infinite;
}

.fab-whatsapp .whatsapp-icon {
  background-color: var(--color-white);
}

.fab-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
  color: var(--color-white);
}

@keyframes fab-pulse {
  0%,
  100% {
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 8px 36px rgba(37, 211, 102, 0.65);
  }
}

/* -------- Back to top -------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1030;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--color-brick);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(178, 34, 34, 0.35);
  transition: opacity 0.3s ease, transform 0.25s ease, background 0.2s ease;
}

.back-to-top:hover {
  background: var(--color-brick-dark);
  transform: translateY(-3px);
}

.back-to-top[hidden] {
  opacity: 0;
  pointer-events: none;
}

/* -------- Scroll reveal (default: fade + slide up) -------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--slide-right {
  transform: translateX(40px);
}

.reveal--slide-right.is-visible {
  transform: translateX(0);
}

/* Bootstrap nav active sync */
.navbar-dark .nav-link.active {
  color: var(--color-white) !important;
}

/* -------- Small screens: fab above back-to-top -------- */
@media (max-width: 575.98px) {
  .fab-whatsapp {
    bottom: 5rem;
    width: 52px;
    height: 52px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

/* -------- Gallery section background (subtle) -------- */
.gallery-section-bg {
  position: relative;
  overflow: hidden;
}

.gallery-section-bg::before {
  content: \"\";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(165deg, rgba(26, 29, 33, 0.92) 0%, rgba(26, 29, 33, 0.45) 55%, rgba(178, 34, 34, 0.15) 100%),
    var(--bg-img);
  background-size: cover, cover;
  background-position: center, center;
  opacity: 0.18;
  pointer-events: none;
}

.gallery-section-bg > .container {
  position: relative;
  z-index: 1;
}

/* -------- Fruits (Mangoes only) -------- */
.fruits {
  position: relative;
}

.mango-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(178, 34, 34, 0.18);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 1.25rem 1.15rem;
  height: 100%;
  transition: transform var(--transition-smooth), border-color 0.25s ease, box-shadow 0.25s ease;
}

.mango-card:hover {
  transform: translateY(-8px);
  border-color: rgba(178, 34, 34, 0.45);
  box-shadow: 0 26px 70px rgba(26, 29, 33, 0.18);
}

.mango-card__icon {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(178, 34, 34, 0.18) 0%, rgba(255, 255, 255, 0.65) 65%, rgba(178, 34, 34, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.mango-svg {
  width: 62px;
  height: 62px;
  filter: drop-shadow(0 10px 20px rgba(178, 34, 34, 0.15));
}

.mango-card__title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  margin: 0 0 0.45rem;
  color: var(--color-dark);
}

.mango-card__text {
  margin: 0;
  color: var(--color-gray);
  font-size: 0.98rem;
}

.mango-card--alt {
  background: linear-gradient(180deg, rgba(178, 34, 34, 0.08) 0%, rgba(255, 255, 255, 0.95) 60%);
}

.mango-order {
  background: linear-gradient(165deg, rgba(26, 29, 33, 0.97) 0%, rgba(45, 50, 56, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.25);
  padding: 1.35rem;
  color: rgba(255, 255, 255, 0.92);
}

.mango-order__title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.mango-order__hint {
  color: rgba(255, 255, 255, 0.68);
}

.mango-order__form .form-label {
  color: rgba(255, 255, 255, 0.88) !important;
}

.mango-order__form .form-control,
.mango-order__form .form-select,
.mango-order__form .form-range {
  border-radius: 10px;
}

.mango-order__form .form-control,
.mango-order__form .form-select {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.95);
}

.mango-order__form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.mango-order__form select option {
  /* Ensure dropdown option text stays readable across OS themes */
  color: #212529 !important;
  background: #ffffff !important;
  text-shadow: none !important;
}

.mango-order__form select option:checked,
.mango-order__form select option:active,
.mango-order__form select option:hover {
  color: #212529 !important;
  background: #ffffff !important;
}

.mango-order__form .form-control:focus,
.mango-order__form .form-select:focus {
  border-color: rgba(178, 34, 34, 0.6);
  box-shadow: 0 0 0 0.2rem rgba(178, 34, 34, 0.20);
}

.mango-order__kg {
  color: var(--color-brick-light);
  font-family: var(--font-heading);
}

.mango-order__form textarea {
  resize: vertical;
}

.mango-order__send {
  background: var(--color-brick);
}

.mango-side {
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(178, 34, 34, 0.16);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 1.25rem 1.15rem;
}

.mango-side__title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  margin: 0 0 0.7rem;
}

.mango-side__list {
  padding-left: 1.05rem;
  margin: 0 0 0.9rem;
  color: var(--color-gray);
}

.mango-side__list li {
  margin: 0.45rem 0;
}

.mango-side__note {
  border-left: 4px solid var(--color-brick);
  padding-left: 0.75rem;
  color: var(--color-dark);
  font-weight: 600;
}

/* -------- Lightbox navigation (prev / next) -------- */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(178, 34, 34, 0.85);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox__nav:hover {
  background: var(--color-brick-light);
  transform: translateY(-50%) scale(1.04);
}

.lightbox__nav--prev {
  left: 1rem;
}

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

.lightbox__counter {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  user-select: none;
}

@media (max-width: 575.98px) {
  .lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .lightbox__nav--prev {
    left: 0.6rem;
  }

  .lightbox__nav--next {
    right: 0.6rem;
  }
}

/* -------- Quote Builder Modal -------- */
.quote-modal {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(178, 34, 34, 0.2);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
}

.quote-modal__stamp {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-brick);
  box-shadow: 0 0 0 6px rgba(178, 34, 34, 0.18);
  display: inline-block;
}

.quote-modal__subtitle {
  color: rgba(26, 29, 33, 0.65);
}

.quote-modal__graphic {
  height: 100%;
  min-height: 280px;
  border-radius: 16px;
  background:
    radial-gradient(120% 90% at 20% 15%, rgba(178, 34, 34, 0.35) 0%, rgba(178, 34, 34, 0) 60%),
    linear-gradient(145deg, rgba(26, 29, 33, 0.93) 0%, rgba(45, 50, 56, 0.93) 55%, rgba(178, 34, 34, 0.25) 100%);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.quote-modal__graphic::after {
  content: \"\";
  position: absolute;
  inset: -40%;
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 14px);
  opacity: 0.08;
  transform: rotate(12deg);
  pointer-events: none;
}

.quote-modal__graphic-top {
  position: relative;
  z-index: 1;
}

.quote-modal__graphic-title {
  margin-top: 1rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.quote-modal__graphic-text {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.35rem;
  line-height: 1.5;
}

.quote-modal__bullet {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  padding-left: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
}

.quote-modal__bullet li {
  margin: 0.5rem 0;
  font-weight: 500;
}

/* Tiny brick squares animation */
.brick-anim {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  width: 170px;
}

.brick-anim span {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(178, 34, 34, 0.95) 0%, rgba(139, 26, 26, 0.95) 100%);
  box-shadow: 0 10px 35px rgba(178, 34, 34, 0.25);
  transform: translateY(12px);
  opacity: 0;
  animation: brick-pop 1s var(--transition-smooth) both;
}

.brick-anim span:nth-child(1) { animation-delay: 0ms; }
.brick-anim span:nth-child(2) { animation-delay: 70ms; }
.brick-anim span:nth-child(3) { animation-delay: 140ms; }
.brick-anim span:nth-child(4) { animation-delay: 210ms; }
.brick-anim span:nth-child(5) { animation-delay: 280ms; }
.brick-anim span:nth-child(6) { animation-delay: 350ms; }

@keyframes brick-pop {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.quote-modal__form .form-control,
.quote-modal__form .form-select {
  border-radius: 10px;
}

.quote-modal__materials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.quote-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(26, 29, 33, 0.14);
  background: rgba(26, 29, 33, 0.03);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.quote-pill input {
  accent-color: var(--color-brick);
}

.quote-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(178, 34, 34, 0.35);
  background: rgba(178, 34, 34, 0.06);
}

.quote-modal__error {
  min-height: 1.1rem;
}

.quote-modal__send[aria-disabled=\"true\"] {
  opacity: 0.55;
  pointer-events: none;
}
