/* ============================================
   PAPERWORKS LEGAL — STYLESHEET
   Aesthetic: Refined Dark Luxury + Gold
============================================ */

:root {
  --bg:        #0b0b0b;
  --bg2:       #111111;
  --bg3:       #161616;
  --gold:      #c9a84c;
  --gold-light:#e2c07a;
  --gold-dim:  #8a6e32;
  --white:     #f5f0e8;
  --white-dim: #a09890;
  --border:    rgba(201,168,76,0.18);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', sans-serif;
  --radius:    4px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
}

/* ---- ANIMATIONS ---- */
.animate-up {
  opacity: 0;
  transform: translateY(32px);
  animation: fadeUp 0.9s cubic-bezier(0.4,0,0.2,1) forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

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

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  background: transparent;
  transition: background var(--transition), border-bottom var(--transition);
}
.nav.scrolled {
  background: rgba(11,11,11,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
}
.nav__logo-mark { color: var(--gold); font-size: 1.2rem; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-weight: 400;
}
.nav__links a {
  color: var(--white-dim);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--gold); }
.nav__cta {
  color: var(--gold) !important;
  border: 1px solid var(--border);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius);
  transition: background var(--transition) !important;
}
.nav__cta:hover { background: rgba(201,168,76,0.1) !important; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 99;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu ul li { margin: 1.5rem 0; }
.mobile-menu ul li a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--white);
  transition: color var(--transition);
}
.mobile-menu ul li a:hover { color: var(--gold); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(201,168,76,0.04) 0%, transparent 60%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero__lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 59px,
    rgba(201,168,76,0.04) 60px
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.8rem;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}
.hero__subtitle {
  font-size: 1.05rem;
  color: var(--white-dim);
  margin-bottom: 2.8rem;
  line-height: 1.8;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--white-dim);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.hero__stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 4rem;
  padding: 1.8rem 2.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat__label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--white-dim);
  text-transform: uppercase;
  margin-top: 0.3rem;
  display: block;
}
.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn--primary {
  background: var(--gold);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.25);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn--full { width: 100%; text-align: center; }

/* ---- SECTION HEADERS ---- */
.section__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section__title em { font-style: italic; color: var(--gold); }
.section__desc { color: var(--white-dim); font-size: 1rem; }
.section__header { text-align: center; margin-bottom: 4rem; }

/* ---- ABOUT ---- */
.about { background: var(--bg2); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: center;
}
.about__visual { position: relative; }
.about__card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  position: relative;
}
.about__card::before {
  content: '';
  position: absolute;
  top: -1px; left: 2rem;
  width: 60px; height: 2px;
  background: var(--gold);
}
.about__icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1.5rem;
}
.about__card-quote {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--white);
}
.about__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--bg);
  padding: 1rem 1.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.about__body {
  color: var(--white-dim);
  margin-bottom: 1.2rem;
}
.about__list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.about__list li {
  font-size: 0.9rem;
  color: var(--white-dim);
  padding-left: 0.2rem;
}

/* ---- SERVICES ---- */
.services { background: var(--bg); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  transition: background var(--transition);
  cursor: default;
}
.service-card:hover { background: var(--bg3); }
.service-card:hover .service-card__title { color: var(--gold); }
.service-card__icon {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  display: block;
}
.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  transition: color var(--transition);
}
.service-card__desc {
  font-size: 0.88rem;
  color: var(--white-dim);
  line-height: 1.7;
}

/* ---- WHY US ---- */
.why { background: var(--bg2); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.why__item {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.why__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 300;
}
.why__item h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: var(--white);
}
.why__item p {
  font-size: 0.88rem;
  color: var(--white-dim);
  line-height: 1.7;
}

/* ---- CONTACT ---- */
.contact { background: var(--bg); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: start;
}
.contact__body {
  color: var(--white-dim);
  margin: 1.5rem 0 2rem;
  line-height: 1.8;
}
.contact__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact__details li {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--white-dim);
}
.contact__detail-icon { font-size: 1rem; flex-shrink: 0; }

.contact__form-wrap {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact__form { display: flex; flex-direction: column; gap: 1.2rem; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form__group label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
}
.form__group input,
.form__group select,
.form__group textarea {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border var(--transition);
  resize: vertical;
}
.form__group input::placeholder,
.form__group textarea::placeholder {
  color: rgba(160,152,144,0.4);
}
.form__group select option { background: var(--bg2); }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--gold-dim);
}
.form__status {
  text-align: center;
  font-size: 0.88rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  min-height: 1.5rem;
}
.form__status.success { color: #6fcf97; }
.form__status.error { color: #eb5757; }

/* ---- FOOTER ---- */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__brand .nav__logo-mark { font-size: 1.5rem; color: var(--gold); }
.footer__brand .nav__logo-text { font-size: 0.85rem; letter-spacing: 0.15em; }
.footer__brand p {
  font-size: 0.85rem;
  color: var(--white-dim);
  margin-top: 0.5rem;
  max-width: 280px;
}
.footer__links h5 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer__links ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer__links ul li a {
  font-size: 0.88rem;
  color: var(--white-dim);
  transition: color var(--transition);
}
.footer__links ul li a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--white-dim);
  opacity: 0.6;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__badge { bottom: -1rem; right: 1rem; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1/-1; }
}

@media (max-width: 768px) {
  .section { padding: 5rem 0; }
  .nav__links { display: none; }
  .nav { padding: 1.2rem 1.5rem; }
  .nav__hamburger { display: flex; }
  .hero__stats {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .stat__divider { width: 40px; height: 1px; }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .about__badge { position: relative; bottom: auto; right: auto; display: inline-block; margin-top: 1rem; }
}
