/* ============================================================
   BROKEN CHAIN — inner.css
   Styles for all inner pages (services, team, gallery, about, contact)
   ============================================================ */

body.inner-page { background: var(--black); }

/* ── SERVICES PAGE ──────────────────────────────────────── */
.svc-section { padding: 100px 0 120px; background: var(--near); }

/* Featured 2-up */
.svc-featured-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 80px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.svc-big-card {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.svc-bg-img { position: absolute; inset: 0; z-index: 0; }
.svc-bg-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.25) saturate(0.5); transition: transform 0.6s ease; }
.svc-big-card:hover .svc-bg-img img { transform: scale(1.04); }
.svc-big-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  background: linear-gradient(to top, rgba(10,10,10,0.97) 0%, rgba(10,10,10,0.6) 60%, transparent 100%);
  width: 100%;
}
.svc-num { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 8px; }
.svc-popular-tag {
  display: inline-flex;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.svc-big-content h3 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 42px); font-weight: 700; color: var(--cream); margin-bottom: 12px; }
.svc-big-content p { font-size: 14px; color: var(--light); line-height: 1.7; margin-bottom: 20px; max-width: 420px; }
.svc-details-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.svc-price-big { font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--gold); line-height: 1; }
.svc-time-badge { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--light); background: rgba(255,255,255,0.08); padding: 5px 12px; border-radius: 100px; border: 1px solid var(--border-l); }
.svc-appt-badge { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--gold); background: var(--gold-dim); padding: 4px 10px; border-radius: 100px; border: 1px solid rgba(201,168,76,0.2); }

/* Category label */
.svc-category { margin-bottom: 80px; }
.svc-cat-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.svc-cat-label::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

/* Service pair */
.svc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: var(--radius-lg); overflow: hidden; }
.svc-card { background: var(--card); overflow: hidden; }
.svc-card-img { height: 260px; overflow: hidden; }
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7) grayscale(20%); transition: transform 0.5s ease; }
.svc-card:hover .svc-card-img img { transform: scale(1.04); }
.svc-card-body { padding: 36px; }
.svc-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 12px 0 14px; }
.svc-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--cream); flex: 1; }
.svc-price { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--gold); }
.svc-card p { font-size: 14px; color: var(--grey); line-height: 1.7; margin-bottom: 20px; }
.svc-includes { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.svc-includes li { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--light); display: flex; align-items: center; gap: 8px; }
.svc-meta-row { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }

/* Trio */
.svc-trio { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; border-radius: var(--radius-lg); overflow: hidden; }
.svc-mini-card { background: var(--card); }
.svc-mini-img { height: 200px; overflow: hidden; }
.svc-mini-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.65) grayscale(20%); transition: transform 0.5s ease; }
.svc-mini-card:hover .svc-mini-img img { transform: scale(1.05); }
.svc-mini-body { padding: 28px; }
.svc-mini-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin: 10px 0 12px; }
.svc-mini-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--cream); flex: 1; }
.svc-mini-card p { font-size: 13px; color: var(--grey); line-height: 1.65; margin-bottom: 16px; }
.svc-mini-card .svc-includes { margin-bottom: 16px; }
.svc-mini-card .svc-meta-row { margin-bottom: 18px; padding-bottom: 18px; }

/* Price table */
.svc-price-table { margin-top: 80px; padding: 60px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.spt-header { margin-bottom: 40px; }
.spt-rows { display: flex; flex-direction: column; }
.spt-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--border); gap: 20px; }
.spt-row:last-child { border-bottom: none; }
.spt-row.spt-featured { background: var(--gold-dim); margin: 0 -20px; padding: 18px 20px; border-radius: var(--radius); border-color: transparent; }
.spt-name { font-family: var(--font-head); font-size: 16px; font-weight: 600; letter-spacing: 0.04em; color: var(--cream); flex: 1; }
.spt-time { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--grey); }
.spt-price { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--gold); min-width: 60px; text-align: right; }
.spt-note { margin-top: 24px; font-size: 13px; color: var(--grey); font-style: italic; }

/* ── TEAM PAGE ───────────────────────────────────────────── */
.team-intro { padding: 100px 0; background: var(--near); border-top: 1px solid var(--border); }
.ti-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.ti-text h2 { margin-bottom: 20px; }
.ti-text p { font-size: 15px; color: var(--grey); line-height: 1.75; margin-bottom: 16px; }
.ti-photo { position: relative; }
.ti-photo img { width: 100%; border-radius: var(--radius-lg); filter: grayscale(15%); border: 1px solid var(--border-l); }
.ti-caption { margin-top: 12px; font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--grey); text-align: center; }

.barbers-section { padding: 80px 0 120px; background: var(--black); }

.barber-profile {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  margin-bottom: 2px;
  background: var(--card);
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.barber-profile.bp-right { grid-template-columns: 1.2fr 1fr; }
.barber-profile.bp-right .bp-img { order: 2; }
.barber-profile.bp-right .bp-content { order: 1; }

.bp-img { position: relative; overflow: hidden; min-height: 480px; }
.bp-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(10%); transition: transform 0.6s ease, filter 0.3s; }
.barber-profile:hover .bp-img img { transform: scale(1.03); filter: grayscale(0%); }
.bp-num {
  position: absolute;
  top: 24px; left: 24px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  pointer-events: none;
}

.bp-content { padding: 56px 48px; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.bp-name-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.bp-content h3 { font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px); font-weight: 700; color: var(--cream); line-height: 1; }
.bp-title { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.bp-bio { font-size: 15px; color: var(--grey); line-height: 1.75; }
.bp-specialties { padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bp-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.bp-tags span { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--light); background: rgba(255,255,255,0.06); border: 1px solid var(--border-l); padding: 5px 12px; border-radius: 100px; }

/* ── GALLERY PAGE ────────────────────────────────────────── */
.gallery-section { padding: 80px 0 0; background: var(--black); }

.gal-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3px; margin-bottom: 3px; height: 560px; }
.ghg-main { position: relative; overflow: hidden; }
.ghg-main img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: transform 0.6s ease; }
.ghg-main:hover img { transform: scale(1.03); }
.ghg-side { display: grid; grid-template-rows: 1fr 1fr; gap: 3px; }
.ghg-item { position: relative; overflow: hidden; }
.ghg-item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); transition: transform 0.5s ease; }
.ghg-item:hover img { transform: scale(1.05); }

.ghg-label, .gm-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 20px 16px;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 100%);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.75);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.ghg-main:hover .ghg-label,
.ghg-item:hover .ghg-label,
.gm-item:hover .gm-label { opacity: 1; transform: translateY(0); }

.gal-masonry { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; margin-bottom: 3px; }
.gm-col { display: flex; flex-direction: column; gap: 3px; }
.gm-item { position: relative; overflow: hidden; }
.gm-item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8) grayscale(10%); transition: transform 0.5s ease, filter 0.3s; }
.gm-item:hover img { transform: scale(1.05); filter: brightness(0.95) grayscale(0%); }
.gm-item { aspect-ratio: 1/1; }
.gm-item.gm-tall { aspect-ratio: 2/3; }

.gal-banner { position: relative; height: 360px; overflow: hidden; margin-top: 80px; }
.gal-banner img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.3) saturate(0.5); }
.gal-banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.gal-banner-text .section-label { justify-content: center; font-size: 13px; }
.gal-banner-text p { font-family: var(--font-head); font-size: 16px; font-weight: 500; letter-spacing: 0.12em; color: var(--grey); }

/* ── ABOUT PAGE ─────────────────────────────────────────── */
.about-story { padding: 100px 0; background: var(--near); border-top: 1px solid var(--border); }
.as-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.as-text h2 { margin-bottom: 20px; }
.as-lead { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--light); margin-bottom: 18px; line-height: 1.5; }
.as-text p { font-size: 15px; color: var(--grey); line-height: 1.75; margin-bottom: 16px; }
.as-img-stack { position: relative; }
.as-img-main { width: 100%; border-radius: var(--radius-lg); filter: grayscale(15%); border: 1px solid var(--border-l); }
.as-img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--black);
  box-shadow: 0 8px 28px rgba(201,168,76,0.4);
}
.asb-label { font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(10,10,10,0.6); line-height: 1; }
.asb-year { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--black); line-height: 1; }
.asb-city { font-family: var(--font-head); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(10,10,10,0.55); }

.about-values { padding: 100px 0; background: var(--black); }
.av-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.av-card { background: var(--card); padding: 40px 32px; transition: background 0.25s; }
.av-card:hover { background: #1c1c1c; }
.av-icon { font-size: 20px; color: var(--gold); margin-bottom: 16px; }
.av-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--cream); margin-bottom: 10px; }
.av-card p { font-size: 14px; color: var(--grey); line-height: 1.7; }

.about-photos { padding: 100px 0 0; background: var(--near); }
.ap-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3px; margin-top: 56px; height: 540px; }
.ap-main { overflow: hidden; }
.ap-main img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: transform 0.6s ease; }
.ap-main:hover img { transform: scale(1.03); }
.ap-col { display: grid; grid-template-rows: 1fr 1fr; gap: 3px; }
.ap-item { overflow: hidden; }
.ap-item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); transition: transform 0.5s ease; }
.ap-item:hover img { transform: scale(1.05); }

.about-stats { padding: 80px 0; background: var(--near); border-top: 1px solid var(--border); }
.ast-grid { display: flex; align-items: center; justify-content: center; gap: 64px; flex-wrap: wrap; }
.ast-item { text-align: center; }
.ast-num { display: block; font-family: var(--font-display); font-size: clamp(48px, 6vw, 80px); font-weight: 700; color: var(--gold); line-height: 1; }
.ast-label { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.ast-div { width: 1px; height: 72px; background: var(--border-l); }

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-section { padding: 100px 0; background: var(--near); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.ci-lead { font-size: 16px; color: var(--light); line-height: 1.7; margin-bottom: 40px; }
.ci-items { display: flex; flex-direction: column; gap: 28px; }
.ci-item { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon { width: 44px; height: 44px; background: var(--gold-dim); border: 1px solid rgba(201,168,76,0.2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.ci-item strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.ci-item span, .ci-item a { font-size: 15px; color: var(--light); line-height: 1.6; display: block; }
.ci-item a:hover { color: var(--gold); }
.ci-link { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; color: var(--gold) !important; margin-top: 6px; }

.hours-table { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.ht-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--light); padding: 6px 0; border-bottom: 1px solid var(--border); }
.ht-row:last-child { border-bottom: none; }
.ht-closed .ht-row span:last-child { color: var(--grey); }
.hours-note { font-size: 12px; color: var(--grey); font-style: italic; margin-top: 10px; }

.contact-book h2 { margin-bottom: 24px; }
.book-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.book-opt {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}
.book-opt:hover { border-color: var(--gold); background: #1a1a1a; }
.book-opt.book-opt-primary { background: var(--gold-dim); border-color: rgba(201,168,76,0.3); }
.book-opt.book-opt-primary:hover { background: rgba(201,168,76,0.2); border-color: var(--gold); }
.bo-icon { font-size: 24px; flex-shrink: 0; }
.bo-text { flex: 1; }
.bo-text strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream); margin-bottom: 3px; }
.bo-text span { font-size: 13px; color: var(--grey); }
.bo-arrow { font-size: 18px; color: var(--border-l); transition: color var(--transition), transform var(--transition); }
.book-opt:hover .bo-arrow { color: var(--gold); transform: translateX(4px); }

.contact-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-svg { width: 100%; display: block; }
.map-link-btn {
  display: block;
  text-align: center;
  background: var(--dark);
  border-top: 1px solid var(--border);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px;
  transition: background var(--transition);
}
.map-link-btn:hover { background: var(--border); color: var(--cream); }

/* ── RESPONSIVE INNER PAGES ─────────────────────────────── */
@media (max-width: 1024px) {
  .svc-featured-row { grid-template-columns: 1fr; }
  .svc-pair { grid-template-columns: 1fr; }
  .svc-trio { grid-template-columns: 1fr; }
  .svc-price-table { padding: 36px 24px; }
  .ti-grid { grid-template-columns: 1fr; gap: 48px; }
  .barber-profile { grid-template-columns: 1fr; }
  .barber-profile.bp-right { grid-template-columns: 1fr; }
  .barber-profile.bp-right .bp-img { order: 0; }
  .barber-profile.bp-right .bp-content { order: 0; }
  .bp-img { min-height: 320px; }
  .gal-hero-grid { height: 400px; }
  .gal-masonry { grid-template-columns: repeat(2,1fr); }
  .gm-col:last-child { display: none; }
  .as-grid { grid-template-columns: 1fr; gap: 48px; }
  .av-grid { grid-template-columns: repeat(2,1fr); }
  .ap-grid { height: 400px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
}
@media (max-width: 768px) {
  .svc-big-card { min-height: 400px; }
  .svc-big-content { padding: 28px; }
  .svc-card-img { height: 200px; }
  .svc-card-body { padding: 24px; }
  .bp-content { padding: 32px 24px; }
  .gal-hero-grid { grid-template-columns: 1fr; height: auto; }
  .ghg-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .gal-masonry { grid-template-columns: 1fr 1fr; }
  .gm-col:last-child { display: flex; }
  .av-grid { grid-template-columns: 1fr; }
  .ast-grid { gap: 40px; }
  .ast-div { display: none; }
  .ap-grid { grid-template-columns: 1fr; height: auto; }
  .ap-col { grid-template-columns: 1fr 1fr; }
}
