:root {
  --kgc-color-primary: #1a1a1a;
  --kgc-color-secondary: #2c3539;
  --kgc-color-accent: #c5a059;
  --kgc-color-accent-hover: #a38449;
  --kgc-color-text-body: #333333;
  --kgc-color-bg-light: #f8f6f2;
  --kgc-color-bg-white: #ffffff;
  --kgc-color-border: #e8e4dc;
  --kgc-font-main: 'Montserrat', Helvetica, Arial, sans-serif;
  --kgc-spacing-section: 104px;
  --kgc-container-width: 1240px;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background: #ffffff;
}

body {
  font-family: var(--kgc-font-main);
}

.kgc-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--kgc-font-main);
  color: var(--kgc-color-text-body);
  line-height: 1.72;
  background: var(--kgc-color-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.kgc-page,
.kgc-page * {
  box-sizing: border-box;
}

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

.kgc-page a {
  text-decoration: none;
  color: inherit;
}

.kgc-page h1,
.kgc-page h2,
.kgc-page h3,
.kgc-page h4 {
  margin: 0 0 14px;
  font-family: var(--kgc-font-main);
  color: var(--kgc-color-secondary);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.5px;
}

.kgc-page h1 {
  font-size: 4rem;
  margin-bottom: 18px;
}

.kgc-page h2 {
  font-size: 2.2rem;
}

.kgc-page p {
  margin: 0 0 1.35rem;
  font-size: 1.04rem;
  color: var(--kgc-color-text-body);
}

.kgc-container {
  width: 92%;
  max-width: var(--kgc-container-width);
  margin: 0 auto;
}

.kgc-eyebrow {
  display: block;
  margin-bottom: 15px;
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--kgc-color-accent);
}

.kgc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
  transition: all 0.24s ease;
  white-space: nowrap;
  font-family: var(--kgc-font-main);
  cursor: pointer;
}

.kgc-btn-primary {
  background: var(--kgc-color-secondary);
  color: #ffffff !important;
}

.kgc-btn-primary:hover,
.kgc-btn-primary:focus {
  background: var(--kgc-color-primary);
  transform: translateY(-2px);
}

.kgc-btn-outline {
  background: transparent;
  color: var(--kgc-color-secondary) !important;
  border-color: var(--kgc-color-secondary);
}

.kgc-btn-outline:hover,
.kgc-btn-outline:focus {
  background: var(--kgc-color-secondary);
  color: #ffffff !important;
}

/* HERO */
.kgc-hero {
  position: relative;
  padding: 140px 0 64px;
  background:
    linear-gradient(rgba(17, 23, 31, 0.60), rgba(17, 23, 31, 0.72)),
    url('/assets/images/textures/pexels-martinpechy-2078266.jpg') center / cover no-repeat;
}

.kgc-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(14, 20, 28, 0.28), rgba(14, 20, 28, 0.12)),
    linear-gradient(to bottom, rgba(14, 20, 28, 0.08), rgba(14, 20, 28, 0.18));
  z-index: 0;
}

.kgc-hero .kgc-container {
  position: relative;
  z-index: 1;
}

.kgc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.88);
  flex-wrap: wrap;
}

.kgc-breadcrumb a,
.kgc-breadcrumb span {
  color: inherit;
}

.kgc-hero-inner {
  max-width: 860px;
}

.kgc-hero-inner .kgc-eyebrow,
.kgc-hero-inner h1,
.kgc-hero-inner p {
  color: #ffffff !important;
}

.kgc-hero-subtitle {
  margin-bottom: 14px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--kgc-color-accent) !important;
}

.kgc-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.kgc-hero-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* MAIN */
.kgc-main-section {
  padding: 30px 0 var(--kgc-spacing-section);
  background: var(--kgc-color-bg-light);
}

.kgc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: start;
}

.kgc-main-column {
  display: grid;
  gap: 24px;
}

.kgc-gallery-card,
.kgc-sidebar-card {
  background: #ffffff;
  border: 1px solid rgba(232, 228, 220, 0.95);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.04);
}

.kgc-gallery-card {
  padding: 20px;
}

.kgc-sidebar-card {
  padding: 20px;
}

.kgc-sidebar-label,
.kgc-meta-label {
  display: block;
  margin-bottom: 10px;
  color: var(--kgc-color-accent);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* GALLERY */
.kgc-gallery-stage {
  position: relative;
  margin-bottom: 16px;
}

.kgc-gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #f3f0ea;
}

.kgc-gallery-main img {
  width: 100%;
  aspect-ratio: 0.95 / 1;
  object-fit: cover;
  object-position: center top;
}

.kgc-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.90);
  color: var(--kgc-color-secondary);
  font-size: 1rem;
  transform: translateY(-50%);
  cursor: pointer;
  transition: all 0.25s ease;
}

.kgc-gallery-arrow:hover,
.kgc-gallery-arrow:focus {
  background: var(--kgc-color-secondary);
  color: #ffffff;
  border-color: var(--kgc-color-secondary);
}

.kgc-gallery-prev {
  left: 16px;
}

.kgc-gallery-next {
  right: 16px;
}

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

.kgc-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  transition: all 0.22s ease;
}

.kgc-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.kgc-thumb.is-active {
  border-color: var(--kgc-color-accent);
  box-shadow: 0 10px 24px rgba(197, 160, 89, 0.24);
}

.kgc-thumb:hover,
.kgc-thumb:focus {
  transform: translateY(-2px);
}

/* SIDEBAR */
.kgc-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 16px;
}

.kgc-sidebar-card p {
  font-size: 0.94rem !important;
  line-height: 1.72 !important;
  margin-bottom: 14px !important;
}

.kgc-meta-grid {
  display: grid;
  gap: 14px;
}

.kgc-meta-item strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--kgc-color-secondary);
  line-height: 1.5;
}

.kgc-sidebar-actions {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.kgc-sidebar .kgc-btn {
  width: 100%;
}

.kgc-sidebar-link-list {
  margin: 0;
  padding-left: 18px;
}

.kgc-sidebar-link-list li {
  margin-bottom: 8px;
  color: var(--kgc-color-text-body);
  font-size: 0.94rem;
}

.kgc-sidebar-link-list a {
  color: var(--kgc-color-secondary);
  transition: color 0.2s ease;
}

.kgc-sidebar-link-list a:hover,
.kgc-sidebar-link-list a:focus {
  color: var(--kgc-color-accent-hover);
}

/* RESPONSIVE */
@media (max-width: 1180px) {
  .kgc-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

@media (max-width: 992px) {
  .kgc-page h1 {
    font-size: 3.1rem;
  }

  .kgc-page h2 {
    font-size: 1.95rem;
  }

  .kgc-layout {
    grid-template-columns: 1fr;
  }

  .kgc-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .kgc-hero {
    padding: 128px 0 54px;
  }

  .kgc-page h1 {
    font-size: 2.45rem;
    line-height: 1.08;
  }

  .kgc-page h2 {
    font-size: 1.72rem;
  }

  .kgc-btn {
    white-space: normal;
  }

  .kgc-gallery-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  }
}

@media (max-width: 560px) {
  .kgc-page h1 {
    font-size: 2.08rem;
  }

  .kgc-page h2 {
    font-size: 1.54rem;
  }

  .kgc-gallery-card,
  .kgc-sidebar-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .kgc-gallery-arrow {
    width: 44px;
    height: 44px;
  }
}