@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --black: #0a0a0a;
  --deep: #111418;
  --surface: #161b22;
  --card: #1c2330;
  --border: #2a3441;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: rgba(201,168,76,0.15);
  --white: #f5f2ec;
  --grey: #8a9bb0;
  --light-grey: #c4cdd8;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  --nav-h: 80px;
  --max-w: 1280px;
  --section-pad: 120px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

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

/* ─── TYPOGRAPHY ─── */
.display { font-family: var(--font-display); }
h1 { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.15; }
h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 400; }
p { color: var(--light-grey); font-weight: 300; font-size: 0.95rem; }

.gold { color: var(--gold); }
em { font-style: italic; color: var(--gold); }

.label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}

/* ─── LAYOUT ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section { padding: var(--section-pad) 0; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border: 1px solid;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 0.08; }

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-outline {
  background: transparent;
  border-color: rgba(201,168,76,0.5);
  color: var(--gold);
}
.btn-outline:hover { border-color: var(--gold); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.5s, backdrop-filter 0.5s;
}
nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-grey);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  color: var(--gold) !important;
  border: 1px solid rgba(201,168,76,0.4);
  padding: 0.6rem 1.4rem;
  transition: border-color 0.3s, background 0.3s !important;
}
.nav-cta:hover { border-color: var(--gold) !important; background: var(--gold-dim); }

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

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #111820 50%, #0d1520 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.hero-img {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 55%;
  object-fit: cover;
  opacity: 0.25;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--black) 35%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
  max-width: 720px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero-eyebrow span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero h1 { margin-bottom: 2rem; }
.hero-sub {
  font-size: 1rem;
  color: var(--grey);
  max-width: 500px;
  margin-bottom: 3rem;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  margin-top: 5rem;
  display: flex;
  gap: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 0.4rem;
}

/* ─── ABOUT STRIP ─── */
.about-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 4rem;
  align-items: center;
}
.about-strip-divider { background: var(--border); height: 80px; width: 1px; margin: 0 auto; }
.about-strip h2 { margin-bottom: 1.5rem; }
.about-strip p { max-width: 500px; line-height: 1.9; }
.trust-items { display: flex; flex-direction: column; gap: 1rem; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--light-grey);
}
.trust-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--deep);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover { background: var(--surface); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}
.service-card:hover .service-num { color: var(--gold-dim); }
.service-card h3 { margin-bottom: 0.8rem; font-size: 1.25rem; }
.service-card p { font-size: 0.85rem; line-height: 1.7; }
.service-tag {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.3rem 0.7rem;
}

/* ─── BEFORE/AFTER ─── */
.ba-section { background: var(--deep); }
.ba-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.ba-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: ew-resize;
  user-select: none;
  aspect-ratio: 4/3;
}
.ba-after, .ba-before {
  position: absolute;
  inset: 0;
}
.ba-after img, .ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-before {
  clip-path: inset(0 50% 0 0);
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  cursor: ew-resize;
}
.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1rem;
}
.ba-label-before, .ba-label-after {
  position: absolute;
  bottom: 1rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.7);
  padding: 0.3rem 0.8rem;
  backdrop-filter: blur(4px);
}
.ba-label-before { left: 1rem; }
.ba-label-after { right: 1rem; }
.ba-text h2 { margin-bottom: 1.5rem; }
.ba-text p { margin-bottom: 2rem; }

/* ─── TESTIMONIALS ─── */
.testimonials-section { background: var(--surface); }
.testimonials-header { text-align: center; margin-bottom: 4rem; }
.testimonials-header h2 { margin-bottom: 1rem; }
.stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold-dim);
  line-height: 1;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}
.testimonial-author { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: var(--gold); }
.testimonial-location { font-size: 0.7rem; color: var(--grey); margin-top: 0.3rem; }

/* ─── PARTNERS ─── */
.partners-section { padding: 80px 0; }
.partners-header { text-align: center; margin-bottom: 3rem; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.partner-card {
  background: var(--deep);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: background var(--transition);
}
.partner-card:hover { background: var(--surface); }
.partner-icon { font-size: 1.5rem; }
.partner-name { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; }
.partner-desc { font-size: 0.75rem; color: var(--grey); }

/* ─── CTA ─── */
.cta-section {
  background: linear-gradient(135deg, var(--surface) 0%, var(--deep) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,168,76,0.05) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: 1.5rem; }
.cta-section p { max-width: 500px; margin: 0 auto 3rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.8; max-width: 300px; margin-bottom: 1.5rem; }
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact a { font-size: 0.8rem; color: var(--grey); transition: color 0.3s; }
.footer-contact a:hover { color: var(--gold); }
.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col ul li a { font-size: 0.82rem; color: var(--grey); transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--grey);
}
.footer-badges { display: flex; gap: 1.5rem; }
.footer-badge {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.3rem 0.7rem;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 0 4rem;
  background: var(--deep);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(201,168,76,0.04) 0%, transparent 70%);
}

/* ─── CONTACT PAGE ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 2.5rem; }
.contact-item-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.contact-item-value { font-size: 0.9rem; color: var(--light-grey); }
.contact-item-value a { transition: color 0.3s; }
.contact-item-value a:hover { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  transition: border-color 0.3s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--surface); }

/* ─── PORTFOLIO PAGE ─── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--border);
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay-text { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

/* ─── ABOUT PAGE ─── */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: grayscale(20%); }
.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: -1rem;
  border: 1px solid var(--gold);
  opacity: 0.3;
  z-index: -1;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.5rem; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.value-item { padding: 1.5rem; border: 1px solid var(--border); }
.value-item h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--gold); }
.value-item p { font-size: 0.8rem; }

/* ─── SCROLL ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ─── MOBILE ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
  .about-strip-inner { grid-template-columns: 1fr; }
  .about-strip-divider { display: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 70px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-size: 1.8rem;
    font-family: var(--font-display);
    font-weight: 300;
    color: var(--white);
    transition: color 0.3s;
  }
  .mobile-menu a:hover { color: var(--gold); }
  .mobile-close {
    position: absolute;
    top: 1.5rem; right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--grey);
  }
  .hero-img { width: 100%; opacity: 0.1; }
  .hero-overlay { background: linear-gradient(to right, var(--black) 0%, rgba(10,10,10,0.85) 100%); }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .ba-container { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .hero-buttons { flex-direction: column; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
}
