*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --gold: #c9a84c;
  --gold-l: #e8c97a;
  --gold-d: #a07828;
  --gold-dim: rgba(201, 168, 76, 0.12);
  --gold-glow: rgba(201, 168, 76, 0.07);
  --bg: #09090b;
  --bg2: #0e0e11;
  --bg3: #141418;
  --bg4: #1a1a20;
  --text: #f0ece4;
  --muted: #6b6760;
  --muted2: #3f3e3c;
  --border: rgba(201, 168, 76, 0.12);
  --border-h: rgba(201, 168, 76, 0.3);
  --r: 3px;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  opacity: 0.4;
}
h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  line-height: 1.15;
}
h1 {
  font-size: clamp(36px, 5.5vw, 72px);
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(26px, 3.8vw, 46px);
}
h3 {
  font-size: clamp(17px, 2vw, 22px);
}
em {
  font-style: normal;
  color: var(--gold);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
section {
  position: relative;
  z-index: 1;
}

/* ══════════ NAV ══════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow 0.3s;
}
nav.scrolled {
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.nav-logo span {
  color: var(--gold);
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--r);
  background: var(--gold);
  color: #09090b;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--gold-l);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.25);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: transparent;
}
.burger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--muted);
  transform-origin: center;
  transition:
    transform 0.3s,
    opacity 0.3s,
    background 0.2s;
}
.burger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.burger.open span {
  background: var(--gold);
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 190;
  background: rgba(9, 9, 11, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.3s;
}
.mobile-drawer.open {
  max-height: 480px;
  padding: 16px 0 24px;
}
.mobile-drawer ul {
  list-style: none;
  padding: 0 24px;
}
.mobile-drawer li {
  border-bottom: 1px solid var(--border);
}
.mobile-drawer a {
  display: block;
  padding: 15px 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition:
    color 0.2s,
    padding-left 0.2s;
}
.mobile-drawer a:hover {
  color: var(--gold);
  padding-left: 6px;
}
.mobile-drawer-cta {
  margin: 16px 24px 0;
}
.mobile-drawer-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: var(--r);
  background: var(--gold);
  color: #09090b;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ══════════ BUTTONS ══════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 26px;
  border-radius: var(--r);
  background: var(--gold);
  color: #09090b;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}
.btn-primary:hover {
  background: var(--gold-l);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.28);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 26px;
  border-radius: var(--r);
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    border-color 0.25s,
    color 0.25s,
    transform 0.25s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ══════════ SECTION ATOMS ══════════ */
.section-pad {
  padding: 100px 0;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.section-header {
  margin-bottom: 52px;
}
.section-header p {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  margin-top: 10px;
  line-height: 1.75;
}

/* ══════════ HERO ══════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/novapay.jpg") center/cover no-repeat;
  opacity: 0.07;
  filter: grayscale(100%);
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      var(--bg) 0%,
      transparent 30%,
      transparent 60%,
      var(--bg) 100%
    ),
    linear-gradient(to right, var(--bg) 0%, transparent 40%);
}
.hero-glow {
  position: absolute;
  top: -10%;
  left: 30%;
  z-index: 1;
  pointer-events: none;
  width: 800px;
  height: 600px;
  background: radial-gradient(
    ellipse,
    rgba(201, 168, 76, 0.08) 0%,
    transparent 65%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-label-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease infinite;
}
.hero h1 {
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: inline-flex;
}
.hstat {
  padding: 18px 28px;
  border-right: 1px solid var(--border);
  background: rgba(14, 14, 17, 0.6);
  backdrop-filter: blur(8px);
}
.hstat:last-child {
  border-right: none;
}
.hstat-val {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
}
.hstat-lbl {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ══════════ SERVICES ══════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.scard {
  background: var(--bg2);
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: background 0.3s;
}
.scard-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}
.scard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%) brightness(0.7);
  transition:
    transform 0.5s ease,
    filter 0.4s;
}
.scard:hover .scard-img img {
  transform: scale(1.05);
  filter: grayscale(20%) brightness(0.85);
}
.scard-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg2));
}
.scard-body {
  padding: 20px 24px 24px;
}
.scard-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r);
  background: var(--gold-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 12px;
}
.scard h3 {
  font-size: 17px;
  margin-bottom: 7px;
}
.scard p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.scard-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.scard:hover .scard-link {
  opacity: 1;
  transform: translateX(0);
}
.scard::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold),
    transparent
  );
  transform: scaleX(0);
  transition: transform 0.4s;
}
.scard:hover::after {
  transform: scaleX(1);
}
.scard {
  cursor: pointer;
}

/* ══════════ SERVICE MODAL ══════════ */
.smodal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.smodal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.smodal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.smodal-overlay.open .smodal {
  transform: translateY(0);
}
.smodal-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.smodal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.7);
}
.smodal-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--bg2));
}
.smodal-body {
  padding: 28px 32px 32px;
}
.smodal-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  background: var(--gold-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 14px;
}
.smodal-body h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.smodal-body .smodal-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.smodal-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.smodal-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
}
.smodal-features li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  flex-shrink: 0;
}
.smodal-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #09090b;
  padding: 11px 24px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.smodal-cta:hover {
  background: var(--gold-light);
}
.smodal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s;
  z-index: 2;
}
.smodal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

/* ══════════ ABOUT ══════════ */
.about-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.badge-pill {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Photo/video gallery */
.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 4px;
  border-radius: var(--r);
  overflow: hidden;
}
.gallery-item {
  position: relative;
  overflow: hidden;
}
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) brightness(0.75);
  transition:
    transform 0.5s ease,
    filter 0.4s;
}
.gallery-item:hover video {
  transform: scale(1.04);
  filter: grayscale(10%) brightness(0.9);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.06),
    transparent
  );
}

/* ══════════ VIDEO SECTION ══════════ */
.video-section {
  padding: 80px 0;
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.video-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  cursor: pointer;
}
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%) brightness(0.65);
  transition:
    filter 0.4s,
    transform 0.5s;
}
.video-card:hover img {
  filter: grayscale(10%) brightness(0.85);
  transform: scale(1.03);
}
.video-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 9, 11, 0.7) 0%,
    transparent 50%
  );
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition:
    background 0.3s,
    transform 0.3s;
}
.video-card:hover .video-play {
  background: rgba(201, 168, 76, 0.35);
  transform: translate(-50%, -50%) scale(1.1);
}
.video-label {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* ══════════ CASES ══════════ */
.cases-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.case-item {
  background: var(--bg2);
}
.case-toggle {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  color: var(--text);
  transition: background 0.25s;
}
.case-toggle:hover {
  background: var(--bg3);
}
.case-toggle-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.case-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--muted2);
  min-width: 36px;
}
.case-toggle h3 {
  font-size: 18px;
  font-weight: 400;
}
.case-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.case-toggle:hover .case-icon {
  border-color: var(--gold);
}
.case-item.open .case-icon {
  transform: rotate(45deg);
}
.case-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.case-body-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.case-col {
  padding: 22px 32px;
}
.case-col + .case-col {
  border-left: 1px solid var(--border);
}
.case-col-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.case-col p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.case-item.open .case-body {
  max-height: 260px;
}

/* ══════════ CALCULATOR ══════════ */
.calc-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.calc-info p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 18px;
}
.calc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.calc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.calc-features li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.calc-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
}
.calc-field {
  margin-bottom: 18px;
}
.calc-field label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.calc-field select,
.calc-field input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  appearance: none;
  transition: border-color 0.2s;
  outline: none;
}
.calc-field select:focus,
.calc-field input:focus {
  border-color: var(--gold);
}
.calc-select-wrap {
  position: relative;
}
.calc-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-top-color: var(--muted);
  pointer-events: none;
}
.calc-result {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-row-label {
  font-size: 12px;
  color: var(--muted);
}
.calc-row-val {
  font-size: 14px;
  color: var(--text);
}
.calc-total {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
}
.calc-total .calc-row-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.calc-total .calc-row-val {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: var(--gold);
}
.calc-cta {
  width: 100%;
  margin-top: 18px;
  justify-content: center;
}

/* ══════════ LEGAL ══════════ */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.legal-card {
  background: var(--bg2);
  padding: 28px 24px;
  border-bottom: 2px solid transparent;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.legal-card:hover {
  background: var(--bg3);
  border-bottom-color: var(--gold);
}
.legal-card-icon {
  color: var(--gold);
  margin-bottom: 14px;
}
.legal-card h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
}
.legal-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ══════════ FAQ ══════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  max-width: 760px;
}
.faq-item {
  background: var(--bg2);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  transition: background 0.25s;
}
.faq-q:hover {
  background: var(--bg3);
}
.faq-chevron {
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-a-inner {
  padding: 0 26px 18px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item.open .faq-a {
  max-height: 200px;
}

/* ══════════ CTA BANNER ══════════ */
.cta-banner {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=1600&q=80&auto=format&fit=crop")
    center/cover no-repeat;
  opacity: 0.06;
  filter: grayscale(100%);
}
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(201, 168, 76, 0.07),
    transparent 65%
  );
}
.cta-banner-content {
  position: relative;
  z-index: 1;
}
.cta-banner h2 {
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 15px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════ FOOTER ══════════ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 52px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-brand span {
  color: var(--gold);
}
.footer-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h5 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: var(--muted2);
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-soc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition:
    border-color 0.2s,
    color 0.2s;
}
.footer-soc:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ══════════ ANIMATIONS ══════════ */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-up {
  opacity: 0;
}
.fade-up.visible {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.fade-up:nth-child(1) {
  animation-delay: 0.05s;
}
.fade-up:nth-child(2) {
  animation-delay: 0.12s;
}
.fade-up:nth-child(3) {
  animation-delay: 0.19s;
}
.fade-up:nth-child(4) {
  animation-delay: 0.26s;
}
.fade-up:nth-child(5) {
  animation-delay: 0.33s;
}
.fade-up:nth-child(6) {
  animation-delay: 0.4s;
}

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .legal-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .burger {
    display: flex;
  }
  .about-grid,
  .calc-wrap {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding: 80px 0 60px;
  }
  .section-pad {
    padding: 72px 0;
  }
}
@media (max-width: 680px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .case-body-inner {
    grid-template-columns: 1fr;
  }
  .case-col + .case-col {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
  }
  .hstat {
    border-right: 1px solid var(--border);
  }
  .hstat:last-child {
    border-right: none;
  }
  .container {
    padding: 0 16px;
  }
  .about-gallery {
    grid-template-rows: 160px 160px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .calc-card {
    padding: 20px;
  }
  .section-pad {
    padding: 56px 0;
  }
}
@media (max-width: 400px) {
  h1 {
    font-size: 32px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hstat {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}
