/* ============================================
   CSK Energy Co., Ltd. — Corporate Website
   Color Palette from Brand Guide
   ============================================ */

/* --- CSS Variables --- */
:root {
  --navy: #00375F;   /* dark WEG-blue (was #0B1F3A) */
  --blue: #0064A6;   /* WEG primary blue (Pantone 641C) */
  --sky: #2B9CD8;    /* lighter WEG accent */
  --white: #FFFFFF;
  --grey-light: #F3F6F9;
  --grey-steel: #6B7280;
  --black: #111827;
  --font-heading: 'Titillium Web', 'Noto Sans Thai', sans-serif;
  --font-body: 'Inter', 'Noto Sans Thai', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  line-height: 1.7;
  font-size: 16px;
  background: var(--white);
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--black);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  color: var(--grey-steel);
  max-width: 640px;
  font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-sky {
  background: var(--sky);
  color: var(--white);
}
.btn-sky:hover {
  background: var(--blue);
}

/* --- Header / Navbar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(0, 55, 95, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--white);
}

.logo span {
  color: var(--sky);
  font-weight: 400;
  font-size: 0.7rem;
  display: block;
  margin-top: -2px;
}

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

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sky);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--blue) !important;
  color: var(--white) !important;
  border-radius: 4px;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--sky) !important;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  overflow: hidden;
}

.lang-switch a {
  padding: 6px 12px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5) !important;
  transition: all var(--transition);
}

.lang-switch a::after { display: none !important; }

.lang-switch a.active-lang {
  background: rgba(255,255,255,0.15);
  color: var(--white) !important;
}

.lang-switch a:hover {
  color: var(--white) !important;
  background: rgba(255,255,255,0.1);
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #FFFFFF 0%, #EAF2F9 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(41,169,225,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,169,225,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,87,168,0.15), transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
}

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

.hero-content h1 {
  color: var(--navy);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
}

.hero-content h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-content p {
  color: var(--grey-steel);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.8;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #DCE6EE;
}

.hero-stat h3 {
  color: var(--blue);
  font-size: 2rem;
  font-weight: 800;
}

.hero-stat p {
  color: var(--grey-steel);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-image-main {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: 12px;
  border: 1px solid rgba(41,169,225,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-main svg {
  width: 60%;
  opacity: 0.9;
}

.hero-float-card {
  position: absolute;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,55,95,0.12);
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-float-card .icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float-card h4 {
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-float-card p {
  color: var(--grey-steel);
  font-size: 0.75rem;
  margin: 0;
}

.float-card-1 { bottom: -20px; left: -30px; }
.float-card-2 { top: -20px; right: -30px; }

/* --- Section Spacing --- */
.section {
  padding: 80px 0;
}

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

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-grey {
  background: var(--grey-light);
}

/* --- Services Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: var(--blue);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--grey-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  color: var(--grey-steel);
  font-size: 0.92rem;
  line-height: 1.7;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 16px;
  transition: gap var(--transition);
}

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

/* --- Industries --- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.industry-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}

.industry-item:hover {
  background: rgba(0,87,168,0.2);
  border-color: var(--sky);
  transform: translateY(-2px);
}

.industry-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background: rgba(41,169,225,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
}

.industry-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

/* --- Why CSK / Features --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-num {
  width: 48px;
  height: 48px;
  background: var(--grey-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--blue);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-item h4 {
  margin-bottom: 6px;
}

.feature-item p {
  color: var(--grey-steel);
  font-size: 0.92rem;
}

/* --- Projects / Case Studies --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.project-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  transition: all var(--transition);
}

.project-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.project-image {
  height: 220px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-image .overlay-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.project-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--sky);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
}

.project-body {
  padding: 24px;
}

.project-body h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.project-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.project-meta span {
  font-size: 0.8rem;
  color: var(--grey-steel);
  display: flex;
  align-items: center;
  gap: 4px;
}

.project-body p {
  color: var(--grey-steel);
  font-size: 0.9rem;
}

/* --- About Page --- */
.about-hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #EAF2F9 100%);
  padding: 140px 0 80px;
  text-align: center;
}

.about-hero h1 {
  color: var(--navy);
  margin-bottom: 16px;
}

.about-hero p {
  color: var(--grey-steel);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.csk-meaning {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.csk-letter {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid #E5E7EB;
}

.csk-letter .letter {
  width: 64px;
  height: 64px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.csk-letter h3 {
  margin-bottom: 4px;
  color: var(--navy);
}

.csk-letter .meaning {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.csk-letter p {
  color: var(--grey-steel);
  font-size: 0.9rem;
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #E5E7EB;
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #f0f0f0;
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}

.timeline-item h4 {
  color: var(--navy);
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--grey-steel);
  font-size: 0.92rem;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--grey-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.contact-item h4 {
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.contact-item p {
  color: var(--grey-steel);
  font-size: 0.9rem;
}

.contact-item a {
  color: var(--blue);
}
.contact-item a:hover {
  color: var(--sky);
}

/* --- Contact Form --- */
.contact-form {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--black);
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,87,168,0.1);
}

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

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

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  padding: 64px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

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

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--sky);
}

.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

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

/* --- Page Headers (Inner Pages) --- */
.page-header {
  background: linear-gradient(135deg, #FFFFFF 0%, #EAF2F9 100%);
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(41,169,225,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,169,225,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

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

.page-header h1 {
  color: var(--navy);
  margin-bottom: 12px;
}

.page-header p {
  color: var(--grey-steel);
  font-size: 1.05rem;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--grey-steel);
}
.breadcrumb a:hover {
  color: var(--sky);
}
.breadcrumb span {
  color: var(--sky);
}
.breadcrumb .sep {
  color: rgba(255,255,255,0.3);
}

/* --- Service Detail Cards --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid #E5E7EB;
}

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

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

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

.service-detail-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--grey-light), #dce5f0);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-detail-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-detail-content p {
  color: var(--grey-steel);
  margin-bottom: 20px;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.service-list li {
  font-size: 0.9rem;
  color: var(--black);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--sky);
  border-radius: 2px;
}

/* --- PM Detail --- */
.pm-scope {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.pm-step {
  background: var(--grey-light);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
}

.pm-step .step-num {
  width: 32px;
  height: 32px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.pm-step h4 {
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.pm-step p {
  font-size: 0.8rem;
  color: var(--grey-steel);
}

/* --- Products / Brands --- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.brand-card {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.brand-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.brand-logo-placeholder {
  width: 80px;
  height: 80px;
  background: var(--grey-light);
  border-radius: 12px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--blue);
}

.brand-card h4 {
  margin-bottom: 8px;
}

.brand-card p {
  color: var(--grey-steel);
  font-size: 0.88rem;
}

/* --- Map placeholder --- */
.map-container {
  width: 100%;
  height: 350px;
  background: var(--grey-light);
  border-radius: 10px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E5E7EB;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 24px;
    width: 100%;
    text-align: left;
  }

  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .csk-meaning { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pm-scope { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: 1fr; }

  .service-detail {
    grid-template-columns: 1fr;
  }
  .service-detail:nth-child(even) {
    direction: ltr;
  }

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

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Utility --- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-48 { margin-bottom: 48px; }

/* brand logo image (replaces text logo) */
.logo-img { height: 46px; width: auto; display: block; }
.footer-brand .logo-img { height: 52px; }

/* hero product photo */
.hero-image-main { background: #fff !important; box-shadow: 0 20px 50px rgba(0,55,95,0.15); border: 1px solid #E5E7EB; }
.hero-motor-img { width: 100%; height: 100%; object-fit: cover; }
