/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --logo-bg: #2b2b2b;
  --dark: #232323;
  --dark2: #2b2b2b;
  --dark3: #353535;
  --accent: #c9a45c;
  --accent2: #dfc07a;
  --accent-deep: #a88642;
  --white: #ffffff;
  --gray: #6b6b6b;
  --light: #f4f3f0;
  --border: rgba(43,43,43,0.1);
  --gold-glow: rgba(201,164,92,0.14);
  --gold-soft: rgba(201,164,92,0.1);
  --gold-grid: rgba(201,164,92,0.05);
  --radius: 12px;
  --radius-lg: 20px;
  --font-body: 'DM Sans', sans-serif;
  --font-serif: 'DM Serif Display', serif;
  --shadow: 0 2px 20px rgba(43,43,43,0.08);
  --shadow-lg: 0 8px 40px rgba(43,43,43,0.14);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.6; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* ===== NAV ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 32px;
  height: 64px;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 16px;
}
.nav-logo { justify-self: start; }
.nav-center {
  justify-self: center; justify-content: center;
}
.nav-right { justify-self: end; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dark); }
.logo-mark {
  width: 38px; height: 38px; background: var(--dark2);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
  flex-shrink: 0;
}
.logo-mark.small { width: 32px; height: 32px; font-size: 10px; border-radius: 7px; }
.logo-text { font-size: 14px; font-weight: 500; color: var(--dark); white-space: nowrap; }
.nav-logo-slot {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 9px; overflow: hidden;
  background: var(--logo-bg);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.nav-center { display: flex; gap: 8px; flex-shrink: 0; }
.nav-center a {
  font-size: 14px; color: var(--gray); text-decoration: none;
  padding: 6px 14px; border-radius: 8px; transition: all 0.2s;
  min-width: 7.75rem; text-align: center; white-space: nowrap;
  box-sizing: border-box;
}
.nav-center a:hover { color: var(--dark); background: var(--light); }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  font-size: 14px; color: var(--gray);
  padding: 6px 14px; border-radius: 8px;
  min-width: 7.75rem; white-space: nowrap; box-sizing: border-box;
  border: none; background: transparent;
  cursor: pointer; font-family: var(--font-body);
  transition: all 0.2s;
}
.nav-dropdown:hover .nav-dropdown-trigger { color: var(--dark); background: var(--light); }
.nav-dropdown-trigger i { font-size: 14px; transition: transform 0.2s; }
.nav-dropdown-trigger[aria-expanded="true"] i { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 280px; padding: 8px; padding-top: 10px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  z-index: 20;
}
.nav-dropdown-trigger[aria-expanded="true"] + .nav-dropdown-menu { display: block; }
.nav-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; font-size: 14px; color: var(--dark);
  text-decoration: none; border-radius: 8px;
  transition: background 0.2s;
}
.nav-dropdown-item:hover { background: var(--light); }
.nav-dropdown-item i {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-soft); border-radius: 7px;
  font-size: 15px; color: var(--accent-deep);
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: flex; background: var(--light); border-radius: 8px; padding: 3px; }
.lang-btn {
  padding: 4px 12px; font-size: 13px; border: none; border-radius: 6px;
  cursor: pointer; background: transparent; color: var(--gray); font-family: var(--font-body);
  transition: all 0.2s;
}
.lang-btn.active { background: var(--dark2); color: var(--white); }
.nav-social { display: flex; align-items: center; gap: 4px; }
.nav-social-link {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; color: var(--gray); text-decoration: none;
  font-size: 18px; transition: all 0.2s;
}
.nav-social-link:hover { color: var(--accent-deep); background: var(--gold-soft); }
.nav-cta {
  padding: 8px 20px; background: var(--dark2); color: var(--white);
  border-radius: 9px; font-size: 14px; font-weight: 500; text-decoration: none;
  min-width: 8.5rem; text-align: center; white-space: nowrap; box-sizing: border-box;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--dark3); transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 120px 32px 80px;
  background: var(--dark2); position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--gold-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold-grid) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero::before {
  content: ''; position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 1100px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(42px, 6vw, 76px); font-weight: 300;
  color: var(--white); line-height: 1.1; margin-bottom: 24px;
}
.hero-title .serif { font-family: var(--font-serif); font-weight: 400; color: var(--accent); }
.hero-desc {
  font-size: 18px; color: rgba(255,255,255,0.65); max-width: 520px;
  margin-bottom: 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 32px; background: var(--accent); color: var(--dark);
  border-radius: 10px; font-size: 15px; font-weight: 500; text-decoration: none;
  border: none; cursor: pointer; transition: all 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }
.btn-primary.full-width { width: 100%; text-align: center; }
.btn-ghost {
  padding: 14px 32px; background: transparent;
  border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.8);
  border-radius: 10px; font-size: 15px; text-decoration: none;
  transition: all 0.2s; display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* ===== SERVICES ===== */
.services { padding: 100px 0; background: var(--light); }
.section-header { margin-bottom: 56px; }
.section-eyebrow {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 10px;
}
.section-header h2 { font-size: 36px; font-weight: 400; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--gray); max-width: 560px; line-height: 1.7; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative; overflow: hidden;
  cursor: pointer;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal .service-icon-wrap,
.scroll-reveal .service-page-card > i,
.scroll-reveal .feature-icon {
  transform: scale(0.75) translateY(12px);
  opacity: 0;
  transition:
    transform 0.75s cubic-bezier(0.34, 1.45, 0.64, 1),
    opacity 0.65s ease;
}
.scroll-reveal.is-visible .service-icon-wrap,
.scroll-reveal.is-visible .service-page-card > i,
.scroll-reveal.is-visible .feature-icon {
  transform: scale(1) translateY(0);
  opacity: 1;
  transition-delay: 0.18s;
}
.service-card.scroll-reveal.is-visible:hover { transform: translateY(-4px); }
.service-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.service-more {
  display: inline-block; margin-top: 16px; font-size: 13px;
  font-weight: 500; color: var(--accent-deep);
}
.service-card:hover .service-more { color: var(--accent); }
.service-icon-wrap {
  width: 48px; height: 48px; background: var(--gold-soft);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--accent-deep); margin-bottom: 20px;
}
.service-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 20px; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-list li {
  font-size: 13px; color: var(--gray); padding: 8px 0;
  border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px;
}
.service-list li::before { content: '→'; font-size: 12px; color: var(--accent-deep); }

.service-page {
  position: fixed; inset: 0; z-index: 2000;
  overflow-y: auto; background: var(--white);
  opacity: 0; visibility: hidden;
  transform: translateY(24px);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s;
}
.service-page.open { opacity: 1; visibility: visible; transform: translateY(0); }
.service-page-navbar {
  position: sticky; top: 0; z-index: 2001;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.service-page-hero {
  position: relative; padding: 48px 0 72px;
  background: var(--dark2); overflow: hidden;
}
.service-page-hero::before {
  content: ''; position: absolute;
  top: -120px; right: -120px; width: 400px; height: 400px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}
.service-page-hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.service-page-hero-content { max-width: 560px; }
.service-page-hero-media {
  border-radius: var(--radius-lg); overflow: hidden;
  border: none; box-shadow: none;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
}
.service-page-hero-media img {
  width: 100%; height: auto; max-height: 420px;
  object-fit: contain; display: block;
  background: var(--dark2);
}
.service-page-hero-icon {
  width: 64px; height: 64px; background: var(--gold-soft);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--accent); margin-bottom: 24px;
}
.service-page-hero h1 {
  font-size: clamp(36px, 5vw, 52px); font-weight: 400;
  color: var(--white); line-height: 1.15; margin-bottom: 20px;
}
.service-page-lead {
  font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 560px;
}
.service-page-body { padding: 72px 0 100px; background: var(--white); }
.service-page-intro { max-width: 680px; margin-bottom: 56px; }
.service-page-intro h2 { font-size: 28px; font-weight: 400; margin-bottom: 16px; }
.service-page-intro p { font-size: 16px; color: var(--gray); line-height: 1.75; }
.service-page-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-bottom: 72px;
}
.service-page-card {
  padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--light);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-page-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-page-card.scroll-reveal.is-visible:hover { transform: translateY(-3px); }
.service-page-card i {
  font-size: 24px; color: var(--accent-deep); margin-bottom: 16px; display: block;
}
.service-page-card h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.service-page-card p { font-size: 14px; color: var(--gray); line-height: 1.65; }
.service-page-gallery { margin-bottom: 72px; }
.service-page-gallery[hidden] { display: none; }
.service-page-gallery h2 { font-size: 24px; font-weight: 400; margin-bottom: 8px; }
.service-gallery-sub { font-size: 15px; color: var(--gray); margin-bottom: 28px; }
.service-gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.gallery-item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: none; background: var(--white);
  aspect-ratio: 4 / 3; width: 100%; box-shadow: none;
}
.gallery-item--featured {
  grid-column: 1 / -1; aspect-ratio: 16 / 9; max-height: 440px;
}
.gallery-item--compact {
  grid-column: span 1; max-width: 100%; aspect-ratio: 4 / 3;
}
.gallery-item--silent { pointer-events: none; user-select: none; }
.gallery-item--silent video { pointer-events: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--white); }
.gallery-item--video video {
  width: 100%; height: 100%; object-fit: cover; display: block; background: var(--dark2);
}
.gallery-video-play,
.gallery-video-sound {
  position: absolute; z-index: 2;
  width: 40px; height: 40px; border: none; border-radius: 50%;
  background: rgba(43,43,43,0.72); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; backdrop-filter: blur(6px);
  transition: background 0.2s, transform 0.2s;
}
.gallery-video-play:hover,
.gallery-video-sound:hover { background: rgba(43,43,43,0.9); transform: scale(1.05); }
.gallery-video-play { bottom: 14px; left: 14px; }
.gallery-video-sound { bottom: 14px; right: 14px; }
.gallery-item--video:hover .gallery-video-play,
.gallery-item--video:hover .gallery-video-sound { opacity: 1; }
.gallery-item--compare {
  aspect-ratio: 4 / 3;
  padding: 0; background: var(--white);
}
.compare-slider {
  position: absolute; inset: 0;
  overflow: hidden; user-select: none;
}
.compare-photo-area {
  position: absolute; overflow: hidden;
  cursor: ew-resize; touch-action: none;
}
.compare-img--after {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.compare-before-wrap {
  position: absolute; top: 0; left: 0; height: 100%;
  overflow: hidden; z-index: 2;
}
.compare-img--before {
  position: absolute; top: 0; left: 0;
  height: 100%; max-width: none; object-fit: cover; display: block;
}
.compare-divider {
  position: absolute; top: 0; z-index: 3;
  width: 40px; transform: translateX(-50%);
  pointer-events: none;
}
.compare-divider-line {
  position: absolute; top: 0; left: 50%;
  width: 3px; transform: translateX(-50%);
  background: var(--white);
}
.compare-divider-knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.compare-label {
  position: absolute; top: 10px; z-index: 4;
  padding: 4px 10px; border-radius: 100px;
  background: rgba(43,43,43,0.72); color: var(--white);
  font-size: 11px; font-weight: 500; letter-spacing: 0.5px;
  pointer-events: none;
}
.compare-label--before { left: 10px; }
.compare-label--after { right: 10px; }
.compare-hint {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  z-index: 4; padding: 4px 12px; border-radius: 100px;
  background: rgba(43,43,43,0.65); color: rgba(255,255,255,0.85);
  font-size: 11px; pointer-events: none;
}
.service-page-cta {
  text-align: center; padding: 56px 32px;
  background: var(--dark2); border-radius: var(--radius-lg);
}
.service-page-cta h2 { font-size: 26px; font-weight: 400; color: var(--white); margin-bottom: 12px; }
.service-page-cta p { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 28px; }
@media (max-width: 900px) {
  .service-page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-page-hero-media { max-width: 480px; }
  .service-gallery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .service-page-hero { padding: 88px 0 56px; }
  .service-page-body { padding: 48px 0 72px; }
}

/* ===== WHY US ===== */
.why-us { padding: 100px 0; background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.why-text h2 { font-size: 34px; font-weight: 400; margin-bottom: 16px; line-height: 1.25; }
.why-text p { font-size: 15px; color: var(--gray); line-height: 1.7; }
.why-features { display: flex; flex-direction: column; gap: 28px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
  width: 44px; height: 44px; background: var(--gold-soft); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--accent-deep); flex-shrink: 0;
}
.feature h4 { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.feature p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ===== REFERENCES ===== */
.references { padding: 100px 0; background: var(--light); }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ref-card {
  background: var(--white); border-radius: var(--radius);
  padding: 20px 24px; border: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
}
.ref-logo {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.ref-logo img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
  padding: 2px;
}
.ref-card h4 { font-size: 15px; font-weight: 500; }
/* ===== CONTACT ===== */
.contact { padding: 100px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-info h2 { font-size: 34px; font-weight: 400; margin-bottom: 16px; line-height: 1.25; }
.contact-info > p { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--dark);
}
.contact-item i { font-size: 20px; color: var(--accent-deep); width: 24px; }
.contact-form {
  background: var(--light); border-radius: var(--radius-lg);
  padding: 36px; border: 1px solid var(--border);
}
.form-row { display: flex; gap: 16px; }
.form-group { flex: 1; margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group textarea {
  width: 100%; padding: 11px 14px; font-size: 14px;
  border: 1px solid var(--border); border-radius: 9px;
  background: var(--white); color: var(--dark); font-family: var(--font-body);
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--gray); text-align: center; margin-top: 12px; }

/* ===== FOOTER ===== */
footer { background: var(--dark2); color: var(--white); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo-slot { width: 38px; height: 38px; border-radius: 8px; }
.footer-name { font-size: 14px; font-weight: 500; margin-bottom: 2px; color: var(--accent2); }
.footer-sub { font-size: 12px; color: rgba(255,255,255,0.55); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .ref-grid { grid-template-columns: 1fr; }
  .logo-text { display: none; }
  .nav-center {
    display: flex;
    justify-content: center;
    justify-self: center;
  }
  .nav-center > a { display: none; }
  .nav-dropdown-trigger {
    min-width: auto;
    padding: 8px 12px;
    font-size: 13px;
  }
  .nav-dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
    min-width: min(300px, calc(100vw - 40px));
  }
}
@media (max-width: 600px) {
  .hero { padding: 100px 20px 60px; }
  .container { padding: 0 20px; }
  .form-row { flex-direction: column; }
}
