/* ============================================
   LUK PETROLEUM LLC — Corporate Website
   ============================================ */

:root {
  --navy: #0B1F33;
  --navy-light: #1a3a5c;
  --navy-dark: #071525;
  --blue-soft: #eef4fb;
  --blue-mid: #2d5a8a;
  --white: #ffffff;
  --off-white: #f8fafc;
  --accent: #0B1F33;
  --accent-hover: #163a5c;
  --accent-light: rgba(11, 31, 51, 0.08);
  --text-dark: #0B1F33;
  --text-muted: #64748b;
  --text-body: #475569;
  --glass-bg: #ffffff;
  --glass-border: rgba(11, 31, 51, 0.1);
  --shadow: 0 4px 24px rgba(11, 31, 51, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 31, 51, 0.12);
  --shadow-accent: 0 4px 20px rgba(11, 31, 51, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --header-h: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  background: var(--blue-soft);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--accent-light);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.hero .btn-outline,
.cta-banner .btn-outline,
.page-hero .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-outline:hover,
.cta-banner .btn-outline:hover,
.page-hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.hero .btn-primary,
.cta-banner .btn-primary,
.page-hero .btn-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.hero .btn-primary:hover,
.cta-banner .btn-primary:hover,
.page-hero .btn-primary:hover {
  background: var(--blue-soft);
  border-color: var(--blue-soft);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(11, 31, 51, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 6px;
  transition: all var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--navy);
  background: var(--accent-light);
}

.header-cta {
  margin-left: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 31, 51, 0.88) 0%,
    rgba(11, 31, 51, 0.72) 50%,
    rgba(11, 31, 51, 0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 60px) 0 80px;
  max-width: 800px;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 span {
  color: #7eb8e8;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat strong {
  display: block;
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
}

.hero-stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---- Hero Slider ---- */
.hero-slider {
  min-height: clamp(520px, 88vh, 941px);
  align-items: stretch;
  padding: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1);
  transition: transform 8s ease;
}

.hero-slide.active img {
  transform: scale(1.06);
}

.hero-slide-overlay {
  display: none;
}

.hero-content-slider {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 48px) 24px 80px;
  max-width: 1280px;
  margin: 0 auto;
  left: 0;
  right: 0;
  pointer-events: none;
  color: var(--white);
}

/* Photo slides with text overlay */
.hero-slide-text {
  max-width: 720px;
  pointer-events: none;
}

.hero-slide-text h1 {
  margin-bottom: 16px;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(11, 31, 51, 0.65);
}

.hero-slide-text h1 span {
  color: #9ec5e8;
}

.hero-slide-text .hero-badge {
  background: rgba(11, 31, 51, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.hero-slide-text .hero-badge::before {
  background: var(--white);
}

.hero-slide-text .hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  text-shadow: 0 1px 10px rgba(11, 31, 51, 0.55);
}

.hero-buttons-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  pointer-events: auto;
}

.hero-slider .btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: none;
}

.hero-slider .btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  box-shadow: none;
  transform: none;
}

.hero-slider .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(11, 31, 51, 0.35);
}

.hero-slider .btn-outline:hover {
  background: rgba(11, 31, 51, 0.55);
  border-color: var(--white);
  transform: none;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

.hero-nav:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.hero-prev { left: 20px; }
.hero-next { right: 20px; }

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 31, 51, 0.25);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.hero-dot.active {
  background: var(--navy);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .hero-slider {
    min-height: clamp(400px, 65vh, 640px);
  }

  .hero-nav {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  .hero-prev { left: 10px; }
  .hero-next { right: 10px; }

  .hero-content-slider {
    padding-bottom: 70px;
  }
}

@media (max-width: 480px) {
  .hero-buttons-slider {
    flex-direction: column;
    max-width: 260px;
  }

  .hero-buttons-slider .btn {
    width: 100%;
  }
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
  min-height: clamp(280px, 42vh, 420px);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 31, 51, 0.82) 0%,
    rgba(11, 31, 51, 0.68) 50%,
    rgba(11, 31, 51, 0.78) 100%
  );
}

.page-hero .container {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.page-hero .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}

.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: #7eb8e8; }

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--blue-soft);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark .section-title,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.75);
}

.section-dark .section-label {
  color: #7eb8e8;
}

/* ---- Glass Cards ---- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  overflow: hidden;
}

.glass-card:hover {
  border-color: rgba(11, 31, 51, 0.25);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.section-dark .glass-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.section-dark .glass-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* ---- Grid Layouts ---- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---- Feature Cards ---- */
.feature-card {
  padding: 36px 28px;
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 16px;
  color: var(--navy);
}

.section-dark .feature-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #7eb8e8;
}

.section-dark .feature-card p {
  color: rgba(255, 255, 255, 0.7);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Product Cards ---- */
.product-card .product-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-card .product-body {
  padding: 24px;
}

.product-card h3 {
  margin-bottom: 10px;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ---- Service Cards ---- */
.service-card {
  display: flex;
  gap: 20px;
  padding: 32px;
}

.service-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 12px;
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---- Industry Cards ---- */
.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-card:hover img {
  transform: scale(1.06);
}

.industry-card .industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 31, 51, 0.95) 0%, rgba(11, 31, 51, 0.3) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background var(--transition);
}

.industry-card:hover .industry-overlay {
  background: linear-gradient(to top, rgba(11, 31, 51, 0.98) 0%, rgba(45, 90, 138, 0.3) 100%);
}

.industry-card h3 {
  font-size: 1.25rem;
  color: var(--white);
}

.industry-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}

.industry-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* ---- About Section ---- */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 20px 28px;
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-img-badge strong {
  display: block;
  font-size: 2.5rem;
  color: var(--navy);
  line-height: 1;
}

.section-dark .about-img-badge {
  background: rgba(255, 255, 255, 0.95);
}

.about-img-badge span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

.mv-card {
  padding: 32px;
  border-left: 3px solid var(--navy);
}

.mv-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
}

.mv-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Why Choose Us ---- */
.why-card {
  padding: 36px 28px;
  position: relative;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), transparent);
  border-radius: 2px;
}

.why-card .feature-icon {
  margin: 0 0 20px;
}

/* ---- CTA Banner ---- */
.cta-banner {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
}

.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 31, 51, 0.93), rgba(11, 31, 51, 0.85));
}

.cta-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  padding: 32px;
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 12px;
  color: var(--navy);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-card h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 1.05rem;
  color: var(--text-dark);
}

.contact-info-card a:hover {
  color: var(--navy);
}

.contact-form {
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-body);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--off-white);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-dark);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---- Dynamic Form ---- */
.form-alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.5;
}

.form-alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #dc2626;
  background: #fff5f5;
}

.field-error {
  display: block;
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 6px;
}

.form-group select.prefilled {
  border-color: var(--blue-mid);
  background: var(--blue-soft);
}

.btn.is-loading {
  opacity: 0.85;
  cursor: wait;
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ---- Footer ---- */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 0;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand img {
  height: 44px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7eb8e8;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-contact li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #7eb8e8;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ---- Animations ---- */
.fade-up,
.fade-left,
.fade-right,
.fade-in,
.scale-in {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up {
  transform: translateY(36px);
}

.fade-left {
  transform: translateX(-36px);
}

.fade-right {
  transform: translateX(36px);
}

.fade-in {
  transform: none;
}

.scale-in {
  transform: scale(0.92);
}

.fade-up.visible,
.fade-left.visible,
.fade-right.visible,
.fade-in.visible,
.scale-in.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

.fade-up.delay-1, .fade-left.delay-1, .fade-right.delay-1, .fade-in.delay-1, .scale-in.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2, .fade-left.delay-2, .fade-right.delay-2, .fade-in.delay-2, .scale-in.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3, .fade-left.delay-3, .fade-right.delay-3, .fade-in.delay-3, .scale-in.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4, .fade-left.delay-4, .fade-right.delay-4, .fade-in.delay-4, .scale-in.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5, .fade-left.delay-5, .fade-right.delay-5, .fade-in.delay-5, .scale-in.delay-5 { transition-delay: 0.5s; }

/* Hero load animation */
.hero-animate-in > * {
  opacity: 0;
  animation: heroFadeUp 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-animate-in .hero-badge { animation-delay: 0.15s; }
.hero-animate-in h1 { animation-delay: 0.3s; }
.hero-animate-in .hero-subtitle { animation-delay: 0.45s; }
.hero-animate-in .hero-buttons-slider { animation-delay: 0.6s; }

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page hero entrance */
.page-hero .container > * {
  opacity: 0;
  animation: heroFadeUp 0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.page-hero .breadcrumb { animation-delay: 0.1s; }
.page-hero h1 { animation-delay: 0.25s; }
.page-hero .section-desc { animation-delay: 0.4s; }

/* Counter stat highlight */
.stat-item strong.counting,
.about-img-badge strong.counting {
  display: inline-block;
  transition: transform 0.3s ease;
}

.stat-item strong.counted,
.about-img-badge strong.counted {
  animation: statPop 0.4s ease;
}

@keyframes statPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Mobile nav CTA */
.nav-cta-mobile {
  display: none;
  margin-top: 12px;
  width: 100%;
}

/* CTA button group */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .fade-up, .fade-left, .fade-right, .fade-in, .scale-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-animate-in > *,
  .page-hero .container > * {
    opacity: 1;
    animation: none;
  }

  .hero-slide img {
    transform: none !important;
    transition: opacity 0.7s ease;
  }

  .glass-card:hover,
  .btn-primary:hover,
  .btn-outline:hover {
    transform: none;
  }
}

/* ---- Map placeholder ---- */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  border: 1px solid var(--glass-border);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(30%) contrast(1.1);
}

/* ---- Legal Pages ---- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 20px 24px;
  background: var(--blue-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  margin-bottom: 40px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-meta strong {
  color: var(--navy);
}

.legal-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  color: var(--navy);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-light);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 24px 0 10px;
}

.legal-content p {
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 20px 24px;
  color: var(--text-body);
  line-height: 1.8;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--blue-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--navy);
}

.legal-contact-box {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--blue-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.legal-contact-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.legal-contact-box p {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .legal-meta {
    flex-direction: column;
    gap: 8px;
  }

  .legal-contact-box {
    padding: 22px 20px;
  }
}

/* ---- Stats Bar ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--glass-border);
  background: var(--white);
}

.stat-item:last-child {
  border-right: none;
}

.section-dark .stat-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.stat-item strong {
  display: block;
  font-size: 2.5rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.section-dark .stat-item strong {
  color: var(--white);
}

.section-dark .stat-item span {
  color: rgba(255, 255, 255, 0.65);
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Process Steps ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.process-step .step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
}

.process-step h4 {
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--glass-border); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .section { padding: 80px 0; }
  .page-hero { padding: calc(var(--header-h) + 40px) 0 60px; }
  .cta-banner { padding: 64px 0; }
}

@media (max-width: 768px) {
  :root { --header-h: 70px; }

  .container { padding: 0 20px; }

  .logo img { height: 40px; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
  }

  .header-cta { display: none; }

  .nav-cta-mobile {
    display: inline-flex;
  }

  .nav-toggle { display: flex; }

  .grid-2,
  .grid-3,
  .mission-vision,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .grid-4 { grid-template-columns: 1fr; }

  .section { padding: 64px 0; }

  .section-title { margin-bottom: 12px; }

  .section-desc { font-size: 1rem; }

  .hero-stats { gap: 24px; margin-top: 40px; padding-top: 28px; }

  .hero-content-slider {
    padding: calc(var(--header-h) + 32px) 20px 72px;
    justify-content: flex-end;
  }

  .hero-slide-text {
    max-width: 100%;
  }

  .hero-slide-text h1 {
    font-size: clamp(1.65rem, 6vw, 2.2rem);
  }

  .hero-slide-text .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-hero {
    padding: calc(var(--header-h) + 32px) 0 48px;
  }

  .page-hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .service-card {
    flex-direction: column;
    padding: 24px;
  }

  .feature-card,
  .why-card {
    padding: 28px 22px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .contact-info-card {
    padding: 24px;
  }

  .footer {
    padding-top: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .about-img-wrap img {
    height: 280px;
  }

  .about-img-badge {
    bottom: 16px;
    left: 16px;
    padding: 16px 20px;
  }

  .about-img-badge strong {
    font-size: 2rem;
  }

  .industry-card {
    height: 240px;
  }

  .industry-card p {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.8rem;
  }

  .product-card .product-img {
    height: 200px;
  }

  .cta-banner {
    padding: 56px 0;
  }

  .cta-banner p {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    max-width: 320px;
    margin: 0 auto;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .stat-item strong {
    font-size: 2rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step {
    padding: 24px 16px;
  }

  .map-wrap {
    height: 240px;
  }

  .glass-card:hover {
    transform: translateY(-3px);
  }

  .grid-3 .product-card[style*="grid-column"] {
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  :root { --header-h: 64px; }

  .container { padding: 0 16px; }

  .logo img { height: 36px; }

  .section { padding: 52px 0; }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .hero-buttons,
  .hero-buttons-slider {
    flex-direction: column;
    max-width: 100%;
  }

  .hero-buttons .btn,
  .hero-buttons-slider .btn {
    width: 100%;
  }

  .hero-nav {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
  }

  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }

  .hero-dots { bottom: 20px; }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    padding: 28px 20px;
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--glass-border);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .breadcrumb {
    font-size: 0.8rem;
    flex-wrap: wrap;
  }

  .mv-card {
    padding: 24px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 360px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }

  .hero-slider {
    min-height: clamp(360px, 60vh, 520px);
  }
}

body.nav-open {
  overflow: hidden;
}
