/* CORFU WOOD: client photos, logo palette (gold on charcoal), service pages */
:root { --walnut: #1b1a18; --brown: #4a4038; --gold: #b28c55; --gold-soft: #d6b57f; --cream: #f6f2ec; }

/* Logo in nav */
.brand-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #1b1b1b; flex: none; }
@media (max-width: 760px) { .brand-logo { width: 38px; height: 38px; } }

/* Hero with real photo */
.hero-photo .hero-shade, .svc-hero .hero-shade { background: linear-gradient(180deg, rgba(12,11,10,.62) 0%, rgba(12,11,10,.28) 38%, rgba(12,11,10,.6) 70%, rgba(12,11,10,.9) 100%); }
.hero-photo .hero-media img, .svc-hero .hero-media img { object-position: 50% 50%; }
.hero-inner { padding-top: calc(var(--bar-h) + 110px); }
.svc-hero { min-height: 560px; height: 82vh; height: 82svh; }
.svc-hero .eyebrow a { text-decoration: underline; text-underline-offset: 3px; }
.svc-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.8rem); }

/* About: logo card */
.about-logo { margin: 0; justify-self: center; width: 100%; max-width: 520px; border-radius: 6px; overflow: hidden; background: #1b1b1b; }
.about-logo img { width: 100%; height: auto; }

/* Services list as links */
.service-list .service { display: block; padding: 0; }
.svc-link { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr) 150px; align-items: center; gap: 30px; padding: 26px 0; transition: padding .5s var(--ease); }
.service img { width: 150px; height: 104px; object-fit: cover; border-radius: 3px; }
.svc-count { display: block; margin-top: 8px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
@media (hover: hover) { .service:hover { padding-left: 0; } .service:hover .svc-link { padding-left: 14px; } }

/* Home: work cards */
.work-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.work-card:first-child, .work-card:last-child { grid-column: span 2; aspect-ratio: auto; }
.work-card:first-child img, .work-card:last-child img { position: absolute; inset: 0; }
.work-card { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--sand); color: #fff; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work-card span { position: absolute; inset: auto 0 0 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(12,11,10,.82)); display: flex; flex-direction: column; }
.work-card strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.work-card em { font-style: normal; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
@media (hover: hover) { .work-card:hover img { transform: scale(1.05); } }

/* Service page: intro + lists */
.svc-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.svc-grid h2 { margin-bottom: 26px; }
.svc-grid p { color: var(--brown); max-width: 56ch; margin-bottom: 16px; }
.svc-grid .lead { font-size: 1.12rem; color: var(--walnut); }
.svc-lists { display: grid; gap: 34px; padding: 34px; background: var(--cream); border-radius: 6px; }
.svc-lists h3 { margin-bottom: 14px; }
.ticks li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line); color: var(--brown); font-size: .97rem; }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* Service page: captioned gallery */
.svc-gallery { background: var(--cream); }
.g-hint { color: var(--mid); font-size: .9rem; }
.g-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; grid-auto-flow: dense; }
.g-fig { margin: 0; background: var(--white); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.g-fig a { display: block; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; background: var(--sand); }
.g-fig.portrait a { aspect-ratio: 3 / 4; }
.g-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.g-fig figcaption { padding: 14px 16px 16px; font-size: .9rem; line-height: 1.5; color: var(--brown); }
@media (hover: hover) { .g-fig a:hover img { transform: scale(1.05); } }
.svc-steps { background: var(--white); }

/* Prev / next */
.svc-pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; padding-top: 30px; padding-bottom: 60px; border-top: 1px solid var(--line); }
.svc-pager a { display: flex; flex-direction: column; gap: 4px; }
.svc-pager span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.svc-pager strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.svc-pager .mid { text-align: center; }
.svc-pager .next { text-align: right; align-items: flex-end; }
.svc-pager a:hover strong { color: var(--gold); }

/* Contact side with logo */
.contact-side { display: grid; gap: 10px; }
.contact-logo { width: 100%; max-width: 360px; border-radius: 6px; }
.contact .details { margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 6px; }

/* Lightbox with caption */
.lightbox[hidden] { display: flex; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-fig img { max-width: min(92vw, 1300px); max-height: 80vh; object-fit: contain; }
.lb-fig figcaption { color: rgba(255,255,255,.86); font-size: .95rem; max-width: 70ch; text-align: center; padding: 0 20px; }

@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: 1fr; }
  .g-grid, .work-cards { grid-template-columns: 1fr 1fr; }
  .work-card:last-child { grid-column: auto; aspect-ratio: 4 / 5; }
  .work-card:first-child { aspect-ratio: 16 / 10; }
  .svc-link { grid-template-columns: 50px 1fr 110px; gap: 8px 20px; }
  .svc-link h3 { grid-column: 2; } .svc-link p { grid-column: 2; grid-row: 2; }
  .svc-link img { grid-column: 3; grid-row: 1 / span 2; width: 110px; height: 110px; }
}
@media (max-width: 760px) {
  .g-grid { grid-template-columns: 1fr; gap: 16px; }
  .g-fig.portrait a { aspect-ratio: 4 / 5; }
  .work-cards { gap: 10px; }
  .work-card strong { font-size: 1.05rem; }
  .work-card span { padding: 40px 12px 12px; }
  .svc-link { grid-template-columns: 34px 1fr 84px; }
  .svc-link img { display: block; width: 84px; height: 84px; }
  .svc-lists { padding: 24px 20px; }
  .svc-pager { grid-template-columns: 1fr 1fr; }
  .svc-pager .mid { display: none; }
  .svc-pager strong { font-size: 1.05rem; }
  .lb-nav { top: auto; bottom: 14px; transform: none; }
}

/* ---------- v2 service pages: alternating rows + auto slider ---------- */
.svc-lead { max-width: 60ch; margin-top: 22px; color: var(--brown); font-size: 1.1rem; }
.svc-rows { background: var(--white); }
.svc-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 96px); align-items: center; }
.svc-row + .svc-row { margin-top: clamp(56px, 8vw, 120px); }
.svc-row.rev .row-img { order: 2; }
.row-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--sand); cursor: zoom-in; }
.row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
@media (hover: hover) { .row-img:hover img { transform: scale(1.04); } }
.row-text .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.row-text h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 300; margin: 10px 0 18px; }
.row-text p { color: var(--brown); max-width: 46ch; }
.row-text .row-cap { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--mid); }

.svc-more { background: var(--cream); padding-bottom: clamp(60px, 8vw, 110px); }
.svc-more .section-head { margin-bottom: 34px; }
.slider-ctrl { display: flex; gap: 10px; }
.sl-btn { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; font-size: 1.7rem; line-height: 1; color: var(--walnut); background: var(--white); transition: background .3s, color .3s; font-family: var(--serif); }
.sl-btn:hover { background: var(--walnut); color: var(--white); }
.slider { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; overscroll-behavior-x: contain; }
.slider::-webkit-scrollbar { display: none; }
.slider.dragging { cursor: grabbing; }
.slider.dragging .slide { pointer-events: none; }
.slider-track { display: flex; gap: 16px; width: max-content; padding: 0 var(--pad); }
.slide { position: relative; flex: none; width: clamp(240px, 26vw, 380px); aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--sand); cursor: zoom-in; user-select: none; }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); -webkit-user-drag: none; }
.slide span { position: absolute; inset: auto 0 0 0; padding: 46px 16px 14px; color: #fff; font-size: .84rem; line-height: 1.45; background: linear-gradient(transparent, rgba(12,11,10,.8)); }
@media (hover: hover) { .slide:hover img { transform: scale(1.05); } }
.svc-more .g-hint { margin-top: 22px; font-size: .85rem; }

.svc-details { padding: clamp(60px, 8vw, 110px) 0; }
.svc-details .svc-lists { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); background: none; padding: 0 var(--pad); }
.svc-note { background: var(--walnut); color: #fff; padding: 30px; border-radius: 6px; align-self: start; }
.svc-note p { color: rgba(255,255,255,.78); margin-bottom: 22px; font-size: .95rem; }
.svc-note h3 { color: #fff; }

@media (max-width: 1000px) {
  .svc-details .svc-lists { grid-template-columns: 1fr 1fr; }
  .svc-note { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 1fr; gap: 22px; }
  .svc-row.rev .row-img { order: 0; }
  .svc-row + .svc-row { margin-top: 56px; }
  .slide { width: 72vw; }
  .slider-ctrl { display: none; }
  .svc-details .svc-lists { grid-template-columns: 1fr; }
}

/* ---------- v4: split hero (door pages), tall rows, swipe ---------- */
.split-hero { background: var(--walnut); color: #fff; padding: calc(var(--bar-h) + 120px) 0 clamp(60px, 8vw, 100px); }
.split-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split-hero .hero-inner { padding: 0; max-width: none; margin: 0; }
.split-hero h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); margin-bottom: 22px; }
.split-hero h1 em { color: var(--gold-soft); }
.split-media { margin: 0; justify-self: end; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: #2a2622; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row.tall .row-img { aspect-ratio: 4 / 5; max-width: 460px; width: 100%; justify-self: center; }
.svc-row.tall .row-img img { object-position: 50% 50%; }
.slider { touch-action: pan-x pan-y; }
@media (max-width: 760px) {
  .split-hero { padding-top: calc(var(--bar-h) + 96px); }
  .split-grid { grid-template-columns: 1fr; }
  .split-media { justify-self: stretch; max-width: none; aspect-ratio: 4 / 3; }
  .svc-row.tall .row-img { max-width: none; aspect-ratio: 4 / 5; }
  .slider-ctrl { display: flex; }
  .sl-btn { width: 44px; height: 44px; font-size: 1.4rem; }
}
.split-media.wide { aspect-ratio: 4 / 3; max-width: 620px; }

/* ---------- v5: bigger logo, owner name, 50€ visit fee ---------- */
.brand-logo { width: 72px; height: 72px; border-radius: 14px; transition: width .4s var(--ease), height .4s var(--ease); }
.nav.is-solid .brand-logo { width: 52px; height: 52px; border-radius: 11px; }
.brand-text strong { font-size: 1.02rem; }
.hero-owner { display: flex; align-items: center; gap: 14px; margin: -8px 0 24px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.15rem, 2vw, 1.6rem); color: #fff; letter-spacing: .02em; }
.hero-owner .ho-line { display: block; flex: none; width: 42px; height: 1px; background: var(--gold-soft); }

.fee-note { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; margin-top: 46px; padding: 30px 34px; background: var(--cream); border-left: 3px solid var(--gold); border-radius: 4px; }
.fee-amt { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--gold); }
.fee-note h3 { margin-bottom: 10px; }
.fee-note p { color: var(--brown); max-width: 70ch; font-size: .97rem; }
.fee-note .fee-free { margin-top: 12px; font-size: .9rem; color: var(--mid); }
.process .fee-note { background: var(--cream); }
.details .dt-fee dd strong { color: var(--gold-soft); font-weight: 600; }
.details .dt-fee .fee-free-note { display: block; margin-top: 6px; font-size: .85rem; color: rgba(255,255,255,.6); }

@media (max-width: 760px) {
  .brand-logo { width: 60px; height: 60px; border-radius: 12px; }
  .nav.is-solid .brand-logo { width: 44px; height: 44px; }
  .fee-note { grid-template-columns: 1fr; gap: 10px; padding: 24px 22px; }
}
/* room for the bigger logo + left shade for text over busy photos */
.svc-hero { min-height: 700px; }
.svc-hero .hero-inner, .hero-photo .hero-inner { padding-top: calc(var(--bar-h) + 150px); }
.svc-hero .hero-shade { background: linear-gradient(90deg, rgba(12,11,10,.72) 0%, rgba(12,11,10,.35) 45%, rgba(12,11,10,0) 70%), linear-gradient(180deg, rgba(12,11,10,.62) 0%, rgba(12,11,10,.2) 38%, rgba(12,11,10,.55) 72%, rgba(12,11,10,.9) 100%); }
@media (max-width: 760px) { .svc-hero { min-height: 640px; } .svc-hero .hero-inner, .hero-photo .hero-inner { padding-top: calc(var(--bar-h) + 120px); } }
/* SEO: keyword kicker lives inside the H1 but looks exactly like the old eyebrow line */
h1 .h1-kicker { font-family: var(--sans); font-style: normal; font-weight: 600; font-size: .72rem; line-height: 1.7; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 22px; }
/* owner-hidden gallery photos (set by the /admin Worker) */
.slide[data-hidden] { display: none; }
