/* ============================================================
   Mark and Sons Projects — Static Stylesheet
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --background: #fbfbfd;
  --foreground: #14213d;
  --brand-dark: #1b2747;
  --brand: #2e54a6;
  --brand-light: #aac0e4;
  --silver: #d8dce2;
  --grey: #7d8597;
  --muted: #f1f3f7;
  --muted-foreground: #5a6478;
  --border: #e3e6ee;
  --input: #dde1eb;
  --accent: #e9edf6;
  --accent-red: #d63b2a;
  --gold: #d4a64a;
  --gold-grad: linear-gradient(120deg, #c9a14a, #f5d97e 50%, #b8862c);
  --gradient-brand: linear-gradient(135deg, var(--brand-dark), var(--brand) 55%, var(--brand-light));
  --shadow-elegant: 0 30px 80px -20px rgba(20, 30, 55, 0.35);
  --shadow-card: 0 14px 40px -12px rgba(20, 30, 55, 0.22);
  --shadow-soft: 0 4px 20px -4px rgba(20, 30, 55, 0.12);
  --radius: 1rem;
  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.italic {
  font-style: italic;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Eyebrow / Display --- */
.eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--brand);
  margin-bottom: 1rem;
}

.eyebrow.text-gold {
  color: transparent;
}

.display-h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--brand-dark);
}

.display-h2.light {
  color: #fff;
}

.display-h2.dark {
  color: var(--brand-dark);
}

.display-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: #fff;
  margin-top: .25rem;
}

.muted {
  color: rgba(255, 255, 255, 0.7);
  font-size: .85rem;
  margin-top: .25rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-head {
  max-width: 48rem;
}

.section-head.center {
  text-align: center;
  margin: 0 auto;
}

.section-lead {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  margin-top: 1.25rem;
  max-width: 42rem;
  line-height: 1.7;
}

.bg-bg {
  background: var(--background);
}

.bg-grad-muted {
  background: linear-gradient(180deg, var(--muted), var(--background));
}

.ic {
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
}

.ic-gold {
  filter: invert(72%) sepia(35%) saturate(540%) hue-rotate(360deg) brightness(90%);
}

/* --- Loading Screen --- */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  transition: opacity .6s ease, visibility .6s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-box {
  text-align: center;
  color: #fff;
}

.loading-logo {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(255, 255, 255, .16);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.loading-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .16em;
}

.loading-sub {
  margin-top: .25rem;
  font-size: .72rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

.loading-bar {
  width: 16rem;
  max-width: 70vw;
  height: 3px;
  margin: 1.5rem auto 1rem;
  background: rgba(255, 255, 255, .16);
  border-radius: 999px;
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #fff, var(--gold));
  transition: width .12s linear;
}

.loading-pct {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem 1.75rem;
  border-radius: 9999px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: all .3s;
}

.btn-white {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .35);
}

.btn-white:hover {
  transform: scale(1.03);
}

.btn-red {
  background: var(--accent-red);
  color: #fff;
  box-shadow: 0 20px 40px -10px rgba(214, 59, 42, .4);
}

.btn-red:hover {
  transform: scale(1.03);
}

.btn-dark {
  background: var(--brand-dark);
  color: #fff;
}

.btn-dark:hover {
  background: var(--brand);
}

.btn-outline-dark {
  background: transparent;
  color: var(--brand-dark);
  border: 1px solid var(--brand-dark);
}

.btn-outline-dark:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn-send {
  padding: 1rem 2rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, .2);
}

.btn-send.sent {
  background: #059669 !important;
}

/* --- Animations --- */
@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  to {
    opacity: 1;
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse-soft {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

.animate-spin-slow {
  animation: spin-slow 2.4s linear infinite;
}

.animate-fade-up {
  animation: fade-up .8s cubic-bezier(.16, 1, .3, 1) both;
}

.animate-fade-in {
  animation: fade-in .8s ease-out both;
}

.animate-scale-in {
  animation: scale-in .6s cubic-bezier(.16, 1, .3, 1) both;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all .5s;
}

.navbar.scrolled {
  background: rgba(27, 39, 71, .85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding: .75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .75rem;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .3);
}

.brand-text {
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1rem;
}

.brand-tag {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .6);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  padding: .5rem 1rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .8);
  position: relative;
  transition: color .2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  padding: .5rem;
}

.nav-toggle img {
  width: 1.5rem;
  height: 1.5rem;
  filter: invert(1);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1.5rem;
  gap: .25rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: var(--brand-dark);
  animation: fade-in .3s;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: .85rem .5rem;
  color: rgba(255, 255, 255, .85);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  transition: color .2s;
}

.nav-mobile a:hover {
  color: var(--gold);
}

.btn-quote-mobile {
  margin-top: 1rem !important;
  background: var(--accent-red);
  color: #fff !important;
  text-align: center;
  padding: .85rem 1.25rem !important;
  border-radius: 9999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .85rem;
}

@media (max-width:1023px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--brand-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: fade-in .8s ease-out;
}

.hero-overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 39, 71, .85), rgba(27, 39, 71, .4) 50%, rgba(27, 39, 71, .95));
}

.hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 39, 71, .8), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 10rem 1.5rem 5rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(8px);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .8);
  animation-delay: .1s;
}

.dot-gold {
  display: inline-block;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-soft 2s infinite;
}

.hero-title {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
  color: #fff;
  max-width: 48rem;
  font-weight: 500;
}

.hero-sub {
  margin-top: 1.75rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, .75);
  line-height: 1.7;
}

.hero-ctas {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero-stats {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 36rem;
}

.stat {
  border-left: 1px solid rgba(255, 255, 255, .2);
  padding-left: 1rem;
}

.stat-k {
  margin-top: .5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
}

.stat-v {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .6);
  margin-top: .15rem;
}

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .5);
}

.scroll-cue span {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .4em;
}

.scroll-line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .6), transparent);
}

/* --- Services Section --- */
.services-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width:640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.flip-card {
  perspective: 1200px;
  height: 360px;
  cursor: pointer;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}

.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.flip-front {
  position: relative;
}

.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s;
}

.flip-card:hover .flip-front img {
  transform: scale(1.1);
}

.flip-front .grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--brand-dark), rgba(27, 39, 71, .3) 50%, transparent);
}

.flip-front .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem;
  color: #fff;
}

.flip-front .caption h3 {
  font-size: 1.5rem;
}

.flip-front .caption .hint {
  margin-top: .25rem;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--gold);
}

.flip-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: .85rem;
}

.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand), var(--brand-dark));
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.flip-back h3 {
  margin-top: .75rem;
  font-size: 1.75rem;
}

.flip-back .desc {
  margin-top: 1.25rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.65;
}

.flip-back .eyebrow {
  color: var(--gold);
}

.flip-back .btn-quote {
  align-self: flex-start;
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  color: var(--brand-dark);
  padding: .65rem 1.25rem;
  border-radius: 9999px;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: transform .25s;
}

.flip-back .btn-quote:hover {
  transform: scale(1.05);
}

/* --- Gallery Section --- */
.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.gallery-list {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.gallery-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding: 0 .25rem;
}

.gallery-cat-head h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--brand-dark);
}

.gallery-swipe {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--muted-foreground);
}

.gallery-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scroll-snap-type: x proximity;
  padding-bottom: .75rem;
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: calc(100% + 3rem);
}

.gallery-row::-webkit-scrollbar {
  display: block;
  height: 0.75rem;
}

.gallery-row::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.6);
}

.gallery-row::-webkit-scrollbar-thumb {
  background: rgba(46, 84, 166, 0.45);
  border-radius: 999px;
}

.gallery-row {
  -ms-overflow-style: auto;
  scrollbar-width: thin;
}

.gallery-tile {
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: start;
  touch-action: manipulation;
  width: clamp(320px, 42vw, 420px);
  min-width: 320px;
  height: 320px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s;
}

.gallery-tile:hover img {
  transform: scale(1.1);
}

.gallery-tile .ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .6), transparent 50%);
  opacity: .6;
  transition: opacity .3s;
}

.gallery-tile:hover .ov {
  opacity: .4;
}

.gallery-tile .lbl {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  color: #fff;
}

.gallery-tile .lbl .cat {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  opacity: .8;
}

.gallery-tile .lbl .pn {
  font-family: var(--font-display);
  font-size: 1.125rem;
}

body.modal-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 20, .9);
}

.gallery-modal-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 72rem);
  height: min(86vh, 48rem);
  display: grid;
  place-items: center;
}

.gallery-modal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: var(--shadow-elegant);
}

.gallery-modal-close {
  position: absolute;
  top: -.75rem;
  right: -.75rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-dark);
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

.gallery-modal-close:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width:640px) {
  .gallery-modal {
    padding: 1rem;
  }

  .gallery-modal-inner {
    height: 82vh;
  }

  .gallery-modal-close {
    top: .5rem;
    right: .5rem;
  }
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width:1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.about-photo {
  position: relative;
}

.blur-orb {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: rgba(170, 192, 228, .4);
  filter: blur(60px);
}

.about-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: var(--shadow-elegant);
  aspect-ratio: 4/5;
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(27, 39, 71, .7), transparent 50%);
}

.about-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem;
  color: #fff;
}

.about-photo-caption .eyebrow {
  margin-bottom: .25rem;
}

.years-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: #fff;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
  display: none;
}

@media (min-width:640px) {
  .years-badge {
    display: block;
  }
}

.years-k {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--brand);
  margin: 0;
}

.years-v {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--muted-foreground);
  margin-top: .25rem;
}

.about-text {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: rgba(20, 33, 61, .8);
  line-height: 1.75;
}

.about-text strong {
  color: var(--brand-dark);
}

.about-ctas {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* --- Parallax Section --- */
.parallax-section {
  position: relative;
  padding: 7rem 0;
}

.parallax-fixed {
  background-image: linear-gradient(rgba(20, 30, 55, .92), rgba(20, 30, 55, .92)), url(../assets/images/hero-kitchen.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

@media (max-width:768px) {
  .parallax-fixed {
    background-attachment: scroll;
  }
}

.stats-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width:1024px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  border-radius: 1.5rem;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  transition: all .5s;
}

.stat-card:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-8px);
  box-shadow: var(--shadow-elegant);
}

.stat-card .sc-ic {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  box-shadow: 0 8px 16px rgba(0, 0, 0, .2);
}

.stat-card .sc-ic img {
  width: 1.25rem;
  height: 1.25rem;
  filter: invert(1);
}

.stat-card .sc-k {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
}

.stat-card .sc-v {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .7);
  margin-top: .25rem;
}

/* --- Testimonials Section --- */
.testimonials {
  background: var(--brand-dark);
  color: #fff;
  overflow: hidden;
}

.testimonials .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .2;
}

.orb-1 {
  top: 5rem;
  left: 2.5rem;
  width: 18rem;
  height: 18rem;
  background: var(--brand);
}

.orb-2 {
  bottom: 5rem;
  right: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: var(--brand-light);
}

.testimonials-inner {
  position: relative;
  max-width: 64rem;
  text-align: center;
}

.testimonial-wrap {
  margin-top: 4rem;
  position: relative;
}

.t-quote {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 4rem;
  opacity: .3;
  filter: invert(72%) sepia(35%) saturate(540%);
}

.t-stars {
  display: flex;
  justify-content: center;
  gap: .25rem;
  margin-bottom: 1.5rem;
}

.t-stars img {
  width: 1.25rem;
  height: 1.25rem;
  filter: invert(72%) sepia(35%) saturate(540%) hue-rotate(360deg) brightness(95%);
}

.t-stars img {
  fill: var(--gold);
}

.t-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, .95);
  max-width: 48rem;
  margin: 0 auto;
}

.t-author {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.t-avatar {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  color: #fff;
  font-weight: 600;
  font-size: 1.125rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .3);
  background: linear-gradient(135deg, #f472b6, #db2777);
}

.t-author-text {
  text-align: left;
}

.t-name {
  font-weight: 600;
}

.t-role {
  font-size: .875rem;
  color: rgba(255, 255, 255, .6);
  margin-top: .125rem;
}

.t-controls {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}

.t-arrow {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  transition: background .2s;
}

.t-arrow:hover {
  background: rgba(255, 255, 255, .1);
}

.t-arrow img {
  width: 1.25rem;
  height: 1.25rem;
  filter: invert(1);
}

.t-dots {
  display: flex;
  gap: .5rem;
}

.t-dot {
  height: 6px;
  width: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .3);
  transition: all .3s;
}

.t-dot.active {
  width: 2rem;
  background: var(--gold);
}

/* --- Video Showcase --- */
.video-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width:640px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-card {
  text-align: left;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--brand-dark);
  box-shadow: var(--shadow-card);
  transition: transform .5s, box-shadow .5s;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elegant);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
  background: #000;
}

.video-card:hover .video-thumb video {
  transform: scale(1.1);
}

.video-thumb .ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, .2) 50%, transparent);
}

.play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.play-btn span {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--brand-dark);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  transition: transform .3s;
}

.video-card:hover .play-btn span {
  transform: scale(1.1);
}

.play-btn span img {
  width: 2rem;
  height: 2rem;
  margin-left: .25rem;
}

.video-meta {
  padding: 1.5rem;
  color: #fff;
}

.video-meta h3 {
  font-size: 1.25rem;
}

.video-meta p {
  margin-top: .5rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.65;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .85);
}

.video-modal-inner {
  position: relative;
  width: min(100%, 64rem);
  max-height: 86vh;
  z-index: 1;
}

.video-modal video {
  width: 100%;
  max-height: 86vh;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 1rem;
  background: #000;
  box-shadow: var(--shadow-elegant);
}

.video-modal-close {
  position: absolute;
  top: -.75rem;
  right: -.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--brand-dark);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
  z-index: 2;
}

/* --- Contact Section --- */
.contact {
  background: linear-gradient(180deg, var(--background), var(--muted));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width:1024px) {
  .contact-grid {
    grid-template-columns: 2fr 3fr;
    gap: 2.5rem;
  }
}

.contact-info .section-lead {
  margin-top: 1.25rem;
}

.contact-cards {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  transition: transform .4s, box-shadow .4s;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elegant);
}

.cc-ico {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
  color: #fff;
}

.cc-ico img {
  width: 1.25rem;
  height: 1.25rem;
  filter: invert(1);
}

.bg-brand {
  background: var(--brand);
}

.bg-wa {
  background: #25D366;
}

.bg-red {
  background: var(--accent-red);
}

.contact-card .eyebrow {
  margin-bottom: .15rem;
  color: var(--muted-foreground);
}

.cc-val {
  font-weight: 600;
  color: var(--brand-dark);
}

.service-areas {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--brand-dark);
  color: #fff;
}

.sa-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--gold);
}

.sa-head img {
  width: 1rem;
  height: 1rem;
  filter: invert(72%) sepia(35%) saturate(540%) hue-rotate(360deg) brightness(90%);
}

.sa-list {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.sa-list span {
  padding: .25rem .75rem;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .1);
  border-radius: 9999px;
  font-size: .7rem;
}

.contact-form {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-elegant);
  padding: 2rem;
  border: 1px solid var(--border);
}

@media (min-width:640px) {
  .contact-form {
    padding: 2.5rem;
  }
}

.form-title {
  font-size: 1.5rem;
  color: var(--brand-dark);
}

.form-sub {
  font-size: .875rem;
  color: var(--muted-foreground);
  margin-top: .25rem;
}

.form-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width:640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field {
  margin-top: 1rem;
}

.field:first-child {
  margin-top: 0;
}

.field label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--muted-foreground);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  margin-top: .5rem;
  padding: .85rem 1rem;
  border: 1px solid var(--input);
  background: var(--background);
  border-radius: .75rem;
  font-size: .875rem;
  outline: none;
  transition: box-shadow .2s, border-color .2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(46, 84, 166, .2);
}

.field textarea {
  resize: vertical;
  font-family: inherit;
}

.map-wrap {
  margin-top: 3.5rem;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(20%) contrast(1.1);
}

/* --- Footer --- */
.footer {
  background: var(--brand-dark);
  color: #fff;
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-orb {
  position: absolute;
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: var(--brand-light);
  filter: blur(80px);
  opacity: .1;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width:1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-desc {
  margin-top: 1.25rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.7;
  max-width: 28rem;
}

.socials {
  margin-top: 1.5rem;
  display: flex;
  gap: .5rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  transition: all .3s;
}

.socials a:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--gold);
}

.socials img {
  width: 1rem;
  height: 1rem;
  filter: invert(1);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .7);
}

.footer-col ul a {
  transition: color .2s;
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

.footer-contact img {
  width: 1rem;
  height: 1rem;
  margin-top: .125rem;
  flex-shrink: 0;
  filter: invert(1);
  opacity: .7;
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .7rem;
  color: rgba(255, 255, 255, .55);
  position: relative;
}

.gold-credit {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: .06em;
}

.creator-credit {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .2rem;
  text-align: right;
}

.credit-label {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: rgba(255, 255, 255, .5);
}

.credit-creator {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}

.credit-creator strong {
  color: #fff;
  font-weight: 700;
}

@media (max-width:640px) {
  .creator-credit {
    align-items: flex-start;
    text-align: left;
  }
}

/* --- Chatbot --- */
.chat-toggle {
  position: fixed;
  bottom: 5.25rem;
  right: 1.5rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
  transition: transform .3s, background .3s;
}

.chat-toggle:hover {
  background: var(--brand);
  transform: scale(1.1);
}

.chat-toggle img {
  width: 1.5rem;
  height: 1.5rem;
  filter: invert(1);
}

.chat-pulse {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--accent-red);
  border: 2px solid #fff;
  animation: pulse-soft 1.5s infinite;
}

.chat-window {
  position: fixed;
  bottom: 10.75rem;
  right: 1.5rem;
  z-index: 60;
  width: calc(100vw - 3rem);
  max-width: 380px;
  max-height: 70vh;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  border: 1px solid var(--border);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: scale-in .3s;
  transform-origin: bottom right;
}

.chat-window.is-open {
  display: flex;
}

.chat-header {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
}

.chat-avatar img {
  width: 1.25rem;
  height: 1.25rem;
  filter: invert(1);
}

.chat-name {
  font-weight: 600;
}

.chat-status {
  margin-top: .125rem;
  font-size: .7rem;
  color: rgba(255, 255, 255, .7);
  display: flex;
  align-items: center;
  gap: .25rem;
}

.dot-green {
  display: inline-block;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: #4ade80;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background: var(--muted);
}

.chat-bubble {
  max-width: 85%;
  padding: .65rem 1rem;
  border-radius: 1rem;
  font-size: .875rem;
  line-height: 1.6;
  word-wrap: break-word;
}

.chat-bubble.bot {
  background: #fff;
  color: var(--foreground);
  border: 1px solid var(--border);
  border-bottom-left-radius: .25rem;
  align-self: flex-start;
}

.chat-bubble.user {
  background: var(--brand);
  color: #fff;
  border-bottom-right-radius: .25rem;
  align-self: flex-end;
}

.chat-footer {
  border-top: 1px solid var(--border);
  padding: .75rem;
  background: #fff;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .5rem;
}

.chat-quick button {
  font-size: .7rem;
  padding: .4rem .75rem;
  border-radius: 9999px;
  background: var(--muted);
  color: var(--brand-dark);
  border: 1px solid var(--border);
  transition: background .2s;
}

.chat-quick button:hover {
  background: var(--accent);
}

.chat-input-row {
  display: flex;
  gap: .5rem;
}

.chat-input-row input {
  flex: 1;
  border: 1px solid var(--input);
  border-radius: 9999px;
  padding: .65rem 1rem;
  font-size: .875rem;
  outline: none;
}

.chat-input-row input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(46, 84, 166, .2);
}

.chat-input-row button {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-dark);
  color: #fff;
  transition: background .2s;
}

.chat-input-row button:hover {
  background: var(--brand);
}

.chat-input-row button img {
  width: 1rem;
  height: 1rem;
  filter: invert(1);
}

/* --- Mobile Responsive Tweaks --- */
@media (max-width:640px) {
  .section {
    padding: 4rem 0;
  }

  .hero-stats {
    gap: .75rem;
  }

  .stat-k {
    font-size: 1.25rem;
  }

  .gallery-tile {
    height: 260px;
  }

  .map-wrap iframe {
    height: 300px;
  }
}
