:root {
  --black: #090909;
  --black-2: #111111;
  --gold: #c89b3c;
  --gold-2: #d8b86a;
  --gold-3: #f3d88c;
  --white: #ffffff;
  --muted: #cfcfcf;
  --line: rgba(216, 184, 106, 0.2);
  --glass: rgba(17, 17, 17, 0.56);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(200, 155, 60, 0.12), transparent 25rem),
    linear-gradient(180deg, #060606 0%, var(--black) 40%, #050505 100%);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
}

body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(216, 184, 106, 0.35); color: var(--white); }

.cursor-dot, .cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-3);
  box-shadow: 0 0 18px rgba(243, 216, 140, 0.85);
}
.cursor-glow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(243, 216, 140, 0.55);
  border-radius: 50%;
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}
.cursor-glow.active {
  width: 76px;
  height: 76px;
  border-color: rgba(243, 216, 140, 0.95);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  gap: 32px;
  align-content: center;
  background: #030303;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.loader img {
  width: min(360px, 70vw);
  filter: drop-shadow(0 0 30px rgba(200, 155, 60, 0.45));
  animation: logoFloat 2.6s ease-in-out infinite;
}
.loader-line {
  width: min(420px, 72vw);
  height: 1px;
  background: rgba(216, 184, 106, 0.18);
  overflow: hidden;
}
.loader-line span {
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-3), transparent);
  animation: loadLine 1.5s ease-in-out infinite;
}
.loader.hide { opacity: 0; visibility: hidden; }

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 1000;
  width: min(1180px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid rgba(216, 184, 106, 0.18);
  border-radius: 999px;
  background: rgba(9, 9, 9, 0.58);
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--serif);
  color: var(--gold-3);
  font-size: 0.82rem;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand img { width: 44px; height: 28px; object-fit: contain; }
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.9vw, 24px);
  font-size: 0.82rem;
  color: var(--muted);
}
.site-nav a {
  position: relative;
  padding: 8px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 1px;
  background: var(--gold-3);
  transition: width 0.28s ease;
}
.site-nav a:hover::after { width: 100%; }
.site-nav .nav-profile {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid rgba(216, 184, 106, 0.42);
  border-radius: 999px;
  color: #17120a;
  background: linear-gradient(135deg, var(--gold), var(--gold-3));
  box-shadow: 0 12px 30px rgba(200, 155, 60, 0.16);
}
.site-nav .nav-profile::after { display: none; }
.site-nav .nav-profile:hover {
  box-shadow: 0 16px 38px rgba(200, 155, 60, 0.26);
}
.nav-toggle { display: none; }

.section {
  position: relative;
  padding: clamp(84px, 10vw, 150px) clamp(18px, 5vw, 72px);
}
.section-title, h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: 0;
}
h1 {
  margin: 0;
  max-width: 930px;
  font-size: clamp(3.4rem, 9vw, 9.4rem);
}
h2 {
  margin: 0 0 28px;
  font-size: clamp(2.2rem, 5vw, 5.8rem);
}
h3 { margin: 0 0 16px; font-size: clamp(1.25rem, 2.2vw, 2rem); }
p { color: var(--muted); margin: 0 0 18px; }
.lead { font-size: clamp(1rem, 1.5vw, 1.28rem); color: #ececec; }
.section-kicker, .eyebrow {
  margin: 0 0 18px;
  color: var(--gold-3);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
  align-items: center;
  overflow: hidden;
  padding-top: 130px;
}
#particleCanvas, .hero-bg, .hero-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#particleCanvas { z-index: 1; opacity: 0.8; }
.hero-bg {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.88), rgba(0,0,0,0.58) 46%, rgba(0,0,0,0.78)),
    linear-gradient(180deg, rgba(0,0,0,0.15), var(--black)),
    url("assets/images/pdf-extracted/pdf-image-02.jpg") center / cover;
  filter: saturate(0.85) contrast(1.08);
  transform: scale(1.05);
}
.hero-light {
  background: linear-gradient(115deg, transparent 10%, rgba(243, 216, 140, 0.16) 43%, transparent 58%);
  mix-blend-mode: screen;
  animation: lightSweep 8s ease-in-out infinite;
}
.hero-content, .hero-cards { position: relative; z-index: 2; }
.hero-copy {
  max-width: 720px;
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  color: #e7e1d5;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid rgba(216, 184, 106, 0.35);
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: transform 0.7s ease;
}
.btn:hover::before { transform: translateX(120%) skewX(-18deg); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-3));
  color: #14110b;
  box-shadow: 0 18px 44px rgba(200, 155, 60, 0.22);
}
.btn-ghost { color: var(--gold-3); background: rgba(255,255,255,0.03); }

.hero-cards {
  display: grid;
  gap: 18px;
  justify-self: end;
  width: min(330px, 100%);
}
.float-card {
  padding: 22px;
  border: 1px solid rgba(216, 184, 106, 0.2);
  background: rgba(17, 17, 17, 0.52);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  color: #f5efe3;
  animation: cardFloat 5s ease-in-out infinite;
}
.float-card:nth-child(2), .float-card:nth-child(4) { transform: translateX(-42px); animation-delay: -1.8s; }
.float-card span { display: block; color: var(--gold-2); font-size: 0.74rem; margin-bottom: 8px; }
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: 3;
  width: 26px;
  height: 44px;
  border: 1px solid rgba(216, 184, 106, 0.45);
  border-radius: 999px;
}
.scroll-cue span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-3);
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
}
.reverse { grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.1fr); }
.image-frame, .logo-showcase, .founder-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--black-2);
  box-shadow: 0 30px 100px rgba(0,0,0,0.45);
}
.image-frame::after, .founder-media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(243, 216, 140, 0.22);
  pointer-events: none;
}
.image-frame img, .founder-media img { width: 100%; height: 650px; object-fit: cover; }

.vision { background: linear-gradient(180deg, rgba(17,17,17,0.7), rgba(9,9,9,0)); }
.vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: clamp(34px, 5vw, 74px);
}
.mission-list {
  position: relative;
  display: grid;
  gap: 16px;
}
.mission-list::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(var(--gold-3), transparent);
}
.mission-item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
}
.mission-item span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0b0b0b;
  color: var(--gold-3);
  border: 1px solid rgba(216, 184, 106, 0.35);
}
.mission-item p { margin: 0; }

.card-grid, .practice-grid, .team-grid {
  display: grid;
  gap: 18px;
}
.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lux-card, .practice-card, .team-group {
  position: relative;
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  overflow: hidden;
}
.lux-card::before, .practice-card::before, .team-group::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(135deg, transparent, rgba(243,216,140,0.55), transparent) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.lux-card:hover::before, .practice-card:hover::before, .team-group:hover::before { opacity: 1; }
.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: var(--gold-3);
  border: 1px solid rgba(216, 184, 106, 0.32);
  border-radius: 50%;
}

.founder { overflow: hidden; }
.founder::before {
  content: "";
  position: absolute;
  right: -18vw;
  top: 8vw;
  width: 55vw;
  height: 55vw;
  border: 1px solid rgba(216,184,106,0.14);
  border-radius: 50%;
}
.founder-wrap {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}
.founder-media {
  display: grid;
  place-items: center;
  padding: 14px;
  border-color: rgba(216, 184, 106, 0.34);
}
.founder-media img {
  width: 100%;
  height: auto;
  max-height: 820px;
  object-fit: contain;
  object-position: center;
}
.founder-role { color: var(--gold-3); font-size: 1.1rem; }

.practice-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.practice-card {
  min-height: 150px;
  display: flex;
  align-items: end;
  color: #f4ead9;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.55rem);
}
.practice-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 70px rgba(200, 155, 60, 0.12);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 0;
}
.stat {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
}
.stat strong {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7rem);
  color: var(--gold-3);
  line-height: 1;
}
.stat span { color: var(--muted); }

.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 34px; }
.team-group { min-height: auto; }
.team-group h3 { color: var(--gold-3); font-size: 1.28rem; }
.team-group p { margin: 0 0 8px; color: #eee; }
.gallery-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}
.gallery-head .section-title { max-width: 900px; font-size: clamp(2rem, 4vw, 4.6rem); }
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.filters button {
  min-height: 40px;
  padding: 8px 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  cursor: pointer;
}
.filters button.active, .filters button:hover { color: #111; background: var(--gold-3); }
.masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  background: #111;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.88);
  transition: transform 0.75s ease, filter 0.75s ease;
}
.gallery-item:hover img { transform: scale(1.08); filter: saturate(1) brightness(1); }
.gallery-item.hidden { display: none; }

.logo-showcase { display: grid; place-items: center; padding: 42px; }
.logo-showcase img { filter: drop-shadow(0 20px 44px rgba(200,155,60,0.28)); }
.philosophy-list p {
  padding: 18px 0;
  border-bottom: 1px solid rgba(216,184,106,0.12);
}

.clients { overflow: hidden; }
.logo-marquee {
  margin-top: 34px;
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  padding: 28px 0;
  animation: marquee 34s linear infinite;
}
.logo-track img {
  width: 180px;
  height: 96px;
  object-fit: contain;
  padding: 16px;
  background: #f8f8f8;
  filter: grayscale(1);
  transition: filter 0.35s ease, transform 0.35s ease;
}
.logo-track img:hover { filter: grayscale(0); transform: translateY(-5px); }

.consultation {
  min-height: 560px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.68), rgba(0,0,0,0.82)),
    url("assets/images/pdf-extracted/pdf-image-29.jpg") center / cover fixed;
}
.cta-content { position: relative; z-index: 1; max-width: 900px; }
.cta-content h2 { font-size: clamp(2.8rem, 7vw, 7rem); }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(34px, 5vw, 78px);
}
.contact-line {
  display: block;
  margin-bottom: 18px;
  color: #eee;
}
.map-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--gold-3);
  border-bottom: 1px solid currentColor;
}
.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--gold-3);
  font-size: 0.85rem;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1px solid rgba(216,184,106,0.22);
  background: rgba(0,0,0,0.32);
  color: var(--white);
  padding: 13px 14px;
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: var(--gold-3);
  box-shadow: 0 0 0 3px rgba(216,184,106,0.12);
}

.footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) 1fr;
  gap: 30px;
  padding: 54px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #050505;
}
.footer img { width: 230px; margin-bottom: 16px; }
.footer nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
  color: var(--muted);
}
.footer a:hover { color: var(--gold-3); }
.copyright { grid-column: 1 / -1; margin: 0; color: #888; }
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-3));
  color: #111;
  font-size: 1.4rem;
  box-shadow: 0 16px 44px rgba(200,155,60,0.32);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0,0,0,0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-height: 88vh;
  max-width: 92vw;
  object-fit: contain;
  border: 1px solid var(--line);
}
.lightbox button {
  position: absolute;
  right: 24px;
  top: 20px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 3rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.75,.2,1);
}
.reveal.in-view { opacity: 1; transform: none; }
.text-mask {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s cubic-bezier(.2,.75,.2,1), opacity 0.9s ease, transform 0.9s ease;
}
.text-mask.in-view { clip-path: inset(0 0 0 0); }

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.9; }
  50% { transform: translateY(-10px) scale(1.02); opacity: 1; }
}
@keyframes loadLine {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(230%); }
}
@keyframes lightSweep {
  0%, 100% { transform: translateX(-25%); opacity: 0.35; }
  50% { transform: translateX(25%); opacity: 0.9; }
}
@keyframes cardFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
@keyframes scrollDot {
  0% { transform: translate(-50%, 0); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translate(-50%, 18px); opacity: 0; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1100px) {
  .hero, .split-layout, .reverse, .vision-grid, .founder-wrap, .contact {
    grid-template-columns: 1fr;
  }
  .hero-cards { justify-self: start; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-top: 34px; }
  .float-card:nth-child(2), .float-card:nth-child(4) { transform: none; }
  .six, .practice-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masonry { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .cursor-dot, .cursor-glow { display: none; }
  .site-header { border-radius: 28px; align-items: flex-start; }
  .brand span { max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
  .nav-toggle {
    display: grid;
    gap: 6px;
    width: 44px;
    height: 38px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--gold-3);
  }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(9,9,9,0.94);
  }
  .site-nav .nav-profile {
    grid-column: 1 / -1;
  }
  .site-header.open .site-nav { display: grid; }
  .hero { padding-top: 120px; }
  .hero-cards, .six, .practice-grid, .team-grid, .stats { grid-template-columns: 1fr; }
  .gallery-head { display: block; }
  .filters { justify-content: flex-start; margin-top: 18px; }
  .masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery-item.wide { grid-column: span 2; }
  .footer { grid-template-columns: 1fr; }
  .footer nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .section { padding-inline: 16px; }
  h1 { font-size: clamp(3rem, 18vw, 4.6rem); }
  h2 { font-size: clamp(2rem, 12vw, 3.2rem); }
  .hero-actions { display: grid; }
  .hero-cards { grid-template-columns: 1fr; }
  .image-frame img { height: 430px; }
  .founder-media img {
    height: auto;
    max-height: none;
  }
  .masonry { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item.wide, .gallery-item.tall { grid-column: auto; grid-row: auto; }
  .footer nav { grid-template-columns: 1fr; }
}

.founder .founder-media {
  overflow: visible;
}

.founder .founder-media img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
