/* ============================================================
   MARTINEZ BROS LANDSCAPE — "Forest Luxe" premium theme
   A cohesive theme layer over the Webflow export. Unifies the
   mixed templates (brix / rt / kutup / waves) into one slick,
   modern, dark, editorial landscaping brand.
   Loaded AFTER webflow css + custom-fixes.css.
   ============================================================ */

:root {
  --mb-charcoal:    #14130F;   /* page background          */
  --mb-charcoal-2:  #1C1A15;   /* raised surfaces / cards  */
  --mb-charcoal-3:  #232017;   /* hover surface            */
  --mb-pine:        #1C3A2A;   /* deep green feature areas */
  --mb-pine-deep:   #142A1E;
  --mb-cream:       #F4F1E9;   /* primary text             */
  --mb-cream-dim:   #BEB7A6;   /* secondary text           */
  --mb-sage:        #9CAD8B;   /* muted green text accent  */
  --mb-brass:       #C8A86A;   /* accent / CTAs            */
  --mb-brass-soft:  #D8BE8C;
  --mb-line:        rgba(244,241,233,0.12);
  --mb-line-strong: rgba(244,241,233,0.22);
  --mb-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --mb-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mb-shadow: 0 24px 60px -24px rgba(0,0,0,0.7);
  --mb-radius: 14px;
  --mb-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
body, .body-3 {
  background-color: var(--mb-charcoal) !important;
  color: var(--mb-cream) !important;
  font-family: var(--mb-sans) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.005em;
}

p, li, .brix---paragraph-default, .rt-component-heading-four-2,
.brix---color-neutral-600, .brix---color-neutral-700 {
  font-family: var(--mb-sans) !important;
  color: var(--mb-cream-dim) !important;
  line-height: 1.7 !important;
}

h1, h2, h3, h4, h5,
.brix---heading-h2-size, .brix---accordion-title,
.hheader-text {
  font-family: var(--mb-serif) !important;
  color: var(--mb-cream) !important;
  font-weight: 600 !important;
  letter-spacing: -0.005em !important;
  line-height: 1.12 !important;
}

.brix---color-neutral-800 { color: var(--mb-cream) !important; }

a { color: inherit; }

::selection { background: var(--mb-brass); color: #14130F; }

/* ---------- Section rhythm + backgrounds ---------- */
.section-7,
.waves---section-medium-2,
.rt-component-section-11,
.brix---section-default,
.brix---container-default,
.brix---container-default-copy,
.brix-why-hcoose-us {
  background-color: transparent !important;
}

/* Big editorial section eyebrow labels (the little tag pills) */
.rt-tag-two-3,
.rt-tag-block-two-2 {
  background: transparent !important;
  border: 1px solid var(--mb-line-strong) !important;
  border-radius: 100px !important;
  color: var(--mb-cream) !important;
  font-family: var(--mb-sans) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.16em !important;
  font-size: 0.7rem !important;
  padding: 8px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
}
.rt-emoji-celebration-2 { display: none !important; }

/* Lead paragraphs under headings */
.rt-component-heading-four-2 {
  font-size: 1.15rem !important;
  color: var(--mb-cream-dim) !important;
}
.rt-text-blue-3, .rt-text-blue-2 { color: var(--mb-sage) !important; }

/* ---------- "Why choose" scroll-story section (custom) ---------- */
.mb-story {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
/* The why-choose block was capped at 940px by a parent container,
   leaving each column only ~383px wide. Widen it so the image and
   text columns are full, equal size. */
.container-18 { max-width: 1200px !important; }

.mb-story__media { position: relative; height: 100%; }
.mb-story__sticky {
  position: sticky;
  top: 18vh;
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--mb-line);
  box-shadow: var(--mb-shadow);
  background: var(--mb-charcoal-2);
}
.mb-story__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s var(--mb-ease), transform 1.4s var(--mb-ease);
}
.mb-story__img.is-active { opacity: 1; transform: scale(1); }
.mb-story__sticky::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,19,15,0) 55%, rgba(20,19,15,0.45));
  pointer-events: none;
}
.mb-story__text { display: flex; flex-direction: column; }
.mb-story__step {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.32;
  transition: opacity 0.5s var(--mb-ease);
}
.mb-story__step.is-active { opacity: 1; }
.mb-story__step h2 {
  font-size: clamp(2rem, 3.4vw, 3.1rem) !important;
  margin: 0.45em 0 0.3em !important;
  line-height: 1.05 !important;
}
.mb-story__step p {
  font-size: 1.12rem !important;
  max-width: 44ch;
  color: var(--mb-cream-dim) !important;
}
.mb-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  border: 1px solid var(--mb-line-strong);
  border-radius: 100px;
  color: var(--mb-cream);
  font-family: var(--mb-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  padding: 8px 16px;
}
.mb-story__inline-img { display: none; }

@media screen and (max-width: 900px) {
  .mb-story { grid-template-columns: 1fr; gap: 0; padding: 24px 20px 56px; }
  .mb-story__media { display: none; }
  .mb-story__step { min-height: auto; opacity: 1; padding: 26px 0 40px; }
  .mb-story__step h2 { font-size: clamp(1.7rem, 6vw, 2.3rem) !important; }
  .mb-story__inline-img {
    display: block;
    aspect-ratio: 3 / 2;
    height: auto;
    border-radius: 14px;
    background-color: var(--mb-charcoal-2);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid var(--mb-line);
    margin-bottom: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mb-story__img { transition: none; }
  .mb-story__step { opacity: 1; }
}

/* ---------- Headings scale (editorial) ---------- */
.brix---heading-h2-size {
  font-size: clamp(2.4rem, 5vw, 4rem) !important;
}
.rt-padding-bottom-fifteen-2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem) !important;
}

/* The "Why choose / Learn the history of" eyebrow + name pairing.
   Turn the giant <br> paragraph into a clean brass subtitle.       */
.hheader-text {
  font-size: clamp(2.4rem, 5vw, 4rem) !important;
  color: var(--mb-cream) !important;
  font-style: normal !important;
  font-weight: 500 !important;
}
/* The "Why choose" subtitle paragraph contains hundreds of stray <br>
   tags (a Webflow editing artifact) that balloon the page height.
   Remove them so it's just the brass subtitle line. */
.hheader-text br { display: none !important; }

/* ---------- Buttons / CTAs ---------- */
.w-button,
.waves---nav-cta, .waves---nav-cta-2,
.rt-tag-two-3.cta {
  background-color: var(--mb-brass) !important;
  color: #14130F !important;
  font-family: var(--mb-sans) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  font-size: 0.82rem !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 14px 26px !important;
  transition: transform 0.25s var(--mb-ease), background-color 0.25s var(--mb-ease), box-shadow 0.25s var(--mb-ease) !important;
  box-shadow: 0 10px 24px -12px rgba(200,168,106,0.6) !important;
}
.w-button:hover,
.waves---nav-cta:hover, .waves---nav-cta-2:hover {
  background-color: var(--mb-brass-soft) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 30px -12px rgba(200,168,106,0.7) !important;
}

/* ---------- Images ---------- */
.rt-radius-ten-2,
.waves-image-gallery-4,
.rt-real-apps-card-2 img,
img.image-17 {
  border-radius: 12px;
}
.rt-real-apps-card-2 {
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: var(--mb-shadow) !important;
}

/* ---------- Accordion (history) ---------- */
.brix---accordion-item-wrapper-v2 {
  background-color: var(--mb-charcoal-2) !important;
  border: 1px solid var(--mb-line) !important;
  border-radius: var(--mb-radius) !important;
  padding: 8px 6px !important;
  transition: border-color 0.3s var(--mb-ease), background-color 0.3s var(--mb-ease) !important;
}
.brix---accordion-item-wrapper-v2:hover {
  border-color: var(--mb-line-strong) !important;
}
.brix---accordion-title { font-size: 1.25rem !important; }
.brix---paragraph-default { color: var(--mb-cream-dim) !important; }
.brix---accordion-btn-vertical-line-v2,
.brix---accordion-btn-horizontal-line-v2 {
  background-color: var(--mb-cream) !important;
}

/* ---------- Hero misc ---------- */
.text-block-30 {
  font-family: var(--mb-sans) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: var(--mb-cream) !important;
}

/* ---------- Footer ---------- */
.kutup-footer-2 {
  background-color: var(--mb-charcoal-2) !important;
  border-top: 1px solid var(--mb-line) !important;
  color: var(--mb-cream) !important;
}
.kutup-footer-sub-title, .spokane-footer-header, .text-block-24 {
  color: var(--mb-cream) !important;
  font-family: var(--mb-sans) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
}
.kutup-footer-link-2, .text-block-16 {
  color: var(--mb-cream-dim) !important;
  font-family: var(--mb-sans) !important;
  transition: color 0.2s var(--mb-ease) !important;
}
.kutup-footer-link-2:hover, .text-block-16:hover { color: var(--mb-brass) !important; }
.kutup-divider-60px-2 {
  color: var(--mb-cream) !important;
  font-family: var(--mb-sans) !important;
  letter-spacing: 0.1em !important;
  font-size: 0.8rem !important;
}
.kutup-copyright-2 { color: var(--mb-cream-dim) !important; font-family: var(--mb-sans) !important; }

/* ---------- Navbar polish (Forest Luxe) ---------- */
.waves-navbar-4, .waves-navbar-5, .navbar-coachella {
  background-color: rgba(20,19,15,0.82) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid var(--mb-line) !important;
}
.waves-navbar-4 .w-nav-link:hover,
.waves-navbar-5 .w-nav-link:hover,
.navbar-coachella .w-nav-link:hover { color: #ffffff !important; }

/* ---------- Scroll reveal ---------- */
.mb-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--mb-ease), transform 0.7s var(--mb-ease);
  will-change: opacity, transform;
}
.mb-reveal.mb-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .mb-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   Homepage collage / scrolling carousel — framed images
   Give each image rounded corners + a subtle theme-matched
   outline, a charcoal frame behind the (contained) image, and a
   small gap so the curves read cleanly. Overrides the tight
   gap-0 rule in custom-fixes.css (this file loads later).
   ============================================================ */
.waves-top-grid-gallery-4,
.waves-bottom-gird-gallery-4 {
  grid-column-gap: 12px !important;
  grid-row-gap: 12px !important;
}
.waves-small-image-wrap-gallery-4,
.waves-medium-image-wrap-gallery-4,
.waves-big-image-wrap-gallery-4 {
  border-radius: 16px !important;
  border: 1px solid var(--mb-line-strong) !important;
  background-color: var(--mb-charcoal-2) !important;
  overflow: hidden !important;
  box-shadow: 0 14px 34px -20px rgba(0,0,0,0.65) !important;
  height: 100% !important;
}
/* Fill the frame edge-to-edge (no empty letterbox) instead of contain */
.waves-image-gallery-4 {
  border-radius: 15px !important;
  object-fit: cover !important;
}
/* The boxes were far too tall (85vh / 39vh), so a filled image got
   badly cropped. Shorten them to balanced landscape proportions. */
@media screen and (min-width: 992px) {
  .waves-top-grid-gallery-4 { height: 52vh !important; }
  .waves-bottom-gird-gallery-4 { height: 32vh !important; }
}

/* Lower the collage so its top row clears the hero's black fade
   (it was pulled up into the fade by a -178px transform). */
.waves-master-gallery-4 { margin-top: 160px !important; }
