/* ============================================================
   INNER PAGES — shared layouts
   ============================================================ */

/* ---------- Page hero ---------- */
.page-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--sand-50); padding-bottom: clamp(50px, 8vh, 96px); padding-top: 160px; overflow: hidden; }
.page-hero .parallax-img { filter: saturate(1.02); }
.page-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,30,22,0.55) 0%, rgba(42,30,22,0.25) 45%, rgba(42,30,22,0.82) 100%); }
.page-hero-inner { position: relative; z-index: 2; width: 100%; }
.page-hero .crumbs { display: flex; gap: 10px; align-items: center; font-size: 0.85rem; color: var(--sand-300); margin-bottom: 22px; letter-spacing: 0.04em; }
.page-hero .crumbs a { color: var(--clay-400); }
.page-hero .crumbs span { opacity: 0.6; }
.page-hero h1 { color: var(--sand-50); max-width: 18ch; }
.page-hero .page-sub { color: var(--sand-200); font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 54ch; margin-top: 24px; }

/* ---------- Intro / two-col ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.wide-right { grid-template-columns: 0.9fr 1.1fr; }
.split-media { position: relative; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media.tall { aspect-ratio: 3/4; }
.split-copy .eyebrow { margin-bottom: 18px; }
.split-copy h2 { margin-bottom: 22px; }
.split-copy p + p { margin-top: 18px; }

/* ---------- Feature list (numbered) ---------- */
.feature-rows { display: flex; flex-direction: column; }
.feature-row { display: grid; grid-template-columns: 100px 1fr auto; gap: 28px; align-items: start; padding: 38px 0; border-top: 1px solid var(--line); transition: padding-left .4s; }
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row:hover { padding-left: 12px; }
.feature-row .fr-num { font-family: var(--font-serif); font-style: italic; font-size: 2.2rem; color: var(--terracotta); line-height: 1; }
.feature-row h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin-bottom: 10px; }
.feature-row p { color: var(--cocoa); max-width: 60ch; }
.feature-row .fr-tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); white-space: nowrap; padding-top: 8px; }

/* ---------- Service cards grid ---------- */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { background: var(--sand-50); border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.svc-card-media { aspect-ratio: 16/11; overflow: hidden; position: relative; }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.svc-card:hover .svc-card-media img { transform: scale(1.07); }
.svc-card-body { padding: 28px 26px 32px; }
.svc-card-body h3 { font-size: 1.35rem; margin-bottom: 10px; }
.svc-card-body p { color: var(--cocoa); font-size: 0.98rem; }
.svc-card-body .sc-num { font-family: var(--font-serif); font-style: italic; color: var(--terracotta); font-size: 1.2rem; display: block; margin-bottom: 8px; }

/* ---------- Stat band ---------- */
.stat-band { background: var(--espresso); color: var(--sand-100); }
.stat-band .eyebrow { color: var(--clay-400); }
.stat-band .eyebrow::before, .stat-band .eyebrow.center::after { background: var(--clay-400); }
.stat-band h2 { color: var(--sand-50); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 20px; }
.stat-cell { border-left: 2px solid rgba(209,156,114,0.35); padding-left: 22px; }
.stat-cell .stat-num { color: var(--sand-50); }
.stat-cell p { color: var(--sand-300); margin-top: 8px; font-size: 0.92rem; }

/* ---------- Gallery (parallax masonry) ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.gallery-grid .g-item { position: relative; border-radius: 14px; overflow: hidden; }
.gallery-grid .g-item .parallax-img { transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.gallery-grid .g-item:hover .parallax-img { transform: scale(1.07); }
.gallery-grid .g-item::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 55%, rgba(42,30,22,0.7)); opacity:0; transition: opacity .4s; }
.gallery-grid .g-item:hover::after { opacity: 1; }
.g-cap { position: absolute; bottom: 0; left: 0; padding: 22px; z-index: 2; color: var(--sand-50); opacity: 0; transform: translateY(10px); transition: .4s; }
.gallery-grid .g-item:hover .g-cap { opacity: 1; transform: none; }
.g-cap span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clay-400); }
.g-cap h4 { color: var(--sand-50); font-size: 1.2rem; margin-top: 4px; }
.g-a { grid-column: span 7; height: 460px; }
.g-b { grid-column: span 5; height: 460px; }
.g-c { grid-column: span 4; height: 360px; }
.g-d { grid-column: span 4; height: 360px; }
.g-e { grid-column: span 4; height: 360px; }

/* ---------- Process timeline (vertical) ---------- */
.timeline { position: relative; margin-top: 30px; }
.timeline::before { content:""; position: absolute; left: 19px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.tl-step { position: relative; padding: 0 0 48px 64px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 10px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--sand-50); border: 3px solid var(--terracotta); z-index: 1; }
.tl-step h3 { font-size: 1.4rem; margin-bottom: 8px; }
.tl-step .tl-num { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terracotta); font-weight: 600; }
.tl-step p { color: var(--cocoa); max-width: 56ch; margin-top: 6px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card .tc-media { aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; margin-bottom: 16px; position: relative; }
.team-card .tc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s, filter .7s; filter: grayscale(0.2); }
.team-card:hover .tc-media img { transform: scale(1.05); filter: grayscale(0); }
.team-card h4 { font-size: 1.15rem; }
.team-card p { color: var(--stone); font-size: 0.9rem; margin-top: 2px; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { padding: 34px 30px; border-radius: 16px; background: var(--sand-100); border: 1px solid var(--line-soft); }
.value-card .v-ico { font-size: 1.8rem; color: var(--terracotta); margin-bottom: 16px; }
.value-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.value-card p { color: var(--cocoa); font-size: 0.97rem; }

/* ---------- Contact ---------- */
.contact-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info { position: relative; }
.contact-info h2 { margin-bottom: 18px; }
.contact-list { margin-top: 36px; display: flex; flex-direction: column; gap: 4px; }
.contact-list .ci-row { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-list .ci-row:last-child { border-bottom: 1px solid var(--line); }
.contact-list .ci-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--sand-150); color: var(--terracotta); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-list .ci-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.contact-list .ci-val { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--espresso); margin-top: 3px; }
.contact-list .ci-val a:hover { color: var(--terracotta); }
.form-card { background: var(--sand-50); border: 1px solid var(--line-soft); border-radius: 20px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card .fc-sub { color: var(--stone); margin-bottom: 28px; font-size: 0.97rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-success { display: none; text-align: center; padding: 30px 0; }
.form-error { display: none; margin-top: 14px; color: #B3261E; font-size: 0.92rem; font-weight: 600; text-align: center; }
.form-error.show { display: block; }
.form-success.show { display: block; }
.form-success .fs-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--terracotta); color: var(--sand-50); display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 18px; }
.form-success h4 { font-size: 1.4rem; margin-bottom: 8px; }
.form-success p { color: var(--cocoa); }

/* ---------- Map / location strip ---------- */
.map-strip { height: 420px; position: relative; overflow: hidden; background: var(--sand-200); }
.map-strip iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) sepia(0.15); }

/* ---------- CTA band (shared with home; inner pages need it too) ---------- */
.cta-band { position: relative; min-height: 80vh; display: flex; align-items: center; color: var(--sand-50); overflow: hidden; }
.cta-scrim { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(42,30,22,0.93) 30%, rgba(126,58,34,0.68)); }
.cta-inner { position: relative; z-index: 2; max-width: 620px; }
.cta-inner h2 { color: var(--sand-50); }
.cta-inner h2 .serif-accent { color: var(--clay-400); }
.cta-inner p { color: var(--sand-100); font-size: 1.2rem; margin: 26px 0 36px; max-width: 44ch; }

/* ---------- CTA reuse already in home.css; lightweight inline CTA ---------- */
.mini-cta { background: var(--sand-100); border-radius: 22px; padding: clamp(40px,6vw,72px); display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.mini-cta h2 { max-width: 20ch; }
.mini-cta p { color: var(--cocoa); margin-top: 12px; max-width: 46ch; }

/* ---------- Pull quote ---------- */
.pull-quote { text-align: center; max-width: 24ch; margin: 0 auto; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 4.5vw, 3.4rem); line-height: 1.12; letter-spacing: -0.02em; }
.pull-quote em { font-family: var(--font-serif); font-style: italic; color: var(--terracotta); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .split, .split.wide-right { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 60px 1fr; }
  .feature-row .fr-tag { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .g-a, .g-b, .g-c, .g-d, .g-e { grid-column: span 1; height: 300px; }
}
@media (max-width: 540px) {
  .svc-cards { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
