/*
Theme Name:   Kadence Child — Kith Coffee Co.
Theme URI:    https://kithcoffeeco.com
Description:  Kadence child theme for Kith Coffee Co. mobile espresso bar catering.
Author:       Kith Coffee Co.
Template:     kadence
Version:      1.0.0
Text Domain:  kadence-child
*/

/* ============================================================
   CSS CUSTOM PROPERTIES — BRAND TOKENS
   ============================================================ */
:root {
  --kith-green:      #2E4A3E;
  --kith-green-dark: #1F3329;
  --kith-green-lt:   #3D6152;
  --kith-cream:      #F5F0E8;
  --kith-cream-dark: #EDE6D8;
  --kith-gold:       #C8973A;
  --kith-gold-lt:    #E3B45C;
  --kith-gold-pale:  #F7EDD6;
  --kith-dark:       #1A1A1A;
  --kith-mid:        #4A4A4A;
  --kith-muted:      #7A7060;
  --kith-border:     #DDD5C5;
  --kith-white:      #FFFFFF;

  --font-head: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 4px rgba(46,74,62,0.08);
  --shadow-md: 0 4px 20px rgba(46,74,62,0.12);
  --shadow-lg: 0 8px 40px rgba(46,74,62,0.18);

  --transition: 0.2s ease;
  --container: 1140px;
  --section-v: 96px;
  --section-v-sm: 56px;
}

/* ============================================================
   BASE & TYPOGRAPHY
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--kith-cream);
  color: var(--kith-dark);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.18;
  color: var(--kith-green);
  margin-top: 0;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }

p { margin-top: 0; margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--kith-green);
  text-decoration: underline;
  transition: color var(--transition);
}
a:hover { color: var(--kith-gold); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { padding-left: 1.4rem; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.kith-container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.kith-section {
  padding-top: var(--section-v);
  padding-bottom: var(--section-v);
}

.kith-section--sm {
  padding-top: var(--section-v-sm);
  padding-bottom: var(--section-v-sm);
}

/* Full-width breakout from any container */
.kith-full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.kith-bg-green  { background-color: var(--kith-green); color: var(--kith-cream); }
.kith-bg-cream  { background-color: var(--kith-cream); }
.kith-bg-dark   { background-color: var(--kith-cream-dark); }
.kith-bg-gold   { background-color: var(--kith-gold-pale); }

.kith-text-center { text-align: center; }
.kith-text-light  { color: var(--kith-cream); }

.kith-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 40px;
  align-items: center;
}

.kith-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px;
}

.kith-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.kith-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  line-height: 1;
}
.kith-btn:hover { transform: translateY(-1px); text-decoration: none; }
.kith-btn:active { transform: translateY(0); }

.kith-btn--primary {
  background-color: var(--kith-gold);
  color: var(--kith-white);
  border-color: var(--kith-gold);
}
.kith-btn--primary:hover {
  background-color: var(--kith-gold-lt);
  border-color: var(--kith-gold-lt);
  color: var(--kith-white);
}

.kith-btn--outline {
  background-color: transparent;
  color: var(--kith-cream);
  border-color: var(--kith-cream);
}
.kith-btn--outline:hover {
  background-color: var(--kith-cream);
  color: var(--kith-green);
}

.kith-btn--outline-dark {
  background-color: transparent;
  color: var(--kith-green);
  border-color: var(--kith-green);
}
.kith-btn--outline-dark:hover {
  background-color: var(--kith-green);
  color: var(--kith-cream);
}

.kith-btn--ghost {
  background-color: transparent;
  color: var(--kith-gold);
  border-color: var(--kith-gold);
}
.kith-btn--ghost:hover {
  background-color: var(--kith-gold);
  color: var(--kith-white);
}

.kith-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ============================================================
   SECTION LABELS & EYEBROWS
   ============================================================ */
.kith-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kith-gold);
  margin-bottom: 12px;
}

.kith-section-head {
  max-width: 680px;
}
.kith-section-head--center {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kith-section-head p {
  font-size: 1.1rem;
  color: var(--kith-mid);
  margin-top: 12px;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.kith-divider {
  border: none;
  border-top: 1px solid var(--kith-border);
  margin: 0;
}
.kith-divider--gold {
  border-top-color: var(--kith-gold);
  width: 60px;
  margin: 20px auto 0;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.kith-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--kith-green-dark);
}

.kith-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.38;
  transform: scale(1.02);
}

.kith-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 51, 41, 0.88) 0%,
    rgba(30, 51, 41, 0.55) 60%,
    rgba(30, 51, 41, 0.30) 100%
  );
}

.kith-hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 24px 64px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.kith-hero__content .kith-eyebrow {
  color: var(--kith-gold-lt);
}

.kith-hero__content h1 {
  color: var(--kith-white);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  max-width: 820px;
  margin-bottom: 20px;
}

.kith-hero__content .kith-hero__sub {
  color: rgba(245,240,232,0.88);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 600px;
  margin-bottom: 36px;
}

/* ============================================================
   QUOTE WIDGET PLACEHOLDER
   ============================================================ */
.kith-quote-embed {
  background-color: var(--kith-white);
  border: 2px dashed var(--kith-border);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.kith-quote-embed p {
  color: var(--kith-muted);
  font-size: 0.95rem;
  margin: 0;
}

.kith-quote-section {
  background-color: var(--kith-cream-dark);
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.kith-service-card {
  background-color: var(--kith-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.kith-service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.kith-service-card__img {
  height: 220px;
  overflow: hidden;
}
.kith-service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.kith-service-card:hover .kith-service-card__img img {
  transform: scale(1.04);
}

.kith-service-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.kith-service-card__body h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.kith-service-card__body p {
  color: var(--kith-mid);
  flex: 1;
  font-size: 0.97rem;
}

.kith-service-card__body .kith-btn {
  align-self: flex-start;
  margin-top: 20px;
}

/* ============================================================
   WHY US / ICON FEATURE BLOCKS
   ============================================================ */
.kith-feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  background-color: var(--kith-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--kith-gold);
}

.kith-feature__icon {
  width: 52px;
  height: 52px;
  background-color: var(--kith-gold-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.kith-feature h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.kith-feature p {
  color: var(--kith-mid);
  font-size: 0.96rem;
  margin: 0;
}

/* ============================================================
   GALLERY STRIP (horizontal scroll)
   ============================================================ */
.kith-gallery-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--kith-gold) var(--kith-cream-dark);
}
.kith-gallery-strip::-webkit-scrollbar { height: 4px; }
.kith-gallery-strip::-webkit-scrollbar-track { background: var(--kith-cream-dark); }
.kith-gallery-strip::-webkit-scrollbar-thumb { background: var(--kith-gold); border-radius: 2px; }

.kith-gallery-strip__item {
  flex: 0 0 320px;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
}
.kith-gallery-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.kith-gallery-strip__item:hover img { transform: scale(1.06); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.kith-testimonial {
  background-color: var(--kith-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.kith-testimonial::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 1;
  color: var(--kith-gold);
  opacity: 0.35;
  position: absolute;
  top: 16px;
  left: 28px;
}

.kith-testimonial__text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--kith-mid);
  margin-bottom: 20px;
  margin-top: 24px;
}

.kith-testimonial__attr {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--kith-green);
  letter-spacing: 0.02em;
}

/* ============================================================
   SERVICE AREA BLOCK
   ============================================================ */
.kith-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.kith-area-tag {
  background-color: var(--kith-white);
  border: 1px solid var(--kith-border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--kith-green);
  transition: background-color var(--transition), border-color var(--transition);
}
.kith-area-tag:hover {
  background-color: var(--kith-gold-pale);
  border-color: var(--kith-gold);
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.kith-cta-section {
  background: linear-gradient(135deg, var(--kith-green) 0%, var(--kith-green-dark) 100%);
  color: var(--kith-cream);
  text-align: center;
  padding: var(--section-v) 24px;
}
.kith-cta-section h2 { color: var(--kith-white); }
.kith-cta-section p  { color: rgba(245,240,232,0.82); font-size: 1.1rem; max-width: 540px; margin: 12px auto 32px; }

/* ============================================================
   SERVICES PAGE — DETAILED SECTIONS
   ============================================================ */
.kith-service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: var(--section-v) 0;
  border-bottom: 1px solid var(--kith-border);
}
.kith-service-block:last-of-type { border-bottom: none; }
.kith-service-block--reverse { direction: rtl; }
.kith-service-block--reverse > * { direction: ltr; }

.kith-service-block__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
}
.kith-service-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kith-includes-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
}
.kith-includes-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid var(--kith-border);
  font-size: 0.97rem;
  color: var(--kith-mid);
}
.kith-includes-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--kith-gold);
  font-weight: 700;
}

/* ============================================================
   MENU PAGE
   ============================================================ */
.kith-menu-category {
  margin-bottom: 56px;
}
.kith-menu-category h2 {
  font-size: 1.75rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--kith-gold);
  margin-bottom: 28px;
}

.kith-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--kith-border);
}
.kith-menu-item:last-child { border-bottom: none; }

.kith-menu-item__name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--kith-green);
}
.kith-menu-item__desc {
  font-size: 0.88rem;
  color: var(--kith-muted);
  margin-top: 3px;
}

.kith-menu-callout {
  background-color: var(--kith-gold-pale);
  border-left: 4px solid var(--kith-gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 40px;
}
.kith-menu-callout p { margin: 0; font-size: 0.97rem; color: var(--kith-green); }
.kith-menu-callout strong { color: var(--kith-gold); }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.kith-gallery-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.kith-gallery-tab {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1.5px solid var(--kith-border);
  background: transparent;
  color: var(--kith-mid);
  cursor: pointer;
  transition: all var(--transition);
}
.kith-gallery-tab:hover,
.kith-gallery-tab.active {
  background: var(--kith-green);
  border-color: var(--kith-green);
  color: var(--kith-white);
}

.kith-gallery-masonry {
  column-count: 3;
  column-gap: 16px;
}
.kith-gallery-masonry__item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
}
.kith-gallery-masonry__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.kith-gallery-masonry__item:hover img { transform: scale(1.04); }

/* ============================================================
   PRICING TABLE
   ============================================================ */
.kith-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin-top: 48px;
}

.kith-pricing-card {
  background: var(--kith-white);
  border: 2px solid var(--kith-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--transition);
}
.kith-pricing-card:hover { box-shadow: var(--shadow-md); }

.kith-pricing-card--featured {
  border-color: var(--kith-gold);
  background: var(--kith-gold-pale);
}
.kith-pricing-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--kith-gold);
  color: var(--kith-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.kith-pricing-card__tier {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kith-gold);
  margin-bottom: 8px;
}
.kith-pricing-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.kith-pricing-card__tagline {
  font-size: 0.93rem;
  color: var(--kith-muted);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--kith-border);
}
.kith-pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.kith-pricing-card ul li {
  padding: 7px 0 7px 24px;
  position: relative;
  font-size: 0.94rem;
  color: var(--kith-mid);
}
.kith-pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--kith-gold);
  font-weight: 700;
}
.kith-pricing-card .kith-btn { width: 100%; text-align: center; }

.kith-addons {
  margin-top: 56px;
}
.kith-addons h2 { margin-bottom: 28px; }
.kith-addon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--kith-border);
}
.kith-addon-item:last-child { border-bottom: none; }
.kith-addon-item__name { font-weight: 500; color: var(--kith-green); }
.kith-addon-item__desc { font-size: 0.9rem; color: var(--kith-muted); margin-top: 2px; }
.kith-addon-item__price {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--kith-gold);
  white-space: nowrap;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.kith-faq { margin-top: 48px; }
.kith-faq h2 { margin-bottom: 28px; }

.kith-faq details {
  border: 1px solid var(--kith-border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  background: var(--kith-white);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.kith-faq details[open] { box-shadow: var(--shadow-sm); }
.kith-faq details[open] > summary { border-bottom: 1px solid var(--kith-border); }

.kith-faq summary {
  padding: 18px 24px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--kith-green);
  gap: 12px;
}
.kith-faq summary::-webkit-details-marker { display: none; }
.kith-faq summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--kith-gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.kith-faq details[open] summary::after { transform: rotate(45deg); }

.kith-faq__answer {
  padding: 20px 24px;
  color: var(--kith-mid);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.kith-contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

.kith-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--kith-green);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.kith-form input,
.kith-form select,
.kith-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--kith-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--kith-dark);
  background-color: var(--kith-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.kith-form input:focus,
.kith-form select:focus,
.kith-form textarea:focus {
  outline: none;
  border-color: var(--kith-green);
  box-shadow: 0 0 0 3px rgba(46,74,62,0.1);
}

.kith-form textarea {
  min-height: 140px;
  resize: vertical;
}

.kith-form .kith-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.kith-form .kith-form-field { margin-bottom: 20px; }

.kith-form .kith-btn[type="submit"] { width: 100%; margin-top: 8px; font-size: 1rem; padding: 16px; }

.kith-contact-info h3 { font-size: 1.3rem; margin-bottom: 16px; }
.kith-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.kith-contact-info-item__icon {
  width: 40px;
  height: 40px;
  background: var(--kith-gold-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.kith-contact-info-item__text p { margin: 0; font-size: 0.95rem; color: var(--kith-mid); }
.kith-contact-info-item__text strong { display: block; color: var(--kith-green); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }

.kith-form-notice {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  margin-bottom: 20px;
}
.kith-form-notice--success { background: #EDF7F0; color: #1A5C35; border: 1px solid #A8D5B5; }
.kith-form-notice--error   { background: #FDF0EF; color: #7B2D26; border: 1px solid #F0B5B0; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.kith-about-hero {
  background: linear-gradient(135deg, var(--kith-green) 0%, var(--kith-green-dark) 100%);
  padding: var(--section-v) 24px;
  color: var(--kith-cream);
  text-align: center;
}
.kith-about-hero h1 { color: var(--kith-white); margin-bottom: 16px; }
.kith-about-hero p  { color: rgba(245,240,232,0.82); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

.kith-values-grid { margin-top: 16px; }

.kith-value-card {
  padding: 32px;
  background: var(--kith-white);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--kith-gold);
}
.kith-value-card__icon { font-size: 2rem; margin-bottom: 14px; }
.kith-value-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.kith-value-card p  { font-size: 0.95rem; color: var(--kith-mid); margin: 0; }

/* ============================================================
   LOCATION LANDING PAGES
   ============================================================ */
.kith-location-hero {
  background: linear-gradient(135deg, var(--kith-green) 0%, var(--kith-green-dark) 100%);
  padding: var(--section-v) 24px;
  text-align: center;
  color: var(--kith-cream);
}
.kith-location-hero h1 { color: var(--kith-white); font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.kith-location-hero p  { color: rgba(245,240,232,0.82); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.kith-breadcrumb {
  font-size: 0.85rem;
  color: var(--kith-muted);
  margin-bottom: 12px;
}
.kith-breadcrumb a { color: inherit; text-decoration: none; }
.kith-breadcrumb a:hover { color: var(--kith-gold); }

/* ============================================================
   PAGE HEADER (for inner pages without custom hero)
   ============================================================ */
.kith-page-header {
  background: var(--kith-cream-dark);
  padding: 64px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--kith-border);
}
.kith-page-header h1 { margin-bottom: 12px; }
.kith-page-header p { color: var(--kith-mid); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ============================================================
   KADENCE THEME OVERRIDES
   ============================================================ */
body.page-template-page-home .site-main,
body.page-template-page-services .site-main,
body.page-template-page-menu .site-main,
body.page-template-page-gallery .site-main,
body.page-template-page-pricing .site-main,
body.page-template-page-about .site-main,
body.page-template-page-contact .site-main {
  max-width: none;
  padding: 0;
}

/* Allow hero full-width breakout */
.kith-page article.entry,
.kith-page div.entry-content { max-width: none !important; padding: 0 !important; }

/* Kadence header brand overrides */
.site-header,
#masthead { background-color: var(--kith-green) !important; }

/* Override Kadence heading fonts site-wide */
.site-title a,
.site-header .site-title { font-family: var(--font-head); }

/* Nav links and logo — white on dark green header */
.site-header .site-branding a,
.site-header .site-title a,
.site-header .main-navigation a,
.site-header .primary-navigation a,
.site-header #site-navigation a,
.site-header nav a,
#masthead .site-branding a,
#masthead nav a,
#masthead .site-title a,
.kadence-transparent-header .site-header nav a,
.kadence-transparent-header #masthead nav a {
  color: var(--kith-white) !important;
  text-decoration: none;
}
.site-header nav a:hover,
#masthead nav a:hover {
  color: var(--kith-gold-lt) !important;
}

/* Mobile nav toggle icon — make it visible on dark bg */
.site-header .nav-toggle-icon span,
#masthead .nav-toggle-icon span {
  background-color: var(--kith-white) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .kith-service-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .kith-service-block--reverse { direction: ltr; }
  .kith-contact-grid { grid-template-columns: 1fr; }
  .kith-gallery-masonry { column-count: 2; }
}

@media (max-width: 768px) {
  :root {
    --section-v: 64px;
    --section-v-sm: 40px;
  }

  .kith-hero__content { padding: 72px 20px 52px; }
  .kith-hero { min-height: 65vh; }

  .kith-form .kith-form-row { grid-template-columns: 1fr; }

  .kith-gallery-masonry { column-count: 1; }

  .kith-gallery-strip__item { flex: 0 0 260px; height: 195px; }

  .kith-service-block__img { height: 260px; }

  .kith-grid-3,
  .kith-grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .kith-btn-group { flex-direction: column; align-items: stretch; }
  .kith-btn { text-align: center; }
}

/* ============================================================
   CORE BLOCK EDITOR OVERRIDES
   Style native WordPress blocks to match Kith brand.
   ============================================================ */

/* --- Buttons ------------------------------------------------ */
.wp-block-button__link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border-radius: var(--radius-sm) !important;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background-color: var(--kith-gold);
  color: var(--kith-white);
  border: 2px solid var(--kith-gold);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background-color: var(--kith-gold-lt);
  border-color: var(--kith-gold-lt);
}
.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent;
  border: 2px solid currentColor;
}
.wp-block-buttons {
  gap: 16px;
}

/* --- Cover block (hero) ------------------------------------- */
.wp-block-cover.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.wp-block-cover__inner-container {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}
.wp-block-cover h1 { color: var(--kith-white); }
.wp-block-cover .wp-block-heading { color: var(--kith-white); }

/* --- Group block sections ----------------------------------- */
.wp-block-group.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.wp-block-group.alignfull > .wp-block-group__inner-container,
.wp-block-group.alignfull > * {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.wp-block-group.has-kith-green-background-color h1,
.wp-block-group.has-kith-green-background-color h2,
.wp-block-group.has-kith-green-background-color h3,
.wp-block-group.has-kith-green-dark-background-color h1,
.wp-block-group.has-kith-green-dark-background-color h2,
.wp-block-group.has-kith-green-dark-background-color h3 {
  color: var(--kith-white);
}
.wp-block-group.has-kith-green-background-color p,
.wp-block-group.has-kith-green-dark-background-color p {
  color: rgba(245,240,232,0.82);
}

/* --- Columns ----------------------------------------------- */
.wp-block-columns {
  gap: 32px;
}
.wp-block-column {
  min-width: 0;
}

/* --- Quote block (testimonials) ---------------------------- */
.wp-block-quote {
  background: var(--kith-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border-left: none;
  position: relative;
}
.wp-block-quote::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 1;
  color: var(--kith-gold);
  opacity: 0.35;
  position: absolute;
  top: 16px;
  left: 28px;
}
.wp-block-quote p {
  font-style: italic;
  color: var(--kith-mid);
  margin-top: 24px;
}
.wp-block-quote cite {
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 500;
  color: var(--kith-green);
}

/* --- Image block ------------------------------------------- */
.wp-block-image img {
  border-radius: var(--radius-md);
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .kith-hero__bg,
  .kith-hero__overlay { display: none; }
  .kith-hero { min-height: auto; background: white; }
  .kith-hero__content h1,
  .kith-hero__content .kith-hero__sub { color: black; }
}
