/* =========================================================
   K2J Tech — Static Site Styles
   ========================================================= */

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

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

/* ----- Design Tokens ----- */
:root {
  /* Brand */
  --navy: #0A1628;
  --navy-light: #0F1D32;
  --blue: #0056D2;
  --blue-light: #3B82F6;
  --orange: #FF6B35;
  --orange-light: #FF8A5C;
  --slate: #6B7A90;

  /* Surface / UI */
  --background: #FAFBFC;
  --foreground: #0A1628;
  --card: #ffffff;
  --card-foreground: #0A1628;
  --muted: #F0F2F5;
  --muted-foreground: #6B7A90;
  --border: #E4E8EE;
  --secondary-foreground: #F8F9FB;
  --accent-foreground: #ffffff;

  /* Radius */
  --radius: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;

  /* Font */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

/* ----- Utility Classes ----- */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.text-gradient {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8A5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ----- Animations ----- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease-out both;
}
.animate-fade-up-delay-1 {
  animation: fadeUp 0.6s ease-out 0.1s both;
}
.animate-fade-up-delay-2 {
  animation: fadeUp 0.6s ease-out 0.2s both;
}
.animate-fade-up-delay-3 {
  animation: fadeUp 0.6s ease-out 0.3s both;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo-k2j {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--orange);
}

.logo-k2j sub {
  font-size: 0.6em;
  font-weight: 700;
  color: var(--orange);
}

.logo-tech {
  margin-left: 0.375rem;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--secondary-foreground);
}

/* Desktop Nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
}

.nav-link {
  position: relative;
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(248, 249, 251, 0.7);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--secondary-foreground);
}

/* Right side */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-link {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted-foreground);
  text-decoration: none;
  padding: 0.25rem 0.4rem;
  border-radius: 0.35rem;
  transition: all 0.2s ease;
}

.lang-link:hover {
  color: var(--foreground);
}

.lang-link.active {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
  .lang-switcher {
    display: none; /* Hide in mobile header, will add to mobile menu */
  }
}

.header-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--orange);
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-foreground);
  transition: all 0.3s;
}

.header-cta:hover {
  background: var(--orange-light);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.2);
}

.header-cta svg {
  transition: transform 0.3s;
}
.header-cta:hover svg {
  transform: rotate(-12deg);
}

@media (min-width: 768px) {
  .header-cta { display: inline-flex; }
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: rgba(248, 249, 251, 0.1);
  color: var(--secondary-foreground);
}

@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(248, 249, 251, 0.05);
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-menu.open {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: block;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(248, 249, 251, 0.7);
  transition: all 0.2s;
}

.mobile-nav-link:hover {
  background: rgba(248, 249, 251, 0.05);
  color: var(--secondary-foreground);
}

.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  border-radius: var(--radius-full);
  background: var(--orange);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-foreground);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--navy), rgba(10, 22, 40, 0.8), var(--navy));
}

.hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy), transparent, rgba(10, 22, 40, 0.5));
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero-inner {
  max-width: 48rem;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(248, 249, 251, 0.1);
  border-radius: var(--radius-full);
  background: rgba(248, 249, 251, 0.05);
  padding: 0.5rem 1.25rem;
  backdrop-filter: blur(4px);
}

.badge-dot {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
}

.badge-dot-ping {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #4ade80;
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.badge-dot-core {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #4ade80;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 249, 251, 0.8);
}

/* Heading */
.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--secondary-foreground);
  text-wrap: balance;
}

/* Description */
.hero-description {
  margin-top: 2rem;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--slate);
}

/* CTAs */
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--radius-full);
  background: var(--orange);
  padding: 1rem 2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent-foreground);
  transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--orange-light);
  box-shadow: 0 16px 48px rgba(255, 107, 53, 0.2);
}

.btn-primary .arrow {
  transition: transform 0.3s;
}
.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(248, 249, 251, 0.2);
  padding: 1rem 2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--secondary-foreground);
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: rgba(248, 249, 251, 0.4);
  background: rgba(248, 249, 251, 0.05);
}

/* Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(248, 249, 251, 0.1);
}

@media (min-width: 1024px) {
  .hero-stats { gap: 4rem; }
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--secondary-foreground);
}

@media (min-width: 1024px) {
  .stat-value { font-size: 2.25rem; }
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--slate);
}

.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(248, 249, 251, 0.1);
}

.stat-hidden-mobile {
  display: none;
}

@media (min-width: 640px) {
  .stat-hidden-mobile { display: block; }
}

/* Hero Bottom Fade */
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--background), transparent);
}

/* =========================================================
   MARQUEE BAR
   ========================================================= */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2rem;
  will-change: transform;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.marquee-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.marquee-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  background: var(--background);
  padding: 7rem 0 9rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-title {
  margin-top: 1rem;
  max-width: 32rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--foreground);
  text-wrap: balance;
}

.section-description {
  max-width: 24rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Service Cards */
.services-grid {
  display: grid;
  gap: 1rem;
  margin-top: 4rem;
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: rgba(0, 86, 210, 0.3);
  box-shadow: 0 16px 48px rgba(0, 86, 210, 0.05);
}

.service-number {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(107, 122, 144, 0.4);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 1.5rem 0;
  border-radius: var(--radius-2xl);
  background: var(--muted);
  color: var(--foreground);
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 24px rgba(0, 86, 210, 0.2);
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.service-card p {
  margin-top: 0.75rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.service-learn-more {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  opacity: 0;
  transition: all 0.3s;
}

.service-card:hover .service-learn-more {
  opacity: 1;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 7rem 0 9rem;
}

.about-decor-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(0, 86, 210, 0.05);
  filter: blur(48px);
  pointer-events: none;
}

.about-decor-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.05);
  filter: blur(48px);
  pointer-events: none;
}

.about-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .about-grid {
    flex-direction: row;
    gap: 5rem;
  }
}

.about-images {
  flex: 1;
}

.about-images-wrapper {
  position: relative;
}

.about-main-image {
  overflow: hidden;
  border-radius: var(--radius-3xl);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.about-main-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-floating-image {
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  width: 12rem;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 4px solid var(--navy);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
  .about-floating-image {
    right: -2rem;
    bottom: -3rem;
    width: 16rem;
  }
}

.about-floating-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* About content */
.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2rem;
}

@media (min-width: 1024px) {
  .about-content { padding-top: 0; }
}

.about-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.about-title {
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--secondary-foreground);
  text-wrap: balance;
}

.about-description {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate);
}

/* Highlight cards */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.highlight-card {
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(248, 249, 251, 0.1);
  background: rgba(248, 249, 251, 0.05);
  padding: 1.25rem;
  transition: all 0.3s;
}

.highlight-card:hover {
  border-color: rgba(0, 86, 210, 0.3);
  background: rgba(0, 86, 210, 0.05);
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(0, 86, 210, 0.1);
  color: var(--blue-light);
  transition: all 0.3s;
}

.highlight-card:hover .highlight-icon {
  background: var(--blue);
  color: white;
}

.highlight-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.highlight-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--secondary-foreground);
}

.highlight-text {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--slate);
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery {
  background: var(--background);
  padding: 7rem 0 9rem;
}

.gallery-header {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.gallery-header .section-title {
  max-width: none;
}

.gallery-subtitle {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Bento grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 220px);
  }
}

.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
}

.bento-item img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  transition: transform 0.7s ease;
}

@media (min-width: 768px) {
  .bento-item img { height: 100%; }
}

.bento-item:hover img {
  transform: scale(1.05);
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

/* Make only the LAST image wider on mobile to fill the gap */
@media (max-width: 767px) {
  .bento-grid .bento-item:last-child {
    grid-column: span 2;
  }
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0);
  transition: background 0.3s;
}

.bento-item:hover .bento-overlay {
  background: rgba(10, 22, 40, 0.2);
}

.bento-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.8), transparent);
  transform: translateY(100%);
  transition: transform 0.3s;
}

.bento-item:hover .bento-caption {
  transform: translateY(0);
}

.bento-caption-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary-foreground);
}

.bento-caption-sub {
  font-size: 0.75rem;
  color: rgba(248, 249, 251, 0.6);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: fadeIn 0.2s ease;
}

.lightbox.hidden { display: none; }

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(248, 249, 251, 0.1);
  color: var(--secondary-foreground);
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(248, 249, 251, 0.2);
}

.lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(248, 249, 251, 0.1);
  color: var(--secondary-foreground);
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(248, 249, 251, 0.2);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (min-width: 768px) {
  .lightbox-prev { left: 2rem; }
  .lightbox-next { right: 2rem; }
}

.lightbox img {
  max-height: 85vh;
  max-width: calc(100% - 6rem);
  border-radius: 0.75rem;
  object-fit: contain;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   LOCATION
   ========================================================= */
.location {
  background: var(--muted);
  padding: 7rem 0 9rem;
}

.location-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .location-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.location-tabs {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  border-radius: 9999px;
  background: var(--card);
  padding: 0.375rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .location-tabs { margin-top: 0; }
}

.location-tab {
  background: transparent;
  border: none;
  padding: 0.625rem 1.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.location-tab:hover {
  color: var(--foreground);
}

.location-tab.active {
  background: var(--navy);
  color: var(--secondary-foreground);
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.15);
}

.location-grid.store-grid {
  display: none;
}

.location-grid.store-grid.active {
  display: flex;
}

.location-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 1024px) {
  .location-grid { flex-direction: row; }
}

.map-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  background: var(--card);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.map-wrapper iframe, .map-wrapper #map-placeholder {
  width: 100%;
  flex: 1;
  min-height: 22rem;
  border: 0;
}

@media (min-width: 1024px) {
  .map-wrapper iframe, .map-wrapper #map-placeholder { min-height: 27.5rem; }
}

/* Info cards */
.location-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .location-info { width: 22.5rem; }
}

.info-card {
  flex: 1;
  border-radius: var(--radius-3xl);
  background: var(--card);
  padding: 1.75rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s;
}

.info-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
}

.info-icon.blue {
  background: rgba(0, 86, 210, 0.1);
  color: var(--blue);
}

.info-icon.orange {
  background: rgba(255, 107, 53, 0.1);
  color: var(--orange);
}

.info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.info-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.info-card-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.info-card-body {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.5rem;
  background: var(--muted);
  padding: 0.5rem 0.75rem;
}

.hours-row + .hours-row {
  margin-top: 0.625rem;
}

.hours-day {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hours-time {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.hours-closed {
  color: var(--muted-foreground);
}

/* Directions CTA */
.directions-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: var(--radius-3xl);
  background: var(--navy);
  padding: 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary-foreground);
  transition: all 0.3s;
}

.directions-cta:hover {
  background: var(--navy-light);
  box-shadow: 0 16px 48px rgba(10, 22, 40, 0.2);
}

.directions-cta .nav-icon {
  color: var(--orange);
}

.directions-cta svg:last-child {
  transition: transform 0.3s;
}
.directions-cta:hover svg:last-child {
  transform: translateX(4px);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  position: relative;
  background: var(--background);
  padding: 8rem 0 10rem;
  overflow: hidden;
}

.faq-bg-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60rem;
  height: 60rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 86, 210, 0.05) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.faq .container {
  position: relative;
  z-index: 1;
}

.faq .section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 5rem;
}

.faq-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

.faq-item {
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(248, 249, 251, 0.1);
  background: rgba(248, 249, 251, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 86, 210, 0.3);
  background: rgba(248, 249, 251, 0.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 1.75rem 2rem;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-title-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.faq-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  background: rgba(248, 249, 251, 0.05);
  color: var(--slate);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-type-icon.droplet { color: #38bdf8; background: rgba(56, 189, 248, 0.1); }
.faq-type-icon.dollar { color: #4ade80; background: rgba(74, 222, 128, 0.1); }
.faq-type-icon.monitor { color: #818cf8; background: rgba(129, 140, 248, 0.1); }
.faq-type-icon.clock { color: #fbbf24; background: rgba(251, 191, 36, 0.1); }
.faq-type-icon.zap { color: #f472b6; background: rgba(244, 114, 182, 0.1); }

.faq-item:hover .faq-type-icon {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(248, 249, 251, 0.05);
  color: var(--muted-foreground);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-item.active {
  background: rgba(248, 249, 251, 0.06);
  border-color: rgba(0, 86, 210, 0.4);
  box-shadow: 0 20px 48px rgba(0, 86, 210, 0.1);
}

.faq-item.active .faq-toggle {
  color: var(--blue-light);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--blue);
  color: white;
}

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer {
  overflow: hidden;
  padding: 0 2rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--slate);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 2rem;
}

/* CTA Card */
.faq-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-3xl);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.faq-cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.faq-cta-icon {
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  background: rgba(0, 86, 210, 0.1);
  color: var(--blue);
  margin-bottom: 2rem;
}

.faq-cta-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.faq-cta-card p {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  max-width: 22rem;
  line-height: 1.6;
}

.faq-cta-card .btn-secondary {
  background: var(--navy);
  color: var(--secondary-foreground);
  border-color: rgba(248, 249, 251, 0.2);
}

.faq-cta-card .btn-secondary:hover {
  background: var(--navy-light);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2);
}

@media (max-width: 1023px) {
  .faq-cta-card {
    margin-top: 1rem;
  }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 7rem 0 9rem;
}

.contact-decor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50rem;
  height: 50rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.03);
  filter: blur(48px);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.contact-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.contact-title {
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--secondary-foreground);
  text-wrap: balance;
}

.contact-description {
  margin: 1.5rem auto 0;
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate);
}

/* Phone card */
.phone-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
  border: 1px solid rgba(248, 249, 251, 0.1);
  border-radius: var(--radius-3xl);
  background: rgba(248, 249, 251, 0.05);
  padding: 2rem 2.5rem;
  backdrop-filter: blur(4px);
}

.phone-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.phone-card a {
  display: block;
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--secondary-foreground);
  transition: color 0.2s;
}

.phone-card a:hover {
  color: var(--orange);
}

/* Contact CTAs */
.contact-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .contact-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

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

.footer-divider {
  height: 1px;
  background: rgba(248, 249, 251, 0.1);
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .footer-main {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.footer-brand {
  max-width: 20rem;
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--slate);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--secondary-foreground);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate);
  transition: color 0.2s;
}

a.footer-contact-item:hover {
  color: var(--secondary-foreground);
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--blue-light);
  flex-shrink: 0;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(248, 249, 251, 0.1);
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: var(--slate);
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
}
