/* LCS Kinetic Brutalist layer */

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: max(0.75rem, env(safe-area-inset-top, 0px));
  bottom: auto;
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  left: auto;
  z-index: 200;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cream);
  mix-blend-mode: difference;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}

.scroll-progress.is-hidden {
  opacity: 0;
  visibility: hidden;
}

/* Hero kinetic full-bleed */
.hero-kinetic {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 !important;
  overflow: hidden;
  display: block !important;
  background: var(--black);
}

.hero-kinetic__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.carousel__viewport--hero-bg,
.carousel__slide--hero-bg,
.carousel__slide--hero-bg img {
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

.carousel__slide--hero-bg img {
  object-fit: cover;
  width: 100%;
  filter: contrast(1.05) saturate(0.85);
  transform: scale(1.02);
  transition: transform 8s var(--ease);
}

.hero-kinetic__bg .carousel__slide.is-active img,
.hero-kinetic__bg .carousel__track .carousel__slide:first-child img {
  transform: scale(1.08);
}

.hero-kinetic__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(2, 2, 2, 0.92) 0%,
    rgba(2, 2, 2, 0.55) 45%,
    rgba(2, 2, 2, 0.35) 100%
  );
}

.hero-kinetic__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(235, 224, 211, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235, 224, 211, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 20%, transparent 90%);
}

.hero-kinetic__content {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.25rem, 5vw, 4rem) var(--page-bottom, calc(var(--nav-h) + 2rem));
  max-width: 720px;
}

.hero-kinetic__frame {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: -1.5rem;
  bottom: calc(var(--nav-h) + 1rem);
  border: 3px solid var(--cream);
  pointer-events: none;
  transform: translate(12px, -12px);
  opacity: 0.35;
}

.logo--hero {
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.5));
}

.kicker--hero {
  color: var(--cream);
  border-color: var(--cream);
}

.display--hero {
  color: var(--cream);
  max-width: 12ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
  font-size: clamp(2.5rem, 8vw, 5rem);
}

.lead--hero {
  color: rgba(235, 224, 211, 0.9);
  max-width: 38ch;
}

.hero-kinetic .btn-bar .btn {
  border-color: var(--cream);
}
.hero-kinetic .btn-bar .btn:not(.btn--outline) {
  background: var(--cream);
  color: var(--black);
}
.hero-kinetic .btn-bar .btn--outline {
  background: transparent;
  color: var(--cream);
}

.hero-kinetic__slide-caption {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(235, 224, 211, 0.7);
  min-height: 1.2em;
}

/* Hero progress dots live inside .carousel__controls--hero (see carousel-controls.css) */

.hero-kinetic__nav .carousel__nav--hero,
.carousel__nav--hero {
  background: var(--cream);
  border: 1px solid var(--black);
  box-shadow: none;
  color: var(--black);
}

.section-title--center {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.marquee {
  overflow: hidden;
  border-top: 2px solid rgba(235, 224, 211, 0.2);
  border-bottom: 2px solid rgba(235, 224, 211, 0.2);
  padding: 1rem 0;
}

.marquee--reverse .marquee__track {
  animation-direction: reverse;
}

.marquee__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
  animation: marquee-scroll var(--marquee-duration, 36s) linear infinite;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
  padding-right: clamp(2.5rem, 5vw, 4rem);
}

.marquee__item {
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 700;
  white-space: nowrap;
  color: var(--cream);
  flex-shrink: 0;
}

.marquee__sep {
  flex-shrink: 0;
  margin: 0 clamp(1.25rem, 3vw, 2.5rem);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: rgba(235, 224, 211, 0.35);
  user-select: none;
}

.marquee__item--outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--cream);
}

@keyframes marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--marquee-shift, 50%)), 0, 0);
  }
}

/* Services kinetic */
.service-icon {
  font-size: 1.75rem;
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  opacity: 0.9;
}

.service-item {
  grid-template-columns: auto 3rem 1fr;
  padding: 0;
}

.service-item__link {
  grid-template-columns: auto 3rem 1fr;
  padding: 1.5rem 0;
}

.service-item .service-icon { grid-column: 1; grid-row: 1; }
.service-item__link .service-index { grid-column: 2; }
.service-item__link .service-label { grid-column: 3; }
.service-item__link .service-line { grid-column: 1 / -1; }

.material-item {
  gap: 1rem;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
}

.material-item .ti {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Map — full-bleed band, compact height */
.lcs-map-band {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 1.25rem;
}

.lcs-map-frame {
  position: relative;
  border-top: 3px solid var(--cream);
  border-bottom: 3px solid var(--cream);
  overflow: hidden;
  background: var(--black);
}

.lcs-map {
  height: clamp(280px, 36vh, 380px) !important;
  min-height: 280px;
  max-height: 380px;
  width: 100% !important;
  display: block;
}

.lcs-map .maplibregl-canvas,
.lcs-map .maplibregl-map {
  width: 100% !important;
  height: 100% !important;
}

.lcs-marker--pulse span:nth-child(2) {
  animation: marker-pulse 1.5s ease infinite;
}

@keyframes marker-pulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.15); }
}

.lcs-map-fallback {
  position: absolute;
  inset: 0;
  z-index: 8;
  height: auto;
  display: none;
  place-items: center;
  background: rgba(2, 2, 2, 0.92);
  color: var(--cream);
}
.lcs-map-fallback:not([hidden]):not(.is-hidden) {
  display: grid;
}

.lcs-map-fallback__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 1.1rem;
}

.lcs-map-fallback .ti {
  font-size: 3rem;
}

.lcs-map-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem clamp(1rem, 4vw, 2rem);
  background: rgba(2, 2, 2, 0.88);
  border-top: 2px solid var(--cream);
  pointer-events: none;
}
.lcs-map-overlay a,
.lcs-map-overlay__btn {
  pointer-events: auto;
}
.lcs-map-overlay__addr {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: 65%;
}
.lcs-map-overlay__addr .ti {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.lcs-map-overlay__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--cream);
  color: var(--black);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 3px 3px 0 var(--black);
  transition: transform 0.15s var(--ease);
}
.lcs-map-overlay__btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--black);
}
.lcs-map-overlay.is-hidden {
  display: none;
}

/* Work carousel kinetic */
.work-carousel .carousel__slide--work img {
  filter: contrast(1.08);
  transition: transform 0.6s var(--ease);
}

.work-carousel .carousel__slide--work:hover img {
  transform: scale(1.03);
}

.work-slide-text {
  border-top: 3px solid var(--cream);
}

/* Chat FAB — icon only, matches WhatsApp energy */
.chat-launcher--fab {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid var(--cream);
  border-radius: 0;
  justify-content: center;
  gap: 0;
  animation: chat-bounce 3s ease infinite;
  box-shadow: 4px 4px 0 var(--gray);
}
.chat-launcher--fab .chat-launcher__icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--black);
}
.chat-launcher--fab .chat-launcher__icon .ti {
  font-size: 1.5rem;
  line-height: 1;
}
.chat-launcher__label {
  display: none;
}
.chatbot__header .ti {
  font-size: 1.15rem;
}
#chat-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--black);
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
}

#chat-close:hover {
  background: var(--black);
  color: var(--cream);
  transform: none;
}
#chat-close .ti {
  font-size: 1.25rem;
}
.chatbot__input button .ti {
  font-size: 1.1rem;
}
.chatbot__input button {
  display: grid;
  place-items: center;
  min-width: 48px;
}

@keyframes chat-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.chatbot {
  border: 2px solid var(--black);
}

/* Cursor */
.cursor-stripe {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 28px;
  display: grid;
  grid-template-columns: 4px 4px 4px;
  gap: 1px;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-stripe span:nth-child(1) { background: var(--cream); }
.cursor-stripe span:nth-child(2) { background: var(--gray); height: 100%; }
.cursor-stripe span:nth-child(3) { background: var(--black); }

/* Stronger reveals */
/* Reveal motion handled in brutal-breathe.css */

/* Bottom nav kinetic */
.bottom-nav {
  border: 2px solid var(--black);
  box-shadow: 0 -4px 0 rgba(2, 2, 2, 0.15);
}

.bottom-nav a {
  transition: background 0.2s, color 0.2s;
}

.bottom-nav a:hover {
  background: var(--black);
  color: var(--cream);
}

/* Location — compact section, not full viewport */
/* Location 100vh — brutal-breathe.css */
.section--location .section__inner--location-head {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
}
.section-title .ti {
  margin-right: 0.35rem;
  vertical-align: -0.15em;
}
.location-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border: 2px solid var(--cream);
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.location-chip:hover {
  background: var(--cream);
  color: var(--black);
}
.location-chip .ti {
  font-size: 1rem;
}

/* Bottom nav icons */
.bottom-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-decoration: none;
  padding: 0.4rem 0.5rem !important;
  border-bottom: 0 !important;
}
.bottom-nav__icon .ti {
  font-size: 1.1rem;
  line-height: 1;
}
.bottom-nav__label {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}
.bottom-nav a:hover,
.bottom-nav a:focus-visible {
  background: var(--black);
  color: var(--cream);
}
.bottom-nav .lang:hover {
  background: var(--gray);
}

/* Testimonials */
.testimonial-icon {
  font-size: 1.75rem;
  opacity: 0.5;
  display: block;
  margin-bottom: 0.5rem;
}
.testimonial-item cite {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.testimonial-item cite .ti {
  font-size: 0.9rem;
}

/* Process kinetic */
.process-step {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 1rem 1.25rem;
  align-items: center;
}
.process-num {
  grid-column: 2;
}
.process-step > span:last-child {
  grid-column: 3;
}
.process-icon {
  font-size: 1.5rem;
  opacity: 0.85;
  min-width: 2rem;
}
.process-icon .ti {
  display: block;
}

/* Social */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.social-link:hover {
  text-decoration: underline;
}

/* FAQ kinetic */
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  padding: 1rem 0;
}
.faq-item summary .ti {
  font-size: 1rem;
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary .ti {
  transform: rotate(90deg);
}
.faq-item[open] {
  background: rgba(235, 224, 211, 0.04);
  padding: 0 1rem;
  margin: 0 -1rem;
}

/* Section title glow */
.section-title--lit {
  text-decoration-color: var(--cream);
  text-shadow: 0 0 40px rgba(235, 224, 211, 0.25);
}

/* Leaflet fixes */
.lcs-map .leaflet-container {
  height: 100% !important;
  width: 100% !important;
  z-index: 1;
}
.lcs-map-frame .leaflet-control-zoom {
  border: 2px solid var(--black) !important;
  box-shadow: 4px 4px 0 var(--black);
}
.lcs-map-frame .leaflet-control-zoom a {
  background: var(--cream) !important;
  color: var(--black) !important;
  font-weight: 700;
}

/* Chat typing */
.chat-typing {
  display: flex;
  gap: 4px;
  padding: 0.5rem 0.75rem;
  align-self: flex-start;
}
.chat-typing span {
  width: 6px;
  height: 6px;
  background: var(--gray);
  animation: chat-dot 1s ease infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-dot {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}
.chat-quick__btn {
  border: 2px solid var(--black);
  background: var(--cream);
  color: var(--black);
  font-family: inherit;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
  box-shadow: none;
  transform: none;
}
.chat-quick__btn:hover {
  background: var(--black);
  color: var(--cream);
  transform: none;
  box-shadow: none;
}

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

@media (max-width: 768px) {
  .hero-kinetic__frame { display: none; }
  .cursor-stripe { display: none; }
}
