/* ==========================================================================
   Photoartist Aj — dark theme stylesheet
   ========================================================================== */

:root {
  --bg: #0a0908;
  --bg-2: #100e0c;
  --panel: #17140f;
  --panel-2: #1d1913;
  --cream: #f4efe6;
  --tan: #cfa77a;
  --tan-soft: #e2c4a0;
  --muted: #a39a8e;
  --line: rgba(244, 239, 230, .14);
  --wrap: 1240px;
  --pad: clamp(1.1rem, 4vw, 2.5rem);
  --step: clamp(4rem, 9vw, 8rem);
  --display: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; margin: 0 0 .6rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: -9999px; z-index: 300; background: var(--cream); color: #000; padding: .7rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

.eyebrow {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .5rem;
}
.italic { font-style: italic; font-weight: 400; color: var(--tan-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--sans); font-size: .76rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding: 1.05rem 2rem; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--cream); cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}
.btn:hover { background: var(--cream); color: #0a0908; border-color: var(--cream); }
.btn:active { transform: translateY(1px); }
.btn--tan { background: var(--tan); border-color: var(--tan); color: #17140f; }
.btn--tan:hover { background: var(--tan-soft); border-color: var(--tan-soft); color: #17140f; }
.btn[disabled] { opacity: .55; cursor: progress; }
.link-underline {
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding-bottom: .35rem; border-bottom: 1px solid var(--tan); transition: color .25s ease;
}
.link-underline:hover { color: var(--tan); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-shown { opacity: 1; transform: none; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 120; padding-top: env(safe-area-inset-top, 0px); transition: background .35s ease, box-shadow .35s ease; }
.nav--scrolled { background: rgba(10, 9, 8, .9); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.nav__brand { font-family: var(--display); font-size: 1.45rem; text-decoration: none; letter-spacing: .01em; }
.nav__brand em { color: var(--cream); }
.nav__links { display: flex; gap: 2rem; margin-inline: auto; }
.nav__links a { text-decoration: none; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream); opacity: .85; transition: color .2s ease, opacity .2s ease; }
.nav__links a:hover, .nav__links a.is-active { color: var(--tan); opacity: 1; }
.nav__cta { padding: .8rem 1.6rem; }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: .55rem; color: var(--cream); cursor: pointer; margin-left: auto; }
.mobile { display: none; }
.mobile.is-open { display: block; background: rgba(10, 9, 8, .98); border-top: 1px solid var(--line); padding: 1rem var(--pad) 2rem; }
.mobile nav { display: flex; flex-direction: column; }
.mobile nav a { text-decoration: none; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; }
.mobile .btn { margin-top: 1.4rem; width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(78px + var(--step)) 0 var(--step); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 600px at 15% 0%, rgba(207, 167, 122, .16), transparent 60%),
    radial-gradient(800px 500px at 85% 20%, rgba(120, 60, 40, .16), transparent 65%),
    var(--bg);
}
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title { font-size: clamp(3rem, 8vw, 6.4rem); margin-bottom: 1.6rem; }
.hero__title .italic { display: block; }
.hero__lede { max-width: 42ch; color: #cec6ba; font-size: clamp(1rem, 1.4vw, 1.12rem); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: 2.4rem; }
.hero__frame { position: relative; border: 1px solid var(--line); padding: 10px; background: rgba(255,255,255,.03); }
.hero__frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero__tag { position: absolute; bottom: 26px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.hero__tag--left { left: 26px; }
.hero__tag--right { right: 26px; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 1.2rem 0; }
.marquee__track { display: flex; width: max-content; gap: 0; animation: slide 38s linear infinite; }
.marquee__track span { font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; padding: 0 2.6rem; color: #d6cec2; white-space: nowrap; }
.marquee__track span::after { content: '·'; color: var(--tan); margin-left: 2.6rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--step); position: relative; }
.section--alt { background: var(--bg-2); }
.section__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.section__head p { color: var(--muted); margin: 0; max-width: 52ch; }

/* ---------- Services grid ---------- */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.service { position: relative; grid-column: span 2; border: 1px solid var(--line); overflow: hidden; background: var(--panel); text-align: left; padding: 0; cursor: pointer; color: inherit; font: inherit; display: block; }
.service--wide { grid-column: span 3; }
.service--half { grid-column: span 2; }
.service__media { position: relative; aspect-ratio: 4 / 3; }
.service--tall .service__media { aspect-ratio: 3 / 4; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.3,1), filter .5s ease; filter: brightness(.72) saturate(.95); }
.service:hover img, .service:focus-visible img { transform: scale(1.06); filter: brightness(.85) saturate(1); }
.service__top { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; padding: 1.1rem 1.2rem; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.service__top b { font-weight: 500; color: var(--tan-soft); }
.service__body { position: absolute; inset: auto 0 0; padding: 1.4rem; background: linear-gradient(to top, rgba(8,7,6,.94) 35%, transparent); }
.service__body h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin: 0; }
.service__body p { margin: .5rem 0 0; font-size: .92rem; color: #cfc7bb; max-width: 44ch; opacity: 0; max-height: 0; overflow: hidden; transition: opacity .35s ease, max-height .45s ease; }
.service:hover .service__body p, .service:focus-visible .service__body p { opacity: 1; max-height: 8rem; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter { font: inherit; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; transition: all .25s ease; }
.filter:hover { color: var(--cream); }
.filter.is-active { background: var(--cream); color: #0a0908; border-color: var(--cream); }
.grid-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.shot { position: relative; padding: 0; border: 0; background: none; cursor: pointer; overflow: hidden; display: block; width: 100%; }
.shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: brightness(.82); transition: transform .7s ease, filter .4s ease; }
.shot--tall img { aspect-ratio: 3 / 5; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.05); filter: brightness(1); }
.shot__caption { position: absolute; inset: auto 0 0; padding: 2rem .9rem .9rem; text-align: left; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); opacity: 0; transition: opacity .3s ease; }
.shot:hover .shot__caption, .shot:focus-visible .shot__caption { opacity: 1; }
.gallery-more { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 5, 5, .96); display: grid; place-items: center; padding: clamp(1rem, 5vw, 3rem); }
.lightbox__stage { max-width: min(1000px, 92vw); }
.lightbox__stage img { max-height: 78vh; width: auto; margin-inline: auto; }
.lightbox__caption { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin: 1rem 0 0; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid var(--line); color: var(--cream); cursor: pointer; }
.lightbox__btn:hover { background: var(--tan); color: #17140f; border-color: var(--tan); }
.lightbox__btn--close { top: 1.2rem; right: 1.2rem; }
.lightbox__btn--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__photo { border: 1px solid var(--line); padding: 10px; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.about__copy p { color: #c8c0b4; max-width: 56ch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 200px)); gap: 1rem; margin-top: 2.4rem; }
.stats div { background: var(--panel); border: 1px solid var(--line); padding: 1.3rem 1.2rem; }
.stats b { display: block; font-family: var(--display); font-size: 2rem; color: var(--tan); line-height: 1; margin-bottom: .6rem; }
.stats span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Booking ---------- */
.book { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.book__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.book__copy p { color: var(--muted); max-width: 40ch; }
.contact-card { display: block; text-decoration: none; background: var(--panel); border: 1px solid var(--line); padding: 1.3rem 1.5rem; margin-top: 1rem; transition: border-color .25s ease, background .25s ease; }
.contact-card:hover { border-color: var(--tan); background: var(--panel-2); }
.contact-card span { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.contact-card b { font-family: var(--display); font-size: 1.3rem; font-weight: 500; word-break: break-word; }
.form-wrap { background: var(--panel); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.4rem); }
.form { display: grid; gap: 1.5rem; }
.field { display: flex; flex-direction: column; }
.field label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.field label i { color: var(--tan); font-style: normal; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--cream); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); padding: .7rem 0; width: 100%; border-radius: 0;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: right 6px center, right 1px center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field select option { background: #17140f; color: var(--cream); }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #6f675d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--tan); }
.field [aria-invalid='true'] { border-bottom-color: #e2725b; }
.field__error { color: #e2725b; font-size: .8rem; margin: .5rem 0 0; }
.form__alert { color: #e2725b; font-size: .88rem; margin: 0; }
.form__note { font-size: .78rem; color: var(--muted); margin: 0; }
.form__done h3 { font-size: 1.8rem; }
.form__done p { color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews__head { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; margin-bottom: 2.8rem; }
.rating-badge { display: inline-flex; align-items: center; gap: .8rem; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: .8rem 1.5rem; }
.stars { color: #f0b429; letter-spacing: .1em; font-size: .9rem; }
.rating-badge b { font-family: var(--display); font-size: 1.3rem; }
.rating-badge span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.review { background: var(--panel); border: 1px solid var(--line); padding: 1.5rem; }
.review__who { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; flex: none; }
.review__who b { display: block; font-family: var(--sans); font-size: .95rem; font-weight: 600; }
.review__who span { font-size: .78rem; color: var(--muted); }
.review__meta { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; font-size: .78rem; color: var(--muted); }
.review h4 { font-family: var(--sans); font-size: .95rem; font-weight: 600; margin-bottom: .4rem; }
.review p { font-size: .92rem; color: #b9b1a6; margin: 0; }
.reviews__cta { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: var(--step) 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.footer__title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); max-width: 16ch; margin-bottom: 1.8rem; }
.footer__line { display: flex; gap: .8rem; color: #c1b9ad; font-size: .95rem; margin-bottom: 1rem; max-width: 46ch; }
.footer__line svg { flex: none; color: var(--tan); margin-top: .35rem; }
.footer__line a { text-decoration: none; }
.footer__line a:hover { color: var(--tan); }
.socials { display: flex; gap: .8rem; margin-top: 1rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .25s ease; }
.socials a:hover { background: var(--tan); color: #17140f; border-color: var(--tan); }
.map { border: 1px solid var(--line); overflow: hidden; }
.map iframe { width: 100%; height: 380px; border: 0; display: block; filter: invert(.92) hue-rotate(180deg) contrast(.9); }
.map-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.map-link:hover { color: var(--tan); }
.keywords { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.keywords li { font-size: .82rem; color: var(--muted); }
.keywords li::before { content: '·'; color: var(--tan); margin-right: .6rem; }
.footer__base { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.footer__base a { text-decoration: none; }
.footer__base a:hover { color: var(--tan); }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-fab { position: fixed; right: 1.2rem; bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); z-index: 110; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #06301a; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .25s ease; }
.whatsapp-fab:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(4, 1fr); }
  .service, .service--wide, .service--half { grid-column: span 2; }
  .grid-gallery { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .nav { background: rgba(10, 9, 8, .92); box-shadow: 0 1px 0 var(--line); }
  .hero__inner, .about, .book, .section__head, .footer__grid { grid-template-columns: 1fr; }
  .section__head { align-items: start; }
  .hero__frame { order: -1; }
  .about__photo { max-width: 460px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  .services, .grid-gallery, .reviews { grid-template-columns: repeat(2, 1fr); }
  .service, .service--wide, .service--half { grid-column: span 2; }
  .service__body p { opacity: 1; max-height: 8rem; }
  .stats { grid-template-columns: 1fr; }
  .hero__actions { gap: 1.2rem; }
  .hero__actions .btn { width: 100%; }
  .lightbox__btn--prev { left: .3rem; }
  .lightbox__btn--next { right: .3rem; }
}
@media (max-width: 420px) {
  .grid-gallery, .reviews { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
