/*
Theme Name: B & S Associates
Theme URI: http://localhost/bs-associates/
Author: B & S Associates
Author URI: http://localhost/bs-associates/
Description: End-to-End Home Construction Management WordPress Theme
Version: 1.0.0
Text Domain: bs-associates
*/

:root {
  --ink: #050505;
  --ink-2: #0b0f0d;
  --em-900: #04241b;
  --em-800: #073d2e;
  --em-700: #0a5c45;
  --em-500: #12805f;
  --gold: #d4af37;
  --gold-l: #f1d98a;
  --gold-d: #a9821a;
  --ivory: #f3ecd8;
  --muted: #b8b39f;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  box-sizing: border-box;
  color-scheme: dark;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: inherit
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px));
  height: 100%
}

body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  max-width: 100% !important;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

h1,
h2,
h3,
p {
  margin: 0
}

a {
  color: inherit
}

:focus-visible {
  outline: 2px solid var(--gold-l);
  outline-offset: 3px
}

.wrap {
  width: min(1180px, 100% - 40px);
  margin-inline: auto
}

section {
  position: relative
}

.sec {
  padding: 110px 0;
  scroll-margin-top: calc(72px + env(safe-area-inset-top, 0px))
}

.sec-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px
}

.sec-head h2,
.about-copy h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--gold-l)
}

.sec-head p {
  margin-top: 14px;
  color: var(--muted)
}

.gold-text {
  background: linear-gradient(100deg, #b8891c 0%, #f7e3a1 35%, #d4af37 60%, #f1d98a 85%, #b8891c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  border: 0;
  font: 500 1rem/1 var(--sans);
  letter-spacing: .04em;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(135deg, #f7e3a1, #d4af37 55%, #a9821a);
  box-shadow: 0 8px 30px rgba(212, 175, 55, .25);
  transition: transform .25s, box-shadow .25s
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(212, 175, 55, .4)
}

.btn.ghost {
  background: transparent;
  color: var(--gold-l);
  border: 1.5px solid var(--gold);
  box-shadow: none;
  padding: 11px 24px;
  font-size: .92rem
}

.btn.ghost:hover {
  background: var(--gold);
  color: var(--ink)
}

/* NAV */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s, box-shadow .3s
}

nav.solid {
  background: rgba(5, 5, 5, .88);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(212, 175, 55, .25)
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none
}

.brand span {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-l)
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0
}

.nav-links a {
  text-decoration: none;
  font-size: .95rem;
  color: var(--ivory);
  opacity: .85;
  transition: color .2s
}

.nav-links a:hover {
  color: var(--gold-l);
  opacity: 1
}

.burger {
  display: none;
  background: none;
  border: 1px solid rgba(212, 175, 55, .5);
  color: var(--gold-l);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer
}

/* HERO */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink)
}

.hero-art {
  position: absolute;
  inset: 0
}

.hero-art svg {
  width: 100%;
  height: 100%;
  display: block
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 45% at 50% 40%, rgba(2, 6, 4, .72), rgba(2, 6, 4, 0) 100%), linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 30%)
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 20px 200px
}

.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 8.6vw, 6.8rem);
  line-height: 1.05;
  letter-spacing: .07em;
  text-transform: uppercase;
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .6))
}

.hero-copy p {
  margin: 22px auto 38px;
  max-width: 520px;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--ivory);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .8)
}

.tw {
  animation: tw 4s ease-in-out infinite
}

@keyframes tw {
  50% {
    opacity: .15
  }
}

.met {
  opacity: 0;
  animation: meteor var(--t, 8s) linear infinite;
  animation-delay: var(--d, 0s)
}

@keyframes meteor {
  0% {
    transform: translateX(0);
    opacity: 0
  }

  1.5% {
    opacity: 1
  }

  22% {
    opacity: 1
  }

  30% {
    transform: translateX(1100px);
    opacity: 0
  }

  100% {
    transform: translateX(1100px);
    opacity: 0
  }
}

.draw {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.2s cubic-bezier(.6, 0, .2, 1) forwards;
  animation-delay: var(--d, 0s)
}

@keyframes draw {
  to {
    stroke-dashoffset: 0
  }
}

.fillin {
  opacity: 0;
  animation: fadein 1.2s ease forwards;
  animation-delay: var(--d, 1.4s)
}

.lit {
  opacity: 0;
  animation: fadein 1.6s ease forwards, flick 6s 6s infinite;
  animation-delay: 2.6s, 6s
}

@keyframes fadein {
  to {
    opacity: 1
  }
}

@keyframes flick {

  0%,
  92%,
  100% {
    opacity: 1
  }

  94% {
    opacity: .7
  }

  96% {
    opacity: 1
  }

  98% {
    opacity: .8
  }
}

.hero-h1,
.hero-copy p,
.hero-copy .btn {
  opacity: 0;
  animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) forwards
}

.hero-h1 {
  animation-delay: .3s
}

.hero-copy p {
  animation-delay: .9s
}

.hero-copy .btn {
  animation-delay: 1.4s
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* ABOUT */
#about {
  background: linear-gradient(180deg, var(--ink), var(--em-900))
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center
}

.about-copy h2 {
  margin-bottom: 26px
}

.about-copy p {
  color: #ddd6bf;
  margin-bottom: 18px;
  max-width: 62ch
}

.about-copy p:last-child {
  margin-bottom: 0
}

.about-frame {
  position: relative;
  border: 2px solid var(--gold);
  border-radius: 220px 220px 14px 14px;
  padding: 12px;
  background: var(--ink-2);
  cursor: pointer;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 8px rgba(212, 175, 55, .08)
}

.about-img {
  position: relative;
  border-radius: 200px 200px 6px 6px;
  overflow: hidden;
  aspect-ratio: 4/5
}

.about-img .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .8s, transform 1.4s
}

.about-img .slide.on {
  opacity: 1;
  transform: none
}

.about-img svg {
  width: 100%;
  height: 100%;
  display: block
}

.about-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 38px 20px 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent);
  font-size: .95rem;
  text-align: center;
  color: var(--gold-l)
}

.dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 14px
}

.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(212, 175, 55, .3);
  transition: .3s
}

.dots i.on {
  background: var(--gold);
  width: 26px;
  border-radius: 9px
}

.hint {
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  margin-top: 8px
}

/* SERVICES */
#services {
  background: var(--em-900)
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 28px
}

.svc {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 250px;
  margin-inline: auto;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  padding: 0;
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), box-shadow .35s
}

.svc:hover {
  transform: scale(1.05)
}

.svc.sel {
  box-shadow: 0 0 0 6px rgba(212, 175, 55, .2), 0 18px 50px rgba(0, 0, 0, .55)
}

.svc .layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity .7s
}

.svc .layer.on {
  opacity: 1
}

.l0 {
  background: linear-gradient(145deg, #12805f, #04241b 72%)
}

.l1 {
  background: linear-gradient(145deg, #f7e3a1, #b8891c)
}

.l2 {
  background: linear-gradient(145deg, #1c1c1c 30%, #a9821a 130%)
}

.l3 {
  background: linear-gradient(145deg, #1fb58b, #0a5c45 55%, #d4af37 140%)
}

.svc[data-g="1"] {
  color: var(--ink)
}

.svc[data-g="1"] .ico {
  color: var(--ink)
}

.svc .ico {
  width: clamp(34px, 4vw, 50px);
  height: clamp(34px, 4vw, 50px);
  color: var(--gold-l);
  transition: color .5s
}

.svc .ico svg {
  width: 100%;
  height: 100%;
  overflow: visible
}

.svc .badge {
  position: absolute;
  top: 13%;
  font-size: .78rem;
  font-weight: 600;
  opacity: .75
}

.svc .ttl {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(.9rem, 1.7vw, 1.25rem);
  line-height: 1.15;
  padding: 0 14%
}

.ico svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.ico .fx {
  transform-box: fill-box;
  transform-origin: center
}

.svc:hover .a-bounce,
.svc.sel .a-bounce {
  animation: bounce 1s ease-in-out infinite
}

.svc:hover .a-draw,
.svc.sel .a-draw {
  stroke-dasharray: 60;
  animation: dash 2s linear infinite
}

.svc:hover .a-stamp,
.svc.sel .a-stamp {
  animation: stamp 1.4s ease-in-out infinite
}

.svc:hover .a-spin,
.svc.sel .a-spin {
  animation: spin 4s linear infinite
}

.svc:hover .a-flick,
.svc.sel .a-flick {
  animation: flick2 1.4s steps(1) infinite
}

.svc:hover .a-drop,
.svc.sel .a-drop {
  animation: drop 1.2s ease-in infinite
}

.svc:hover .a-swing,
.svc.sel .a-swing {
  transform-origin: 32px 10px;
  animation: swing 2.4s ease-in-out infinite
}

.svc:hover .a-key,
.svc.sel .a-key {
  transform-origin: 14px 24px;
  animation: key 1.6s ease-in-out infinite
}

@keyframes bounce {
  50% {
    transform: translateY(-5px)
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -120
  }
}

@keyframes stamp {

  0%,
  100% {
    transform: scale(1)
  }

  40% {
    transform: scale(1.35)
  }

  60% {
    transform: scale(.9)
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes flick2 {
  0% {
    opacity: 1
  }

  50% {
    opacity: .35
  }

  70% {
    opacity: 1
  }

  85% {
    opacity: .5
  }
}

@keyframes drop {
  0% {
    transform: translateY(-6px);
    opacity: 0
  }

  30% {
    opacity: 1
  }

  100% {
    transform: translateY(6px);
    opacity: 0
  }
}

@keyframes swing {
  50% {
    transform: rotate(14deg)
  }

  0%,
  100% {
    transform: rotate(-14deg)
  }
}

@keyframes key {
  50% {
    transform: rotate(60deg)
  }
}

.svc-detail {
  max-width: 760px;
  margin: 56px auto 0;
  padding: 28px 34px;
  border: 1px solid rgba(212, 175, 55, .45);
  border-left: 5px solid var(--gold);
  border-radius: 14px;
  background: rgba(0, 0, 0, .35);
  min-height: 150px
}

.svc-detail h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--gold-l);
  margin-bottom: 8px
}

.svc-detail p {
  color: #ddd6bf
}

.svc-detail.swap {
  animation: swap .5s ease
}

@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* GALLERY */
#gallery {
  background: linear-gradient(180deg, var(--em-900), var(--ink))
}

.g-block {
  margin-bottom: 64px
}

.g-block:last-child {
  margin-bottom: 0
}

.g-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap
}

.g-head h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold-l)
}

.g-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.g-row figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .35);
  aspect-ratio: 4/3;
  background: var(--ink-2)
}

.g-row svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform .6s
}

.g-row figure:hover svg {
  transform: scale(1.07)
}

/* OUR WORK (service list + expandable images) */
.w-list {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 14px
}

.w-item {
  border: 1px solid rgba(212, 175, 55, .4);
  border-radius: 14px;
  background: rgba(0, 0, 0, .3);
  overflow: hidden;
  transition: border-color .3s, background .3s
}

.w-item.open {
  border-color: var(--gold);
  background: rgba(10, 92, 69, .25)
}

.w-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: 0;
  color: var(--ivory);
  font: inherit;
  text-align: left;
  cursor: pointer
}

.w-row .n {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  font-size: .85rem;
  color: var(--gold-l);
  flex: none;
  transition: .3s
}

.w-row .t {
  flex: 1;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2
}

.w-row .pm {
  width: 18px;
  height: 18px;
  position: relative;
  flex: none
}

.w-row .pm::before,
.w-row .pm::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--gold);
  transition: transform .35s
}

.w-row .pm::after {
  transform: rotate(90deg)
}

.w-item.open .n {
  background: var(--gold);
  color: var(--ink)
}

.w-item.open .pm::after {
  transform: rotate(0)
}

.w-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s ease
}

.w-item.open .w-panel {
  grid-template-rows: 1fr
}

.w-panel>div {
  overflow: hidden;
  min-height: 0
}

.w-item:not(.open) .w-panel>div {
  visibility: hidden;
  transition: visibility 0s .5s
}

.w-inner {
  padding: 6px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.w-inner .g-row {
  width: 100%;
  gap: 24px;
}

.w-inner .g-row figure {
  aspect-ratio: 4/3;
  border-radius: 14px;
  border: 1.5px solid rgba(212, 175, 55, .55);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  overflow: hidden;
  background: var(--ink-2);
}

.w-inner .g-row figure img,
.w-inner .g-row figure svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.w-inner .g-row figure:hover img,
.w-inner .g-row figure:hover svg {
  transform: scale(1.05);
}

.w-inner .btn {
  margin-top: 28px;
  display: inline-flex;
}

@media(max-width:980px) {
  .w-inner .g-row {
    gap: 14px
  }
}

@media(max-width:760px) {
  .w-row {
    padding: 14px 16px
  }

  .w-row .t {
    font-size: 1.15rem
  }

  .w-inner {
    padding: 4px 14px 22px
  }

  .w-inner .g-row {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .w-inner .btn {
    width: 100%
  }
}

/* TESTIMONIALS */
#testimonials {
  background: var(--ink);
  overflow: hidden
}

.t-stage {
  position: relative;
  padding: 0 64px
}

.t-view {
  overflow: hidden;
  padding-top: 6px
}

.t-track {
  display: flex;
  transition: transform .6s cubic-bezier(.3, .8, .3, 1);
  touch-action: pan-y
}

.t-slide {
  flex: 0 0 calc(100% / var(--vis, 3));
  padding: 0 14px;
  display: flex;
  justify-content: center
}

.t-slide .home,
.home-card {
  width: 100%;
  max-width: 310px
}

.t-slide .home .roof,
.home-card .roof {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -2px
}

.t-slide .home .body,
.home-card .body {
  border: 2px solid var(--gold);
  border-top: 0;
  background: linear-gradient(180deg, var(--em-800), var(--ink-2));
  min-height: 390px;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0 0 8px 8px
}

.stars {
  color: var(--gold);
  letter-spacing: 4px;
  font-size: 1.05rem
}

.t-slide .home blockquote,
.home-card blockquote {
  margin: 14px 0 22px;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.4;
  color: var(--ivory)
}

.who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 175, 55, .35)
}

.who .av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-l), var(--gold-d));
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 600
}

.who b {
  display: block;
  font-weight: 500
}

.who small {
  color: var(--muted)
}

.arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--ink);
  color: var(--gold-l);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .25s
}

.arrow:hover {
  background: var(--gold);
  color: var(--ink)
}

.arrow.prev {
  left: 0
}

.arrow.next {
  right: 0
}

.arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round
}

/* CONTACT */
#contact {
  background: linear-gradient(180deg, var(--ink), var(--em-900))
}

.form-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px;
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  background: rgba(0, 0, 0, .4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5)
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.f {
  margin-bottom: 22px;
  position: relative
}

.f label,
.f .lbl {
  display: block;
  font-size: .92rem;
  margin-bottom: 8px;
  color: var(--gold-l)
}

.f input[type=text],
.f input[type=tel],
.f input[type=email],
.f textarea,
.ms-btn {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(212, 175, 55, .4);
  border-radius: 10px;
  color: var(--ivory);
  font: inherit;
  padding: 14px 16px;
  transition: border-color .2s, background .2s
}

.f textarea {
  min-height: 130px;
  resize: vertical
}

.f input:focus,
.f textarea:focus,
.ms-btn:focus {
  border-color: var(--gold-l);
  background: rgba(255, 255, 255, .08);
  outline: none
}

.ms-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer
}

.ms-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.4;
  transition: transform .25s
}

.ms-btn[aria-expanded=true] svg {
  transform: rotate(180deg);
  stroke: var(--gold-l);
}

.ms-btn:focus,
.ms-btn[aria-expanded="true"] {
  border-color: var(--gold-l);
  background: rgba(255, 255, 255, .08);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .15), 0 8px 24px rgba(0, 0, 0, .4);
}

.ms-btn.has-val {
  border-color: rgba(212, 175, 55, .65);
  background: rgba(212, 175, 55, .05);
}

.ms-btn.has-val #msLabel {
  color: var(--gold-l);
  font-weight: 500;
}

.ms-panel {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: 290px;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(8, 20, 16, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .75), 0 0 0 1px rgba(212, 175, 55, .12);
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, .35) rgba(255, 255, 255, .02);
  animation: msFadeIn .2s cubic-bezier(.16, 1, .3, 1);
}

@keyframes msFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.ms-panel[hidden] {
  display: none !important;
}

.ms-panel::-webkit-scrollbar {
  width: 6px;
}

.ms-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .02);
  border-radius: 8px;
  margin: 6px 0;
}

.ms-panel::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, .35);
  border-radius: 8px;
  transition: background .2s;
}

.ms-panel::-webkit-scrollbar-thumb:hover {
  background: var(--gold-l);
}

.ms-panel .wpcf7-form-control-wrap {
  display: block;
}

.ms-panel .wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ms-panel .wpcf7-list-item {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ms-item,
.ms-panel .wpcf7-list-item label {
  display: flex !important;
  gap: 13px !important;
  align-items: center !important;
  padding: 10px 14px !important;
  border-radius: 8px;
  cursor: pointer;
  font-size: .94rem;
  line-height: 1.4;
  margin: 0 !important;
  color: var(--ivory) !important;
  transition: background .18s ease, color .18s ease;
  user-select: none;
  width: 100%;
}

.ms-item:hover,
.ms-panel .wpcf7-list-item label:hover {
  background: rgba(212, 175, 55, .12);
  color: var(--gold-l) !important;
}

.ms-item:has(input:checked),
.ms-panel .wpcf7-list-item label:has(input:checked) {
  background: rgba(212, 175, 55, .08);
  color: #fff !important;
  font-weight: 500;
}

.ms-item input,
.ms-panel input[type="checkbox"],
.ms-panel .wpcf7-list-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  margin: 0 !important;
  width: 18px;
  height: 18px;
  flex: none;
  border: 1.5px solid rgba(212, 175, 55, .5);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, .05);
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition: all .2s cubic-bezier(.4, 0, .2, 1);
  position: relative;
}

.ms-item input:hover,
.ms-panel input[type="checkbox"]:hover,
.ms-panel .wpcf7-list-item input[type="checkbox"]:hover {
  border-color: var(--gold-l);
  background-color: rgba(212, 175, 55, .15);
  box-shadow: 0 0 8px rgba(212, 175, 55, .25);
}

.ms-item input:checked,
.ms-panel input[type="checkbox"]:checked,
.ms-panel .wpcf7-list-item input[type="checkbox"]:checked {
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2305140e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E"), linear-gradient(135deg, #f7e3a1, #b8891c);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px 11px, 100% 100%;
  border-color: var(--gold-l);
  box-shadow: 0 0 10px rgba(212, 175, 55, .4);
}

.ms-item input:focus-visible,
.ms-panel input[type="checkbox"]:focus-visible,
.ms-panel .wpcf7-list-item input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--gold-l);
  outline-offset: 2px;
}

.ms-panel .wpcf7-list-item-label {
  color: inherit;
  font-size: .94rem;
  line-height: 1.4;
}

.f[hidden] {
  display: none !important;
}

input[type="submit"].btn,
.wpcf7-submit.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  cursor: pointer;
}

.status {
  margin-top: 16px;
  min-height: 1.5em;
  font-size: .95rem;
  color: var(--gold-l)
}

.status.err {
  color: #ff9d8a
}

/* CONTACT FORM 7 */
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.wpcf7-form-control.wpcf7-not-valid {
  border-color: #ff6b6b !important;
}

.wpcf7-not-valid-tip {
  font-size: 0.85rem;
  color: #ff9d8a;
  margin-top: 6px;
  display: block;
}

.wpcf7-response-output {
  margin: 22px 0 0 !important;
  padding: 16px 20px !important;
  border-radius: 12px !important;
  font-size: 0.95rem !important;
  text-align: center !important;
  border: 1.5px solid var(--gold) !important;
  background: rgba(10, 92, 69, 0.35) !important;
  color: var(--ivory) !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #ff6b6b !important;
  background: rgba(180, 40, 40, 0.25) !important;
  color: #ffdede !important;
}

.wpcf7-spinner {
  margin-left: 14px;
}

.wpcf7-checkbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

@media (max-width: 680px) {
  .wpcf7-checkbox {
    grid-template-columns: 1fr;
  }
}

.wpcf7-list-item {
  margin: 0 !important;
}

.wpcf7-list-item label {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  color: var(--ivory) !important;
  font-size: 0.92rem;
  margin-bottom: 0 !important;
}

.wpcf7-list-item label:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-l);
}

.wpcf7-list-item input[type="checkbox"] {
  accent-color: var(--gold);
  width: 17px;
  height: 17px;
  margin: 0;
  flex: none;
  cursor: pointer;
}

.wpcf7-list-item-label {
  line-height: 1.35;
}

.map-box {
  position: relative;
  margin-top: 64px;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--gold);
  height: 420px;
  background: #08130f
}

.map-box svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.map-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 340px;
  background: rgba(5, 5, 5, .9);
  backdrop-filter: blur(6px);
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 20px 22px
}

.map-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold-l)
}

.map-card p {
  font-size: .92rem;
  color: var(--muted);
  margin: 4px 0 14px
}

.pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.4s ease-out infinite
}

@keyframes pulse {
  0% {
    transform: scale(.4);
    opacity: .9
  }

  100% {
    transform: scale(2.4);
    opacity: 0
  }
}

/* FOOTER */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(212, 175, 55, .4);
  padding: 72px 0 40px
}

.quote {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.35;
  font-style: italic;
  color: var(--gold-l)
}

.f-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(212, 175, 55, .2)
}

.f-grid h4 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold-l);
  font-weight: 600
}

.f-grid p,
.f-grid a {
  color: var(--muted);
  font-size: .95rem;
  text-decoration: none;
  display: block
}

.f-grid a:hover {
  color: var(--gold-l)
}

.social {
  display: flex;
  gap: 12px;
  margin-top: 6px
}

.social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold-l);
  transition: .25s
}

.social a:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-3px)
}

.social svg {
  width: 20px;
  height: 20px;
  fill: currentColor
}

.copy {
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  margin-top: 28px
}

/* FLOATING */
.float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 14px
}

.float a {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .55);
  transition: transform .25s
}

.float a:hover {
  transform: scale(1.1)
}

.float svg {
  width: 28px;
  height: 28px;
  fill: currentColor
}

.fw {
  background: #25d366;
  color: #fff
}

.fc {
  background: linear-gradient(135deg, #f7e3a1, #b8891c);
  color: var(--ink)
}

.fw::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
  animation: ring 2.6s infinite
}

.float a {
  position: relative
}

@keyframes ring {
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0)
  }
}

@media(max-width:980px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px
  }

  .about-frame {
    max-width: 420px;
    margin: 0 auto
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .f-grid {
    grid-template-columns: 1fr 1fr
  }

  .g-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
  }
}

@media(max-width:760px) {
  .sec {
    padding: 80px 0
  }

  .burger {
    display: block
  }

  .nav-links {
    position: absolute;
    top: calc(72px + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 5, 5, .96);
    padding: 8px 20px 16px;
    display: none;
    border-bottom: 1px solid rgba(212, 175, 55, .3)
  }

  .nav-links.open {
    display: flex
  }

  .nav-links a {
    display: block;
    padding: 12px 0
  }

  .row2 {
    grid-template-columns: 1fr;
    gap: 0
  }

  .form-card {
    padding: 28px 20px
  }

  .t-stage {
    padding: 0 0 70px
  }

  .arrow {
    top: auto;
    bottom: 0;
    translate: none
  }

  .arrow.prev {
    left: calc(50% - 60px)
  }

  .arrow.next {
    right: calc(50% - 60px)
  }

  .f-grid {
    grid-template-columns: 1fr
  }

  .g-row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px
  }

  .map-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none
  }

  .float a {
    width: 52px;
    height: 52px
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  .met {
    display: none
  }

  .draw {
    stroke-dashoffset: 0
  }

  .fillin,
  .lit,
  .hero-h1,
  .hero-copy p,
  .hero-copy .btn {
    opacity: 1
  }
}