/* ============================================
   SINGHAI ENERGY - Main Stylesheet
   VI Colors:
   - Deep Ocean Blue: #0074C7 (Primary)
   - Sky Blue: #00A7E0 (Accent)
   - Dark Gray: #2D3436 (Text)
   - Light Gray: #D2D2D2 (Borders/BG)
   - White: #FFFFFF
   ============================================ */

:root {
  --primary: #0074C7;
  --primary-dark: #005A9E;
  --primary-light: #0095E0;
  --accent: #00A7E0;
  --accent-light: #4DC8F0;
  --white: #FFFFFF;
  --light-gray: #D2D2D2;
  --lighter-gray: #F0F4F8;
  --dark-gray: #2D3436;
  --medium-gray: #636E72;
  --text: #2D3436;
  --text-light: #636E72;
  --bg-section: #F8FAFB;
  --nav-bg: rgba(0, 116, 199, 0.97);
  --nav-scrolled: rgba(0, 90, 158, 0.98);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 80px;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans SC', 'Source Han Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ============ Navigation ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background: var(--primary);
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

.navbar .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  grid-column: 1;
}

.navbar .logo-wrap {
  background: transparent;
  border-radius: 8px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 280px;
  transition: var(--transition);
}

.navbar .logo-img {
  height: 55px;
  width: auto;
  max-width: 312px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  list-style: none;
  grid-column: 2;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 16px;
  border-radius: 24px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.5px;
  grid-column: 3;
  justify-self: end;
}

.lang-switch:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.5);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; grid-column: 3; justify-self: end; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #003D6B 0%, #0074C7 30%, #005A9E 60%, #003D6B 100%);
  overflow: hidden;
  text-align: center;
  padding: 2rem;
}

/* Hero background image with Ken Burns / subtle motion */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1);
  animation: heroKenBurns 25s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-1%, -1%); }
  100% { transform: scale(1.05) translate(1%, 0.5%); }
}

/* Dark overlay for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(0, 45, 85, 0.82) 0%,
    rgba(0, 80, 140, 0.65) 45%,
    rgba(0, 45, 85, 0.78) 100%
  );
}

/* Animated shimmer / water reflection */
.hero-shimmer {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.08) 75%,
    transparent 100%
  );
  background-size: 200% 200%;
  animation: heroShimmer 8s linear infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
}

@keyframes heroShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Wave animation */
.hero-waves {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-waves svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

.hero-waves .wave-bg { fill: var(--white); }
.hero-waves .wave-overlay {
  fill: var(--accent);
  opacity: 0.15;
  animation: waveMove 8s ease-in-out infinite alternate;
}

@keyframes waveMove {
  0% { transform: translateX(0) scaleY(1); }
  100% { transform: translateX(-50px) scaleY(1.2); }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: float 15s infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 2s; width: 6px; height: 6px; }
.particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 65%; top: 70%; animation-delay: 6s; width: 3px; height: 3px; }
.particle:nth-child(5) { left: 80%; top: 25%; animation-delay: 8s; }
.particle:nth-child(6) { left: 90%; top: 55%; animation-delay: 10s; width: 5px; height: 5px; }
.particle:nth-child(7) { left: 15%; top: 80%; animation-delay: 3s; }
.particle:nth-child(8) { left: 55%; top: 15%; animation-delay: 7s; width: 3px; height: 3px; }
.particle:nth-child(9) { left: 70%; top: 45%; animation-delay: 5s; }
.particle:nth-child(10) { left: 35%; top: 10%; animation-delay: 9s; width: 4px; height: 4px; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-30px) translateX(15px); opacity: 0.6; }
  50% { transform: translateY(-15px) translateX(-10px); opacity: 0.4; }
  75% { transform: translateY(-40px) translateX(20px); opacity: 0.7; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--white);
}

.hero-brand {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-desc {
  font-size: 1.05rem;
  opacity: 0.75;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.45s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--lighter-gray);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 15px;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDot 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scrollDot {
  0% { top: 8px; opacity: 1; }
  100% { top: 28px; opacity: 0; }
}

/* ============ Sections ============ */
section { padding: 90px 2rem; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(0, 116, 199, 0.08);
  border-radius: 3px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--medium-gray);
  line-height: 1.8;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ============ About Section ============ */
#about { background: var(--bg-section); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--medium-gray);
  line-height: 1.9;
}

/* ============ Businesses ============ */
#businesses { background: var(--white); }

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.business-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 40px 30px;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.business-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.business-card:hover::before { transform: scaleX(1); }
.business-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.business-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.business-card:hover .business-icon { transform: scale(1.1); }

.business-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 12px;
}

.business-card p {
  color: var(--medium-gray);
  font-size: 0.95rem;
  line-height: 1.8;
}

.business-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}

/* ============ Future & Goals ============ */
#future { background: var(--bg-section); }

.future-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.future-content p {
  margin-bottom: 1rem;
  color: var(--medium-gray);
  line-height: 1.9;
}

.future-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.future-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.future-image-placeholder {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, #00A7E0 0%, #0074C7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

#goals { background: var(--white); }

/* ============ Global Network ============ */
#global {
  position: relative;
  background: url('../../星海全球业务底图.jpg') center center / cover no-repeat;
  color: var(--white);
  min-height: 620px;
}
#global::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 25, 52, 0.68);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  z-index: 0;
}
#global .container { position: relative; z-index: 1; }

#global .global-header { margin-bottom: 50px; }
#global .global-en-label {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding: 0;
}
#global .section-title { color: var(--white); font-size: 2.6rem; margin-top: 4px; }
#global .section-divider { background: var(--white); opacity: 0.7; }

.region-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
  text-align: center;
}

.region-item {
  background: rgba(0, 116, 199, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 22px 10px;
  transition: var(--transition);
}

.region-item:hover {
  background: rgba(0, 116, 199, 0.75);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.35);
}

.region-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.region-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
  stroke-width: 2;
}
.region-name { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.5px; }

/* Fly-in animation for global region items */
.fly-item {
  opacity: 0;
  transform: translateY(50px) scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fly-item.fly-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 1200px) {
  .region-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 992px) {
  .region-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .region-grid { grid-template-columns: repeat(3, 1fr); }
  #global .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .region-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .region-item { padding: 16px 8px; }
  .region-icon svg { width: 24px; height: 24px; }
  .region-name { font-size: 0.8rem; }
}

/* ============ Stats ============ */
#stats {
  padding: 60px 2rem;
  background: var(--white);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--medium-gray);
  font-weight: 500;
}

/* ============ Contact ============ */
#contact {
  background: var(--bg-section);
  text-align: center;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--medium-gray);
  font-size: 1rem;
}

.contact-item .ci-icon {
  font-size: 1.3rem;
  color: var(--primary);
}

/* ============ Footer ============ */
footer {
  background: #003D6B;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 30px 2rem;
  font-size: 0.85rem;
}

footer .footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

footer .footer-bottom {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ============ Animations on Scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .future-grid { grid-template-columns: 1fr; gap: 40px; }
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
  :root { --header-height: 65px; }

  .navbar {
    padding: 0 1.2rem;
    display: flex;
    justify-content: space-between;
  }

  .navbar .logo-wrap { padding: 6px 0; }
  .navbar .logo-img { height: 38px; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--nav-scrolled);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 1.5rem;
    transition: right 0.3s ease;
    backdrop-filter: blur(10px);
    justify-content: flex-start;
  }

  .nav-links.active { right: 0; }
  .nav-toggle { display: flex; z-index: 1001; }
  .lang-switch { display: none; }

  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-desc { font-size: 0.95rem; }

  section { padding: 60px 1.2rem; }
  .section-title { font-size: 1.8rem; }

  .business-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .about-image, .about-image-placeholder { height: 280px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; text-align: center; }
}

/* ============ Value Proposition (M03) ============ */
#value { background: var(--white); padding: 70px 2rem; text-align: center; }
.value-inner { max-width: 820px; margin: 0 auto; }
.value-title { font-size: 2rem; font-weight: 700; color: var(--dark-gray); margin: 16px 0; line-height: 1.4; }
.value-text { font-size: 1.1rem; color: var(--medium-gray); letter-spacing: 1px; }

/* About image element: fill the frame edge-to-edge */
.about-img-el { width: 100%; height: 100%; object-fit: cover; background: transparent; padding: 0; display: block; border-radius: var(--radius); }

/* ============ Core Advantages (M05) ============ */
#advantages { background: var(--bg-section); }
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.advantage-card { background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius); padding: 36px 26px; text-align: center; transition: var(--transition); position: relative; overflow: hidden; }
.advantage-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.advantage-card:hover::before { transform: scaleX(1); }
.advantage-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: transparent; }
.advantage-icon { font-size: 2.6rem; margin-bottom: 16px; }
.advantage-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark-gray); margin-bottom: 12px; }
.advantage-card p { color: var(--medium-gray); font-size: 0.92rem; line-height: 1.8; }

/* ============ Business Entry Cards (M06) ============ */
#businesses { background: var(--white); }
.business-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.biz-link { display: inline-block; margin-top: 14px; color: var(--primary); font-weight: 600; text-decoration: none; transition: var(--transition); }
.biz-link:hover { color: var(--primary-dark); transform: translateX(4px); }

/* Future gallery carousel */
.future-gallery {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 61, 107, 0.75);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  opacity: 0.85;
}

.carousel-btn:hover {
  background: rgba(0, 61, 107, 0.95);
  opacity: 1;
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--white);
  width: 28px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .carousel-slide img { height: 260px; }
  .carousel-btn { width: 36px; height: 36px; font-size: 1rem; }
}

/* Goals image */
.goals-img-el { width: 100%; height: 350px; object-fit: cover; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ============ CTA (M11) ============ */
.cta { background: linear-gradient(135deg, #003D6B 0%, #0074C7 60%, #005A9E 100%); color: var(--white); text-align: center; }
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-text { font-size: 1.6rem; font-weight: 600; margin-bottom: 28px; line-height: 1.5; }
.btn-light { background: var(--white); color: var(--primary); }
.btn-light:hover { background: var(--lighter-gray); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; margin-top: 20px; }
.contact-info-card { background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.contact-image { width: 100%; overflow: hidden; }
.contact-image img { width: 100%; height: auto; display: block; }
.contact-info-body { padding: 24px 30px 10px; text-align: left; }
.contact-line { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--medium-gray); font-size: 1rem; }
.contact-line .ci-icon { font-size: 1.3rem; color: var(--primary); }
.ci-svg { width: 1.3rem; height: 1.3rem; flex-shrink: 0; }
.contact-line a { color: var(--primary); text-decoration: none; }
.contact-form { background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--light-gray); border-radius: 6px; font-size: 0.95rem; font-family: inherit; margin-bottom: 14px; outline: none; transition: border-color 0.3s; }
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); }
.form-msg { margin-top: 4px; font-size: 0.9rem; min-height: 18px; }
.form-msg.success { color: var(--success); }
.form-msg.error { color: var(--danger); }

/* ============ Footer (M12) ============ */
.footer-top { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 30px; text-align: left; padding-bottom: 25px; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer-col p { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition); }
.footer-nav a:hover { color: var(--white); padding-left: 4px; }

/* ============ Responsive additions ============ */
@media (max-width: 1024px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  .advantages-grid { grid-template-columns: 1fr; }
  .future-gallery { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .cta-text { font-size: 1.3rem; }
}

/* ============ Business Detail Sections (#bunker / #cargo) ============ */
.business-section { background: var(--bg-section); text-align: center; }
.business-section.business-alt { background: var(--white); }
.business-detail { max-width: 860px; margin: 0 auto; }
.business-hero-icon { font-size: 5rem; margin-bottom: 18px; line-height: 1; min-height: 90px; }
.business-hero-icon .business-icon-img { height: 90px; width: auto; object-fit: contain; display: inline-block; }
.business-detail .section-label { margin-bottom: 16px; }
.business-detail .section-title { margin-bottom: 24px; }
.business-desc { font-size: 1.1rem; color: var(--medium-gray); line-height: 1.9; margin-bottom: 36px; }
.business-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 30px; text-align: left; margin-bottom: 40px; padding: 0; }
.business-features li { list-style: none; padding-left: 32px; position: relative; color: var(--text); font-size: 1rem; line-height: 1.7; }
.business-features li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 800; font-size: 1.1rem; }
.business-cta { min-width: 160px; }

@media (max-width: 768px) {
  :root { --header-height: 72px; }
  .navbar .logo-img { height: 48px; max-width: 270px; }
  .business-hero-icon { font-size: 3.5rem; }
  .business-features { grid-template-columns: 1fr; }
  .about-img-el { height: 280px; padding: 0; }
}
