/* ============================================================
   Wealth + Candor — Static Site Clone
   ============================================================ */

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

:root {
  --color-bg: #ffffff;
  --color-text: #454f5e;
  --color-heading: #0f172a;
  --color-accent: #1a1a1a;
  --color-muted: #6b7280;
  --color-light-bg: #f8f8f6;
  --color-border: #e5e7eb;
  --color-gold: #c9a84c;
  --color-star: #f59e0b;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-heading);
  color: #ffffff;
  border-color: var(--color-heading);
}

.btn-primary:hover {
  background: #2d3748;
  border-color: #2d3748;
}

.btn-outline {
  background: transparent;
  color: var(--color-heading);
  border-color: var(--color-heading);
}

.btn-outline:hover {
  background: var(--color-heading);
  color: #ffffff;
}

.btn-large {
  padding: 16px 40px;
  font-size: 14px;
}

/* ============================================================
   Announcement Bar
   ============================================================ */

.announcement-bar {
  background: var(--color-heading);
  color: #ffffff;
  text-align: center;
  padding: 10px 24px;
}

.announcement-bar p {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ============================================================
   Header / Navigation
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo-plus {
  font-weight: 300;
  color: var(--color-gold);
}

.logo-tm {
  font-size: 10px;
  color: var(--color-muted);
  vertical-align: super;
  margin-left: 2px;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-img-footer {
  filter: brightness(0) invert(1);
  height: 56px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--color-heading);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-heading);
  transition: transform 0.2s;
}

/* ============================================================
   Hero Section
   ============================================================ */

.hero-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-heading);
}

.hero-images {
  position: absolute;
  inset: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}

.hero-image.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 28, 0.48);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
  max-width: 700px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-headline .highlight {
  color: var(--color-gold);
}

.hero-subheading {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: #ffffff;
  color: var(--color-heading);
  border-color: #ffffff;
}

.btn-hero-primary:hover {
  background: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.88);
}

.btn-hero-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.7);
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #ffffff;
}

.desktop-br {
  display: block;
}

/* ============================================================
   About / Services Section
   ============================================================ */

.about-section {
  padding: 96px 0;
  background: var(--color-bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-lead {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.5;
  margin-bottom: 20px;
}

.about-lead strong {
  color: var(--color-gold);
}

.about-body {
  color: var(--color-text);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}

.about-emphasis {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 16px;
  font-style: italic;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.service-card {
  padding: 24px;
  border: 1px solid var(--color-border);
  background: var(--color-light-bg);
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ============================================================
   Gallery Section
   ============================================================ */

.gallery-section {
  padding: 80px 0;
  background: var(--color-light-bg);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-heading);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 8px 20px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.gallery-tab:hover,
.gallery-tab.active {
  background: var(--color-heading);
  border-color: var(--color-heading);
  color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  cursor: pointer;
  background: var(--color-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(15, 23, 42, 0.45);
}

.gallery-overlay span {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-item:hover .gallery-overlay span {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item.hidden {
  display: none;
}

.gallery-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   Lightbox
   ============================================================ */

.lightbox-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 200;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 201;
  align-items: center;
  justify-content: center;
}

.lightbox.active,
.lightbox-backdrop.active {
  display: flex;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border: 2px solid rgba(255,255,255,0.1);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 28px;
  font-size: 40px;
  line-height: 1;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  line-height: 1;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 0 16px;
  user-select: none;
}

.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

/* ============================================================
   Testimonials Slider
   ============================================================ */

.testimonials-section {
  padding: 96px 0;
  background: var(--color-bg);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
}

.slider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(50% - 14px);
  margin-right: 28px;
  padding: 36px 32px;
  border: 1px solid var(--color-border);
  background: var(--color-light-bg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.testimonial-stars {
  color: var(--color-star);
  font-size: 14px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  quotes: none;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-info strong {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-heading);
  text-transform: uppercase;
}

.review-source {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 600;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.slider-dot.active {
  background: var(--color-gold);
  transform: scale(1.25);
}

@media (max-width: 680px) {
  .testimonial-card {
    flex: 0 0 100%;
    margin-right: 28px;
  }
}

/* ============================================================
   CTA Section
   ============================================================ */

.cta-section {
  padding: 64px 0;
  background: var(--color-heading);
}

.cta-inner {
  text-align: center;
}

.cta-section .btn-primary {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
  font-size: 15px;
  padding: 18px 56px;
  letter-spacing: 0.18em;
}

.cta-section .btn-primary:hover {
  background: #ffffff;
  color: var(--color-heading);
}

/* ============================================================
   Trust / Experience Section
   ============================================================ */

.trust-section {
  padding: 96px 0;
  background: var(--color-light-bg);
}

.trust-inner {
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

.trust-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.35;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.trust-text p {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.8;
}

/* ============================================================
   Award Section
   ============================================================ */

.award-section {
  padding: 80px 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.award-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  text-align: center;
}

.award-text h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.award-text p {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.8;
}

.award-badge img {
  width: 120px;
  height: auto;
}

.award-badge-fallback {
  width: 120px;
  height: 120px;
  background: var(--color-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.award-badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  text-align: center;
  gap: 2px;
}

.award-year {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
}

.award-name {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.award-category {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 400;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--color-heading);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo .logo-text {
  font-size: 26px;
  color: #ffffff;
}

.footer-logo .logo-tm {
  color: rgba(255,255,255,0.5);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .award-inner {
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 680px) {
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    gap: 12px;
  }

  .site-nav.open {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-content {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .desktop-br {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-prev { left: 0; font-size: 44px; }
  .lightbox-next { right: 0; font-size: 44px; }
}
