/* =========================================================
   İNCİ PLAST — corporate site stylesheet
   Palette: deep blue / dark graphite / white, muted gold accent
   ========================================================= */

:root {
  --navy-950: #060d18;
  --navy-900: #0a1626;
  --navy-800: #0f2138;
  --navy-700: #153455;
  --blue-600: #1c5490;
  --blue-500: #2870b3;
  --blue-400: #4a92d4;
  --blue-100: #e7f0f9;

  --graphite-900: #15181c;
  --graphite-700: #2b3138;
  --gray-600: #5b6673;
  --gray-400: #8a94a1;
  --gray-200: #e3e7ec;
  --gray-100: #f2f4f7;

  --white: #ffffff;

  --gold-500: #b0893c;
  --gold-400: #c9a45f;
  --gold-100: #f3e8d1;

  --font-display: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --container: 1200px;
  --shadow-md: 0 12px 32px -12px rgba(6, 13, 24, 0.35);
  --shadow-lg: 0 24px 60px -20px rgba(6, 13, 24, 0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--graphite-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--gray-600); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
section { padding: clamp(48px, 8vw, 96px) 0; }
.section-dark { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.72); }
.section-tint { background: var(--gray-100); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
.section-dark .eyebrow { color: var(--gold-400); }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}
.btn:hover::before { transform: translateX(120%); }
.btn-sm { padding: 10px 18px; font-size: 0.84rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 10px 24px -10px rgba(176, 137, 60, 0.55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(176, 137, 60, 0.6); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-outline-dark:hover { background: var(--navy-900); color: var(--white); transform: translateY(-2px); }
.btn-outline-gold {
  background: transparent;
  color: var(--gold-500);
  border-color: var(--gold-500);
}
.btn-outline-gold:hover { background: var(--gold-500); color: var(--navy-950); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 38, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold-400);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.04em; }
.brand-text span { font-size: 0.68rem; letter-spacing: 0.08em; color: var(--gray-400); text-transform: uppercase; }

.main-nav {
  display: none;
}
.main-nav ul { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); border-color: var(--gold-400); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: none;
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  font-family: var(--font-display);
}
.lang-switch {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}
.lang-switch button {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 2px 4px;
  font: inherit;
  border-radius: 3px;
  transition: color 0.2s;
}
.lang-switch button:hover { color: rgba(255,255,255,0.85); }
.lang-switch button.active { color: var(--gold-400); cursor: default; }
.lang-switch .lang-sep { color: rgba(255,255,255,0.25); }

.mobile-lang {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-400);
}
.mobile-lang button {
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s;
}
.mobile-lang button.active { color: var(--gold-400); border-color: var(--gold-400); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--white); margin: 0 auto; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 16px 20px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a.active { color: var(--gold-400); }
.mobile-nav .mobile-cta { padding: 18px 20px; }
.mobile-nav .mobile-phone { padding: 14px 20px 0; color: var(--gray-400); font-size: 0.85rem; }
.mobile-nav .mobile-phone a { color: var(--white); font-weight: 700; }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-phone { display: block; }
  .lang-switch { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(74,146,212,0.22), transparent 55%),
    radial-gradient(circle at 88% 78%, rgba(201,164,95,0.16), transparent 50%),
    linear-gradient(160deg, var(--navy-950) 10%, var(--navy-800) 90%);
  color: var(--white);
  padding: clamp(64px, 12vw, 130px) 0 clamp(56px, 8vw, 90px);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 1px, transparent 1px, transparent 64px);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.5;
}
.hero-glow.glow-blue { top: -120px; left: -100px; background: radial-gradient(circle, rgba(74,146,212,0.55), transparent 70%); }
.hero-glow.glow-gold { bottom: -160px; right: -120px; background: radial-gradient(circle, rgba(201,164,95,0.45), transparent 70%); animation: float-glow 9s ease-in-out infinite; }
@keyframes float-glow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-24px, 18px); }
}
@media (prefers-reduced-motion: reduce) { .hero-glow.glow-gold { animation: none; } }
.hero-inner { position: relative; display: grid; gap: 40px; }
.hero-copy .eyebrow { color: var(--gold-400); }
.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  max-width: 16ch;
}
.hero .lead {
  color: rgba(255,255,255,0.75);
  font-size: 1.08rem;
  max-width: 46ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 44px;
}
.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  backdrop-filter: blur(6px);
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--gold-400);
  display: block;
  font-variant-numeric: tabular-nums;
}
.stat-card .label { font-size: 0.82rem; color: rgba(255,255,255,0.68); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(74,146,212,0.25), rgba(176,137,60,0.12)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 22px),
    var(--navy-700);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  padding: 20px;
  overflow: hidden;
}
.hero-visual::after, .media-placeholder::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: skewX(-18deg);
  animation: sheen 5s ease-in-out infinite;
}
@keyframes sheen {
  0% { left: -60%; }
  55%, 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) { .hero-visual::after, .media-placeholder::after { animation: none; display: none; } }

@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Placeholder media blocks (used until real photos are supplied) ---------- */
.media-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(28,84,144,0.14), rgba(176,137,60,0.10)),
    repeating-linear-gradient(135deg, rgba(21,52,85,0.08) 0 2px, transparent 2px 20px),
    var(--gray-100);
  border: 1px dashed var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray-600);
  font-size: 0.85rem;
  min-height: 200px;
  padding: 18px;
}
.media-placeholder span { position: relative; z-index: 1; max-width: 22ch; }
.section-dark .media-placeholder {
  border-color: rgba(255,255,255,0.25);
  background:
    linear-gradient(135deg, rgba(74,146,212,0.14), rgba(176,137,60,0.10)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 20px),
    rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.55);
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -18px rgba(28,84,144,0.28), 0 0 0 1px rgba(201,164,95,0.25); border-color: var(--gold-400); }
.card-icon { transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease); }
.card:hover .card-icon { background: var(--gold-100); color: var(--gold-500); transform: scale(1.08) rotate(-4deg); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.94rem; }

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -18px rgba(6,13,24,0.28), 0 0 0 1px rgba(201,164,95,0.3);
  border-color: var(--gold-400);
}
.product-card .media-placeholder { border-radius: 0; min-height: 170px; border: none; border-bottom: 1px solid var(--gray-200); }
.product-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card-body h3 { font-size: 1.1rem; margin: 0; }
.product-card-body .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: var(--gold-100);
  padding: 4px 10px;
  border-radius: 999px;
}
.product-card-body p { font-size: 0.92rem; flex: 1; }
.product-card-body .card-link {
  font-weight: 700;
  color: var(--blue-600);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s var(--ease);
}
.product-card-body .card-link:hover { gap: 10px; color: var(--gold-500); }
.product-card-body .cta-row {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Anchor-jump highlight: briefly flashes when a product card is the direct target of a link */
:target.product-card { animation: target-flash 1.8s var(--ease); }
@keyframes target-flash {
  0% { box-shadow: 0 0 0 3px rgba(201,164,95,0.55), var(--shadow-md); }
  100% { box-shadow: none; }
}

/* ---------- About / split sections ---------- */
.split {
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.reverse .split-media { order: 2; }
}
.split-copy .check-list { margin-top: 20px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; color: var(--graphite-900); }
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--gold-100);
  border: 1px solid var(--gold-400);
}
.section-dark .check-list li { color: rgba(255,255,255,0.85); }

/* ---------- Numbers row ---------- */
.numbers-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
}
@media (min-width: 760px) { .numbers-row { grid-template-columns: repeat(4, 1fr); } }
.numbers-row .num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--gold-500);
  display: block;
  font-variant-numeric: tabular-nums;
}
.numbers-row .label { font-size: 0.85rem; color: var(--gray-600); }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 22px 22px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--gold-500);
  display: block;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: 0.9rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 56px);
  display: grid;
  gap: 24px;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .hero-cta { justify-content: center; margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  gap: 22px;
}
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ci-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(201,164,95,0.15); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item h4 { margin: 0 0 4px; font-size: 0.95rem; color: var(--white); }
.contact-item p, .contact-item a { color: rgba(255,255,255,0.75); font-size: 0.92rem; margin: 0; }
.contact-item a { display: block; font-weight: 600; color: var(--white); }
.contact-item a:hover { color: var(--gold-400); }
.wa-btn {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #25d366;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  min-height: 320px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid.two-col { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--graphite-900); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
  color: var(--graphite-900);
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.78rem; color: var(--gray-400); margin-top: 10px; }
.form-success {
  display: none;
  align-items: flex-start;
  gap: 12px;
  background: #eef8f0;
  border: 1px solid #b9e0c3;
  color: #245a33;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  margin-top: 18px;
}
.form-success.show { display: flex; }

/* ---------- Gallery ---------- */
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.gallery-tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--gray-600);
  transition: all 0.2s;
}
.gallery-tab.active, .gallery-tab:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item .media-placeholder { min-height: 160px; aspect-ratio: 4/3; }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite-900); color: rgba(255,255,255,0.7); }
.footer-top { padding: 56px 0 32px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand .brand-mark { border-color: var(--gold-400); }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.footer-col h4 { color: var(--white); font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(74,146,212,0.2), transparent 55%),
    radial-gradient(circle at 90% 85%, rgba(201,164,95,0.14), transparent 50%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: clamp(52px, 9vw, 96px) 0 clamp(40px, 6vw, 60px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold-400); }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 56ch; }
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--gold-400); }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  border: 1px solid rgba(201,164,95,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background 0.25s;
  z-index: 90;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-500); color: var(--navy-950); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Staggered reveal (grids, step rows, etc.) ---------- */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.09s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.23s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.30s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.37s; }
@media (prefers-reduced-motion: reduce) {
  .reveal-stagger > * { transition: none; opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
