/* ==========================================================
   KILIÇHAN YAPI — Premium Corporate Stylesheet
   Pure CSS | Cinematic Design | Fluid Typography
   ========================================================== */

/* ---- 1. FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,400..900;1,400..900&family=Inter:ital,wght@0,300..700;1,300..700&family=Roboto+Mono:ital,wght@0,400..600;1,400..600&family=Nunito:wght@600;700;800;900&family=Caveat:wght@500;600;700&display=swap');

/* ---- 2. TOKENS ---- */
:root {
  /* Colors - Professional Construction Theme */
  --c-void:         #f5f5f0;
  --c-void-lift:    #eae9e4;
  --c-night:        #e0dfd9;
  --c-night-lift:   #d5d4ce;
  --c-slate:        #5a6573;
  --c-muted:        #7a8594;
  --c-silver:       #3d4856;
  --c-fog:          #2c3e50;
  --c-pure:         #1c2833;
  --c-gold:         #1B3A5F;
  --c-gold-light:   #2980B9;
  --c-gold-dark:    #0F2744;

  /* Typography */
  --font-display: 'Work Sans', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'Roboto Mono', 'SF Mono', monospace;

  /* Fluid sizes using clamp(min, preferred, max) */
  --fs-hero:      clamp(3rem, 8vw, 7rem);
  --fs-h1:        clamp(2.5rem, 5vw, 4.5rem);
  --fs-h2:        clamp(2rem, 4vw, 3.5rem);
  --fs-h3:        clamp(1.5rem, 2.5vw, 2rem);
  --fs-h4:        clamp(1.125rem, 1.5vw, 1.25rem);
  --fs-body:      clamp(1rem, 1.1vw, 1.125rem);
  --fs-small:     clamp(0.8125rem, 0.9vw, 0.875rem);
  --fs-caption:   clamp(0.6875rem, 0.8vw, 0.75rem);

  --lh-tight:  1.05;
  --lh-snug:   1.2;
  --lh-normal: 1.6;
  --lh-loose:  1.75;

  --ls-tight:  -0.03em;
  --ls-normal: 0;
  --ls-wide:   0.08em;
  --ls-wider:  0.15em;

  /* Spacing (fluid-ish via clamp) */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;
  --sp-40: 10rem;

  /* Radius */
  --r-sm:  2px;
  --r-md:  4px;
  --r-lg:  8px;
  --r-xl:  16px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 200ms;
  --dur-normal: 400ms;
  --dur-slow: 700ms;
  --dur-slower: 1000ms;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.25);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.35);
  --shadow-gold: 0 8px 30px rgba(27,58,95,0.15);

  /* Z-index */
  --z-base:    1;
  --z-above:   10;
  --z-nav:     100;
  --z-overlay: 200;
  --z-modal:   300;
  --z-lightbox:400;
}

/* ---- 3. RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: var(--lh-normal);
  color: var(--c-pure);
  background-color: var(--c-void);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background: linear-gradient(180deg, #f5f5f0 0%, #eae9e4 100%);
}
img, picture, video, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---- 4. BASE ELEMENTS ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--c-pure);
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

::selection {
  background: var(--c-gold);
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- 5. LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.5rem, 5vw, 4rem);
  padding-right: clamp(1.5rem, 5vw, 4rem);
}

.container--narrow { max-width: 1000px; }
.container--wide   { max-width: 1440px; }

.section {
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-24);
  position: relative;
}

.section--dark {
  background: linear-gradient(180deg, #2c3e50 0%, #1c2833 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #f5f5f0;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p,
.section--dark .eyebrow,
.section--dark .counter__label,
.section--dark .trust-item__title,
.section--dark .trust-item__text {
  color: #f5f5f0;
}

.section--dark .mv-card {
  background: linear-gradient(135deg, #3d4856 0%, #2c3e50 100%);
  border: 1px solid rgba(255,255,255,0.1);
}

.section--dark .mv-card:hover {
  border-color: #5DADE2;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2), 0 0 30px rgba(93,173,226,0.15);
}

.section--dark .mv-card__icon {
  background: linear-gradient(135deg, rgba(93,173,226,0.15) 0%, rgba(93,173,226,0.08) 100%);
  border: 1px solid rgba(93,173,226,0.3);
}

.section--dark .mv-card__title,
.section--dark .mv-card__text {
  color: #f5f5f0;
}

.section--dark .counter__num {
  color: #5DADE2;
  text-shadow: 0 0 40px rgba(93,173,226,0.4);
}

.section--dark .gold-line {
  background: #5DADE2;
}

.section--dark .gold-line--center {
  background: #5DADE2;
}

.section--dark .btn--ghost {
  border-color: rgba(255,255,255,0.3);
  color: #f5f5f0;
}

.section--dark .btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #5DADE2;
  color: #f5f5f0;
}

.section--dark .trust-item__icon,
.section--dark .mv-card__icon {
  color: #5DADE2;
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--sp-32);
    padding-bottom: var(--sp-32);
  }
}

/* ---- 6. NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: var(--sp-2) 0;
  background: rgba(15, 25, 40, 0.55);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: background var(--dur-normal) var(--ease-out-quart),
              padding var(--dur-normal) var(--ease-out-quart);
}

.nav--light {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(27,58,95,0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-1);
  padding-bottom: var(--sp-1);
  min-height: 50px;
}

.nav__logo {
  display: flex;
  align-items: center;
  transition: opacity var(--dur-fast) var(--ease-out-quart);
}

.nav__logo:hover {
  opacity: 0.85;
}

.nav__logo img {
  width: auto;
  max-height: 120px;
  object-fit: contain;
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-8);
}

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

.nav__link {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: rgba(245,245,240,0.9);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--dur-fast) var(--ease-out-quart);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: #5DADE2;
  transition: width var(--dur-normal) var(--ease-out-expo);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: #ffffff;
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  width: 100%;
}

.nav--scrolled .nav__link {
  color: var(--c-slate);
}

.nav--scrolled .nav__link:hover,
.nav--scrolled .nav__link[aria-current="page"] {
  color: var(--c-pure);
}

.nav--scrolled .nav__link::after {
  background: var(--c-gold);
}

.nav--light .nav__link {
  color: var(--c-slate);
}

.nav--light .nav__link:hover,
.nav--light .nav__link[aria-current="page"] {
  color: var(--c-pure);
}

.nav--light .nav__toggle span {
  background: var(--c-slate);
}

/* Mobile toggle */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  z-index: calc(var(--z-nav) + 1);
}

.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: rgba(245,245,240,0.9);
  transition: transform var(--dur-normal) var(--ease-out-expo),
              opacity var(--dur-normal) var(--ease-out-expo);
}

.nav--scrolled .nav__toggle span {
  background: var(--c-slate);
}

.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); }
.nav__toggle[aria-expanded="true"] span {
  background: var(--c-slate);
}

@media (min-width: 768px) { .nav__toggle { display: none; } }

/* Mobile menu */
.nav__mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--c-void);
  background: linear-gradient(135deg, #f5f5f0 0%, #eae9e4 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--dur-normal) var(--ease-out-quart),
              visibility var(--dur-normal) var(--ease-out-quart);
  z-index: 99;
  padding: var(--sp-10) var(--sp-6);
}

.nav__mobile.is-open {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.nav__mobile .nav__link {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-slate);
  padding: var(--sp-3) var(--sp-8);
  text-align: center;
  border-bottom: 1px solid rgba(27,58,95,0.08);
  transition: color var(--dur-fast) var(--ease-out-quart),
              transform var(--dur-fast) var(--ease-out-quart);
  transform: translateY(12px);
  opacity: 0;
}

.nav__mobile.is-open .nav__link {
  transform: translateY(0);
  opacity: 1;
}

.nav__mobile.is-open .nav__link:nth-child(1) { transition-delay: 0.05s; }
.nav__mobile.is-open .nav__link:nth-child(2) { transition-delay: 0.1s; }
.nav__mobile.is-open .nav__link:nth-child(3) { transition-delay: 0.15s; }
.nav__mobile.is-open .nav__link:nth-child(4) { transition-delay: 0.2s; }

.nav__mobile .nav__link:hover,
.nav__mobile .nav__link[aria-current="page"] {
  color: var(--c-gold);
}

.nav__mobile .nav__link[aria-current="page"] {
  border-bottom-color: var(--c-gold);
}

/* ---- 7. BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--r-md);
  transition: all var(--dur-normal) var(--ease-out-expo);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--c-gold);
  color: #ffffff;
  border: 2px solid var(--c-gold);
}

.btn--primary:hover {
  background: var(--c-gold-light);
  border-color: var(--c-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(27,58,95,0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--c-slate);
  border: 2px solid var(--c-slate);
}

.btn--ghost:hover {
  border-color: var(--c-gold);
  color: #ffffff;
  background: var(--c-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(27,58,95,0.35);
}

.btn--large {
  padding: var(--sp-5) var(--sp-10);
  font-size: var(--fs-body);
}

/* ---- 8. TYPOGRAPHY COMPONENTS ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-gold);
  display: block;
  margin-bottom: var(--sp-4);
}

.heading-xl {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

.heading-lg {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: var(--lh-tight);
}

.heading-md {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-snug);
}

.heading-sm {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-snug);
}

.text-body {
  font-size: var(--fs-body);
  line-height: var(--lh-loose);
  color: var(--c-silver);
}

.text-body--light { color: var(--c-muted); }

.gold-line {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold) 0%, var(--c-gold-light) 100%);
  margin-top: var(--sp-6);
  box-shadow: 0 0 20px rgba(27,58,95,0.3);
}

.gold-line--center { margin-left: auto; margin-right: auto; }

/* ---- 9. HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  position: absolute;
  top: -10%;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,25,40,0.4) 0%,
    rgba(15,25,40,0.6) 40%,
    rgba(15,25,40,0.85) 80%,
    rgba(15,25,40,0.95) 100%
  );
  z-index: 1;
}

.hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(27,58,95,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: calc(var(--sp-24) + var(--sp-8));
  max-width: 900px;
}

.hero__content .eyebrow,
.hero__content h1,
.hero__content p {
  color: #f5f5f0;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-loose);
  color: rgba(245,245,240,0.85);
  margin-top: var(--sp-6);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-10);
}

/* ---- 10. PAGE HERO ---- */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--sp-24) + var(--sp-8));
  padding-bottom: var(--sp-16);
  overflow: hidden;
  background: linear-gradient(180deg, #eae9e4 0%, #f5f5f0 100%);
}

/* Dark variant for pages where nav is transparent (e.g. hizmetler.html) */
.page-hero--dark {
  background: linear-gradient(180deg, #0f1928 0%, #1c2833 100%);
}

.page-hero--dark .page-hero__bg {
  opacity: 1;
}

.page-hero--dark .page-hero__bg img {
  filter: grayscale(100%) contrast(1.2) brightness(0.7);
}

.page-hero--dark .page-hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(15,25,40,0.4) 0%,
    rgba(15,25,40,0.6) 40%,
    rgba(15,25,40,0.85) 80%,
    rgba(15,25,40,0.95) 100%
  );
}

.page-hero--dark .page-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(27,58,95,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero--dark .page-hero__content,
.page-hero--dark .page-hero__content .eyebrow,
.page-hero--dark .page-hero__content h1,
.page-hero--dark .page-hero__content p {
  color: #f5f5f0;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.2);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.85) 70%, rgba(255,255,255,0.95) 100%);
}

.page-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(27,58,95,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

/* ---- 11. SPLIT SECTIONS ---- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }
  .split--reverse .split__text { order: 2; }
  .split--reverse .split__media { order: 1; }
}

.split__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--c-void);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--dur-slow) var(--ease-out-quart),
              filter var(--dur-slow) var(--ease-out-quart);
}

.split__media:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.split__media::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(27,58,95,0.2);
  border-radius: var(--r-lg);
  pointer-events: none;
  transition: border-color var(--dur-normal) var(--ease-out-quart);
}

.split__media:hover::after {
  border-color: var(--c-gold);
}

.split__number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(27,58,95,0.08);
  position: absolute;
  top: -0.5em;
  left: -0.15em;
  user-select: none;
  pointer-events: none;
}

/* ---- 12. SERVICE BLOCK (for hizmetler) ---- */
.service-block {
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-20);
  position: relative;
}

.service-block:nth-child(even) {
  background: linear-gradient(180deg, #e0dfd9 0%, #eae9e4 100%);
  border-top: 1px solid rgba(27,58,95,0.1);
  border-bottom: 1px solid rgba(27,58,95,0.1);
}

.service-block__features {
  margin-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.service-block__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  font-size: var(--fs-body);
  color: var(--c-muted);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(27,58,95,0.1);
  transition: color var(--dur-fast) var(--ease-out-quart),
              border-color var(--dur-fast) var(--ease-out-quart);
}

.service-block__feature:last-child {
  border-bottom: none;
}

.service-block__feature:hover {
  color: var(--c-slate);
  border-color: rgba(27,58,95,0.3);
}

.service-block__feature svg {
  width: 22px; height: 22px;
  color: var(--c-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- 13. COUNTERS ---- */
.counters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-10);
}

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

.counter__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--c-gold);
  text-shadow: 0 0 40px rgba(27,58,95,0.2);
}

.counter__label {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: var(--sp-3);
}

/* ---- 14. PROJECT GRID ---- */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

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

@media (min-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(12, 1fr); }
  .projects-grid .project-card:nth-child(1) { grid-column: span 7; }
  .projects-grid .project-card:nth-child(2) { grid-column: span 5; }
  .projects-grid .project-card:nth-child(3) { grid-column: span 5; }
  .projects-grid .project-card:nth-child(4) { grid-column: span 7; }
}

.project-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  border: 1px solid rgba(27,58,95,0.15);
  background: var(--c-void);
  transition: border-color var(--dur-normal) var(--ease-out-quart),
              box-shadow var(--dur-normal) var(--ease-out-quart);
}

.project-card:hover {
  border-color: var(--c-gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 40px rgba(27,58,95,0.15);
}

.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--dur-slower) var(--ease-out-quart),
              filter var(--dur-slow) var(--ease-out-quart);
}

.project-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.85);
}

/* ---- 15. GALLERY ---- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-bottom: var(--sp-12);
}

.gallery-filter {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  padding: var(--sp-3) var(--sp-6);
  border: 2px solid rgba(27,58,95,0.2);
  border-radius: var(--r-md);
  background: var(--c-void);
  color: var(--c-slate);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out-quart);
}

.gallery-filter:hover {
  border-color: var(--c-gold);
  color: var(--c-slate);
  background: rgba(27,58,95,0.08);
}

.gallery-filter.is-active {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(27,58,95,0.3);
}

.gallery-masonry {
  columns: 1;
  column-gap: var(--sp-6);
}

@media (min-width: 640px) { .gallery-masonry { columns: 2; } }
@media (min-width: 1024px) { .gallery-masonry { columns: 3; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--sp-6);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out-quart);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--dur-normal) var(--ease-out-quart);
  border-radius: var(--r-lg);
}

.gallery-item:hover::after {
  background: rgba(27,58,95,0.1);
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(27,58,95,0);
  border-radius: var(--r-lg);
  transition: border-color var(--dur-normal) var(--ease-out-quart);
  pointer-events: none;
  z-index: 1;
}

.gallery-item:hover::before {
  border-color: var(--c-gold);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-lightbox);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal) var(--ease-out-quart);
  padding: var(--sp-8);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-lg);
  transform: scale(0.92);
  transition: transform var(--dur-slow) var(--ease-out-expo);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}

.lightbox.is-open .lightbox__img {
  transform: scale(1);
}

.lightbox__btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(27,58,95,0.1);
  border: 2px solid rgba(27,58,95,0.3);
  color: var(--c-slate);
  transition: all var(--dur-fast) var(--ease-out-quart);
  z-index: 2;
}

.lightbox__btn:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: #ffffff;
}

.lightbox__btn--close { top: var(--sp-6); right: var(--sp-6); }
.lightbox__btn--prev { top: 50%; left: var(--sp-6); transform: translateY(-50%); }
.lightbox__btn--next { top: 50%; right: var(--sp-6); transform: translateY(-50%); }

.lightbox__btn--close:hover { transform: scale(1.1); }
.lightbox__btn--prev:hover { transform: translateY(-50%) scale(1.1); }
.lightbox__btn--next:hover { transform: translateY(-50%) scale(1.1); }

.lightbox__caption {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-small);
  color: var(--c-silver);
  text-align: center;
  font-weight: 500;
}

/* ---- 16. TRUST / ICON BLOCKS ---- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-10);
}

@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-item {
  text-align: center;
}

.trust-item__icon {
  width: 80px; height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-6);
  border: 1px solid rgba(27,58,95,0.2);
  border-radius: 50%;
  background: rgba(27,58,95,0.08);
  transition: all var(--dur-normal) var(--ease-out-quart);
}

.trust-item:hover .trust-item__icon {
  border-color: var(--c-gold);
  background: rgba(27,58,95,0.15);
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(27,58,95,0.2);
}

.trust-item__icon svg {
  width: 30px; height: 30px;
  color: var(--c-gold);
  transition: transform var(--dur-normal) var(--ease-out-quart);
}

.trust-item:hover .trust-item__icon svg {
  transform: scale(1.1);
}

.trust-item__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--c-slate);
  margin-bottom: var(--sp-2);
  transition: color var(--dur-fast) var(--ease-out-quart);
}

.trust-item:hover .trust-item__title {
  color: var(--c-gold);
}

.trust-item__text {
  font-size: var(--fs-small);
  color: var(--c-muted);
  line-height: var(--lh-loose);
}

/* ---- 17. CONTACT ---- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-16);
}

@media (min-width: 768px) {
  .contact-wrap { grid-template-columns: 1.2fr 1fr; }
}

.contact-form {
  background: linear-gradient(135deg, #f5f5f0 0%, #eae9e4 100%);
  border: 1px solid rgba(27,58,95,0.15);
  border-radius: var(--r-lg);
  padding: clamp(var(--sp-8), 4vw, var(--sp-12));
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.form-field {
  margin-bottom: var(--sp-6);
}

.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--sp-3);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--c-slate);
  background: var(--c-void);
  border: 2px solid rgba(27,58,95,0.2);
  border-radius: var(--r-md);
  transition: border-color var(--dur-fast) var(--ease-out-quart),
              box-shadow var(--dur-fast) var(--ease-out-quart),
              background var(--dur-fast) var(--ease-out-quart);
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: rgba(27,58,95,0.4);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-gold);
  background: rgba(27,58,95,0.03);
  box-shadow: 0 0 0 4px rgba(27,58,95,0.12);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info__row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
}

.contact-info__icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27,58,95,0.15) 0%, rgba(27,58,95,0.08) 100%);
  border-radius: var(--r-lg);
  flex-shrink: 0;
  border: 1px solid rgba(27,58,95,0.2);
}

.contact-info__icon svg {
  width: 24px; height: 24px;
  color: var(--c-gold);
}

.contact-info__label {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--sp-1);
}

.contact-info__value {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--c-silver);
  line-height: var(--lh-snug);
}

.contact-info__value a {
  transition: color var(--dur-fast) var(--ease-out-quart);
  color: var(--c-slate);
}

.contact-info__value a:hover {
  color: var(--c-gold);
}

.contact-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: var(--sp-10);
  border: 1px solid rgba(27,58,95,0.2);
}

.contact-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(10%) contrast(1.05) brightness(1);
  transition: filter var(--dur-normal) var(--ease-out-quart);
}

.contact-map:hover iframe {
  filter: grayscale(0%) contrast(1) brightness(1.05);
}

/* ---- 18. FOOTER ---- */
.footer {
  background: linear-gradient(180deg, var(--c-night) 0%, var(--c-void-lift) 100%);
  border-top: 1px solid rgba(27,58,95,0.2);
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-10);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer__brand .nav__logo {
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-4);
}

.footer__desc {
  font-size: var(--fs-small);
  color: var(--c-muted);
  line-height: var(--lh-loose);
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.footer__social a {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(27,58,95,0.2);
  border-radius: 50%;
  transition: all var(--dur-fast) var(--ease-out-quart);
  background: rgba(255,255,255,0.5);
}

.footer__social a:hover {
  border-color: var(--c-gold);
  background: var(--c-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(27,58,95,0.3);
}

.footer__social a:hover svg { color: #ffffff; }

.footer__social svg {
  width: 18px; height: 18px;
  color: var(--c-silver);
  transition: color var(--dur-fast) var(--ease-out-quart);
}

.footer__title {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-pure);
  margin-bottom: var(--sp-6);
}

.footer__links li { margin-bottom: var(--sp-3); }

.footer__links a {
  font-size: var(--fs-small);
  color: var(--c-muted);
  transition: color var(--dur-fast) var(--ease-out-quart);
}

.footer__links a:hover { color: var(--c-gold); }

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-small);
  color: var(--c-muted);
}

.footer__contact svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--c-gold);
  margin-top: 3px;
}

.footer__bottom {
  margin-top: var(--sp-16);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(27,58,95,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--c-slate);
  letter-spacing: var(--ls-wide);
  font-weight: 500;
}

.footer__credit {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-style: italic;
  color: var(--c-muted);
  opacity: 0.5;
  margin-top: var(--sp-1);
}

/* ---- 19. CTA SECTION ---- */
.cta-section {
  position: relative;
  padding-top: var(--sp-32);
  padding-bottom: var(--sp-32);
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(27,58,95,0.15);
  border-bottom: 1px solid rgba(27,58,95,0.15);
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-night) 0%, var(--c-void-lift) 50%, var(--c-night) 100%);
  background: linear-gradient(135deg, #e0dfd9 0%, #f5f5f0 50%, #eae9e4 100%);
}

.cta-section__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(27,58,95,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__content {
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-size: var(--fs-h1);
  font-weight: 700;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section__text {
  font-size: var(--fs-body);
  color: var(--c-muted);
  margin-top: var(--sp-5);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section__btn {
  margin-top: var(--sp-10);
}

/* ---- 20. MISSION / VISION CARDS ---- */
.mv-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .mv-cards { grid-template-columns: repeat(2, 1fr); }
}

.mv-card {
  background: linear-gradient(135deg, #f5f5f0 0%, #eae9e4 100%);
  border: 1px solid rgba(27,58,95,0.15);
  border-radius: var(--r-lg);
  padding: clamp(var(--sp-8), 4vw, var(--sp-12));
  transition: all var(--dur-normal) var(--ease-out-quart);
}

.mv-card:hover {
  border-color: var(--c-gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1), 0 0 30px rgba(27,58,95,0.15);
}

.mv-card__icon {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27,58,95,0.15) 0%, rgba(27,58,95,0.08) 100%);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-6);
  border: 1px solid rgba(27,58,95,0.2);
}

.mv-card__icon svg {
  width: 28px; height: 28px;
  color: var(--c-gold);
}

.mv-card__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.mv-card__text {
  font-size: var(--fs-body);
  color: var(--c-muted);
  line-height: var(--lh-loose);
}

/* ---- 21. ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

@keyframes revealText {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

/* Scroll-triggered animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out-expo),
              transform 0.9s var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s var(--ease-out-expo),
              transform 0.9s var(--ease-out-expo);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s var(--ease-out-expo),
              transform 0.9s var(--ease-out-expo);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 1s var(--ease-out-expo),
              transform 1s var(--ease-out-expo);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Parallax helper */
.parallax {
  will-change: transform;
}

/* ---- 22. UTILITIES ---- */
.text-center { text-align: center; }
.text-gold { color: var(--c-gold); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }
.mt-12 { margin-top: var(--sp-12); }
.mt-16 { margin-top: var(--sp-16); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }
.mb-12 { margin-bottom: var(--sp-12); }
.mb-16 { margin-bottom: var(--sp-16); }
.w-full { width: 100%; }

/* Hide utilities */
@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 768px)  { .hide-desktop { display: none !important; } }

/* ---- 23. MOBILE CONTACT BAR ---- */
.contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: var(--sp-3) 0;
  padding-bottom: calc(var(--sp-3) + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(27,58,95,0.12);
  z-index: calc(var(--z-nav) - 1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.contact-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-caption);
  color: var(--c-slate);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  transition: transform var(--dur-fast) var(--ease-out-quart), color var(--dur-fast);
}

.contact-bar__item:hover {
  transform: translateY(-2px);
  color: var(--c-gold);
}

.contact-bar__item svg {
  width: 24px;
  height: 24px;
  color: var(--c-gold);
  flex-shrink: 0;
}

.contact-bar__item--whatsapp svg {
  color: #25D366;
}

@media (min-width: 768px) {
  .contact-bar { display: none; }
}

@media (max-width: 767px) {
  body { padding-bottom: 64px; }
}

/* ---- 24. SPLASH SCREEN ---- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0f16;
  transition: opacity 0.8s var(--ease-out-expo);
}

.splash.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash__bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/stock/cta_background_for_gallery.jpg') center/cover no-repeat;
  opacity: 0.12;
  filter: grayscale(40%) brightness(0.6);
  animation: splashBgIn 1.5s ease-out forwards;
}

@keyframes splashBgIn {
  0% { opacity: 0; }
  100% { opacity: 0.12; }
}

.splash__content {
  position: relative;
}

.splash__inner {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(0.15rem, 0.4vw, 0.25rem);
}

.splash__text {
  font-family: system-ui, -apple-system, 'Inter', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(
    105deg,
    #C9A84C 0%,
    #C9A84C 15%,
    #E8D48B 28%,
    #C9A84C 42%,
    #C9A84C 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: scale(0.96);
  animation:
    splashFadeIn 0.7s var(--ease-out-expo) 0.2s forwards,
    splashShimmer 1.8s ease-in-out 1s forwards;
}

.splash__line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #C9A84C, #E8D48B);
  opacity: 0;
  animation: splashTagIn 0.6s var(--ease-out-expo) 0.6s forwards;
}

.splash__tagline {
  font-family: system-ui, -apple-system, 'Inter', sans-serif;
  font-size: clamp(0.55rem, 1.2vw, 0.85rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.06em;
  background: linear-gradient(
    105deg,
    #C9A84C 0%,
    #C9A84C 15%,
    #E8D48B 28%,
    #C9A84C 42%,
    #C9A84C 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  margin-right: 2px;
  animation:
    splashTagIn 0.6s var(--ease-out-expo) 0.8s forwards,
    splashShimmer 1.8s ease-in-out 1s forwards;
}

@keyframes splashFadeIn {
  0% { opacity: 0; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes splashTagIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes splashShimmer {
  0% { background-position: 150% 0; }
  60% { background-position: -80% 0; }
  100% { background-position: -80% 0; }
}

/* ---- 25. ENTRANCE ANIMATIONS (post-splash) ---- */
body.page-loading main {
  opacity: 0;
}

body.page-loading .page-hero,
body.page-loading .hero {
  opacity: 1;
}

body.page-loaded main {
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

body.entering {
  background: #1a1d21;
}

body.entered {
  background: linear-gradient(180deg, #f5f5f0 0%, #eae9e4 100%);
  transition: background 1.2s var(--ease-out-expo) 0.5s;
}

body.entering main {
  opacity: 0;
}

body.entered main {
  opacity: 1;
  transition: opacity 2s var(--ease-out-expo) 0.6s;
}

body.entering .contact-bar {
  transform: translateY(110%);
}

body.entered .contact-bar {
  transform: translateY(0);
  transition: transform 1.6s var(--ease-out-expo) 0.4s;
}
