/* =========================================================
   START: FONT (Spartan, self-hosted)
   ========================================================= */
@font-face {
  font-family: 'Spartan';
  src: url('../assets/fonts/Spartan-Regular.woff2') format('woff2'),
       url('../assets/fonts/Spartan-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* =========================================================
   END: FONT
   ========================================================= */

/* =========================================================
   START: RESET & THEME
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --lb-brown: #8C6239;
  --lb-beige: #BCA68E;
  --lb-light-gray: #B2BABC;
  --lb-gray: #88969F;
  --lb-olive: #6E6C55;
  --lb-black: #000000;
  --nav-height: 64px;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Spartan', Arial, sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
  color: var(--lb-olive);
}
/* =========================================================
   END: RESET & THEME
   ========================================================= */

/* =========================================================
   START: LAYOUT SECTIONS
   ========================================================= */
.section {
  min-height: auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.section .wrap {
  width: 100%;
  max-width: 1200px;
  padding: 80px 40px;
  margin: 0 auto;
  text-align: center;
}
/* =========================================================
   END: LAYOUT SECTIONS
   ========================================================= */

/* =========================================================
   START: HERO
   ========================================================= */
.hero {
  height: 100vh;
  background: url('../img/home/hero_image.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.2));
}

.hero .cta-wrap {
  position: absolute;
  left: 50%;
  top: 72%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  max-width: min(92vw, 560px);
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(42px, 6vw, 52px);
  padding: 0 clamp(14px, 2.6vw, 22px);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: clamp(14px, 1.6vw, 16px);
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-olive { background: var(--lb-olive); color: #fff; }
.btn-olive:hover, .btn-olive:focus-visible { box-shadow: 0 12px 28px rgba(0,0,0,0.22); }

.btn-light { background: #fff; color: var(--lb-olive); border-color: var(--lb-light-gray); }
.btn-light:hover, .btn-light:focus-visible { background: var(--lb-light-gray); color: #fff; }

@media (max-width: 768px) {
  .hero .cta-wrap { top: 68%; gap: 10px; padding: 6px; }
}
@media (max-width: 480px) {
  .hero .cta-wrap { top: 64%; width: 92vw; }
  .btn { flex: 1 1 46%; min-width: 0; text-align: center; }
}
@media (max-width: 360px) {
  .hero .cta-wrap { gap: 8px; }
  .btn { flex: 1 1 100%; width: 100%; }
}
/* =========================================================
   END: HERO
   ========================================================= */

/* =========================================================
   START: TYPOGRAPHY
   ========================================================= */
.section-title {
  font-size: clamp(40px, 8vw, 80px);
  color: var(--lb-olive);
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 4px;
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 auto 60px;
  max-width: 800px;
  font-weight: 300;
}
/* =========================================================
   END: TYPOGRAPHY
   ========================================================= */

/* =========================================================
   START: ABOUT
   ========================================================= */
.about { background: #f5f3f1; color: #000; }

.about .section-title,
.about .lead { color: #000; }

.about .wrap { padding-bottom: 12px; }

.about .about-images {
  margin-top: 12px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: clamp(360px, 48vw, 560px);
  border-radius: 0;
  overflow: hidden;
}

.about-images .about-bg {
  position: absolute;
  inset: 0;
  background: url('../img/home/about_us_img_bg.png') center/cover no-repeat;
  filter: blur(6px);
}

.about-images::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 80% at 50% 50%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.22) 100%);
  pointer-events: none;
}

.image-frames {
  position: relative;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 40px);
  padding: 0 clamp(20px, 5vw, 60px);
}

.image-frame {
  flex: 0 0 clamp(200px, 22vw, 320px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .image-frames { gap: 16px; padding: 0 20px; flex-wrap: wrap; }
  .image-frame { flex-basis: clamp(180px, 30vw, 280px); }
}

@media (max-width: 640px) {
  .about-images { height: auto; padding: 24px 0; }
  .image-frames { flex-direction: column; gap: 18px; }
  .image-frame { width: min(92%, 360px); flex: 0 0 auto; }

  @media (max-width: 640px) {
  /* Add this line to hide the entire image container on mobile */
  .about .about-images {
    display: none;
  }

  .about-images { 
    height: auto; 
    padding: 24px 0; 
  }
  .image-frames { 
    flex-direction: column; 
    gap: 18px; 
  }
  .image-frame { 
    width: min(92%, 360px); 
    flex: 0 0 auto; 
  }
}
}
/* =========================================================
   END: ABOUT
   ========================================================= */

/* =========================================================
   START: SERVICES
   ========================================================= */
.services { background: #f5f3f1; color: #000; }

.services .wrap { padding-top: 62px; }

.services .section-title { color: #000; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.service { text-align: center; }

.service-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-img-1 { background-image: url('../img/home/services_img_1.png'); }
.service-img-2 { background-image: url('../img/home/services_img_2.png'); }
.service-img-3 { background-image: url('../img/home/services_img_3.png'); }

.service-title {
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: 2px;
  font-weight: 400;
  color: #000;
}

.service-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
}

.service-link {
  display: inline-block;
  margin-top: 10px;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.service-link:hover,
.service-link:focus-visible { text-decoration-thickness: 2px; }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .services .wrap { padding-top: 14px; }
}
/* =========================================================
   END: SERVICES
   ========================================================= */

/* =========================================================
   START: PROJECTS
   ========================================================= */
.projects { background: #f5f3f1; color: #000; }

.projects .wrap { padding-bottom: 12px; }

.projects .section-title { color: #000; }

.projects-masonry {
  column-count: 3;
  column-gap: 24px;
  margin-top: 6px;
}

.project-item {
  break-inside: avoid;
  margin: 0 0 24px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.project-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project-item:hover { box-shadow: 0 16px 32px rgba(0,0,0,0.22); }

@media (max-width: 1000px) {
  .projects-masonry { column-count: 2; }
}

@media (max-width: 640px) {
  .projects-masonry { column-count: 1; }
  .projects .wrap { padding-bottom: 10px; }
}
/* =========================================================
   END: PROJECTS
   ========================================================= */

/* =========================================================
   START: CONTACT
   ========================================================= */
.contact { background: #f5f3f1; color: #000; }

.contact .wrap { padding-top: 152px; }

.contact-title {
  font-size: 62px;
  margin-bottom: 48px;
  text-align: left;
  color: #000;
}

.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.contact-poster {
  display: none;
  width: 100%;
  height: 445px;
  object-fit: cover;
  border-radius: 0;
}

.contact-video {
  width: 100%;
  height: 445px;
  border-radius: 0;
  display: block;
  object-fit: cover;
}

.contact-info { margin-bottom: 20px; }

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-align: left;
}

.info-item h3 {
  font-size: 16px;
  margin: 0 0 2px;
  color: #000;
}

.info-item p { margin: 0; font-size: 14px; color: #000; }

.icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--lb-brown);
  mask-size: cover;
  -webkit-mask-size: cover;
  border-radius: 4px;
}

.icon.phone {
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.11-.21c1.2.48 2.53.73 3.91.73a1 1 0 011 1v3.54a1 1 0 01-1 1C10.29 22.25 1.75 13.71 1.75 3a1 1 0 011-1H6.3a1 1 0 011 1c0 1.38.25 2.71.73 3.91a1 1 0 01-.21 1.11l-2.2 2.2z"/></svg>') no-repeat center;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.11-.21c1.2.48 2.53.73 3.91.73a1 1 0 011 1v3.54a1 1 0 01-1 1C10.29 22.25 1.75 13.71 1.75 3a1 1 0 011-1H6.3a1 1 0 011 1c0 1.38.25 2.71.73 3.91a1 1 0 01-.21 1.11l-2.2 2.2z"/></svg>') no-repeat center;
}

.icon.email {
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 2v.01L12 13 4 6.01V6h16z"/></svg>') no-repeat center;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 2v.01L12 13 4 6.01V6h16z"/></svg>') no-repeat center;
}

.contact-form {
  background: #000;
  padding: 24px;
  border-radius: 12px;
  color: #fff;
  text-align: left;
  max-width: 400px;
  width: 100%;
}

.contact-form .form-heading { margin-bottom: 16px; font-size: 20px; }

.contact-form label { font-size: 13px; margin-top: 12px; display: block; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 6px;
  border: none;
}

.contact-form button {
  margin-top: 16px;
  background: var(--lb-brown);
  border: none;
  padding: 10px 20px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-title { margin-bottom: 14px; font-size: 42px; }
  .contact-video { display: none; }
  .contact-poster { display: block; height: 300px; border-radius: 8px; }
  .contact-form { max-width: 100%; }
}

@media (max-width: 640px) {
  .contact .wrap { padding-top: 10px; }
  .contact-title { margin-bottom: 14px; font-size: 36px; }
  .contact-poster { height: 250px; }
}
/* =========================================================
   END: CONTACT
   ========================================================= */

/* =========================================================
   START: NAVBAR (Consolidated)
   ========================================================= */
.lb-nav {
  z-index: 1000;
  position: relative;
  background: rgba(248, 246, 244, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform .25s ease, box-shadow .25s ease, padding .2s ease, height .2s ease;
}

/* Bottom (hero) state */
.lb-nav.at-bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: auto;
  padding: 18px 0;
  border-top: 1px solid rgba(188, 166, 142, 0.2);
  border-bottom: none;
  box-shadow: none;
}

/* Fixed top state — respect iOS safe-area notch */
.lb-nav.at-top {
  position: fixed;
  top: env(safe-area-inset-top, 0);
  left: 0; right: 0; bottom: auto;
  padding: calc(12px + env(safe-area-inset-top, 0)) 0 12px;
  border-top: none;
  border-bottom: 1px solid rgba(188, 166, 142, 0.2);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  background: rgba(248, 246, 244, 0.92);
}

.lb-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
  min-height: var(--nav-height);
}

.brand .logo { height: 36px; border-radius: 6px; }
.lb-nav.at-bottom .brand .logo { height: 64px; }
.lb-nav.at-top .brand .logo { height: 32px; }

.links { 
  display: flex; 
  list-style: none; 
  gap: clamp(16px, 4vw, 48px); 
}
.links a {
  text-decoration: none;
  color: var(--lb-olive);
  font-weight: 400;
  letter-spacing: 2px;
  font-size: clamp(12px, 1.4vw, 14px);
  transition: color .25s ease;
}
.links a:hover, .links a.active { color: var(--lb-brown); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  height: 44px; width: 44px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px; background: #fff; cursor: pointer;
}
.menu-toggle:focus-visible { outline: 2px solid var(--lb-brown); outline-offset: 2px; }
.menu-toggle .burger { position: relative; width: 20px; height: 2px; background: var(--lb-olive); }
.menu-toggle .burger::before, .menu-toggle .burger::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--lb-olive);
}
.menu-toggle .burger::before { top: -6px; }
.menu-toggle .burger::after { top: 6px; }
.lb-nav.open .menu-toggle .burger { background: transparent; }
.lb-nav.open .menu-toggle .burger::before { top: 0; transform: rotate(45deg); }
.lb-nav.open .menu-toggle .burger::after { top: 0; transform: rotate(-45deg); }

/* ===== Mobile menu ===== */
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }

  /* Dropdown fills viewport below the bar; scrollable; safe-area aware */
  .links {
    position: fixed;
    left: 0; right: 0;
    top: calc(var(--nav-height) + env(safe-area-inset-top, 0));
    display: none;
    flex-direction: column; gap: 0;
    background: rgba(248,246,244,0.98);
    border-bottom: 1px solid rgba(188, 166, 142, 0.2);
    padding: 8px 0;
    max-height: calc(100dvh - var(--nav-height) - env(safe-area-inset-top, 0));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .links li { border-top: 1px solid rgba(188,166,142,0.2); }
  .links li:first-child { border-top: none; }
  .links a { display: block; padding: 16px 18px; font-size: 15px; letter-spacing: 1.5px; }

  .lb-nav.open .links { display: flex; }

  .lb-nav.at-bottom .brand .logo { height: 56px; }
  .lb-nav.at-top .brand .logo { height: 28px; }
}

/* Lock page scroll while mobile menu is open */
body.no-scroll {
  overflow: hidden;
  touch-action: none;
}

/* Optional: reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lb-nav { transition: none; }
  .links, .menu-toggle, .footer-socials .social { transition: none; }
}
/* =========================================================
   END: NAVBAR
   ========================================================= */


/* =========================================================
   START: NAVBAR (Consolidated)
   ========================================================= */
.lb-nav {
  z-index: 1000;
  position: relative;
  width: 100%;
  background: rgba(248, 246, 244, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform .25s ease, box-shadow .25s ease, padding .2s ease, height .2s ease;
  overflow-x: hidden; /* guard against tiny overflow rounding on mobile */
}

/* Bottom (hero) state */
.lb-nav.at-bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: auto;
  padding: 18px 0;
  border-top: 1px solid rgba(188, 166, 142, 0.2);
  border-bottom: none;
  box-shadow: none;
}

/* Fixed top state — respect iOS safe-area notch */
.lb-nav.at-top {
  position: fixed;
  top: env(safe-area-inset-top, 0);
  left: 0; right: 0; bottom: auto;
  padding: calc(12px + env(safe-area-inset-top, 0)) 0 12px;
  border-top: none;
  border-bottom: 1px solid rgba(188, 166, 142, 0.2);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  background: rgba(248, 246, 244, 0.92);
}

.lb-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
  min-height: var(--nav-height);
  box-sizing: border-box;  /* ensure padding doesn’t push width beyond viewport */
  width: 100%;
  overflow-x: hidden;      /* belt-and-braces for mobile rounding */
}

.brand .logo { height: 36px; border-radius: 6px; }
.lb-nav.at-bottom .brand .logo { height: 64px; }
.lb-nav.at-top .brand .logo { height: 32px; }

.links { 
  display: flex; 
  list-style: none; 
  gap: clamp(16px, 4vw, 48px); 
  max-width: 100%;
}
.links a {
  text-decoration: none;
  color: var(--lb-olive);
  font-weight: 400;
  letter-spacing: 2px;
  font-size: clamp(12px, 1.4vw, 14px);
  transition: color .25s ease;
}
.links a:hover, .links a.active { color: var(--lb-brown); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  height: 44px; width: 44px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px; background: #fff; cursor: pointer;
}
.menu-toggle:focus-visible { outline: 2px solid var(--lb-brown); outline-offset: 2px; }
.menu-toggle .burger { position: relative; width: 20px; height: 2px; background: var(--lb-olive); }
.menu-toggle .burger::before, .menu-toggle .burger::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--lb-olive);
}
.menu-toggle .burger::before { top: -6px; }
.menu-toggle .burger::after { top: 6px; }
.lb-nav.open .menu-toggle .burger { background: transparent; }
.lb-nav.open .menu-toggle .burger::before { top: 0; transform: rotate(45deg); }
.lb-nav.open .menu-toggle .burger::after { top: 0; transform: rotate(-45deg); }

/* ===== Mobile menu ===== */
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }

  /* Slightly tighter bar on mobile so it never overflows */
  .lb-nav .container {
    padding: 0 12px;
    gap: 10px;
  }
  .brand .logo { height: 30px; }
  .lb-nav.at-bottom .brand .logo { height: 48px; }
  .lb-nav.at-top .brand .logo { height: 28px; }

  /* Dropdown fills viewport below the bar; scrollable; safe-area aware */
  .links {
    position: fixed;
    left: 0; right: 0;
    top: calc(var(--nav-height) + env(safe-area-inset-top, 0));
    display: none;
    flex-direction: column; gap: 0;
    background: rgba(248,246,244,0.98);
    border-bottom: 1px solid rgba(188, 166, 142, 0.2);
    padding: 8px 0;
    max-height: calc(100dvh - var(--nav-height) - env(safe-area-inset-top, 0));
    overflow-y: auto;
    overflow-x: hidden;      /* never push sideways */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .links li { border-top: 1px solid rgba(188,166,142,0.2); }
  .links li:first-child { border-top: none; }
  .links a { display: block; padding: 16px 18px; font-size: 15px; letter-spacing: 1.5px; }

  .lb-nav.open .links { display: flex; }
}

/* Ultra-small phones: give the bar more vertical space instead of overflowing sideways */
@media (max-width: 420px) {
  :root { --nav-height: 76px; }  /* taller bar so items fit */
  .brand .logo { height: 28px; }
}
@media (max-width: 360px) {
  :root { --nav-height: 88px; }  /* extra breathing room on very narrow screens */
  .brand .logo { height: 26px; }
}

/* Lock page scroll while mobile menu is open */
body.no-scroll {
  overflow: hidden;
  touch-action: none;
}

/* Optional: reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lb-nav { transition: none; }
  .links, .menu-toggle, .footer-socials .social { transition: none; }
}
/* =========================================================
   END: NAVBAR
   ========================================================= */


/* =========================================================
   START: FOOTER (mobile-friendly)
   ========================================================= */
.lbs-footer {
  border-top: 1px solid rgba(188, 166, 142, 0.25);
  color: var(--lb-olive);
  overflow-x: hidden; /* prevent horizontal scroll */
}

body .lbs-footer .lbs-footer-wrap {
  background: var(--lb-light-gray) !important;
  max-width: none;
  width: 100%;
  margin: 0;

  /* Use element width (100%) instead of 100vw to avoid iOS rounding overflow */
  padding-top: clamp(26px, 4vw, 40px);
  padding-bottom: clamp(26px, 4vw, 40px);
  padding-left: max(16px, calc((100% - 1200px) / 2));
  padding-right: max(16px, calc((100% - 1200px) / 2));

  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
  box-sizing: border-box;
}

/* Allow grid children to actually shrink on small screens */
.lbs-footer .lbs-footer-wrap > * { min-width: 0; }

/* Brand */
.lbs-footer .lbs-footer-brand img {
  width: clamp(120px, 20vw, 160px);
  height: auto;
  display: block;
}

/* Info + Location columns */
.lbs-footer .lbs-footer-info,
.lbs-footer .lbs-footer-location {
  display: grid;
  gap: 14px;
}

.lbs-footer .lbs-footer-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
}

.lbs-footer .lbs-ficon { color: var(--lb-olive); }

.lbs-footer .lbs-ftitle {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Values + links */
.lbs-footer .lbs-fvalue,
.lbs-footer .lbs-footer-row a {
  font-size: 14px;
  color: var(--lb-olive);
  text-decoration: none;
  line-height: 1.5;
  word-break: break-word;      /* fallback for older engines */
  overflow-wrap: anywhere;     /* modern wrap when needed */
  display: inline-block;       /* nicer tap area */
  padding-block: 2px;
}
.lbs-footer .lbs-footer-row a:hover { text-decoration: underline; }

/* footnote */
.lbs-footer .lbs-footnote {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 4px;
}

/* Socials */
.lbs-footer .lbs-footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.lbs-footer .lbs-footer-socials .lbs-social {
  --size: 42px;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(188, 166, 142, 0.45);
  background: var(--lb-light-gray);
  color: var(--lb-olive);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.lbs-footer .lbs-footer-socials .lbs-social i {
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
}
.lbs-footer .lbs-footer-socials .lbs-social:hover {
  transform: translateY(-2px);
  border-color: rgba(188, 166, 142, 0.75);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  color: var(--lb-brown);
}
.lbs-footer .lbs-footer-socials .lbs-social:focus-visible {
  outline: 2px solid var(--lb-brown);
  outline-offset: 3px;
}

/* helper classes for wrapping */
.lbs-footer .nowrap { white-space: nowrap; }
.lbs-footer a[href^="mailto:"] {
  word-break: normal;
  overflow-wrap: anywhere;
}

/* ===== Responsive tweaks ===== */

/* Friendlier mid-size layout so columns don't get too skinny */
@media (max-width: 1024px) and (min-width: 641px) {
  .lbs-footer .lbs-footer-wrap {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* Tablet & small laptops: 2 columns, brand & socials span full width */
@media (max-width: 900px) {
  .lbs-footer .lbs-footer-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .lbs-footer .lbs-footer-brand { grid-column: 1 / -1; }
  .lbs-footer .lbs-footer-socials { grid-column: 1 / -1; justify-content: flex-start; }
}

/* Phones: single column, centered, with safe padding */
@media (max-width: 640px) {
  .lbs-footer .lbs-footer-wrap {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
    padding-left: 16px;   /* absolute padding avoids any calc rounding */
    padding-right: 16px;
  }

  .lbs-footer .lbs-footer-brand {
    display: inline-block;
    margin-inline: auto;
    margin-bottom: 4px;
  }

  /* rows stay left-aligned for readability */
  .lbs-footer .lbs-footer-row {
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: start;
    justify-items: start;
    text-align: left;
    margin-inline: auto;
    width: min(560px, 100%);
  }

  .lbs-footer .lbs-ftitle { font-size: 11px; letter-spacing: 1px; }

  .lbs-footer .lbs-footer-socials {
    justify-content: center;
    gap: 14px;
  }
  .lbs-footer .lbs-footer-socials .lbs-social { --size: 48px; }
  .lbs-footer .lbs-footer-socials .lbs-social i { font-size: 19px; }

  /* -----------------------------------------------
     NUDGE LOCATION / FOOTNOTE TO THE RIGHT ON PHONES
     Tweak these two values (8–14px works nicely)
     ----------------------------------------------- */
  .lbs-footer .lbs-footer-location { padding-left: 54px; }               /* <— adjust */
  .lbs-footer .lbs-footer-location .lbs-footer-row,
  .lbs-footer .lbs-footer-location .lbs-footnote { padding-left: 6px; }  /* <— adjust */
}

/* Very small devices */
@media (max-width: 360px) {
  .lbs-footer .lbs-footer-row { grid-template-columns: 22px 1fr; }
  .lbs-footer .lbs-fvalue,
  .lbs-footer .lbs-footer-row a { font-size: 13px; }
}

/* =========================================================
   END: FOOTER
   ========================================================= */

/* =========================================================
   START: ANIMATIONS
   ========================================================= */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .8s ease, transform .8s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

.slide-up {
  opacity: 0;
  transform: translateY(100px);
  transition: transform .8s ease, opacity .8s ease;
}

.slide-up.visible { opacity: 1; transform: translateY(0); }
/* =========================================================
   END: ANIMATIONS
   ========================================================= */

/* =========================================================
   START: MISC RESPONSIVE TWEAKS
   ========================================================= */
@media (max-width: 768px) {
  .about-images { height: 600px; }
  .image-frames { flex-direction: column; gap: 20px; }
  .image-frame { width: 250px; height: 180px; }
  .service-image { width: 150px; height: 150px; }
}

@media (max-width: 640px) {
  .about .wrap { padding-bottom: 14px; }
  .about .about-images { margin-top: 12px; }
}
/* =========================================================
   END: MISC RESPONSIVE TWEAKS
   ========================================================= */

.form-status { margin-top: 8px; font-size: 0.95rem; opacity: 0.9; }
button[disabled] { opacity: 0.6; pointer-events: none; }
