/*
Theme Name: B.B.C.B.
Theme URI: 
Author: Boris Barista Coffee Bar
Description: Персональный сайт выездного кофейного бара B.B.C.B.
Version: 1.0
License: Private
Text Domain: bbcb
*/

@import url('https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/tabler-icons.min.css');
@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:ital,wght@0,400;0,500;0,600;0,700;1,400;1,700&display=swap');

/*
  =====================================================
  ШРИФТ: Panton Narrow
  Чтобы подключить свой шрифт, замени @font-face ниже.
  Положи файлы шрифта рядом с HTML и укажи путь.
  Например: src: url('fonts/PantonNarrow-Regular.woff2') format('woff2');
  =====================================================
*/
@font-face {
  font-family: 'Panton';
  src: url('fonts/Panton-Regular.woff2') format('woff2'),
       url('fonts/Panton-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Panton';
  src: url('fonts/Panton-SemiBold.woff2') format('woff2'),
       url('fonts/Panton-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'PantonNarrow';
  src: url('fonts/Panton-Bold.woff2') format('woff2'),
       url('fonts/Panton-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'PantonNarrow';
  src: url('fonts/Panton-RegularItalic.woff2') format('woff2'),
       url('fonts/Panton-RegularItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
}

/* === TOKENS === */
:root {
  --bg:       #FAF7F2;
  --ink:      #1E1C17;
  --mid:      #7A6F60;
  --rule:     #CD9D65;
  --card:     #F3EDE4;
  --accent:   #B85C38;
  --gold:     #C9933A;
  --font:     'Schibsted Grotesk', 'PantonNarrow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

/* === NAV === */
nav {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 2.5rem;
  min-height: 80px;
  overflow: visible;
}

.nav-logo {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
  display: flex;
  align-items: baseline;
  padding: 0.75rem 0;
  text-decoration: none;
}

.logo-bb {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700 !important;
  color: #B85C38;
  letter-spacing: -0.02em;
  font-size: 1em !important;
}

.logo-sl {
  font-family: 'Playfair Display', serif !important;
  color: #C9933A !important;
  font-weight: 400 !important;
  font-size: 1.25em !important;
  margin: 0 2px;
  font-style: normal !important;
  line-height: 1;
}

.logo-cb {
  font-family: 'Playfair Display', serif !important;
  font-weight: 400 !important;
  font-style: italic !important;
  color: #B85C38;
  letter-spacing: 0.02em;
  font-size: 1em !important;
}

.nav-logo:hover .logo-bb,
.nav-logo:hover .logo-cb { color: #1E1C17; }

.nav-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 0.75rem 0;
  overflow: visible;
  min-width: 0;
}

.nav-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  margin-bottom: 8px;
}

.nav-fullname {
  font-size: clamp(9px, 1.2vw, 13px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.nav-tagline {
  font-size: clamp(8px, 1vw, 11px);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  white-space: nowrap;
}

.nav-rule {
  width: 100%;
  height: 1px;
  background: var(--rule);
  margin-bottom: 8px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  justify-content: center;
}

.nav-links a {
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2C2A24;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

/* === HERO === */
.hero {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: left center;
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 25%, rgba(250,247,242,0.65) 48%, rgba(250,247,242,0.97) 68%);
}

.hero-text {
  position: relative;
  z-index: 1;
  margin-left: auto;
  width: 52%;
  min-height: 60vh;
  padding: 2.5rem 3rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-bio {
  font-size: 16px;
  line-height: 1.75;
  color: var(--mid);
  max-width: 38ch;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 38ch;
  margin-bottom: 2.5rem;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.btn:hover { background: var(--accent); }

.btn-arrow { font-size: 16px; line-height: 1; }



/* === SECTION BASE === */
section {
  padding: 4rem 2.5rem;
  }


.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.section-sub {
  font-size: 15px;
  color: var(--mid);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* === WORK === */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 2rem;
}

.work-card {
  background: var(--bg);
  border: 0.5px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  transition: background 0.2s;
}

.work-card:hover { background: var(--card); }

.work-thumb {
  aspect-ratio: 4/3;
  background: var(--card);
  border-bottom: 0.5px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 400;
}

.work-meta { padding: 1rem 1.2rem 1.3rem; }

.work-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}

.work-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 4px;
}

.work-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
}

/* === SERVICES === */
.service-single {
  margin-top: 2rem;
  border: 1px solid var(--rule);
}

.service-single-header {
  padding: 2rem 2rem 1.75rem;
  border-bottom: 1px solid var(--rule);
  background: var(--card);
}

.service-single-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 1.25rem;
  background: var(--card);
  border-radius: 0 0 2px 2px;
}

.service-feature {
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border-radius: 20px;
  border: 0.5px solid var(--rule);
  transition: background 0.2s;
}

.service-feature:hover { background: var(--card); }

.service-feature-icon {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.service-feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.service-feature-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
}

.service-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.service-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.service-single-lead {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
  max-width: 60ch;
}

/* === BLOG === */
.blog-list { margin-top: 2rem; }

.blog-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: padding-left 0.2s;
}

.blog-item:first-child { border-top: 1px solid var(--rule); }
.blog-item:hover { padding-left: 6px; }

.blog-left {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.blog-date {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--mid);
  min-width: 72px;
}

.blog-headline {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.blog-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--mid);
  padding: 3px 8px;
}

.blog-arrow { color: var(--gold); font-size: 18px; }

/* === CONTACT === */
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}

.contact-blurb {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mid);
}

.contact-blurb a {
  color: var(--accent);
  font-weight: 600;
}

.contact-socials {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-social-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}

.contact-social-link:hover { color: var(--accent); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font);
  font-size: 14px;
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 11px 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--mid);
}

.contact-form textarea { min-height: 100px; }

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: start;
}

.about-lead {
  position: sticky;
  top: 100px;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.about-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--mid);
  margin-top: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-item {
  background: var(--bg);
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  border: 0.5px solid var(--rule);
  transition: background 0.2s;
}

.about-item:hover { background: var(--card); }

.about-item-icon {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.about-item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.about-item-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
}

/* === DIVIDER === */
.divider {
  height: 16px;
  background-color: #FAF7F2;
  background-image:
    linear-gradient(45deg, #1E1C17 25%, transparent 25%, transparent 75%, #1E1C17 75%),
    linear-gradient(45deg, #1E1C17 25%, transparent 25%, transparent 75%, #1E1C17 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
}

/* === FOOTER === */
footer {
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer p {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
}

/* === RESPONSIVE === */
/* === BURGER === */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  nav {
    padding: 0 1.2rem;
    flex-wrap: wrap;
    min-height: 64px;
    align-items: center;
  }

  .nav-logo { font-size: 32px; }

  .nav-burger { display: flex; }

  .nav-right {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 1rem;
    border-top: 1px solid var(--rule);
    margin-top: 0;
    order: 3;
  }

  .nav-right.open { display: flex; }

  .nav-identity {
    align-items: flex-start;
    padding: 1rem 0 0.75rem;
  }

  .nav-fullname { font-size: 13px; }
  .nav-tagline { font-size: 11px; }

  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-links li { border-top: 1px solid var(--rule); }

  .nav-links a {
    display: block;
    padding: 0.75rem 0;
    font-size: 13px;
  }

  /* HERO */
  .hero { min-height: auto; display: flex; flex-direction: column; position: relative; overflow: hidden; }
  .hero-photo {
    position: relative;
    min-height: 360px;
    width: 100%;
    background-image: url('images/hero-mobile.jpg') !important;
    background-position: left center;
    background-size: cover;
  }
  .hero-photo::after {
    background: none;
  }
  .hero-text {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 1.75rem 1.5rem 2rem;
    background: var(--bg);
  }
  .hero-text h1 { color: var(--ink) !important; }
  .hero-text h1 em { color: var(--accent) !important; }
  .hero-text .hero-bio,
  .hero-text .hero-tagline { color: var(--mid); }
  .hero-label { color: var(--gold) !important; }
  .hero-text .btn { background: var(--ink); }

  /* SECTIONS */
  section { padding: 2.5rem 1.2rem; }

  /* ABOUT */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-lead { position: static; }
  .about-features { grid-template-columns: 1fr; }

  /* WORK */
  .work-grid { grid-template-columns: 1fr; }

  /* SERVICES */
  .service-single-body { grid-template-columns: 1fr; }

  /* CONTACT */
  .contact-row { grid-template-columns: 1fr; gap: 2rem; }

  /* FOOTER */
  footer { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 480px) {
  .nav-logo { font-size: 26px; }

  .hero-text { padding: 1.5rem 1rem; }

  .hero h1 { font-size: 36px; }

  section { padding: 2rem 1rem; }

  .section-title { font-size: 22px; }

  .service-single-header { padding: 1.25rem; }

  .about-item,
  .service-feature { padding: 1.1rem 1rem; }

  footer { padding: 1.2rem 1rem; }
}

/* === BLOG === */
#blog-archive {
  padding: 4rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.single-post {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
}

.single-post-header {
  margin-bottom: 2.5rem;
}

.page-hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0.75rem 0 1.5rem;
  color: var(--ink);
}

.single-post-thumb {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.single-post-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.single-post-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mid);
}

.single-post-content p { margin-bottom: 1.25rem; }
.single-post-content h2 { font-size: 22px; font-weight: 600; color: var(--ink); margin: 2rem 0 0.75rem; }
.single-post-content h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 1.5rem 0 0.5rem; }
.single-post-content img { width: 100%; border-radius: 12px; margin: 1.5rem 0; }
.single-post-content a { color: var(--accent); }

.single-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}

.post-nav-link:hover .blog-headline { color: var(--accent); }

.wp-pagenavi, .nav-links {
  display: flex;
  gap: 8px;
  margin-top: 2rem;
  font-size: 13px;
}

@media (max-width: 768px) {
  #blog-archive { padding: 2.5rem 1.2rem; }
  .single-post { padding: 2rem 1.2rem; }
  .single-post-nav { flex-direction: column; }
}

/* === ПОСТ — медиа и контент === */
.single-post-content video,
.single-post-content iframe,
.single-post-content .wp-block-video video {
  max-width: 480px;
  width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 12px;
}

.single-post-content .wp-block-video {
  max-width: 480px;
  margin: 1.5rem auto;
}

.single-post-content figure {
  max-width: 100%;
  margin: 1.5rem 0;
}

.single-post-content figcaption {
  font-size: 12px;
  color: var(--mid);
  text-align: center;
  margin-top: 6px;
  font-style: italic;
}

.single-post-content .wp-block-image img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}

/* Вертикальное видео — ограничиваем ширину */
.single-post-content .wp-block-video.is-vertical video {
  max-width: 320px;
}

/* === EVENTS PAGE === */
.events-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.events-header {
  padding: 3rem 2.5rem 2rem;
  border-bottom: 1px solid var(--rule);
}

.events-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0.5rem 0 0.75rem;
}

.events-sub {
  font-size: 15px;
  color: var(--mid);
  max-width: 55ch;
  line-height: 1.7;
}

.events-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border-bottom: 1px solid var(--rule);
}

.events-stat {
  background: var(--bg);
  padding: 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.events-stat-num {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.events-stat-label {
  font-size: 13px;
  color: var(--mid);
}

.events-timeline {
  padding: 2.5rem;
}

.events-year-group {
  margin-bottom: 3rem;
}

.events-year-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.events-year-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.events-year-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.events-year-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.event-card {
  background: var(--bg);
  border: 0.5px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.event-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.event-card-thumb {
  position: relative;
}

.event-card-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.event-card-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(184,92,56,0.1);
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
  display: inline-block;
  margin-bottom: 8px;
}

.event-card-tag--overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(250,247,242,0.92);
  margin: 0;
}

.event-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.event-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 6px;
}

.event-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}

.event-meta-item {
  font-size: 12px;
  color: var(--mid);
}

.event-meta-sep {
  font-size: 12px;
  color: var(--rule);
}

.event-card-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.65;
  margin-top: 8px;
}

.event-card-desc p { margin: 0; }

.events-empty {
  padding: 4rem 2.5rem;
  text-align: center;
  color: var(--mid);
}

@media (max-width: 768px) {
  .events-header { padding: 2rem 1.2rem 1.5rem; }
  .events-stats { grid-template-columns: 1fr 1fr 1fr; }
  .events-stat { padding: 1rem 1.2rem; }
  .events-stat-num { font-size: 28px; }
  .events-timeline { padding: 1.5rem 1.2rem; }
  .events-year-cards { grid-template-columns: 1fr; }
}

/* === PORTFOLIO PAGE === */
.portfolio-page {
  max-width: 1100px;
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  padding: 2.5rem;
}

.portfolio-card {
  background: var(--bg);
  border: 0.5px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.portfolio-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }

.portfolio-card--large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.portfolio-card--large .portfolio-card-img {
  aspect-ratio: unset;
  min-height: 280px;
}

.portfolio-card-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--card);
}

.portfolio-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portfolio-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 4px 0 0;
}

.portfolio-card-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
}

.portfolio-cta {
  padding: 3rem 2.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.portfolio-cta-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr; padding: 1.2rem; }
  .portfolio-card--large { grid-column: 1; display: block; }
  .portfolio-card--large .portfolio-card-img { min-height: 220px; }
  .portfolio-cta { flex-direction: column; align-items: flex-start; padding: 2rem 1.2rem; }
}

/* === HERO UPDATES === */
.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

.hero-link:hover { color: var(--accent); }

/* === CONTACT FORM === */
.contact-success {
  background: rgba(46, 158, 107, 0.1);
  color: #0f6e56;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.6;
}

.contact-error {
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 8px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* === POST MEDIA FIX === */
.single-post-content video,
.single-post-content .wp-block-video video {
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 12px;
}

.single-post-content .wp-block-video {
  max-width: 420px;
  margin: 1.5rem auto;
}

.single-post-content .wp-block-image {
  margin: 1.5rem 0;
}

.single-post-content .wp-block-image img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}

.single-post-content figure {
  margin: 1.5rem 0;
}

.single-post-content figcaption {
  font-size: 12px;
  color: var(--mid);
  text-align: center;
  margin-top: 6px;
  font-style: italic;
}

.single-post-content .wp-block-embed {
  margin: 1.5rem 0;
}

/* === WORK CTA === */
.work-cta {
  padding: 1.5rem 2.5rem 2rem;
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .work-cta { padding: 1.2rem 1.2rem 1.5rem; }
}

/* === SECTION CTA LINKS === */
.about-more {
  padding: 1.5rem 2.5rem 2rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 768px) {
  .about-more { padding: 1.2rem 1.2rem 1.5rem; }
}

/* === OFFER PAGE === */
.offer-page {
  max-width: 1100px;
  margin: 0 auto;
}

/* Hero */
.offer-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 2.5rem;
  align-items: start;
  border-bottom: 1px solid var(--rule);
}

.offer-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
  margin: 0.75rem 0 1rem;
}

.offer-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.offer-lead {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 38ch;
}

.offer-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.offer-contact-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.offer-contact-item:hover { color: var(--ink); }

.offer-logo-large {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.offer-logo-large span {
  color: var(--gold);
  font-weight: 400;
}

.offer-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-includes li {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}

.offer-includes li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Pricing */
.offer-pricing {
  padding: 3rem 2.5rem;
}

.offer-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  margin-top: 1.5rem;
  align-items: start;
}

.offer-price-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-price-card {
  background: var(--card);
  border: 0.5px solid var(--rule);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}

.offer-price-card--main {
  background: #2A1506;
  border-color: #2A1506;
}

.offer-price-card--main .offer-price-num { color: #F2E0B0; }
.offer-price-card--main .offer-price-num span { color: var(--gold); }
.offer-price-card--main .offer-price-portions { color: #F2E0B0; opacity: 0.9; }
.offer-price-card--main .offer-price-desc { color: #F2E0B0; opacity: 0.7; }

.offer-price-num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.offer-price-num span { font-size: 22px; font-weight: 400; }

.offer-price-portions {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.offer-price-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}

.offer-price-note {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
  padding: 0.75rem 1rem;
  border-left: 2px solid var(--gold);
}

.offer-price-asterisk {
  font-size: 11px;
  color: var(--mid);
  font-style: italic;
  margin-top: 4px;
}

.offer-menu {
  background: var(--card);
  border: 0.5px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}

.offer-menu-label {
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 1.5rem;
  text-align: center;
}

.offer-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 1.25rem 1.5rem;
  gap: 1.25rem;
}

.offer-menu-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.offer-menu-cat span {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--mid);
}

.offer-menu-col ul {
  list-style: none;
}

.offer-menu-col ul li {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
  padding-left: 12px;
  position: relative;
}

.offer-menu-col ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* About */
.offer-about {
  padding: 3rem 2.5rem;
}

.offer-about-grid {
  display: grid;
  grid-template-columns: 1fr 0.6fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
  align-items: start;
}

.offer-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.offer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-list li {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
  padding-left: 1rem;
  position: relative;
}

.offer-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.offer-about-col--stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card);
  border-radius: 16px;
  border: 0.5px solid var(--rule);
  text-align: center;
}

.offer-stat-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.offer-stat-num {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.offer-stat-label {
  font-size: 13px;
  color: var(--mid);
}

.offer-stat-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(184,92,56,0.08);
  padding: 5px 14px;
  border-radius: 99px;
}

.offer-text {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.offer-brand-box {
  background: var(--card);
  border-radius: 12px;
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  font-size: 13px;
  color: var(--mid);
  line-height: 1.65;
}

.offer-brand-note {
  margin-top: 8px;
  font-style: italic;
  font-size: 12px;
  color: var(--mid);
  opacity: 0.8;
}

/* CTA */
.offer-cta-section {
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.offer-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .offer-hero { grid-template-columns: 1fr; padding: 2rem 1.2rem; gap: 2rem; }
  .offer-pricing { padding: 2rem 1.2rem; }
  .offer-pricing-grid { grid-template-columns: 1fr; }
  .offer-about { padding: 2rem 1.2rem; }
  .offer-about-grid { grid-template-columns: 1fr; }
  .offer-cta-section { flex-direction: column; align-items: flex-start; padding: 2rem 1.2rem; }
  .offer-menu-grid { grid-template-columns: 1fr; }
  .offer-logo-large { font-size: 48px; }
}

/* === PHOTO STRIP === */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  height: 260px;
  overflow: hidden;
}

.photo-strip-item {
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.photo-strip-item:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .photo-strip {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    height: 200px;
    gap: 4px;
  }

  .photo-strip-item {
    min-width: 70vw;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

@media (max-width: 480px) {
  .photo-strip {
    height: 180px;
  }

  .photo-strip-item {
    min-width: 80vw;
  }
}

/* === UTP COMPARISON BLOCK === */
.utp-block {
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--rule);
}

.utp-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.utp-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.utp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.utp-col {
  border-radius: 16px;
  overflow: hidden;
  border: 0.5px solid var(--rule);
}

.utp-col-header {
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.utp-col--bad .utp-col-header {
  background: var(--card);
  color: var(--mid);
}

.utp-col--good .utp-col-header {
  background: #2A1506;
  color: #F2E0B0;
}

.utp-col-body {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.utp-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mid);
}

.utp-col--good .utp-item { color: var(--ink); }

.utp-icon {
  flex-shrink: 0;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  margin-top: 1px;
  line-height: 1;
}

.utp-icon--bad { color: var(--mid); opacity: 0.5; }
.utp-icon--good { color: var(--gold); }

.utp-quote {
  background: var(--card);
  border-radius: 12px;
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
}

.utp-quote em {
  font-style: italic;
  color: var(--ink);
}

@media (max-width: 768px) {
  .utp-block { padding: 1.5rem 1.2rem; }
  .utp-grid { grid-template-columns: 1fr; }
}

.utp-win {
  margin-top: 8px;
  padding: 0.75rem 1.25rem;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  font-style: italic;
  text-align: center;
  letter-spacing: 0.01em;
}

/* === PRINCIPLES GRID === */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 1.5rem 0 2rem;
}

.about-grid .principles-grid {
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
}

.about-grid .principle-icon {
  display: none;
}

@media (max-width: 768px) {
  .about-grid .principles-grid {
    grid-template-columns: 1fr;
  }
  .about-grid .principle-icon {
    display: none;
  }
}

.principle-card {
  background: var(--bg);
  border: 0.5px solid var(--rule);
  border-radius: 20px;
  padding: 1.5rem;
  transition: background 0.2s;
}

.principle-card:hover { background: var(--card); }

.principle-icon {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.principle-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.principle-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .principles-grid { grid-template-columns: 1fr; }
}

@media (min-width: 480px) and (max-width: 768px) {
  .principles-grid { grid-template-columns: 1fr 1fr; }
}

/* === OFFER COMPARE === */
.off-compare {
  margin-top: 1rem;
  border: 0.5px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
}

.off-compare-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 1rem 1.5rem 0.5rem;
}

.off-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
}

.off-compare-col { background: var(--bg); }

.off-compare-header {
  padding: 8px 1.25rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.off-compare-col--other .off-compare-header {
  background: var(--card);
  color: var(--mid);
}

.off-compare-col--us .off-compare-header {
  background: #2A1506;
  color: #F2E0B0;
}

.off-compare-body {
  padding: 10px 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.off-compare-item {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.off-compare-col--other .off-compare-item { color: var(--mid); }
.off-compare-col--other .off-compare-item span { color: var(--mid); opacity: 0.4; font-weight: 600; }
.off-compare-col--us .off-compare-item { color: var(--ink); }
.off-compare-col--us .off-compare-item span { color: var(--gold); font-weight: 600; }

@media (max-width: 768px) {
  .off-compare-grid { grid-template-columns: 1fr; }
}

/* === PRINCIPLE HIGHLIGHT === */
.principle-card--highlight {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--card) 0%, var(--bg) 100%);
}

/* === STAND VALUE BLOCK === */
.off-stand {
  background: var(--card);
  border: 0.5px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 1rem;
}

.off-stand-label {
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 1.75rem;
  text-align: center;
}

.off-stand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
}

.off-stand-item {
  background: var(--bg);
  padding: 1.25rem 1.5rem;
  transition: background 0.2s;
}

.off-stand-item:hover { background: var(--card); }

.off-stand-num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 6px;
}

.off-stand-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.off-stand-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .off-stand-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .principles-grid { grid-template-columns: 1fr; }
}

/* === ABOUT FACTS === */
.about-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1.25rem;
}

.about-fact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}

.about-fact-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}

/* === SERVICES PHOTO === */
.services-photo {
  margin: 0 2.5rem 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.services-photo-img {
  height: 280px;
  background-size: cover;
  background-position: center 60%;
}

.services-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(20,16,10,0.75) 0%, transparent 100%);
  font-size: 13px;
  color: rgba(250,247,242,0.85);
  font-style: italic;
}

/* === ABOUT PORTRAIT === */
.about-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 16px;
  border: 0.5px solid var(--rule);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .services-photo { margin: 0 1.2rem 1.2rem; }
  .services-photo-img { height: 200px; }
  .about-portrait { aspect-ratio: 4/3; }
}

/* === GALLERY SLIDER === */
.gallery-slider {
  position: relative;
  padding: 1rem 0 1.5rem;
  overflow: hidden;
  background: var(--bg);
}

.gallery-track {
  display: flex;
  gap: 10px;
  padding: 0 2rem;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-slide {
  min-width: calc(33.333% - 7px);
  height: 300px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border-radius: 16px;
  flex-shrink: 0;
  transition: transform 0.25s, box-shadow 0.25s, min-width 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

.gallery-slide:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.14);
}

.gallery-slide.is-expanded {
  min-width: calc(33.333% * 1.35 - 7px);
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(250,247,242,0.92);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.gallery-btn:hover { background: #fff; }
.gallery-btn--prev { left: 8px; }
.gallery-btn--next { right: 8px; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rule);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  padding: 0;
}

.gallery-dot--active {
  background: var(--accent);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .gallery-slide {
    min-width: calc(78% - 5px);
    height: 240px;
  }
  .gallery-slide.is-expanded { min-width: calc(78% * 1.15 - 5px); }
  .gallery-track { padding: 0 1rem; gap: 8px; }
}

/* UTP syrup photo */
.utp-syrup-photo {
  margin-bottom: 12px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.utp-syrup-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.utp-syrup-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(20,16,10,0.8) 0%, transparent 100%);
  font-size: 14px;
  font-style: italic;
  color: rgba(250,247,242,0.9);
}

@media (max-width: 768px) {
  .gallery-slider { height: 260px; }
  .gallery-slide { min-width: 80%; }
  .utp-syrup-photo img { height: 220px; }
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
  animation: lbFadeIn 0.25s ease;
}

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

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,8,5,0.92);
  cursor: pointer;
}

.lightbox-inner {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  animation: lbImgIn 0.3s ease;
}

@keyframes lbImgIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: rgba(250,247,242,0.15);
  border: none;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover { background: rgba(250,247,242,0.3); }

/* === WORK MINI GALLERY === */
.work-gallery {
  position: relative;
  margin-bottom: 14px;
  border-radius: 16px;
  overflow: hidden;
}

/* === WORK MOMENTS GRID === */
.wm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 1.5rem 0 2rem;
}
.wm-photo {
  height: 280px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  background-color: var(--card);
}
/* Скрываем остатки старого слайдера */
.work-gallery-btn { display: none !important; }
.work-gallery-dots { display: none !important; }

/* Отступы между цитатами */
.utp-quote { margin-bottom: 1.5rem; }
.utp-win { margin-top: 1rem; }

@media (max-width: 768px) {
  .wm-grid { grid-template-columns: 1fr; }
  .wm-photo--hide-mobile { display: none; }
  .wm-photo { height: 240px; }
}

.work-gallery-track { position: relative; }

.work-gallery-slide {
  display: none;
  cursor: pointer;
  position: relative;
}

.work-gallery-slide.is-active { display: block; }

.work-gallery-img {
  height: 300px;
  background-size: cover;
  background-position: center;
  transition: opacity 0.3s;
}

.work-gallery-slide:hover .work-gallery-img { opacity: 0.92; }

.work-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(20,16,10,0.82) 0%, transparent 100%);
  font-size: 14px;
  font-style: italic;
  color: rgba(250,247,242,0.92);
}

.work-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(250,247,242,0.88);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.2s;
}

.work-gallery-btn:hover { background: #fff; }
.work-gallery-btn--prev { left: 10px; }
.work-gallery-btn--next { right: 10px; }

.work-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 4px;
  background: var(--bg);
}

.work-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rule);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.work-dot--active {
  background: var(--accent);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .work-gallery-img { height: 220px; }
  .lightbox-img { max-width: 96vw; max-height: 80vh; }
}