@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Rajdhani:wght@600;700&display=swap");

:root {
  --geshine-brand-primary: #3aad67;
  --geshine-brand-primary-dark: #00875a;
  --geshine-brand-secondary-dark: #0f1a30;
  --geshine-neutral-900: #0f172a;
  --geshine-neutral-700: #334155;
  --geshine-neutral-500: #64748b;
  --geshine-neutral-300: #cbd5e1;
  --geshine-neutral-200: #e2e8f0;
  --geshine-neutral-100: #f1f5f9;
  --geshine-neutral-50: #f8fafc;
  --geshine-shadow-xl: 0 20px 55px rgba(15, 23, 42, 0.14);
}

.geshine-topbar {
  display: none;
}

@media (min-width: 1000px) {
  .geshine-topbar {
    display: block;
    position: relative;
    z-index: 51;
    background: var(--geshine-brand-secondary-dark);
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 0.875rem;
    line-height: 1.35;
  }

  .geshine-topbar__inner {
    width: min(100% - 4rem, 1280px);
    min-height: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .geshine-topbar__contacts,
  .geshine-topbar__meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .geshine-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: color 0.18s ease;
  }

  .geshine-topbar__link:hover {
    color: var(--geshine-brand-primary);
  }

  .geshine-topbar svg {
    width: 0.875rem;
    height: 0.875rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
  }

  .geshine-topbar__meta {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8125rem;
  }

  .geshine-topbar__meta span + span {
    position: relative;
    padding-left: 1.5rem;
  }

  .geshine-topbar__meta span + span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 0.9rem;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.18);
  }
}

body #header.ct-header [data-device="desktop"] [data-row="middle"] {
  --height: 72px !important;
  --shrink-height: 70px !important;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

body #header.ct-header [data-device="mobile"] [data-row="middle"] {
  --height: 72px !important;
  --shrink-height: 68px !important;
  background: rgba(255, 255, 255, 0.98);
}

body #header.ct-header .ct-container {
  width: min(100% - 2rem, 1280px);
}

body #header.ct-header [data-id="logo"] .site-logo-container {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 156px;
  text-decoration: none;
}

body #header.ct-header [data-id="logo"] .site-logo-container img {
  display: none !important;
}

body #header.ct-header [data-id="logo"] .site-logo-container::before {
  content: "G";
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  background: var(--geshine-brand-primary);
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
}

body #header.ct-header [data-id="logo"] .site-logo-container::after {
  content: "GESHINE";
  color: var(--geshine-neutral-900);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

body #header.ct-header [data-column="middle"] {
  min-width: 0;
}

body #header.ct-header [data-id="menu"] > ul.menu {
  align-items: center;
  gap: 0.25rem;
}

body .ct-header [data-id="menu"] > ul.menu > li > a.ct-menu-link {
  font-family: "Rajdhani", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--geshine-neutral-700);
  border-radius: 0.5rem;
  min-height: auto;
  padding: 0.5rem 0.9rem;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

body .ct-header [data-id="menu"] > ul.menu > li:hover > a.ct-menu-link,
body .ct-header [data-id="menu"] > ul.menu > li.current-menu-item > a.ct-menu-link,
body .ct-header [data-id="menu"] > ul.menu > li.current-menu-ancestor > a.ct-menu-link {
  color: var(--geshine-brand-primary);
  background: rgba(58, 173, 103, 0.08);
}

body .ct-header [data-id="menu"] > ul.menu > li[class*="menu-item-has-children"] > a.ct-menu-link {
  gap: 0.35rem;
}

body .ct-header [data-id="menu"] > ul.menu > li[class*="ct-mega-menu"] > .sub-menu {
  --dropdown-background-color: #ffffff;
  box-shadow: var(--geshine-shadow-xl);
  border-top: 1px solid var(--geshine-neutral-200);
}

body .ct-header [data-id="menu"] > ul.menu > li.ct-mega-menu-full-width > .sub-menu > li {
  padding: 0;
}

body .ct-header [data-id="menu"] > ul.menu > li.ct-mega-menu-full-width > .sub-menu::after {
  border-top: 1px solid var(--geshine-neutral-200);
  box-shadow: var(--geshine-shadow-xl);
}

.geshine-mega-panel {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 1.2fr);
  gap: 2rem;
  font-family: "Inter", sans-serif;
}

body #header.ct-header [data-id="button"] .ct-button {
  min-height: 42px;
  padding: 0 1.25rem;
  border-radius: 0.375rem;
  background: var(--geshine-brand-primary);
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(58, 173, 103, 0.22);
}

body #header.ct-header [data-id="button"] .ct-button:hover {
  background: var(--geshine-brand-primary-dark);
  color: #fff;
}

.geshine-mega-panel__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.geshine-mega-panel__column {
  min-width: 0;
}

.geshine-mega-panel__heading {
  margin: 0 0 1rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--geshine-neutral-500);
}

.geshine-mega-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.geshine-mega-panel__list li + li {
  margin-top: 0.45rem;
}

.geshine-mega-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--geshine-neutral-700);
  font-size: 0.95rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.geshine-mega-panel__link:hover {
  color: var(--geshine-brand-primary);
  transform: translateX(2px);
}

.geshine-mega-panel__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--geshine-brand-primary);
  background: rgba(58, 173, 103, 0.1);
}

.geshine-mega-panel__featured {
  display: block;
  overflow: hidden;
  border: 1px solid var(--geshine-neutral-200);
  border-radius: 1rem;
  background: var(--geshine-neutral-50);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.geshine-mega-panel__featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
  border-color: rgba(58, 173, 103, 0.25);
}

.geshine-mega-panel__featured-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--geshine-brand-secondary-dark);
}

.geshine-mega-panel__featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.geshine-mega-panel__featured:hover .geshine-mega-panel__featured-media img {
  transform: scale(1.05);
}

.geshine-mega-panel__tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--geshine-brand-primary);
}

.geshine-mega-panel__featured-body {
  padding: 1rem 1rem 1.1rem;
}

.geshine-mega-panel__featured-title {
  margin: 0 0 0.45rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--geshine-neutral-900);
}

.geshine-mega-panel__featured-desc {
  margin: 0 0 0.8rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--geshine-neutral-500);
}

.geshine-mega-panel__featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--geshine-brand-primary);
}

.geshine-mega-panel__featured-cta::after {
  content: "\2192";
}

.mobile-menu .geshine-mobile-heading > a,
.mobile-menu .geshine-mobile-heading > .ct-menu-link {
  font-family: "Rajdhani", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

@media (max-width: 1199px) {
  .geshine-mega-panel {
    grid-template-columns: 1fr;
  }

  .geshine-mega-panel__columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
