/* ================================================
   KATREAN PHOTO — Main Stylesheet
   Palette: warm linen · dusty rose · soft taupe
================================================ */
:root {
  --linen:      #f7f3ee;
  --linen-deep: #ede7de;
  --linen-mid:  #e0d8ce;
  --taupe:      #c8bfb5;
  --stone:      #7a7068;
  --umber:      #3d3630;
  --ink:        #1e1a17;
  --rose-pale:  #e8d0c8;
  --rose:       #c4927f;
  --rose-deep:  #9a6e5e;
  --rose-blush: #f2e8e3;
  --white:      #fdfaf7;
  --border:     #ddd5cb;
  --font-d: 'Cormorant Garamond', Georgia, serif;
  --font-b: 'Jost', system-ui, sans-serif;
  --ease:   cubic-bezier(.25,.46,.45,.94);
}

/* ── 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-b);
  background: var(--linen);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  /* Single place for overflow-x — prevents horizontal scroll */
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none }
img { max-width: 100%; height: auto; display: block }
button { font-family: var(--font-b) }

/* Prevent any child from exceeding viewport width */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 40px);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px clamp(22px, 4vw, 40px);
  background: var(--ink); color: var(--white);
  font-size: 11.5px; font-weight: 400; letter-spacing: .15em; text-transform: uppercase;
  border: 1.5px solid var(--ink); cursor: pointer; transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: transparent; color: var(--ink) }
.btn-ghost {
  background: rgba(253,250,247,.15); color: var(--white);
  border-color: rgba(253,250,247,.5); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white) }
.btn-outline { background: transparent; color: var(--ink) }
.btn-outline:hover { background: var(--ink); color: var(--white) }
.btn-full { width: 100% }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 400;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  padding: 0 clamp(16px, 4vw, 48px);
  /* No backdrop-filter here — would trap burger z-index in stacking context */
  transition: box-shadow .4s var(--ease);
}
/* Use ::before pseudo for the frosted-glass background — keeps nav's
   own stacking context clean so burger z-index works correctly */
.nav::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: rgba(247,243,238,.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.nav.scrolled::before {
  opacity: 1;
}
.nav.scrolled {
  box-shadow: 0 2px 24px rgba(30,26,23,.05);
}

/* Logo */
.nav-logo {
  font-family: var(--font-d);
  font-size: clamp(15px, 2.5vw, 21px);
  font-weight: 300; letter-spacing: .04em;
  color: var(--white);
  transition: color .35s var(--ease);
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.nav.scrolled .nav-logo { color: var(--ink) }

/* Desktop links */
.nav-links {
  display: flex; gap: clamp(18px, 3vw, 36px); list-style: none;
}
.nav-links a {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(253,250,247,.75); transition: color .3s;
}
.nav.scrolled .nav-links a { color: var(--stone) }
.nav-links a:hover { color: var(--rose) !important }

/* Burger */
.nav-burger {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; padding: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 600;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform .35s var(--ease), opacity .2s var(--ease), background .3s var(--ease);
  /* Center of the span is the rotation pivot */
  transform-origin: 50% 50%;
}
.nav.scrolled .nav-burger span { background: var(--ink) }
.nav-burger.active span { background: var(--ink) !important }
/* span height=2px, gap=5px → center-to-center = 7px */
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.nav-burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0) }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 380;
  background: rgba(30,26,23,.6);
  backdrop-filter: blur(3px);
}
.nav-overlay.active { display: block }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,8,6,.72) 0%, rgba(10,8,6,.52) 45%, rgba(10,8,6,.82) 100%),
    linear-gradient(to right,  rgba(10,8,6,.62) 0%, rgba(10,8,6,.15) 70%, rgba(10,8,6,.42) 100%);
}
.hero-dissolve {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: clamp(100px, 16vw, 220px); z-index: 2; pointer-events: none;
  background: linear-gradient(to top, var(--linen-deep) 0%, rgba(237,231,222,.6) 40%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 3; width: 100%;
  max-width: 900px; margin: 0 auto;
  padding: clamp(96px, 14vh, 160px) clamp(16px, 5vw, 40px) clamp(80px, 12vh, 130px);
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .36em; text-transform: uppercase;
  color: var(--rose-pale); margin-bottom: clamp(14px, 2.5vw, 26px);
  animation: fadeUp .8s var(--ease) .2s both;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: block; width: 20px; height: 1px;
  background: var(--rose-pale); opacity: .6;
}
.hero-name {
  font-family: var(--font-d);
  font-size: clamp(38px, 9vw, 104px);
  font-weight: 300; color: var(--white);
  line-height: 1.0; letter-spacing: -.015em;
  margin-bottom: clamp(12px, 2vw, 22px);
  text-shadow: 0 2px 40px rgba(10,8,6,.6);
  animation: fadeUp .9s var(--ease) .4s both;
}
.hero-tagline {
  font-family: var(--font-d);
  font-size: clamp(15px, 2.2vw, 23px); font-style: italic;
  color: rgba(253,250,247,.65);
  margin-bottom: clamp(28px, 5vw, 52px);
  animation: fadeUp .9s var(--ease) .6s both;
}
.hero-cta { animation: fadeUp .9s var(--ease) .8s both }

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed; bottom: clamp(16px, 3vw, 28px); right: clamp(14px, 3vw, 28px);
  z-index: 200; width: 42px; height: 42px;
  background: var(--umber); color: var(--white);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto }
.scroll-top:hover { background: var(--rose-deep) }
.scroll-top svg {
  width: 17px; height: 17px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: clamp(36px, 6vw, 64px) }
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 14px;
}
.section-label::before, .section-label::after {
  content: ''; display: block; width: 20px; height: 1px;
  background: var(--rose); opacity: .55;
}
.section-title {
  font-family: var(--font-d);
  font-size: clamp(28px, 5vw, 58px);
  font-weight: 300; color: var(--ink); line-height: 1.06;
}

/* ── SPECS ── */
.specs { padding: clamp(56px, 8vw, 110px) 0; background: var(--linen-deep) }
.specs-grid {
  display: grid;
  /* On mobile: 1 col, then 2, then 4 */
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  /* Gap 0 + border trick keeps background from showing through */
  gap: 0;
  /* Grid bg same as section — no bleed */
  background: var(--linen-deep);
}
.spec-card {
  background: var(--white);
  padding: clamp(24px, 4vw, 52px) clamp(18px, 3vw, 34px);
  text-align: center;
  border: 1px solid var(--border);
  margin: -1px 0 0 -1px;
  transition: background .4s var(--ease);
  position: relative; overflow: hidden;
}
.spec-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--rose), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.spec-card:hover::after { transform: scaleX(1) }
.spec-card:hover { background: var(--umber) }
.spec-icon { font-size: clamp(24px, 4vw, 36px); margin-bottom: 14px; display: block }
.spec-card h3 {
  font-family: var(--font-d); font-size: clamp(17px, 2.5vw, 23px);
  font-weight: 400; margin-bottom: 10px; transition: color .3s;
}
.spec-card p { font-size: 13px; color: var(--stone); line-height: 1.7; transition: color .3s }
.spec-card:hover h3 { color: var(--white) }
.spec-card:hover p  { color: rgba(247,243,238,.6) }

/* ── PORTFOLIO ── */
.portfolio-section { padding: clamp(56px, 8vw, 110px) 0; background: var(--linen) }
.portfolio-filters {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 4px;
  margin-bottom: clamp(28px, 5vw, 52px);
}
.filter-btn {
  padding: 8px clamp(12px, 2.5vw, 20px);
  background: none; border: 1px solid transparent;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--stone); cursor: pointer; transition: all .3s var(--ease);
}
.filter-btn:hover  { color: var(--ink); border-color: var(--border) }
.filter-btn.active { background: var(--ink); color: var(--white); border-color: var(--ink) }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.portfolio-item { position: relative; overflow: hidden; aspect-ratio: 4/5; cursor: pointer }
.portfolio-item.hidden { display: none }
.portfolio-img-wrap { width: 100%; height: 100% }
.portfolio-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.portfolio-item:hover img { transform: scale(1.06) }
.portfolio-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--linen-deep), var(--rose-blush));
  display: flex; align-items: center; justify-content: center;
}
.portfolio-placeholder span {
  font-family: var(--font-d); font-size: 17px; font-style: italic; color: var(--stone);
}
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,12,9,.88) 0%, rgba(15,12,9,.06) 55%, transparent 100%);
  opacity: 0; transition: opacity .4s var(--ease);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(14px, 2.5vw, 26px);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1 }
.portfolio-overlay-inner { transform: translateY(8px); transition: transform .4s var(--ease) }
.portfolio-item:hover .portfolio-overlay-inner { transform: translateY(0) }
.portfolio-overlay span {
  font-family: var(--font-d); font-size: clamp(14px, 2vw, 18px);
  color: var(--white); display: block; margin-bottom: 2px;
}
.portfolio-overlay small {
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-pale);
}
.portfolio-overlay-zoom {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(247,243,238,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(247,243,238,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 14px;
  opacity: 0; transform: scale(.8); transition: all .3s var(--ease);
}
.portfolio-item:hover .portfolio-overlay-zoom { opacity: 1; transform: scale(1) }
.portfolio-empty {
  grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--stone);
}
.portfolio-empty a { color: var(--rose-deep); text-decoration: underline }

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,8,6,.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.lightbox.active { opacity: 1; pointer-events: all }
.lightbox.lb-zoomed { align-items: flex-start; overflow-y: auto; padding-top: 60px }
.lightbox-img-wrap { position: relative; cursor: zoom-in }
.lightbox-img-wrap.zoomed { cursor: zoom-out }
.lightbox-img {
  max-width: 90vw; max-height: 88vh; object-fit: contain;
  transform: scale(.96); transition: transform .4s var(--ease), opacity .18s;
  display: block; user-select: none;
}
.lightbox.active .lightbox-img { transform: scale(1) }
.lightbox.lb-zoomed .lightbox-img { max-width: 96vw; max-height: none; transform: none !important }
.lightbox-close {
  position: fixed; top: 16px; right: 20px;
  background: none; border: none; color: rgba(247,243,238,.6);
  font-size: 28px; cursor: pointer; transition: color .2s;
  line-height: 1; padding: 8px; z-index: 1001;
}
.lightbox-close:hover { color: var(--white) }
.lightbox-btn {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(247,243,238,.1); border: 1px solid rgba(247,243,238,.18);
  color: var(--white); font-size: 22px; cursor: pointer;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s; backdrop-filter: blur(8px); z-index: 1001;
}
.lightbox-btn:hover { background: rgba(247,243,238,.22) }
.lightbox-prev { left: 16px }
.lightbox-next { right: 16px }
.lightbox-caption {
  position: fixed; bottom: 18px; left: 0; right: 0; text-align: center;
  font-family: var(--font-d); font-size: 15px; font-style: italic;
  color: rgba(247,243,238,.45); pointer-events: none;
}
.lightbox-counter {
  position: fixed; top: 22px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .12em; color: rgba(247,243,238,.38);
  pointer-events: none;
}

/* ── SERVICES ── */
.services-section { padding: clamp(56px, 8vw, 110px) 0; background: var(--umber) }
.services-section .section-label { color: var(--rose-pale) }
.services-section .section-title { color: var(--white) }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  /* Use umber bg for gap — matches section exactly */
  gap: 1px; background: var(--umber);
}
.service-card {
  background: var(--umber);
  padding: clamp(30px, 4vw, 52px) clamp(22px, 3.5vw, 40px);
  display: flex; flex-direction: column; gap: 16px;
  transition: background .35s var(--ease); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--rose), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.service-card:hover::before { transform: scaleX(1) }
.service-card:hover { background: rgba(255,255,255,.04) }
.service-card h3 { font-family: var(--font-d); font-size: clamp(19px, 3vw, 26px); font-weight: 400; color: var(--white) }
.service-desc { font-size: 13px; color: rgba(247,243,238,.55); line-height: 1.8 }
.service-meta span { font-size: 12px; color: var(--rose-pale) }
.service-includes { font-size: 12px; color: rgba(247,243,238,.4); line-height: 1.7 }
.service-includes strong {
  color: rgba(247,243,238,.6); display: block; margin-bottom: 4px;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
}
.service-price {
  font-family: var(--font-d); font-size: clamp(19px, 3vw, 26px);
  color: var(--rose-pale); margin-top: auto; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.service-card .btn-outline {
  color: var(--white); border-color: rgba(255,255,255,.2); font-size: 11px; padding: 10px 22px;
}
.service-card .btn-outline:hover { background: var(--rose); border-color: var(--rose); color: var(--white) }

/* ── ABOUT ── */
.about-section { padding: clamp(56px, 8vw, 110px) 0; background: var(--linen) }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 7vw, 96px); align-items: center;
}
.about-text .section-label { justify-content: flex-start }
.about-text h2 {
  font-family: var(--font-d); font-size: clamp(26px, 4vw, 50px);
  font-weight: 300; margin-bottom: 20px; line-height: 1.1;
}
.about-text p { color: var(--stone); line-height: 1.9; margin-bottom: 32px }
.about-facts { display: flex; flex-direction: column }
.fact {
  display: grid; grid-template-columns: minmax(110px, max-content) 1fr;
  gap: 12px;
  align-items: baseline; padding: 12px 0; border-top: 1px solid var(--border);
}
.fact:last-child { border-bottom: 1px solid var(--border) }
.fact strong { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); font-weight: 400 }
.fact span { font-size: 14px; color: var(--stone) }
.about-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover }
.about-img-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--linen-deep), var(--rose-blush));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--stone); text-align: center;
}
.about-img-placeholder span { font-family: var(--font-d); font-size: 22px; font-style: italic }
.about-img-placeholder small { font-size: 12px; opacity: .6 }

/* ── REVIEWS ── */
.reviews-section { padding: clamp(56px, 8vw, 110px) 0; background: var(--linen-deep) }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 2px;
}
.review-card {
  background: var(--white); padding: clamp(24px, 4vw, 44px);
  display: flex; flex-direction: column; gap: 16px;
  transition: all .4s var(--ease); position: relative;
}
.review-card::after {
  content: ''; position: absolute; bottom: 0; left: 32px; right: 32px; height: 2px;
  background: linear-gradient(90deg, var(--rose), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.review-card:hover::after { transform: scaleX(1) }
.review-card:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(30,26,23,.07) }
.review-stars { color: var(--rose); font-size: 13px; letter-spacing: 3px }
.review-quote { font-size: 44px; font-family: var(--font-d); color: var(--rose-pale); line-height: 1; margin-bottom: -10px }
.review-text { font-family: var(--font-d); font-size: clamp(15px, 2vw, 17px); font-style: italic; color: var(--ink); line-height: 1.75; flex: 1 }
.review-author { margin-top: auto; display: flex; flex-direction: column; gap: 3px }
.review-author strong { font-size: 13px; font-weight: 500 }
.review-author span { font-size: 10px; color: var(--rose); letter-spacing: .06em; text-transform: uppercase }

/* ── BOOKING ── */
.booking-section { padding: clamp(56px, 8vw, 110px) 0; background: var(--linen) }
.booking-wrap {
  display: grid; grid-template-columns: 2fr 3fr;
  gap: clamp(36px, 6vw, 80px); align-items: start;
}
.booking-info h3 {
  font-family: var(--font-d); font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 300; margin-bottom: 28px; line-height: 1.25;
}
.booking-steps { display: flex; flex-direction: column; gap: 16px }
.booking-step { display: flex; gap: 16px; align-items: flex-start }
.step-num {
  width: 30px; height: 30px; min-width: 30px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--rose); font-family: var(--font-d); font-style: italic; margin-top: 2px;
}
.step-text { font-size: 14px; color: var(--stone); line-height: 1.6 }
.booking-form { display: flex; flex-direction: column; gap: 16px }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.form-group { display: flex; flex-direction: column; gap: 7px; min-width: 0 }
.form-group label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone) }
.form-group label .req { color: var(--rose); margin-left: 2px }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px; background: var(--linen-deep);
  border: 1px solid var(--border); border-bottom: 2px solid var(--border);
  font-size: 14px; color: var(--ink);
  outline: none; transition: border-color .3s, background .3s;
  width: 100%; -webkit-appearance: none; border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--rose); background: var(--white) }
.form-group textarea { resize: vertical; min-height: 100px }

/* Custom checkbox */
.form-consent { margin-top: 2px; position: relative; overflow: hidden }
.consent-wrap { display: flex; align-items: flex-start; gap: 12px; cursor: pointer }
.consent-check {
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px;
  border: 1.5px solid var(--taupe); background: var(--linen-deep);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s var(--ease); position: relative;
}
.consent-check::after {
  content: ''; display: block; width: 11px; height: 7px;
  border-left: 2px solid var(--white); border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0; transition: opacity .15s;
}
/* Hidden real input: must stay in DOM flow for :checked to work */
.consent-real {
  /* Taken out of layout entirely — won't cause horizontal scroll */
  position: absolute;
  left: -9999px; top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.consent-real:checked + .consent-wrap .consent-check { background: var(--ink); border-color: var(--ink) }
.consent-real:checked + .consent-wrap .consent-check::after { opacity: 1 }
.consent-real:focus-visible + .consent-wrap .consent-check { outline: 2px solid var(--rose); outline-offset: 2px }
.consent-text { font-size: 13px; color: var(--stone); line-height: 1.55 }
.consent-text a { color: var(--rose-deep); text-decoration: underline }

.alert-success { padding: 16px 22px; margin-bottom: 22px; background: #f0ece8; color: #4a3428; border-left: 2px solid var(--rose); font-size: 14px }
.alert-error   { padding: 16px 22px; margin-bottom: 22px; background: #f7f0ee; color: #7a3828; border-left: 2px solid #c47060; font-size: 14px }

/* ── CONTACTS ── */
.contacts-section { padding: clamp(56px, 8vw, 110px) 0; background: var(--umber) }
.contacts-section .section-title { color: var(--white) }
.contacts-section .section-label { color: var(--rose-pale) }
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  margin-top: clamp(28px, 5vw, 56px);
  /* Collapse borders between cells cleanly */
  border-top: 1px solid rgba(247,243,238,.08);
  border-left: 1px solid rgba(247,243,238,.08);
}
.contact-item {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(22px, 3vw, 36px) clamp(16px, 2.5vw, 26px);
  border-right: 1px solid rgba(247,243,238,.08);
  border-bottom: 1px solid rgba(247,243,238,.08);
  transition: background .3s var(--ease);
}
.contact-item:hover { background: rgba(247,243,238,.06) }
.contact-icon { font-size: 20px }
.contact-item strong { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-pale); font-weight: 400 }
.contact-item span { font-size: 14px; color: rgba(247,243,238,.6); line-height: 1.5; word-break: break-all; overflow-wrap: anywhere; min-width: 0 }

/* ── FOOTER ── */
.footer { background: #111009; padding: 22px 0; border-top: 1px solid rgba(247,243,238,.06) }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px }
.footer p { font-size: 12px; color: rgba(247,243,238,.28) }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center }
.footer-links a { font-size: 11px; color: rgba(247,243,238,.22); transition: color .25s; letter-spacing: .04em }
.footer-links a:hover { color: var(--rose) }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 350;
  background: var(--ink); color: rgba(247,243,238,.8);
  padding: clamp(14px, 2.5vw, 20px) clamp(16px, 4vw, 40px);
  display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); flex-wrap: wrap;
  transform: translateY(100%); transition: transform .45s var(--ease);
  border-top: 1px solid rgba(247,243,238,.08);
}
.cookie-banner.show { transform: translateY(0) }
.cookie-text { flex: 1; min-width: 180px; font-size: 13px; line-height: 1.6 }
.cookie-text a { color: var(--rose-pale); text-decoration: underline }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0 }
.cookie-accept {
  padding: 10px 20px; background: var(--rose); border: none; color: var(--white);
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .25s;
}
.cookie-accept:hover { background: var(--rose-deep) }
.cookie-decline {
  padding: 10px 16px; background: transparent; border: 1px solid rgba(247,243,238,.2);
  color: rgba(247,243,238,.6); font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; cursor: pointer; transition: all .25s;
}
.cookie-decline:hover { border-color: rgba(247,243,238,.5); color: var(--white) }

/* ── POLICY PAGES ── */
.policy-page { min-height: 100vh; padding: 100px 0 80px; background: var(--linen) }
.policy-page h1 { font-family: var(--font-d); font-size: clamp(26px, 5vw, 48px); font-weight: 300; margin-bottom: 28px }
.policy-page h2 { font-family: var(--font-d); font-size: clamp(17px, 3vw, 26px); font-weight: 300; margin: 28px 0 10px; color: var(--umber) }
.policy-page p, .policy-page li { font-size: 14px; color: var(--stone); line-height: 1.9; margin-bottom: 10px }
.policy-page ul, .policy-page ol { padding-left: 22px; margin-bottom: 14px }
.policy-page a { color: var(--rose-deep); text-decoration: underline }
.policy-back { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); margin-bottom: 36px; transition: color .25s }
.policy-back:hover { color: var(--rose-deep) }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease) }
.fade-in.visible { opacity: 1; transform: translateY(0) }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: translateY(0) } }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .portfolio-grid  { grid-template-columns: repeat(2, 1fr) }
  .about-grid      { grid-template-columns: 1fr; gap: 36px }
  .about-image     { max-width: 360px }
  .booking-wrap    { grid-template-columns: 1fr; gap: 36px }
}

/* Mobile — burger appears */
@media (max-width: 768px) {
  .nav-burger { display: flex }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    /* Narrower panel so burger on the left side is always outside it */
    width: min(260px, 75vw);
    height: 100%;
    height: 100dvh;
    z-index: 390;
    background: var(--linen);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 80px 28px 48px;
    list-style: none;
    transform: translateX(100%);
    transition: transform .38s var(--ease);
    box-shadow: -8px 0 40px rgba(30,26,23,.12);
    display: flex !important;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0) }
  .nav-links li { width: 100% }
  .nav-links a {
    display: block;
    color: var(--ink) !important;
    font-size: 15px; padding: 15px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: none }

  .form-row     { grid-template-columns: 1fr }
  .footer-inner { justify-content: center; text-align: center }

  .lightbox-btn  { width: 38px; height: 38px; font-size: 20px }
  .lightbox-prev { left: 8px }
  .lightbox-next { right: 8px }

  /* Cookie banner */
  .cookie-actions { width: 100%; justify-content: center }
}

/* Small mobile */
@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr }
  .contacts-grid  { grid-template-columns: 1fr 1fr }
  .footer-links   { justify-content: center }

  .lightbox-prev { left: 4px }
  .lightbox-next { right: 4px }

  /* Cookie banner stacks */
  .cookie-banner { flex-direction: column; align-items: stretch }
  .cookie-actions { justify-content: center }
}

/* Very small */
@media (max-width: 360px) {
  .portfolio-grid { grid-template-columns: 1fr }
}
