/* ============================================================
   KRISHNA GLASS HOUSE — Global Stylesheet
   Premium · Light · Minimalist
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Brand */
  --color-primary: #1a1a2e;
  --color-primary-light: #2d2d4a;
  --color-accent: #0f7173;
  --color-accent-light: #14919b;
  --color-accent-hover: #0d5e5f;
  --color-gold: #c9a84c;
  --color-gold-light: #d4b965;

  /* Neutrals */
  --color-white: #ffffff;
  --color-off-white: #f8f9fa;
  --color-bg: #fafbfc;
  --color-gray-50: #f5f6f8;
  --color-gray-100: #ebedf0;
  --color-gray-200: #d4d8dd;
  --color-gray-300: #b0b6bf;
  --color-gray-400: #8a919c;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Sizes */
  --header-height: 80px;
  --max-width: 1280px;
  --section-pad: 100px 0;
  --border-radius: 12px;
  --border-radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, .10);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, .12);
  --shadow-mega: 0 24px 80px rgba(0, 0, 0, .12);

  /* Transitions */
  --ease-out: cubic-bezier(.25, .46, .45, .94);
  --transition: .3s var(--ease-out);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray-700);
  background: var(--color-white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition)
}

ul,
ol {
  list-style: none
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-gray-900);
  line-height: 1.2;
}

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

/* ---------- Utility ---------- */
.section-pad {
  padding: var(--section-pad)
}

.text-center {
  text-align: center
}

.text-accent {
  color: var(--color-accent)
}

.text-gold {
  color: var(--color-gold)
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-gray-500);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* BTN */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 60px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
  background: linear-gradient(135deg, rgba(255, 255, 255, .2), transparent);
}

.btn:hover::after {
  opacity: 1
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(15, 113, 115, .30);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 113, 115, .35);
}

.btn-outline {
  border: 2px solid var(--color-gray-200);
  color: var(--color-gray-700);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-light {
  background: rgba(255, 255, 255, .15);
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(8px);
}

.btn-light:hover {
  background: var(--color-white);
  color: var(--color-gray-900);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(201, 168, 76, .30);
}

.btn-gold:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, .35);
}

/* ---------- Animated Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, .97);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 52px;
  height: 52px;
}

.logo-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-gray-900);
  letter-spacing: .5px;
}

.logo-text .brand-tagline {
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-gray-600);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
  background: rgba(15, 113, 115, .06);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* Services dropdown trigger */
.nav-item-services {
  position: relative
}

.nav-link-services {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-link-services .chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-item-services:hover .chevron,
.nav-item-services.open .chevron {
  transform: rotate(180deg);
}

/* Header CTA */
.header-cta {
  padding: 10px 24px;
  font-size: 12px;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-gray-800);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.active span:nth-child(2) {
  opacity: 0
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

/* ============================================================
   MEGA MENU
   ============================================================ */
.mega-menu {
  position: absolute;
  top: calc(var(--header-height) - 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 860px;
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-mega);
  border: 1px solid var(--color-gray-100);
  padding: 36px 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .35s var(--ease-out);
  z-index: 999;
}

.mega-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-100);
  border-left: 1px solid var(--color-gray-100);
  transform: translateX(-50%) rotate(45deg);
}

.nav-item-services:hover .mega-menu,
.nav-item-services.open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-gray-100);
}

.mega-menu-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-gray-900);
}

.mega-menu-header a {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mega-menu-header a:hover {
  text-decoration: underline
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.mega-item:hover {
  background: var(--color-gray-50);
  transform: translateX(4px);
}

.mega-item-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(15, 113, 115, .08), rgba(15, 113, 115, .04));
  color: var(--color-accent);
}

.mega-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mega-item-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gray-800);
  margin-bottom: 4px;
  transition: color var(--transition);
}

.mega-item:hover .mega-item-text h4 {
  color: var(--color-accent);
}

.mega-item-text p {
  font-size: 12.5px;
  color: var(--color-gray-400);
  line-height: 1.5;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(17, 24, 39, .72) 0%,
      rgba(17, 24, 39, .45) 50%,
      rgba(17, 24, 39, .25) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
  z-index: 10;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp .8s var(--ease-out) .3s forwards;
}

.hero-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.08;
  max-width: 700px;
  letter-spacing: -1px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp .8s var(--ease-out) .5s forwards;
}

.hero-description {
  font-size: 17px;
  color: rgba(255, 255, 255, .75);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp .8s var(--ease-out) .7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp .8s var(--ease-out) .9s forwards;
}

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

/* Hero Controls */
.hero-controls {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 20;
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.hero-dot.active {
  background: var(--color-gold);
  box-shadow: 0 0 12px rgba(201, 168, 76, .5);
  transform: scale(1.2);
}

.hero-arrows {
  display: flex;
  gap: 8px;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: var(--color-white);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all var(--transition);
}

.hero-arrow:hover {
  background: var(--color-white);
  color: var(--color-gray-900);
  border-color: var(--color-white);
}

.hero-arrow svg {
  width: 18px;
  height: 18px
}

/* ============================================================
   INTRO / WHY US SECTION
   ============================================================ */
.intro-section {
  padding: var(--section-pad)
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.intro-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.intro-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--color-white);
  padding: 20px 28px;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}

.intro-badge-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.intro-badge-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}

.intro-content .section-title {
  margin-bottom: 20px
}

.intro-text {
  font-size: 15px;
  color: var(--color-gray-500);
  margin-bottom: 32px;
  line-height: 1.8;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-700);
}

.feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ============================================================
   SERVICES SECTION (Homepage)
   ============================================================ */
.services-section {
  padding: var(--section-pad);
  background: var(--color-gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 36px 30px;
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}

.service-card:hover::before {
  transform: scaleX(1)
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 113, 115, .08), rgba(15, 113, 115, .03));
  color: var(--color-accent);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-gray-800);
}

.service-card p {
  font-size: 14px;
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card .learn-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.service-card:hover .learn-more {
  gap: 10px
}

.service-card .learn-more svg {
  width: 16px;
  height: 16px
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--color-primary);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .55);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner h2 {
  color: var(--color-white);
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, .8);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-banner .btn {
  position: relative
}

/* ============================================================
   SERVICES PAGE (services.html)
   ============================================================ */
.page-hero {
  padding: 160px 0 80px;
  background: var(--color-gray-50);
  text-align: center;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--color-white));
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-gray-400);
  margin-bottom: 16px;
}

.page-hero .breadcrumb a {
  color: var(--color-accent)
}

.page-hero .breadcrumb a:hover {
  text-decoration: underline
}

.page-hero .breadcrumb svg {
  width: 14px;
  height: 14px;
  color: var(--color-gray-300)
}

.services-detail-section {
  padding: var(--section-pad)
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--color-gray-100);
}

.service-detail:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even)>* {
  direction: ltr;
}

.service-detail-image {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.service-detail-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: transform .6s var(--ease-out);
}

.service-detail:hover .service-detail-image img {
  transform: scale(1.03);
}

.service-detail-content .section-label {
  margin-bottom: 12px
}

.service-detail-content h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.service-detail-content p {
  color: var(--color-gray-500);
  margin-bottom: 24px;
  line-height: 1.8;
}

.service-detail-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-detail-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--color-gray-50);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-gray-600);
  border: 1px solid var(--color-gray-100);
}

.service-detail-features span svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

/* ============================================================
   GALLERY PAGE (gallery.html)
   ============================================================ */
.gallery-section {
  padding: var(--section-pad)
}

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

.filter-btn {
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--color-gray-500);
  border-radius: 60px;
  border: 1px solid var(--color-gray-200);
  background: var(--color-white);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(15, 113, 115, .25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, .7), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1
}

.gallery-item-overlay h4 {
  font-size: 16px;
  color: var(--color-white);
  margin-bottom: 4px;
}

.gallery-item-overlay p {
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, .2);
}

.lightbox-close svg {
  width: 20px;
  height: 20px
}

/* ============================================================
   CONTACT PAGE (contact.html)
   ============================================================ */
.contact-section {
  padding: var(--section-pad)
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info {
  padding: 40px;
  background: var(--color-primary);
  border-radius: var(--border-radius);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .03);
}

.contact-info::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .02);
}

.contact-info h3 {
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 8px;
  position: relative;
}

.contact-info>p {
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  margin-bottom: 36px;
  position: relative;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: var(--color-gold);
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px
}

.contact-detail-text h4 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-detail-text p,
.contact-detail-text a {
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
}

.contact-detail-text a:hover {
  color: var(--color-gold)
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  position: relative;
}

.contact-social {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: var(--color-white);
  transition: all var(--transition);
}

.contact-social:hover {
  background: var(--color-gold);
  transform: translateY(-2px);
}

.contact-social svg {
  width: 18px;
  height: 18px
}

/* Contact Form */
.contact-form {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 40px;
  border: 1px solid var(--color-gray-100);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-form>p {
  color: var(--color-gray-500);
  font-size: 14px;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--border-radius-sm);
  background: var(--color-gray-50);
  color: var(--color-gray-800);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(15, 113, 115, .08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-gray-900);
  color: rgba(255, 255, 255, .6);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand .logo {
  margin-bottom: 20px
}

.footer-brand .logo .brand-name {
  color: var(--color-white)
}

.footer-brand .logo .brand-tagline {
  color: var(--color-gold)
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .5);
  transition: all var(--transition);
}

.footer-social:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  padding: 6px 0;
  transition: all var(--transition);
}

.footer-col a:hover {
  color: var(--color-white);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .5);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, .35);
}

.footer-bottom a {
  color: var(--color-accent)
}

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--color-white);
  z-index: 1050;
  box-shadow: var(--shadow-xl);
  transition: right .4s var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: 100px 24px 40px;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-gray-700);
  padding: 14px 0;
  border-bottom: 1px solid var(--color-gray-100);
  transition: color var(--transition);
}

.mobile-nav-link:hover {
  color: var(--color-accent)
}

.mobile-drawer .btn {
  margin-top: 24px;
  text-align: center;
  justify-content: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1024px) {
  .mega-menu {
    width: calc(100vw - 48px);
    left: 24px;
    right: 24px;
    transform: none;
  }

  .mega-menu::before {
    display: none
  }

  .nav-item-services:hover .mega-menu,
  .nav-item-services.open .mega-menu {
    transform: translateY(0)
  }

  .intro-grid,
  .service-detail,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail:nth-child(even) {
    direction: ltr
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px
  }
}

@media(max-width:768px) {
  :root {
    --header-height: 68px
  }

  .main-nav,
  .header-cta {
    display: none
  }

  .hamburger {
    display: flex
  }

  .hero {
    max-height: 700px
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 42px)
  }

  .hero-controls {
    bottom: 24px;
    right: 24px
  }

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

  .gallery-item.tall {
    aspect-ratio: 4/3;
    grid-row: auto
  }

  .form-row {
    grid-template-columns: 1fr
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr
  }

  .stat-item .stat-number {
    font-size: 32px
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center
  }

  .section-title {
    font-size: clamp(24px, 6vw, 36px)
  }
}

@media(max-width:480px) {
  .hero-actions {
    flex-direction: column
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center
  }

  .hero-arrows {
    display: none
  }
}

/* ============================================================
   SERVICE ARTICLE PAGES
   ============================================================ */
.service-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px;
}

.service-article h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  margin: 48px 0 16px;
  color: var(--color-gray-900);
  position: relative;
  padding-left: 20px;
}

.service-article h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: calc(100% - 8px);
  background: var(--color-accent);
  border-radius: 4px;
}

.service-article h3 {
  font-size: 18px;
  margin: 28px 0 10px;
  color: var(--color-gray-800);
}

.service-article p {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.85;
  margin-bottom: 18px;
}

.service-article ul,
.service-article ol {
  margin: 0 0 20px 20px;
  color: var(--color-gray-600);
  line-height: 1.8;
}

.service-article ul li::marker {
  color: var(--color-accent)
}

.service-article ol li::marker {
  color: var(--color-accent);
  font-weight: 700
}

.service-article strong {
  color: var(--color-gray-800)
}

/* Read more link on services overview */
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 10px 24px;
  border: 2px solid var(--color-accent);
  border-radius: 60px;
  transition: all var(--transition);
}

.read-more-link:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 113, 115, .25);
}

.read-more-link svg {
  width: 16px;
  height: 16px
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 24px 0 32px;
}

.process-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--color-gray-50);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-gray-100);
}

.process-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
}

.process-step-text h4 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--color-gray-900);
}

.process-step-text p {
  font-size: 13.5px;
  color: var(--color-gray-500);
  margin: 0;
  line-height: 1.6;
}

/* Spec grid */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}

.spec-card {
  padding: 20px;
  background: var(--color-gray-50);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-gray-100);
  text-align: center;
}

.spec-card strong {
  display: block;
  font-size: 14px;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.spec-card span {
  font-size: 13px;
  color: var(--color-gray-500);
}

/* FAQ accordion */
.faq-section {
  margin: 48px 0 32px;
}

.faq-item {
  border-bottom: 1px solid var(--color-gray-100);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-gray-800);
  transition: color var(--transition);
}

.faq-q:hover {
  color: var(--color-accent)
}

.faq-q svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform .3s var(--ease-out);
}

.faq-item.open .faq-q svg {
  transform: rotate(180deg)
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out), padding .3s;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 18px;
}

.faq-a p {
  font-size: 14px;
  color: var(--color-gray-500);
  line-height: 1.75;
  margin: 0;
}

@media(max-width:600px) {
  .spec-grid {
    grid-template-columns: 1fr 1fr
  }
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 999;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(15, 113, 115, .35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), background .2s;
  pointer-events: none;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#back-to-top:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
}

#back-to-top svg {
  width: 18px;
  height: 18px
}

/* ============================================================
   AI CHATBOT WIDGET
   ============================================================ */
#kgh-chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(15, 113, 115, .4);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}

#kgh-chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(15, 113, 115, .5);
}

#kgh-chat-fab svg {
  width: 26px;
  height: 26px
}

.kgh-chat-fab-pulse {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(15, 113, 115, .3);
  animation: chatPulse 2.5s ease-out infinite;
}

@keyframes chatPulse {
  0% {
    transform: scale(1);
    opacity: .6
  }

  100% {
    transform: scale(1.8);
    opacity: 0
  }
}

#kgh-chat-panel {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 1100;
  width: 360px;
  max-height: 520px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, .14);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(.96);
  pointer-events: none;
  transition: all .35s var(--ease-out);
}

#kgh-chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.kgh-chat-header {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.kgh-chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kgh-chat-avatar svg {
  width: 20px;
  height: 20px
}

.kgh-chat-header-info {
  flex: 1
}

.kgh-chat-header-info strong {
  display: block;
  font-size: 14px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
}

.kgh-chat-header-info span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .75);
  display: flex;
  align-items: center;
  gap: 5px;
}

.kgh-chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  box-shadow: 0 0 6px rgba(74, 222, 128, .6);
}

.kgh-chat-close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, .75);
  display: flex;
  padding: 4px;
  transition: color .2s;
}

.kgh-chat-close:hover {
  color: #fff
}

.kgh-chat-close svg {
  width: 18px;
  height: 18px
}

.kgh-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.kgh-chat-messages::-webkit-scrollbar {
  width: 4px
}

.kgh-chat-messages::-webkit-scrollbar-thumb {
  background: var(--color-gray-200);
  border-radius: 4px
}

.kgh-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  max-width: 90%;
}

.kgh-msg.bot {
  align-self: flex-start
}

.kgh-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse
}

.kgh-msg-bubble {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 100%;
  word-break: break-word;
}

.kgh-msg.bot .kgh-msg-bubble {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  color: var(--color-gray-800);
  border-bottom-left-radius: 6px;
}

.kgh-msg.user .kgh-msg-bubble {
  background: var(--color-accent);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.kgh-msg-bot-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.kgh-msg-bot-icon svg {
  width: 14px;
  height: 14px;
  color: #fff
}

/* Typing indicator */
.kgh-typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 8px 12px;
}

.kgh-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gray-300);
  animation: typingBounce 1.2s ease-in-out infinite;
}

.kgh-typing span:nth-child(2) {
  animation-delay: .2s
}

.kgh-typing span:nth-child(3) {
  animation-delay: .4s
}

@keyframes typingBounce {

  0%,
  60%,
  100% {
    transform: translateY(0)
  }

  30% {
    transform: translateY(-6px)
  }
}

/* WhatsApp button in chat */
.kgh-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 9px 16px;
  background: #25d366;
  color: #fff;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .2s;
}

.kgh-whatsapp-btn:hover {
  background: #1da851;
  transform: translateY(-1px)
}

.kgh-whatsapp-btn svg {
  width: 16px;
  height: 16px
}

/* Quick reply chips */
.kgh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px 4px;
}

.kgh-chip {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: 20px;
  background: none;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-body);
}

.kgh-chip:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Input area */
.kgh-chat-input-area {
  padding: 12px 14px;
  border-top: 1px solid var(--color-gray-100);
  display: flex;
  gap: 8px;
  align-items: center;
}

.kgh-chat-input-area input {
  flex: 1;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 30px;
  padding: 9px 16px;
  font-size: 13.5px;
  outline: none;
  color: var(--color-gray-800);
  background: var(--color-gray-50);
  transition: border-color .2s;
}

.kgh-chat-input-area input:focus {
  border-color: var(--color-accent);
  background: #fff;
}

.kgh-chat-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}

.kgh-chat-send:hover {
  background: var(--color-accent-hover);
  transform: scale(1.08)
}

.kgh-chat-send svg {
  width: 16px;
  height: 16px
}

.kgh-chat-footer {
  padding: 6px 16px 10px;
  text-align: center;
  font-size: 10.5px;
  color: var(--color-gray-400);
}

@media(max-width:400px) {
  #kgh-chat-panel {
    width: calc(100vw - 16px);
    right: 8px;
    bottom: 80px
  }
}

/* --- Chat Report Option --- */
.kgh-msg-report {
  opacity: 0.6;
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-gray-400);
  transition: all .2s;
  margin-left: 6px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.kgh-msg-report:hover {
  opacity: 1;
  color: #ef4444;
  border-color: #fecaca;
  background: #fff;
  transform: scale(1.15);
}

.kgh-msg-report svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.5;
}

/* Report Modal Overlay */
.kgh-report-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}

.kgh-report-overlay.visible {
  display: flex;
  opacity: 1;
}

.kgh-report-modal {
  background: var(--color-white);
  padding: 28px;
  border-radius: 20px;
  width: 90%;
  max-width: 380px;
  box-shadow: var(--shadow-xl);
  transform: translateY(24px);
  transition: transform .35s var(--ease-out);
}

.kgh-report-overlay.visible .kgh-report-modal {
  transform: translateY(0);
}

.kgh-report-modal h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--color-gray-900);
  font-family: var(--font-heading);
}

.kgh-report-modal p {
  font-size: 14px;
  color: var(--color-gray-500);
  margin-bottom: 20px;
  line-height: 1.5;
}

.kgh-report-email-wrap {
  margin-bottom: 20px;
}

.kgh-report-email-wrap label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 8px;
}

.kgh-report-email-wrap input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  background: var(--color-gray-50);
  transition: border-color .2s;
}

.kgh-report-email-wrap input:focus {
  border-color: var(--color-accent);
  background: #fff;
}

.kgh-report-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.kgh-report-options label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--color-gray-700);
  cursor: pointer;
  padding: 12px 16px;
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  border-radius: 12px;
  transition: all .2s;
}

.kgh-report-options label:hover {
  background: var(--color-white);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.kgh-report-options input {
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
}

.kgh-report-actions {
  display: flex;
  gap: 12px;
}

.kgh-report-actions button {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: all .2s;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.kgh-report-cancel {
  background: var(--color-gray-100);
  color: var(--color-gray-600);
}

.kgh-report-submit {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.kgh-report-cancel:hover {
  background: var(--color-gray-200);
  color: var(--color-gray-800);
}

.kgh-report-submit:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}