/* ============================================
   HK ENERJİ — Corporate Design System
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Mono:wght@400;700&display=swap');

/* --- CSS Variables --- */
:root {
  --navy: #0A1628;
  --navy-light: #0F1E35;
  --navy-mid: #162A4A;
  --red: #E31E24;
  --red-dark: #B8181D;
  --red-glow: rgba(227, 30, 36, 0.25);
  --white: #FFFFFF;
  --off-white: #F8F9FB;
  --gray-50: #F5F6F8;
  --gray-100: #E8EAED;
  --gray-200: #D1D5DB;
  --gray-300: #9CA3AF;
  --gray-400: #6B7280;
  --gray-500: #4B5563;
  --text-dark: #1A1A2E;
  --font-primary: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --radius: 14px;
  --radius-sm: 7px;
  --transition: 0.35s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-500);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

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

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

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--gray-50);
}

::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 10px;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__brand {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}

.loader__brand-hk {
  color: var(--red);
}

.loader__brand-enerji {
  color: var(--white);
}

.loader__bar {
  width: 160px;
  height: 2px;
  background: var(--navy-mid);
  border-radius: 2px;
  overflow: hidden;
}

.loader__bar-inner {
  width: 40%;
  height: 100%;
  background: var(--red);
  border-radius: 2px;
  animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderSlide {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(400%);
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition);
}

.nav--transparent {
  background: transparent;
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  padding: 12px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo {
  width: 46px;
  height: 46px;
  border-radius: 2px;
}

.nav--scrolled .nav__logo {
  mix-blend-mode: multiply;
}

.nav__brand-text {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav__brand-hk {
  color: var(--navy-mid);
}

.nav--transparent .nav__brand-hk {
  color: var(--white);
}

.nav--scrolled .nav__brand-hk {
  color: var(--navy-mid);
}

.nav--transparent .nav__brand-enerji {
  color: var(--white);
}

.nav--scrolled .nav__brand-enerji {
  color: var(--navy-mid);
}

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

.nav__link {
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav--transparent .nav__link {
  color: rgba(255, 255, 255, 0.85);
}

.nav--transparent .nav__link:hover {
  color: var(--white);
}

.nav--scrolled .nav__link {
  color: var(--gray-500);
}

.nav--scrolled .nav__link:hover {
  color: var(--navy);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link--cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition);
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--red-glow);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav--scrolled .nav__hamburger span {
  background: var(--navy);
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  position: relative;
  height: 320px;
  background: var(--navy);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  animation: gridDrift 25s linear infinite;
}

@keyframes gridDrift {
  to {
    transform: translate(70px, 70px);
  }
}

.page-hero__accent {
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  height: 100%;
  background: var(--red);
  opacity: 0.15;
  z-index: 1;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__tag {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.page-hero__tag::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--red);
}

.page-hero__title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.page-hero__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

/* ============================================
   SECTION HELPERS
   ============================================ */
.section {
  padding: 96px 0;
}

.section--white {
  background: var(--white);
}

.section--off-white {
  background: var(--off-white);
}

.section--navy {
  background: var(--navy);
}

.section__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section__tag::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--red);
}

.section__title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__title--white {
  color: var(--white);
}

.section__subtitle {
  font-size: 16px;
  color: var(--gray-400);
  max-width: 560px;
  margin-bottom: 48px;
}

.section__header {
  margin-bottom: 56px;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__tag {
  justify-content: center;
}

.section__header--center .section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border: 2px solid transparent;
  line-height: 1.4;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--red-glow);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn--outline:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

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

.btn--white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

.btn svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

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

.card--dark {
  background: var(--navy-light);
  border-color: rgba(255, 255, 255, 0.06);
}

.card--dark:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

/* ============================================
   IMAGE PLACEHOLDER
   ============================================ */
.img-placeholder {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gray-50), var(--off-white));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 13px;
  font-weight: 500;
  transition: border-color var(--transition);
  min-height: 200px;
}

.img-placeholder:hover {
  border-color: var(--red);
}

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

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-bar__item {
  text-align: center;
  padding: 16px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-bar__item:last-child {
  border-right: none;
}

.stats-bar__number {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 900;
  color: var(--red);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stats-bar__label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  padding: 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band__circle {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -150px;
  right: -100px;
}

.cta-band__content {
  position: relative;
  z-index: 2;
}

.cta-band__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.cta-band__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 auto 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1.2fr 1.3fr;
  gap: 32px;
  padding-bottom: 56px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer__logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.footer__brand-text {
  font-size: 17px;
  font-weight: 700;
}

.footer__brand-hk {
  color: var(--red);
}

.footer__brand-enerji {
  color: var(--white);
}

.footer__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer__est {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.footer__heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.footer__link {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  padding: 6px 0;
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--red);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__contact-link {
  color: var(--red);
}

.footer__contact-link:hover {
  text-decoration: underline;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ============================================
   HOMEPAGE HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__grid-bg {
  position: absolute;
  inset: -70px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  animation: gridDrift 25s linear infinite;
}

.hero__orb {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  filter: blur(55px);
  right: 5%;
  top: 15%;
  animation: orbFloat 8s ease-in-out infinite;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-30px, 20px);
  }
}

.hero__accent {
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  height: 100%;
  background: var(--red);
  opacity: 0.1;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Hero Left */
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero__tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 var(--red-glow);
  }

  50% {
    box-shadow: 0 0 0 8px transparent;
  }
}

.hero__title {
  font-size: clamp(40px, 4.8vw, 68px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.45;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero__title-accent {
  color: var(--red);
}

.hero__title-outline {
  color: #0b1320; /* Matches dark background to hide overlapping strokes */
  -webkit-text-stroke: 0;
  text-shadow: 
    -1.5px -1.5px 0 var(--white),  
     1.5px -1.5px 0 var(--white),
    -1.5px  1.5px 0 var(--white),
     1.5px  1.5px 0 var(--white);
  letter-spacing: 0px;
}

.hero__desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.0s;
}

/* Hero Right */
.hero__right {
  opacity: 0;
  animation: fadeLeft 0.9s ease forwards 1.1s;
}

.hero__video-wrap {
  position: relative;
  border-radius: var(--radius);
  aspect-ratio: 16/10;
}

.hero__video-placeholder {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero__play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s ease-in-out infinite;
  cursor: pointer;
}

.hero__play-btn svg {
  width: 24px;
  height: 24px;
  color: var(--white);
  margin-left: 3px;
}

.hero__video-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero__float-card {
  position: absolute;
  bottom: 20px;
  left: -30px;
  background: rgba(15, 30, 53, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 24px;
  display: flex;
  gap: 28px;
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {

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

  50% {
    transform: translateY(-8px);
  }
}

.hero__float-stat {
  text-align: center;
}

.hero__float-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 900;
  color: var(--red);
}

.hero__float-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   SERVICES STRIP (homepage)
   ============================================ */
.section--navy {
  background: var(--navy);
  padding-top: 80px;
  padding-bottom: 60px;
}

.hk-strip-section {
  padding-top: 40px;
}

.hk-strip-section .section__header {
  margin-bottom: 32px;
}

.section__tag--light {
  color: var(--red);
  opacity: 0.9;
}

.section__title--light {
  color: var(--white);
}

.section__subtitle--light {
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  margin: 0 auto;
}

.hk-strip {
  display: flex;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

/* Strip Footer — References CTA */
.hk-strip-footer {
  padding: 32px 0 0;
}

.hk-strip-footer__line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10,22,40,0.1), transparent);
  margin-bottom: 28px;
}

.hk-strip-footer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hk-strip-footer__count {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(10, 22, 40, 0.5);
}

.hk-strip-footer__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--navy);
  background: transparent;
  border: 1px solid rgba(10, 22, 40, 0.2);
  padding: 10px 24px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.hk-strip-footer__link:hover .hk-strip-footer__cta {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.hk-strip-footer__link:hover .hk-strip-footer__cta svg {
  transform: translateX(4px);
}

.hk-strip-footer__cta svg {
  transition: transform 0.3s ease;
}

.hk-strip-footer__link:hover .hk-strip-footer__cta {
  color: var(--red);
}

.hk-strip-footer__link:hover .hk-strip-footer__cta svg {
  transform: translateX(4px);
}

.hk-strip__panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hk-strip__panel:last-child {
  border-right: none;
}

.hk-strip__panel:hover {
  flex: 2.2;
}

.hk-strip__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d2240 0%, #0A1628 100%);
  background-size: cover;
  background-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.08);
}

.hk-strip__panel:hover .hk-strip__bg {
  transform: scale(1.0);
}

.hk-strip__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.3) 100%);
  transition: background 0.4s ease;
  z-index: 1;
}

.hk-strip__panel:hover .hk-strip__overlay {
  background: linear-gradient(to top, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.15) 100%);
}

.hk-strip__red-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #E31E24;
  z-index: 3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hk-strip__panel:hover .hk-strip__red-line {
  transform: scaleX(1);
}

.hk-strip__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.hk-strip__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #E31E24;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.hk-strip__title {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin: 0;
  transition: font-size 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hk-strip__panel:hover .hk-strip__title {
  font-size: 17px;
}

.hk-strip__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease,
              margin 0.4s ease;
}

.hk-strip__panel:hover .hk-strip__desc {
  max-height: 80px;
  opacity: 1;
  margin-top: 10px;
}

.hk-strip__arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #E31E24;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease 0.1s,
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
  margin-top: 0;
}

.hk-strip__panel:hover .hk-strip__arrow {
  opacity: 1;
  transform: translateY(0);
  margin-top: 14px;
}

.hk-strip__arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #E31E24;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.3s ease, color 0.3s ease;
}

.hk-strip__panel:hover .hk-strip__arrow-icon {
  background: #E31E24;
  color: var(--white);
}

@media (max-width: 1024px) {
  .hk-strip { height: 340px; }
  .hk-strip__title { font-size: 14px; }
  .hk-strip__panel:hover .hk-strip__title { font-size: 15px; }
  .hk-strip__content { padding: 24px 20px; }
  .hk-strip__desc { font-size: 12px; }
}

@media (max-width: 768px) {
  .hk-strip {
    flex-wrap: wrap;
    height: auto;
  }
  .hk-strip__panel {
    flex: none !important;
    width: 50%;
    height: 260px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hk-strip__panel:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hk-strip__panel:nth-child(n+3) {
    border-bottom: none;
  }
  .hk-strip__desc {
    max-height: 80px;
    opacity: 1;
    margin-top: 8px;
  }
  .hk-strip__arrow {
    opacity: 1;
    transform: translateY(0);
    margin-top: 10px;
  }
  .hk-strip__bg {
    transform: scale(1.0);
  }
  .hk-strip__red-line {
    transform: scaleX(1);
  }
}

@media (max-width: 480px) {
  .hk-strip__panel {
    width: 100% !important;
    height: 220px;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hk-strip__panel:last-child { border-bottom: none; }
  .hk-strip__content { padding: 20px 18px; }
}

/* ============================================
   ABOUT PREVIEW (homepage)
   ============================================ */
.about-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-preview__text p {
  margin-bottom: 20px;
}

.about-preview__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.about-preview__feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.about-preview__feature:hover {
  background: var(--white);
  border-color: rgba(10, 22, 40, 0.08);
  border-left-color: var(--navy-mid);
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.1);
  transform: translateY(-3px);
}

.about-preview__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(10, 22, 40, 0.06);
  color: var(--navy-mid);
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-preview__feature-icon svg {
  width: 14px;
  height: 14px;
}

.about-preview__feature:hover .about-preview__feature-icon {
  background: var(--navy-mid);
  color: var(--white);
}

.about-preview__img-wrap {
  position: relative;
}

.about-preview__img-wrap .img-placeholder {
  min-height: 420px;
}

.about-preview__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.about-preview__img-accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  border: 3px solid var(--red);
  border-radius: var(--radius);
  opacity: 0.2;
  z-index: -1;
}

/* ============================================
   SERVICES PREVIEW (homepage)
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  padding: 36px 28px;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(227, 30, 36, 0.08);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.card:hover .service-card__icon {
  background: var(--red);
  color: var(--white);
}

.service-card__voltage {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.service-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.service-card__en {
  font-size: 13px;
  color: var(--gray-300);
  margin-bottom: 16px;
  font-style: italic;
}

.service-card__desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ============================================
   REFERENCES TABLE
   ============================================ */
.ref-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}

.ref-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.ref-table th {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 20px;
  text-align: left;
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-100);
}

.ref-table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-500);
}

.ref-table tr:last-child td {
  border-bottom: none;
}

.ref-table tr:hover td {
  background: rgba(227, 30, 36, 0.03);
}

.ref-table__num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--red);
  font-size: 13px;
}

.ref-table__name {
  font-weight: 600;
  color: var(--text-dark);
}

.ref-table__date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-400);
}

.ref-table__ongoing {
  color: var(--red);
  font-weight: 700;
}

.ref-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.ref-counter {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================
   REFERENCES DUAL VIEW & MAP
   ============================================ */
.ref-view-toggle {
  display: flex;
  background: var(--gray-100);
  border-radius: 30px;
  padding: 4px;
}

.view-btn {
  border: none;
  background: transparent;
  padding: 8px 24px;
  font-size: 14px;
  font-family: var(--font-primary);
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  color: var(--gray-400);
  transition: all 0.3s ease;
}

.view-btn.active {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.ref-view-section {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ref-view-section.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.turkey-map-wrapper {
  position: relative;
  width: 100%;
  background: radial-gradient(circle at center, #ffffff 0%, #e8ecf0 100%);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 32px 16px;
  box-shadow: 0 15px 45px rgba(15, 23, 42, 0.06), inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.turkey-map-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.turkey-map-container svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
  overflow: visible;
}

.turkey-map-container svg path {
  fill: #e8ecf0;
  stroke: #ffffff;
  stroke-width: 1;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: default;
}

.turkey-map-container svg path:hover {
  fill: #d1d5db;
}

/* Completed Project City */
.turkey-map-container svg path.city-completed {
  fill: var(--red);
  filter: drop-shadow(0 0 8px rgba(227, 30, 36, 0.4));
  cursor: pointer;
}

/* Ongoing Project City */
.turkey-map-container svg path.city-ongoing {
  fill: #0A1628 !important;
  filter: drop-shadow(0 0 8px rgba(10, 22, 40, 0.4));
  cursor: pointer;
}

/* Hover for active cities */
.turkey-map-container svg path.city-completed:hover,
.turkey-map-container svg path.city-ongoing:hover {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
  transform: scale(1.02);
  transform-origin: center;
  stroke: var(--white);
  stroke-width: 1.5;
}

/* Lighten fill color on hover via opacity logic in JS or directly here via filters if supported */
.turkey-map-container svg path.city-completed:hover {
  fill: #f53138;
  /* Slightly lighter red */
}

.turkey-map-container svg path.city-ongoing:hover {
  fill: #162a4a;
  /* Slightly lighter navy */
}

/* Tooltip */
.map-tooltip {
  position: absolute;
  background: var(--white);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.15);
  border-left: 4px solid var(--red);
  color: var(--text-dark);
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 150ms ease, transform 150ms ease;
  z-index: 100;
  min-width: 250px;
  max-width: 380px;
  visibility: hidden;
}

.map-tooltip.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  /* Transform controlled by JS to handle smart positioning */
}

.map-tooltip__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-100);
}

.map-tooltip__city {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  border: none;
}

.map-tooltip__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
}

.map-tooltip__list-wrapper {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 6px;
  pointer-events: auto;
}

/* Scrollbar styles for tooltip */
.map-tooltip__list-wrapper::-webkit-scrollbar {
  width: 4px;
}

.map-tooltip__list-wrapper::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.map-tooltip__list-wrapper::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.map-tooltip__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.map-tooltip__item {
  margin-bottom: 10px;
  font-size: 13px;
  position: relative;
  padding-left: 14px;
  line-height: 1.4;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.map-tooltip__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.map-tooltip__project-name {
  font-weight: 400;
  color: #374151;
}

.map-tooltip__employer {
  font-size: 11px;
  color: #9ca3af;
  font-style: italic;
  font-weight: 400;
  margin-top: 4px;
}

.map-tooltip__item::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--red);
  font-size: 16px;
  font-weight: bold;
}

/* ============================================
   MAP HEADER & LEGEND
   ============================================ */
.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--white);
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.map-header__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.map-header__center {
  display: flex;
  align-items: center;
  gap: 16px;
}

.map-header__stat {
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-header__stat-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--red);
}

.map-header__stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.5px;
}

.map-header__divider {
  width: 1px;
  height: 24px;
  background-color: #e5e7eb;
}

.map-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.map-legend__item {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #4b5563;
  font-weight: 500;
}

.map-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-right: 8px;
}

.map-legend__dot--red {
  background-color: var(--red);
}

.map-legend__dot--navy {
  background-color: var(--navy);
}

.map-legend__dot--gray {
  background-color: #cbd5e1;
}

@media (max-width: 768px) {
  .map-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}

.about-content__text p {
  margin-bottom: 20px;
}

.about-content__italic {
  font-style: italic;
  color: var(--gray-400);
  border-left: 3px solid var(--red);
  padding-left: 20px;
}

/* Timeline */
.timeline {
  margin-top: 48px;
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-100);
}

.timeline__item {
  position: relative;
  margin-bottom: 32px;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--red);
}

.timeline__year {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.timeline__desc {
  font-size: 14px;
  color: var(--gray-500);
}

.about-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, 250px);
  gap: 20px;
}

.about-img-grid>* {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.about-img-grid>*:first-child {
  grid-row: 1 / span 2;
  grid-column: 1;
}

.about-img-grid>*:nth-child(2) {
  grid-column: 2;
}

.about-img-grid>*:nth-child(3) {
  grid-column: 2;
}

/* About Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
}

.about-stat-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: all var(--transition);
}

.about-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.about-stat-card__num {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 8px;
}

.about-stat-card__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: -64px;
}

.services-page-grid .card--full {
  grid-column: span 2;
}

.service-detail {
  padding: 24px 40px 40px 40px;
}

.service-detail__left-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.card:hover .service-detail__left-bar {
  transform: scaleY(1);
}

.service-detail__voltage {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.service-detail__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.service-detail__en {
  font-size: 14px;
  color: var(--gray-300);
  font-style: italic;
  margin-bottom: 16px;
}

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

.service-detail__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-detail__images--four {
  grid-template-columns: repeat(4, 1fr);
}

.service-detail__images .img-placeholder {
  min-height: 140px;
  font-size: 11px;
}

/* ============================================
   GALLERY (projects page)
   ============================================ */
.gallery-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-tab:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.gallery-tab--active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

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

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

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

.gallery-item__bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.15);
  font-size: 12px;
}

.gallery-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.85), transparent);
  padding: 24px 20px 16px;
}

.gallery-item__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.gallery-item__en {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.gallery-panel {
  display: none;
}

.gallery-panel--active {
  display: block;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 56px;
}

.contact-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}

.contact-card:hover {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(227, 30, 36, 0.08);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.contact-card__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.contact-card__value {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-card__link {
  color: var(--red);
}

.contact-card__link:hover {
  text-decoration: underline;
}

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

.contact-form-wrap {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 40px;
}

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

.contact-form__group {
  margin-bottom: 16px;
}

.contact-form__group:last-of-type {
  margin-bottom: 24px;
}

.contact-form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-dark);
  transition: border-color var(--transition);
  outline: none;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--red);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--gray-300);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-map {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  gap: 12px;
}

.contact-map svg {
  width: 40px;
  height: 40px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__right {
    display: block;
  }

  .about-preview__grid,
  .about-content__grid {
    grid-template-columns: 1fr;
  }

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

  .services-page-grid .card--full {
    grid-column: span 2;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

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

  .stats-bar__item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    padding: 100px 40px 40px;
    gap: 24px;
    z-index: 1000;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links .nav__link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 16px;
  }

  .nav__links .nav__link:hover {
    color: var(--white) !important;
  }

  .nav__links .nav__link--cta {
    text-align: center;
    margin-top: 16px;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero__float-card {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    height: 260px;
  }

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

  .services-page-grid .card--full {
    grid-column: span 1;
  }

  .service-detail__images--four {
    grid-template-columns: 1fr 1fr;
  }

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

  .contact-cards {
    grid-template-columns: 1fr;
  }

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

  .contact-form__row {
    grid-template-columns: 1fr;
  }

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

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

  .about-img-grid {
    grid-template-columns: 1fr;
  }

  .about-img-grid .img-placeholder:first-child {
    grid-row: span 1;
  }

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

  .ref-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
  }

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

  .about-preview__features {
    grid-template-columns: 1fr;
  }
}

/* LANGUAGE SWITCHER */

.nav__lang {
  position: relative;
  margin-left: 16px;
}

.nav__lang-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 60px;
}

.nav__lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav__lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.nav__lang:hover .nav__lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__lang-dropdown a {
  padding: 12px 16px;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.nav__lang-dropdown a:last-child {
  border-bottom: none;
}

.nav__lang-dropdown a:hover,
.nav__lang-dropdown a.lang-active {
  background: #f8f9fa;
  color: var(--primary);
}

.nav--scrolled .nav__lang-btn {
  background: #f8f9fa;
  color: #1a1a1a;
  border-color: #e5e5e5;
}

/* ============================================
   SERVICE GALLERY & COMPONENT STYLES
   ============================================ */
.service-gallery {
  margin-top: 24px;
}

.service-gallery__hero-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 320px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background-color: var(--gray-100);
}

.service-gallery__hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.service-gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.85), transparent);
  color: #fff;
  padding: 50px 24px 34px;
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
}

.service-gallery__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.service-gallery__thumbs::-webkit-scrollbar {
  height: 6px;
}

.service-gallery__thumbs::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}

.service-gallery__thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: all 0.2s;
}

.service-gallery__thumb:hover {
  opacity: 0.8;
}

.service-gallery__thumb.active {
  border-color: var(--red);
}

.service-placeholder {
  margin-top: 24px;
  width: 100%;
  height: 200px;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #94a3b8;
  background-color: #f8fafc;
}

.service-placeholder__icon {
  width: 48px;
  height: 48px;
  color: #94a3b8;
}

.service-placeholder__text {
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
}

/* =========================================================================
   SUB-PAGE & SERVICES REFACTOR STYLES (PHASE 7)
   ========================================================================= */

/* Main Page Card Adjustments */
.card--link .card__img-link {
  display: block;
  position: relative;
  overflow: hidden;
  height: 280px;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.card--link .card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card--link .card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card--link .card__overlay-text {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.card--link:hover .card__img {
  transform: scale(1.05);
}

.card--link:hover .card__overlay {
  opacity: 1;
}

.card--link:hover .card__overlay-text {
  transform: translateY(0);
}

/* Disabled Placeholder Cards */
.card--disabled {
  cursor: default;
}

.card--disabled .card__img-link {
  position: relative;
  display: block;
  height: 280px;
  background: #f1f5f9;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.card--disabled .card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card--disabled:hover .card__img-link {
  opacity: 0.8;
}

.card--disabled:hover .card__overlay {
  opacity: 1;
}

/* Subpage Stats Ribbon */
.subpage-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-card {
  padding: 24px;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.stat-card__num {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-card__label {
  font-size: 1.125rem;
  color: var(--heading);
  font-weight: 500;
}

/* Horizontal Process Timeline */
.subpage-process-timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.process-line {
  position: absolute;
  top: 32px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step__circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--red);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: background 0.3s ease, color 0.3s ease;
}

.process-step:hover .process-step__circle {
  background: var(--red);
  color: var(--white);
}

.process-step__text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
}

/* Mobile Timeline Adjustments */
@media (max-width: 768px) {
  .subpage-process-timeline {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 24px;
  }

  .process-line {
    top: 0;
    bottom: 0;
    left: 55px;
    /* Adjust to hit circle center */
    right: auto;
    width: 2px;
    height: 100%;
  }

  .process-step {
    width: 100%;
    flex-direction: row;
    align-items: center;
    margin-bottom: 32px;
  }

  .process-step__circle {
    margin-bottom: 0;
    margin-right: 24px;
    flex-shrink: 0;
  }

  .process-step__text {
    text-align: left;
  }
}

/* Gallery Grid */
.subpage-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .subpage-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .subpage-gallery-grid {
    grid-template-columns: 1fr;
  }
}

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

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

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

.gallery-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.85), transparent);
  pointer-events: none;
}

.gallery-item__caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  pointer-events: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox__caption {
  color: white;
  margin-top: 24px;
  font-size: 1.125rem;
  font-weight: 300;
  text-align: center;
  max-width: 800px;
}

.lightbox__close {
  position: absolute;
  top: 32px;
  right: 48px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox__close:hover {
  opacity: 1;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: none;
  width: 64px;
  height: 64px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
  left: 32px;
}

.lightbox__nav--next {
  right: 32px;
}

.lightbox__nav svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

@media (max-width: 768px) {
  .lightbox__nav {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    /* better visibility on mobile */
  }

  .lightbox__nav--prev {
    left: 16px;
  }

  .lightbox__nav--next {
    right: 16px;
  }

  .lightbox__close {
    top: 16px;
    right: 24px;
  }
}


/* =========================================
   ZIGZAG FULL-BLEED LAYOUT
   ========================================= */

.zigzag-section {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 500px;
  background-color: #ffffff;
  overflow: hidden;
  position: relative;
  transition: background-color 0.4s ease;
}

.zigzag-section:hover .zigzag__img {
  transform: scale(1.04);
}

.zigzag-section:hover .zigzag__img-wrapper::after {
  opacity: 1;
}

.zigzag-section:hover .zigzag__link span {
  gap: 12px;
}

.zigzag-section--reverse {
  flex-direction: row-reverse;
}

.zigzag__media {
  flex: 0 0 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.zigzag__img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.1);
}

.zigzag__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.zigzag__img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.15);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.zigzag__badge {
  position: absolute;
  bottom: 40px;
  background-color: var(--red);
  color: white;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.zigzag__badge--left {
  left: 40px;
}

.zigzag__badge--right {
  right: 40px;
}

.zigzag__content {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 8%;
}

.zigzag__content-inner {
  max-width: 500px;
  width: 100%;
}

.zigzag__title {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.zigzag__desc {
  color: var(--text-gray);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.zigzag__link {
  text-decoration: none;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
}

.zigzag__link span {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

/* =========================================
   DIVIDER 
   ========================================= */

.services-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0 20px 0;
}

.services-divider__line {
  flex: 1;
  height: 1px;
  background-color: #e2e8f0;
}

.services-divider__text {
  padding: 0 24px;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =========================================
   OTHER SERVICES IMAGE GRID (DISABLED)
   ========================================= */

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

.other-svc-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: not-allowed;
  opacity: 0.85;
}

.other-svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  opacity: 1;
}

.other-svc-card__media {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.other-svc-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(40%);
  transition: filter 0.3s ease, transform 0.5s ease;
}

.other-svc-card:hover .other-svc-card__img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.other-svc-card__status {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10, 22, 40, 0.85);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.other-svc-card__content {
  padding: 20px;
}

.other-svc-card__badge {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.other-svc-card__title {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0;
}

/* =========================================
   ZIGZAG & BANDS MOBILE RESPONSIVE
   ========================================= */

@media (max-width: 768px) {

  .zigzag-section,
  .zigzag-section--reverse {
    flex-direction: column;
    height: auto;
  }

  .zigzag__media {
    flex: none;
    width: 100%;
    height: 280px;
    padding: 24px;
  }

  .zigzag__badge {
    bottom: 12px;
  }

  .zigzag__badge--left,
  .zigzag__badge--right {
    left: 24px;
  }

  .zigzag__content {
    flex: none;
    padding: 40px 24px;
    width: 100%;
  }

  .zigzag__title {
    font-size: 1.6rem;
  }
}

@media (max-width: 1024px) {
  .other-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .other-services-grid {
    grid-template-columns: 1fr;
  }
}
/* --- NEW SUBPAGE LAYOUT CLASSES --- */

/* Subpage Intro Grid */
.subpage-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 900px) {
    .subpage-intro-grid {
        grid-template-columns: 1.2fr 1fr; /* Text a bit wider than image */
        gap: 64px;
    }
}
.subpage-intro-text .about-text__lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4B5563;
}
.subpage-intro-image img {
    width: 100%;
    border-radius: 12px;
    height: 100%;
    object-fit: cover;
    max-height: 500px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); /* elegant shadow */
}

/* Subpage Reference Grid */
.subpage-ref-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .subpage-ref-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}
.subpage-ref-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.subpage-ref-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--secondary-color, #e31837);
}
.subpage-ref-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color, #0a1f44);
    margin-bottom: 8px;
    line-height: 1.4;
}
.subpage-ref-card__employer {
    font-size: 0.875rem;
    color: #4B5563;
    margin-bottom: 16px;
    font-weight: 500;
}
.subpage-ref-card__details {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #F3F4F6;
    padding-top: 16px;
}
.subpage-ref-card__detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #6B7280;
}
.subpage-ref-card__detail svg {
    color: var(--secondary-color, #e31837);
    flex-shrink: 0;
}

/* ============================================
   VIDEO MODAL
   ============================================ */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  background: rgba(10, 22, 40, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.video-modal--active {
  opacity: 1;
  visibility: visible;
}

.video-modal__close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2;
  line-height: 1;
}

.video-modal__close:hover {
  color: var(--red);
}

.video-modal__content {
  width: 90%;
  max-width: 1000px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.video-modal--active .video-modal__content {
  transform: scale(1);
}

/* =========================================================================
   COOKIE BANNER
   ========================================================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0a1628;
    color: #fff;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 10000;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
    transition: opacity 0.3s ease;
}
@media (min-width: 768px) {
    .cookie-banner {
        flex-direction: row;
        padding: 20px 48px;
    }
}
.cookie-banner__text {
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}
.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
