/* ==========================================================================
   Kuzey Yıldızı — Deniz | Çelik | Ahşap Yapıları
   kuzeyyildiziskele.com
   ========================================================================== */

:root {
  --navy-950: #081F2E;
  --navy-900: #0C2A3D;
  --navy-800: #113954;
  --navy-700: #16506F;
  --blue: #1D74AC;
  --blue-dark: #16608F;
  --blue-soft: #E6F1F8;
  --gold: #A08C5B;
  --gold-dark: #85713F;
  --gold-light: #CBB98E;
  --ink: #1B2733;
  --gray: #5A6678;
  --gray-light: #8B95A5;
  --line: #E4E9F0;
  --bg-soft: #F5F7F9;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(14, 26, 47, 0.06);
  --shadow-md: 0 10px 32px rgba(14, 26, 47, 0.12);
  --shadow-lg: 0 24px 60px rgba(14, 26, 47, 0.18);
  --container: 1180px;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  overflow-x: clip;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

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

/* --------------------------------------------------------------------------
   Tipografi
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.section-tag::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}
.section-navy .section-tag { color: var(--gold-light); }
.section-navy .section-tag::before { background: var(--gold-light); }

.section-title { font-size: clamp(28px, 4vw, 42px); color: var(--navy-900); margin-bottom: 18px; }
.section-lead { color: var(--gray); max-width: 640px; font-size: 17.5px; }

section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy-900); color: #C9D4E5; }
.section-navy .section-title { color: var(--white); }
.section-navy .section-lead { color: #9FAEC6; }

/* --------------------------------------------------------------------------
   Butonlar
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(59, 154, 225, 0.35); }
.btn-outline-light { border-color: rgba(255,255,255,0.45); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   Üst bar + Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-950);
  color: #A9B7CC;
  font-size: 13.5px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color 0.2s; }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 14px; height: 14px; }
.topbar-group { display: flex; gap: 22px; flex-wrap: wrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 62px; width: auto; }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-size: 18px; font-weight: 800; color: var(--navy-900); letter-spacing: 0.01em; }
.brand-text span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.25s;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--blue-dark); }
.main-nav .btn { padding: 11px 22px; font-size: 14.5px; }
.main-nav a.btn-primary { color: var(--white); }
.main-nav a.btn-primary::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--navy-900);
  margin: 5.5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 120px 0 160px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 20, 36, 0.88) 0%, rgba(14, 26, 47, 0.62) 48%, rgba(14, 26, 47, 0.25) 100%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-light);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-kicker::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 64px);
  max-width: 760px;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--gold-light); }

/* Referans şeridi */
.ref-strip {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 720px;
}
.ref-strip-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7E93A8;
  display: block;
  margin-bottom: 12px;
}
.ref-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.ref-strip li {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #C3D2DF;
  white-space: nowrap;
}
.hero p { font-size: clamp(16px, 2vw, 19px); max-width: 620px; color: #C4D2E6; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* İstatistik şeridi */
.stats-strip {
  position: relative;
  z-index: 5;
  margin-top: -78px;
}
.stats-grid {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat {
  padding: 34px 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.stat-num small { font-size: 0.62em; color: var(--gold-dark); font-weight: 800; }
.stat-label { font-size: 14px; color: var(--gray); font-weight: 600; margin-top: 4px; }

/* --------------------------------------------------------------------------
   Kartlar — hizmetler
   -------------------------------------------------------------------------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-card-img { height: 220px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-card-img img { transform: scale(1.07); }
.service-card-body { padding: 28px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 21px; color: var(--navy-900); margin-bottom: 12px; }
.service-card p { color: var(--gray); font-size: 15.5px; flex: 1; }
.card-link {
  margin-top: 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s;
}
.card-link:hover { gap: 13px; }

/* --------------------------------------------------------------------------
   Hakkımızda önizleme (ana sayfa)
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; height: 460px; object-fit: cover; }
.split-media .badge-since {
  position: absolute;
  bottom: -26px;
  right: -18px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px 28px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.badge-since strong { display: block; font-size: 34px; color: var(--gold-light); line-height: 1.1; }
.badge-since span { font-size: 13px; font-weight: 600; color: #B9C6DA; }

.check-list { margin-top: 26px; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 3px; }
.split .btn { margin-top: 34px; }

/* --------------------------------------------------------------------------
   Referans / proje kartları
   -------------------------------------------------------------------------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin: 44px 0 34px; }
.filter-btn {
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--gray);
  font-family: var(--font);
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.22s;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue-dark); }
.filter-btn.active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--navy-900);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s, opacity 0.4s;
}
.project-card:hover img { transform: scale(1.08); opacity: 0.38; }
.project-card-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 24px;
  background: linear-gradient(to top, rgba(10, 20, 36, 0.92), transparent);
  color: var(--white);
  transition: background 0.3s;
}
.project-card h3 { font-size: 18.5px; margin-bottom: 4px; }
.project-card-info p { font-size: 13.5px; color: #AFC1DB; }
.project-card .project-scope {
  position: absolute;
  inset: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.35s;
}
.project-card:hover .project-scope { opacity: 1; transform: translateY(0); }
.project-scope li { font-size: 14px; display: flex; gap: 9px; align-items: baseline; }
.project-scope li::before { content: "—"; color: var(--gold-light); font-weight: 800; }
.project-card.hidden { display: none; }

/* --------------------------------------------------------------------------
   Neden biz / özellik ızgarası
   -------------------------------------------------------------------------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 54px; }
.feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.3s, background 0.3s;
}
.feature:hover { transform: translateY(-6px); background: rgba(59, 154, 225, 0.1); }
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(59, 154, 225, 0.18);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; color: var(--blue); }
.feature h3 { color: var(--white); font-size: 18px; margin-bottom: 10px; }
.feature p { font-size: 14.5px; color: #9FAEC6; }

/* --------------------------------------------------------------------------
   CTA bandı
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--navy-900), var(--navy-700));
  border-radius: 20px;
  padding: 64px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  color: var(--white);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,154,225,0.35), transparent 70%);
}
.cta-band h2 { font-size: clamp(24px, 3.2vw, 34px); max-width: 560px; position: relative; }
.cta-band p { color: #A9BAD3; margin-top: 8px; position: relative; }
.cta-band .btn { position: relative; }

/* --------------------------------------------------------------------------
   Sayfa başlığı (iç sayfalar)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 110px 0 90px;
  color: var(--white);
  overflow: hidden;
}
.page-hero .hero-bg { animation: none; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,20,36,0.92), rgba(14,26,47,0.55));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 12px; }
.page-hero p { color: #B9C8DE; max-width: 560px; font-size: 17.5px; }
.breadcrumb { font-size: 14px; color: #8FA3C0; margin-bottom: 18px; font-weight: 600; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 8px; color: var(--blue); }

/* --------------------------------------------------------------------------
   Hizmet detay blokları
   -------------------------------------------------------------------------- */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block:nth-child(even) .service-block-media { order: 2; }
.service-block-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; height: 400px; object-fit: cover; }
.service-block h2 { font-size: clamp(24px, 3vw, 32px); color: var(--navy-900); margin-bottom: 16px; }
.service-block > div > p { color: var(--gray); margin-bottom: 22px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li {
  background: var(--blue-soft);
  color: var(--navy-700);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Zaman çizelgesi (hakkımızda)
   -------------------------------------------------------------------------- */
.timeline { position: relative; margin-top: 56px; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--navy-900));
}
.timeline-item { position: relative; padding-bottom: 42px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--blue);
}
.timeline-item h3 { font-size: 19px; color: var(--navy-900); margin-bottom: 6px; }
.timeline-item h3 span { color: var(--gold-dark); margin-right: 10px; }
.timeline-item p { color: var(--gray); font-size: 15.5px; max-width: 640px; }

/* Misyon / vizyon kartları */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 54px; }
.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 40px 36px;
}
.mv-card .feature-icon { background: var(--blue-soft); }
.mv-card .feature-icon svg { color: var(--blue-dark); }
.mv-card h3 { font-size: 22px; color: var(--navy-900); margin-bottom: 12px; }
.mv-card p { color: var(--gray); }

/* --------------------------------------------------------------------------
   İletişim
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: start; }
.contact-info-card {
  background: var(--navy-900);
  color: #C9D4E5;
  border-radius: var(--radius);
  padding: 40px 36px;
}
.contact-info-card h3 { color: var(--white); font-size: 22px; margin-bottom: 24px; }
.contact-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.09); }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 3px; }
.contact-row strong { display: block; color: var(--white); font-size: 15px; margin-bottom: 2px; }
.contact-row a, .contact-row p { font-size: 15px; color: #AFC0D9; }
.contact-row a:hover { color: var(--white); }
.social-row { display: flex; gap: 12px; margin-top: 26px; }
.social-row a {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  transition: background 0.25s, transform 0.25s;
}
.social-row a:hover { background: var(--blue); transform: translateY(-3px); }
.social-row svg { width: 20px; height: 20px; color: var(--white); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 40px 36px;
}
.contact-form h3 { font-size: 22px; color: var(--navy-900); margin-bottom: 6px; }
.contact-form > p { color: var(--gray); font-size: 15px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; color: var(--navy-800); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  font-family: var(--font);
  font-size: 15.5px;
  color: var(--ink);
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.map-wrap {
  margin-top: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: #93A3BC; padding: 76px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img {
  height: 96px;
  margin-bottom: 18px;
  background: var(--white);
  border-radius: 14px;
  padding: 8px;
}
.footer-brand p { max-width: 300px; font-size: 14.5px; }
.site-footer h4 { color: var(--white); font-size: 16px; margin-bottom: 20px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { transition: color 0.2s, padding-left 0.2s; }
.footer-links a:hover { color: var(--blue); padding-left: 5px; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--blue); flex: none; margin-top: 4px; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #6B7C96;
}

/* --------------------------------------------------------------------------
   WhatsApp yüzen buton
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; color: var(--white); }

/* --------------------------------------------------------------------------
   Reveal animasyonları
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 20, 36, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-caption {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-weight: 700;
  background: rgba(14,26,47,0.75);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 15px;
  white-space: nowrap;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 30px;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cards-3, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .service-block, .contact-grid, .mv-grid { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-block-media { order: 0; }
  .split-media img { height: 380px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  section { padding: 68px 0; }
  .topbar-group.topbar-right { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(320px, 82vw);
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 100px 34px 34px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 95;
  }
  .nav-open .main-nav { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .main-nav a { color: var(--white); font-size: 18px; padding: 10px 0; }
  .main-nav .btn { margin-top: 18px; }
  .nav-toggle { position: relative; z-index: 96; }
  .nav-open .nav-toggle span { background: var(--white); }
  .cards-3, .projects-grid, .features-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 14px; }
  .cta-band { padding: 44px 30px; }
  .hero { min-height: 76vh; padding: 90px 0 140px; }
  .form-row { grid-template-columns: 1fr; }
  .badge-since { right: 8px !important; }
  .contact-info-card, .contact-form { padding: 30px 24px; }
}
