/* =============================================
   EAST AUTO CAR HEADLINERS — style.css
   Theme: Industrial Premium / Dark Steel
   ============================================= */

:root {
  --navy: #0d1b2a;
  --navy-mid: #162033;
  --navy-light: #1e2e44;
  --blue: #1a6eb5;
  --blue-bright: #2589e0;
  --blue-pale: #3daeff;
  --accent: #e8a020;
  --accent-light: #f5c04a;
  --white: #f4f6f8;
  --white-dim: #c9d4e0;
  --text-muted: #7a93b0;
  --green-wa: #25d366;
  --green-wa-dark: #1ebe5a;
  --card-bg: #162033;
  --card-border: rgba(45, 100, 170, 0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: 1.5rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: 0.02em; }
h4 { font-size: 1.15rem; font-family: 'Barlow', sans-serif; font-weight: 700; }
em { font-style: normal; color: var(--accent); }

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-pale);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header p {
  max-width: 520px;
  margin: 1rem auto 0;
  color: var(--white-dim);
  font-size: 1.05rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,110,181,0.4); }

.btn-whatsapp {
  background: var(--green-wa);
  color: #fff;
}
.btn-whatsapp:hover { background: var(--green-wa-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }
.btn-whatsapp.sm { padding: 0.65rem 1.2rem; font-size: 0.9rem; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { border-color: var(--blue-pale); color: var(--blue-pale); transform: translateY(-2px); }

.btn-full { width: 100%; justify-content: center; padding: 1rem; font-size: 1.05rem; }

/* ============ NAVBAR ============ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(13, 27, 42, 0.97);
  padding: 0.6rem 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.4rem 0.75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-dim);
  border-radius: 4px;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 5px;
  margin-left: 0.5rem;
}
.nav-links .nav-cta:hover { background: var(--blue-bright); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 1.5rem 5rem;
  background: linear-gradient(135deg, #07111e 0%, #0d1b2a 50%, #0f2236 100%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,110,181,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,110,181,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-stripe {
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(26, 110, 181, 0.08) 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-badge {
  display: inline-block;
  background: rgba(26,110,181,0.2);
  border: 1px solid rgba(26,110,181,0.4);
  color: var(--blue-pale);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease both;
}

h1 {
  font-size: clamp(4rem, 11vw, 8rem);
  line-height: 0.92;
  margin-bottom: 1.5rem;
}
.hero-line1 { display: block; color: var(--white-dim); animation: fadeInUp 0.7s 0.1s ease both; }
.hero-line2 { display: block; color: var(--white); animation: fadeInUp 0.7s 0.2s ease both; }
.hero-line3 { display: block; color: var(--accent); animation: fadeInUp 0.7s 0.3s ease both; }

.hero-sub {
  color: var(--white-dim);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeInUp 0.7s 0.4s ease both;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.5s ease both;
}

.hero-graphic {
  position: relative;
  flex-shrink: 0;
  width: 340px;
  height: 340px;
  display: none;
}

.hero-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 340px;
  height: 340px;
  z-index: 0;
  pointer-events: none;
}
.hero-3d-canvas canvas {
  display: block;
}

.hero-circle-1, .hero-circle-2 {
  position: absolute;
  border-radius: 50%;
}
.hero-circle-1 {
  width: 300px; height: 300px;
  top: 20px; left: 20px;
  border: 2px solid rgba(26,110,181,0.3);
  animation: spin 30s linear infinite;
}
.hero-circle-2 {
  width: 220px; height: 220px;
  top: 60px; left: 60px;
  border: 2px dashed rgba(232,160,32,0.3);
  animation: spin 20s linear infinite reverse;
}

.hero-stat-card {
  position: absolute;
  background: rgba(22, 32, 51, 0.95);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  animation: fadeInUp 0.7s ease both;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.2rem;
}

.card-1 { top: 30px; left: 0; animation-delay: 0.6s; }
.card-2 { top: 140px; right: 0; animation-delay: 0.8s; }
.card-3 { bottom: 30px; left: 30px; animation-delay: 1s; }

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeIn 1.5s 1s ease both;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--blue-pale), transparent);
  animation: scrollLine 2s ease infinite;
}

/* ============ PROMO BANNER ============ */
.promo-banner {
  background: var(--blue);
  padding: 0.75rem 0;
  overflow: hidden;
  position: relative;
}
.promo-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

/* ============ ABOUT ============ */
.about {
  padding: 6rem 1.5rem;
  background: var(--navy-mid);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

.about-img-block { position: relative; }

.about-img-frame {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.about-img-frame::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(135deg, var(--blue) 0%, transparent 50%, var(--accent) 100%);
  z-index: -1;
  opacity: 0.5;
}
.about-logo-img {
  width: 100%;
  max-width: 280px;
  border-radius: var(--radius);
}
.about-badge-tag {
  background: rgba(26,110,181,0.15);
  border: 1px solid var(--blue);
  color: var(--blue-pale);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { color: var(--white-dim); margin-bottom: 1rem; font-size: 1.02rem; }

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.about-chips span {
  background: rgba(26,110,181,0.12);
  border: 1px solid rgba(26,110,181,0.3);
  color: var(--blue-pale);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ============ SERVICES ============ */
.services {
  padding: 6rem 1.5rem;
  background: var(--navy);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  animation: fadeInUp 0.6s ease both;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  border-color: var(--blue);
}
.service-card.featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, #1e2e44, #1a2a3e);
}
.service-card.featured:hover { border-color: var(--accent-light); }

.featured-tag {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--accent);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
}

.service-icon {
  width: 52px;
  height: 52px;
  color: var(--blue-pale);
  margin-bottom: 1.25rem;
}
.service-card.featured .service-icon { color: var(--accent); }

.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { color: var(--white-dim); font-size: 0.95rem; margin-bottom: 1rem; }

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.service-card ul li {
  color: var(--white-dim);
  font-size: 0.9rem;
  padding-left: 1.1rem;
  position: relative;
}
.service-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue-pale);
  font-size: 0.8rem;
}
.service-card.featured ul li::before { color: var(--accent); }

.service-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-pale);
  transition: color 0.25s, gap 0.25s;
  display: inline-flex;
  align-items: center;
}
.service-card.featured .service-link { color: var(--accent); }
.service-link:hover { color: var(--white); }

/* ============ MOBILE SERVICE ============ */
.mobile-section {
  padding: 6rem 1.5rem;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}

.mobile-bg-text {
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22vw;
  color: rgba(26,110,181,0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
  user-select: none;
}

.mobile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.mobile-text h2 { margin-bottom: 1.25rem; }
.mobile-text > p { color: var(--white-dim); font-size: 1.02rem; margin-bottom: 2rem; }

.mobile-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.area-tag {
  background: rgba(26,110,181,0.15);
  border: 1px solid var(--blue);
  color: var(--blue-pale);
  padding: 0.3rem 0.85rem;
  border-radius: 5px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}

.mobile-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(45,100,170,0.15);
  position: relative;
}
.step:last-child { border-bottom: none; }

.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: rgba(26,110,181,0.25);
  line-height: 1;
  min-width: 3rem;
  flex-shrink: 0;
  transition: color 0.3s;
}
.step:hover .step-num { color: var(--accent); }
.step-content h4 { margin-bottom: 0.4rem; font-size: 1.1rem; }
.step-content p { color: var(--white-dim); font-size: 0.92rem; }

/* ============ WHY US ============ */
.why-us {
  padding: 6rem 1.5rem;
  background: var(--navy);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.3s, border-color 0.3s;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--blue); }

.why-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.why-card h4 { margin-bottom: 0.6rem; font-size: 1.05rem; }
.why-card p { color: var(--white-dim); font-size: 0.92rem; }

/* ============ FAQ ============ */
.faq {
  padding: 6rem 1.5rem;
  background: var(--navy-mid);
}

.faq-inner { max-width: 800px; margin: 0 auto; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--card-border);
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  background: var(--card-bg);
  border: none;
  color: var(--white);
  text-align: left;
  padding: 1.4rem 1.8rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.25s;
}
.faq-q:hover { background: var(--navy-light); }
.faq-q[aria-expanded="true"] { color: var(--blue-pale); }

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--blue-pale);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-a {
  background: var(--navy-mid);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
  padding: 0 1.8rem;
}
.faq-a.open {
  max-height: 300px;
  padding: 1.2rem 1.8rem;
}
.faq-a p { color: var(--white-dim); font-size: 0.95rem; }

/* ============ CONTACT ============ */
.contact {
  padding: 6rem 1.5rem;
  background: var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--white-dim); margin-bottom: 2rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--white-dim);
  font-size: 0.95rem;
}
.ci-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-item a { color: var(--green-wa); transition: color 0.25s; }
.contact-item a:hover { color: var(--accent); }
.contact-item small { color: var(--text-muted); font-size: 0.82rem; }

/* Form */
.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white-dim);
}

input, select, textarea {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(45,100,170,0.25);
  border-radius: 7px;
  color: var(--white);
  padding: 0.75rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,110,181,0.2);
}
select option { background: var(--navy); color: var(--white); }
textarea { resize: vertical; min-height: 100px; }

.form-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* ============ FOOTER ============ */
.footer {
  background: #07111e;
  padding: 4rem 1.5rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(45,100,170,0.15);
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
  object-fit: contain;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-links h5, .footer-contact h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-pale);
  margin-bottom: 1.25rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links ul li, .footer-links ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.25s;
}
.footer-links ul a:hover { color: var(--white); }

.footer-bottom {
  text-align: center;
  padding: 1.25rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============ RESPONSIVE ============ */
@media (min-width: 900px) {
  .hero-graphic { display: block; }
  .hero-content { max-width: 620px; flex-shrink: 1; }
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-block { max-width: 380px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    bottom: 0;
    width: 80%;
    max-width: 320px;
    background: rgba(7, 17, 30, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0.5rem;
    transition: right 0.35s ease;
    border-left: 1px solid var(--card-border);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; padding: 0.6rem 0; width: 100%; }
  .nav-links .nav-cta { margin-left: 0; margin-top: 1rem; display: inline-block; text-align: center; }

  h1 { font-size: clamp(3.5rem, 16vw, 5rem); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .mobile-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand p { max-width: 100%; }

  .about-grid { gap: 2rem; }
  .contact-form-wrap { padding: 1.5rem; }

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

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-sub br { display: none; }
}

/* ============ GALLERY ============ */
.gallery-section {
  padding: 6rem 1.5rem;
  background: var(--navy-mid);
  position: relative;
}

/* Filter buttons */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.gf-btn {
  background: transparent;
  border: 1.5px solid rgba(45, 100, 170, 0.3);
  color: var(--white-dim);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}
.gf-btn:hover {
  border-color: var(--blue);
  color: var(--white);
}
.gf-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* Masonry-style grid */
.gallery-grid {
  columns: 4;
  column-gap: 1rem;
  min-height: 200px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  animation: galleryFadeIn 0.4s ease both;
}

.gallery-item.hidden {
  display: none;
}

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

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(13,27,42,0.7);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  border: 1px solid rgba(232,160,32,0.4);
}

.gallery-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  background: rgba(26,110,181,0.85);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  pointer-events: none;
}
.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Empty / loading state */
.gallery-empty {
  column-span: all;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.gallery-empty .ge-icon { font-size: 3rem; margin-bottom: 1rem; }
.gallery-empty h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--white-dim); }
.gallery-empty p { font-size: 0.9rem; max-width: 380px; margin: 0 auto; line-height: 1.6; }
.gallery-empty code {
  background: rgba(26,110,181,0.12);
  border: 1px solid rgba(26,110,181,0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--blue-pale);
}

/* Controls */
.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 12, 22, 0.96);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  animation: fadeIn 0.25s ease;
}
.lightbox.open {
  display: flex;
}

.lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lbImg {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  object-fit: contain;
  display: block;
}

.lb-caption {
  margin-top: 0.9rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}

.lb-close {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 9001;
}
.lb-close:hover { background: rgba(255,255,255,0.2); }

.lb-prev, .lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26,110,181,0.2);
  border: 1px solid rgba(26,110,181,0.4);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 9001;
}
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-prev:hover, .lb-next:hover { background: rgba(26,110,181,0.5); }

@keyframes galleryFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* Responsive gallery grid */
@media (max-width: 1024px) { .gallery-grid { columns: 3; } }
@media (max-width: 768px)  { .gallery-grid { columns: 2; } }
@media (max-width: 480px)  { .gallery-grid { columns: 1; } }
