/* ============================================
   KINDLING — GTM Page Styles
   ============================================ */

.gtm-hero-title {
  font-family: var(--body-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  font-weight: 400;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.gtm-hero-sub {
  font-family: var(--body-serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--off-white);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.gtm-hero-detail {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Hero layout with photo */
.gtm-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gtm-hero .hero-content {
  flex: 1;
}

/* Force white text in GTM hero to prevent body color cascade */
.gtm-hero h1,
.gtm-hero p,
.gtm-hero .gtm-hero-title {
  color: #ffffff !important;
}

.gtm-hero .gtm-hero-sub {
  color: #f5f3ef !important;
}

.gtm-hero .gtm-hero-detail {
  color: rgba(255,255,255,0.6) !important;
}

.gtm-hero-photo {
  flex: 0 0 320px;
  margin-right: 0;
  margin-left: 2rem;
}

.gtm-hero-photo img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 3/4;
  max-height: 500px;
}

@media (max-width: 900px) {
  .gtm-hero {
    flex-direction: column;
  }
  .gtm-hero-photo {
    flex: none;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto 0;
  }
}

/* Services Grid */
.gtm-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.gtm-card {
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 2px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gtm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.07);
}

.gtm-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.75rem;
}

.gtm-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Quote Section */
.section-quote {
  background: #d8e847 !important;
  padding: 4rem 0;
  text-align: center;
}

.gtm-quote {
  font-family: var(--body-serif);
  color: var(--black) !important;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Track Record Header with Photo */
.track-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.track-photo {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .track-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .track-photo {
    width: 160px;
    height: 200px;
  }
}

/* Track Record Grid */
.track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.track-card {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.track-card h3 {
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.track-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
}

/* Contact */
.gtm-contact-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .gtm-services-grid {
    grid-template-columns: 1fr;
  }
  .track-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
