/* ============================================================
   Amazing Moments — master stylesheet
   Elegant wedding & event decoration site
   ============================================================ */

:root {
  --ivory:   #fbf6f0;
  --paper:   #ffffff;
  --sand:    #f3ebe0;
  --beige:   #e7d8c3;
  --gold:    #b89460;
  --gold-2:  #9c7a4a;
  --bronze:  #6e4f30;
  --ink:     #1f1612;
  --muted:   #6b5a4d;
  --line:    rgba(110,79,48,0.18);
  --line-2:  rgba(110,79,48,0.08);
  --shadow:  0 24px 60px -28px rgba(31,22,18,0.45);
  --shadow-soft: 0 12px 28px -18px rgba(31,22,18,0.25);
  --serif:   'Cormorant Garamond', 'Playfair Display', 'Times New Roman', serif;
  --sans:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius:  6px;
  --radius-lg: 14px;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1,h2,h3,h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: .005em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.eyebrow { font-family: var(--sans); font-size: 0.74rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; }
.lead { font-size: 1.05rem; color: var(--muted); }

.container { width: min(100% - 36px, var(--container)); margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 14px 28px; border-radius: 999px; font-weight: 500; font-size: .92rem; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--ink); background: var(--ink); color: var(--ivory);
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }

/* ============================================================
   Top header bar — matches the reference site
   Thin dark bar with logo (left) + nav + social (right)
   ============================================================ */
.site-header {
  position: relative; z-index: 60;
  background: #16100c;
  color: #f6efe6;
  border-bottom: 1px solid rgba(255,255,255,.05);
  overflow: visible;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.site-header__brand {
  display: flex; align-items: center; gap: 14px;
  height: 100%;
}
.site-header__logo {
  display: inline-flex; align-items: center;
  height: 100%;
  overflow: visible;
}
.site-header__logo img {
  height: 58px; width: auto;
  max-height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.18));
}
.site-header__brand-name {
  font-family: var(--serif); font-size: 1.25rem; color: #f6efe6; letter-spacing: .04em;
}
.site-header__phone {
  font-family: var(--serif); font-size: 1rem; color: #f6efe6;
  border-left: 1px solid rgba(255,255,255,.15); padding-left: 14px;
}
.site-header__phone:hover { color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 18px; }
.site-nav__main a {
  font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: #d8cdbf;
  position: relative; padding: 6px 0;
}
.site-nav__main a:hover, .site-nav__main a.is-active { color: #fff; }
.site-nav__main a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.site-nav__main a:hover::after, .site-nav__main a.is-active::after { transform: scaleX(1); }
.site-nav__social { gap: 10px; }
.site-nav__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  color: #d8cdbf; transition: color .2s ease, background .2s ease;
}
.site-nav__social a:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-nav__social .ic-fb:hover { background: #1877f2; color: #fff; }
.site-nav__social .ic-ig:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.site-nav__social .ic-yt:hover { background: #ff0000; color: #fff; }
.site-nav__social svg { width: 16px; height: 16px; }

.menu-btn { display: none; color: #fff; }

body.nav-open .site-nav { right: 0; }

/* ============================================================
   Intro screen — fullscreen image slider (no header, no footer)
   Matches the reference site's intro page exactly
   ============================================================ */
.intro-screen {
  position: fixed; inset: 0; z-index: 1; background: #000; overflow: hidden;
}
.intro-screen__slides { position: absolute; inset: 0; }
.intro-screen__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
}
.intro-screen__slide.is-active { opacity: 1; }

/* Transparent header overlaying the intro slider */
.intro-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  background: transparent;
  pointer-events: none;
}
.intro-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 24px;
  pointer-events: auto;
}
.intro-header__brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: #fff;
}
.intro-header__brand img { height: 46px; width: auto; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.intro-header__brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  font-family: var(--serif); font-size: 1.2rem;
  backdrop-filter: blur(6px);
}
.intro-header__brand-text {
  display: flex; flex-direction: column; line-height: 1.1;
  font-family: var(--serif); font-size: 1.15rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.intro-header__brand-text span {
  font-family: var(--sans); font-size: .62rem; letter-spacing: .32em;
  text-transform: uppercase; color: #f0d6b1; margin-top: 2px;
}
.intro-nav {
  display: inline-flex; align-items: center; gap: 26px;
}
.intro-nav a {
  font-size: .8rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.92); padding: 8px 0;
  position: relative;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  transition: color .25s ease;
}
.intro-nav a:hover, .intro-nav a.is-active { color: #fff; }
.intro-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.intro-nav a:hover::after, .intro-nav a.is-active::after { transform: scaleX(1); }
.intro-nav__social {
  width: 34px; height: 34px; border-radius: 50%; padding: 0 !important;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
  text-shadow: none !important;
}
.intro-nav__social:hover { background: rgba(255,255,255,.28); }
.intro-nav__social::after { display: none !important; }
.intro-nav__social svg { width: 14px; height: 14px; }

.intro-header__menu { display: none; color: #fff; pointer-events: auto; }
.intro-screen__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease;
  z-index: 5;
}
.intro-screen__arrow:hover { background: rgba(255,255,255,.32); }
.intro-screen__arrow--prev { left: 24px; }
.intro-screen__arrow--next { right: 24px; }
.intro-screen__pause {
  position: absolute; right: 24px; bottom: 24px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease;
}
.intro-screen__pause:hover { background: rgba(255,255,255,.32); }
.intro-screen__credit {
  position: absolute; left: 24px; bottom: 22px; z-index: 5;
  color: rgba(255,255,255,.85); font-size: .82rem; letter-spacing: .04em;
}
.intro-screen__credit a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }
.intro-screen__credit a:hover { color: var(--gold); border-color: var(--gold); }

/* ============================================================
   Hero slider (home page) — fullscreen slider with side arrows + pause
   Matches the reference site's home page
   ============================================================ */
.hero-slider {
  position: relative; height: 50vh; min-height: 380px;
  background: #000; overflow: hidden;
}
.hero-slider__slides { position: absolute; inset: 0; }
.hero-slider__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slider__slide.is-active { opacity: 1; }
.hero-slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease;
  z-index: 5;
}
.hero-slider__arrow:hover { background: rgba(255,255,255,.32); }
.hero-slider__arrow--prev { left: 24px; }
.hero-slider__arrow--next { right: 24px; }
.hero-slider__pause {
  position: absolute; right: 24px; bottom: 24px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease;
}
.hero-slider__pause:hover { background: rgba(255,255,255,.32); }
@media (max-width: 720px) {
  .hero-slider { height: 40vh; min-height: 280px; }
  .hero-slider__arrow { width: 40px; height: 40px; }
  .hero-slider__arrow--prev { left: 12px; }
  .hero-slider__arrow--next { right: 12px; }
  .hero-slider__pause { right: 12px; bottom: 12px; }
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(60px, 9vw, 120px) 0; }
.section--alt { background: var(--sand); }
.section--dark { background: var(--ink); color: #f6efe6; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head p { color: var(--muted); }

/* ============================================================
   Projects Grid — matches the reference card style
   ============================================================ */
.projects-grid {
  display: grid; gap: 56px 40px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.project-card { display: block; color: inherit; }
.project-card__media {
  position: relative; overflow: hidden; aspect-ratio: 4/3; background: #ddd;
  border-radius: 4px;
}
.project-card__media img {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.001);
  transition: transform 1.1s ease, filter .6s ease;
}
.project-card:hover .project-card__media img { transform: scale(1.06); filter: brightness(0.94); }
.project-card__body { padding: 18px 4px 0; }
.project-card__body h3 { font-size: 1.35rem; margin: 6px 0 8px; }
.project-card__body p { color: var(--muted); margin: 0; font-size: .94rem; }
.project-card__more { display: inline-block; margin-top: 10px; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-2); }

/* ============================================================
   CTA strip (Instagram)
   ============================================================ */
.cta-strip {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; align-items: stretch;
}
.cta-strip__img { background-size: cover; background-position: center; }
.cta-strip__body { background: var(--ink); color: #f6efe6; display: flex; align-items: center; justify-content: center; padding: 56px; text-align: center; }
.cta-strip__body h2 { color: #fff; }
.cta-strip__body p { color: rgba(246,239,230,.78); }
.cta-strip__body .btn { margin-top: 18px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #16100c; color: #d8cdbf; padding: 72px 0 28px;
}
.site-footer a { color: #d8cdbf; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; gap: 56px; grid-template-columns: 1.5fr 1fr 1fr 1fr; align-items: start; }
.site-footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.site-footer__brand img { height: 48px; }
.site-footer__brand-name { font-family: var(--serif); font-size: 1.35rem; color: #fff; margin: 0; line-height: 1.1; }
.site-footer__brand-name span { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: #a99e8c; margin-top: 4px; }
.site-footer__about { color: #a99e8c; max-width: 380px; margin: 0 0 18px; }
.site-footer h4 { color: #fff; font-family: var(--serif); font-size: 1.3rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer p { color: #a99e8c; margin: 6px 0; }
.site-footer p .ic { width: 14px; display: inline-block; margin-right: 8px; vertical-align: -2px; }
.site-footer .map-frame { width: 100%; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: #221814; }
.site-footer .map-frame iframe { width: 100%; height: 100%; border: 0; }
.site-footer .muted { color: #847766; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 20px; font-size: .82rem; color: #847766; flex-wrap: wrap;
}
.socials { display: inline-flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ============================================================
   Page heads (about / projects index / contact / etc)
   ============================================================ */
.page-head {
  position: relative; padding: 200px 0 100px;
  background-size: cover; background-position: center;
  color: #fff; text-align: center;
}
.page-head--project {
  padding: 220px 0 110px;
  background-position: center;
}
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.65)); }
.page-head > * { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin: 0; }
.page-head .eyebrow { color: #f0d6b1; }

.breadcrumb {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.breadcrumb a { color: rgba(255,255,255,.85); border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.breadcrumb a:hover { color: #fff; border-bottom-color: var(--gold); }
.breadcrumb span:not(.is-current) { opacity: .6; }
.breadcrumb .is-current { color: #fff; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

.prose { max-width: 820px; margin: 0 auto; }
.prose p { margin: 0 0 18px; color: var(--muted); font-size: 1.02rem; }
.prose h2 { margin-top: 36px; }

/* ============================================================
   Project detail page
   ============================================================ */
.project-hero {
  position: relative; height: 70vh; min-height: 460px; background: #000; overflow: hidden;
}
.project-hero img { width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.7)); }
.project-hero__inner {
  position: absolute; inset: auto 0 0 0; padding: 0 24px 80px; text-align: center; color: #fff;
}
.project-hero__inner h1 { color: #fff; margin: 0 0 10px; }

.project-gallery {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-top: 30px;
}
.project-gallery a { display: block; overflow: hidden; border-radius: var(--radius); }
.project-gallery img {
  width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s ease;
}
.project-gallery a:hover img { transform: scale(1.04); }

.project-credits { background: var(--sand); padding: 30px; border-radius: var(--radius-lg); margin-top: 50px; }
.project-credits h3 { font-size: 1.1rem; letter-spacing: .25em; text-transform: uppercase; font-family: var(--sans); color: var(--gold-2); }
.project-credits dl { display: grid; gap: 10px 24px; grid-template-columns: max-content 1fr; margin: 14px 0 0; }
.project-credits dt { color: var(--gold-2); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.project-credits dd { margin: 0; color: var(--ink); }

/* ============================================================
   Lightbox (gallery zoom) — vanilla JS, no deps
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 10, 8, .94);
  display: none;
  align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.lightbox.is-open { display: flex; }
.lightbox__stage {
  position: relative; max-width: min(92vw, 1400px); max-height: 88vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.lightbox__img {
  max-width: 92vw; max-height: 80vh; width: auto; height: auto;
  object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  animation: lbFade .35s ease;
}
@keyframes lbFade { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.lightbox__caption {
  margin-top: 16px; color: rgba(255,255,255,.85); font-size: .9rem;
  text-align: center; max-width: 80vw; letter-spacing: .04em;
}
.lightbox__counter {
  position: absolute; top: -36px; right: 0;
  color: rgba(255,255,255,.55); font-size: .82rem; letter-spacing: .22em;
}
.lightbox__close,
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s ease, transform .2s ease;
  z-index: 1;
}
.lightbox__close { top: 28px; right: 28px; transform: none; }
.lightbox__nav:hover,
.lightbox__close:hover { background: rgba(255,255,255,.22); }
.lightbox__nav--prev { left: 28px; }
.lightbox__nav--next { right: 28px; }
.lightbox__nav svg,
.lightbox__close svg { width: 22px; height: 22px; }
@media (max-width: 720px) {
  .lightbox__nav, .lightbox__close { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
  .lightbox__close { top: 14px; right: 14px; }
  .lightbox__img { max-height: 70vh; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; gap: 56px; grid-template-columns: 1fr 1.2fr; }
.contact-card {
  background: var(--paper); padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
}
.contact-card h3 { font-size: 1.2rem; letter-spacing: .22em; text-transform: uppercase; font-family: var(--sans); color: var(--gold-2); }
.contact-card a { display: inline-flex; align-items: center; gap: 12px; margin: 6px 0; }

.form-grid { display: grid; gap: 18px; }
.form-grid .row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,148,96,.16); }
.field textarea { min-height: 160px; resize: vertical; }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: .92rem; }
.alert-success { background: #e8f3e9; color: #1f5b2f; border: 1px solid #b5d6ba; }
.alert-error { background: #fbe6e3; color: #8a231a; border: 1px solid #f1b1ab; }

.map-frame { width: 100%; aspect-ratio: 16/10; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }

/* ============================================================
   Floating WhatsApp
   ============================================================ */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px -10px rgba(37,211,102,.6); transition: transform .25s ease;
}
.float-wa:hover { transform: translateY(-2px); color: #fff; }

/* ============================================================
   Admin
   ============================================================ */
.admin {
  display: grid; grid-template-columns: 240px 1fr; min-height: 100vh;
  background: #f7f4ef;
}
.admin__sidebar {
  background: #1f1612; color: #d8cdbf; padding: 28px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.admin__sidebar-logo {
  display: flex; justify-content: center; align-items: center;
  margin-bottom: 18px; padding: 6px 0;
  background: rgba(255,255,255,.04); border-radius: 10px;
}
.admin__sidebar-logo img { height: 56px; width: auto; }
.admin__sidebar .brand { color: #fff; }
.admin__sidebar h5 { font-family: var(--sans); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: #7a6c5a; margin: 22px 6px 6px; }
.admin__nav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px;
  color: #d8cdbf; font-size: .92rem; letter-spacing: .02em;
}
.admin__nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin__nav a.is-active { background: var(--gold); color: #1f1612; }
.admin__nav a svg { width: 18px; height: 18px; }
.admin__main { padding: 28px 36px; }
.admin__topbar {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px;
}
.admin__topbar h1 { margin: 0; font-size: 1.8rem; }
.admin__topbar-logo {
  display: inline-flex; align-items: center;
  background: var(--paper); padding: 6px 12px; border-radius: 10px;
  box-shadow: var(--shadow-soft);
}
.admin__topbar-logo img { height: 40px; width: auto; }
.card {
  background: var(--paper); padding: 24px; border-radius: 14px; box-shadow: 0 12px 28px -22px rgba(31,22,18,.25); margin-bottom: 24px;
}
.card h2 { font-size: 1.3rem; margin: 0 0 12px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); font-size: .92rem; vertical-align: middle; }
.table th { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.table tr:hover td { background: #faf7f0; }
.row-thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; background: #eee; }
.row-thumb-placeholder {
  width: 64px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  background: #efe8da; color: var(--gold-2); border-radius: 6px; font-size: 1.2rem;
}
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.pill-green { background: #e0f2e3; color: #1f5b2f; }
.pill-gold { background: #f4e6cf; color: var(--gold-2); }
.pill-grey { background: #ece8e2; color: #7c7367; }
.pill-red  { background: #fbe6e3; color: #8a231a; }

.ic-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ic-btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.ic-edit:hover { background: #2c66b8; border-color: #2c66b8; }
.ic-delete:hover { background: #c0392b; border-color: #c0392b; }

.btn-row { display: inline-flex; gap: 8px; }
.empty { padding: 30px; text-align: center; color: var(--muted); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; margin-bottom: 30px; }
.stat {
  background: var(--paper); padding: 22px; border-radius: 14px; box-shadow: 0 12px 28px -22px rgba(31,22,18,.25);
  display: flex; flex-direction: column; gap: 6px;
}
.stat__label { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.stat__value { font-family: var(--serif); font-size: 2.4rem; color: var(--ink); }

.login-screen { min-height: 100vh; display: grid; place-items: center; background: #1f1612; padding: 24px; }
.login-card { background: var(--paper); padding: 40px; border-radius: 18px; max-width: 420px; width: 100%; box-shadow: var(--shadow); }
.login-card__logo { display: flex; justify-content: center; margin-bottom: 18px; }
.login-card__logo img { height: 72px; width: auto; }
.login-card h1 { text-align: center; margin: 0 0 4px; }
.login-card p.lead { text-align: center; margin-bottom: 26px; }

.image-manager { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.image-tile { background: #fff; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.image-tile img { aspect-ratio: 4/3; object-fit: cover; }
.image-tile .meta { padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-strip { grid-template-columns: 1fr; }
  .cta-strip__img { min-height: 240px; }
  .admin { grid-template-columns: 1fr; }
  .admin__sidebar { position: fixed; inset: 0 auto 0 0; width: 240px; transform: translateX(-100%); transition: transform .3s ease; z-index: 80; }
  .admin.is-sidebar-open .admin__sidebar { transform: translateX(0); }
  .admin__main { padding: 22px; }
}

@media (max-width: 720px) {
  .site-header__inner { height: 64px; gap: 12px; }
  .site-header__phone { display: none; }
  .site-header__logo img { height: 50px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); color: #fff; }
  .site-nav {
    position: fixed; inset: 64px 0 auto 0; background: #16100c;
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px 28px;
    transform: translateX(100%); transition: transform .35s ease; z-index: 55;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__main a, .site-nav__social a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); width: 100%; }
  .site-nav__social { gap: 0; }
  body.nav-open .site-nav { transform: translateX(0); }
  .form-grid .row { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .project-hero { height: 56vh; }
  .intro-screen__arrow { width: 40px; height: 40px; }
  .intro-screen__arrow--prev { left: 12px; }
  .intro-screen__arrow--next { right: 12px; }
  .intro-header__inner { height: 64px; gap: 12px; }
  .intro-header__brand-text { display: none; }
  .intro-header__menu {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 8px;
    border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08);
    color: #fff; backdrop-filter: blur(6px);
  }
  .intro-nav {
    position: fixed; inset: 64px 0 auto 0; background: rgba(0,0,0,.85); backdrop-filter: blur(8px);
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px 28px;
    transform: translateY(-110%); transition: transform .35s ease; z-index: 9;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .intro-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); text-shadow: none; }
  body.intro-nav-open .intro-nav { transform: translateY(0); }
}
